Skip to content

Commit

Permalink
ci: show debug message to investigate
Browse files Browse the repository at this point in the history
Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys committed Nov 5, 2024
1 parent 9f61d42 commit 4ba7f76
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,5 +203,23 @@ jobs:
with:
name: packages-apt-source-${{ matrix.rake-job }}
- uses: canonical/[email protected]
- name: Run diagnostic
run: |
uname -a
echo "::group::snap info lxd"
snap info lxd
echo "::endgroup::"
echo "::group::snap services lxd"
snap services lxd
echo "::endgroup::"
echo "::group::snap logs lxd"
sudo snap logs lxd
echo "::endgroup::"
echo "::group::lxc remote list"
lxc remote list
echo "::endgroup::"
echo "::group::lxc list images:"
lxc image list images:
echo "::endgroup::"
- name: Run Test ${{ matrix.test }} on ${{ matrix.lxc-image }}
run: fluent-package/apt/systemd-test/test.sh ${{ matrix.lxc-image }} ${{ matrix.test }}
6 changes: 6 additions & 0 deletions .github/workflows/yum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,12 @@ jobs:
echo "::group::snap logs lxd"
sudo snap logs lxd
echo "::endgroup::"
echo "::group::lxc remote list"
lxc remote list
echo "::endgroup::"
echo "::group::lxc list images:"
lxc image list images:
echo "::endgroup::"
- name: Run Test ${{ matrix.test }} on ${{ matrix.lxc-image }}
run: fluent-package/yum/systemd-test/test.sh ${{ matrix.lxc-image }} ${{ matrix.test }}

Expand Down
2 changes: 1 addition & 1 deletion fluent-package/apt/systemd-test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dir="/host/fluent-package/apt/systemd-test"
set -eux

echo "::group::Run test: launch $image"
lxc launch $image target
lxc launch $image target --debug
sleep 5
echo "::endgroup::"
echo "::group::Run test: configure $image"
Expand Down
2 changes: 1 addition & 1 deletion fluent-package/yum/systemd-test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dir="/host/fluent-package/yum/systemd-test"
set -eux

echo "::group::Run test: launch $image"
lxc launch $image target
lxc launch $image target --debug
sleep 5
echo "::endgroup::"
echo "::group::Run test: configure $image"
Expand Down

0 comments on commit 4ba7f76

Please sign in to comment.