diff --git a/.github/workflows/apt.yml b/.github/workflows/apt.yml index c4e35a236..ded18e830 100644 --- a/.github/workflows/apt.yml +++ b/.github/workflows/apt.yml @@ -207,5 +207,23 @@ jobs: with: name: packages-apt-source-${{ matrix.rake-job }} - uses: canonical/setup-lxd@v0.1.1 + - 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 }} diff --git a/.github/workflows/yum.yml b/.github/workflows/yum.yml index 1bbe97035..e819db01a 100644 --- a/.github/workflows/yum.yml +++ b/.github/workflows/yum.yml @@ -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 }} diff --git a/fluent-package/apt/systemd-test/test.sh b/fluent-package/apt/systemd-test/test.sh index 45469953b..b91e456af 100755 --- a/fluent-package/apt/systemd-test/test.sh +++ b/fluent-package/apt/systemd-test/test.sh @@ -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" diff --git a/fluent-package/yum/systemd-test/test.sh b/fluent-package/yum/systemd-test/test.sh index 4a4d58120..4c73e2c30 100755 --- a/fluent-package/yum/systemd-test/test.sh +++ b/fluent-package/yum/systemd-test/test.sh @@ -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"