Skip to content

Commit

Permalink
rpm ci: collect diagnostic message for cgroup v1 (#696)
Browse files Browse the repository at this point in the history
lxc launch will fail (/var/snap/lxd/common/lxd/unix.socket: connect:
permission denied) in some cases, but not sure why yet.

To investigate further more, try to collect snap information when
workflow was failed.

Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys committed Oct 31, 2024
1 parent d4adc18 commit 68929bc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/yum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,18 @@ jobs:
with:
name: packages-${{ 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::"
- name: Run Test ${{ matrix.test }} on ${{ matrix.lxc-image }}
run: fluent-package/yum/systemd-test/test.sh ${{ matrix.lxc-image }} ${{ matrix.test }}

Expand Down

0 comments on commit 68929bc

Please sign in to comment.