mirror of
https://github.com/systemd/systemd.git
synced 2024-11-24 02:33:36 +08:00
mkosi: Add more debugging
This commit is contained in:
parent
464ec1dec7
commit
03d319a45f
26
.github/workflows/mkosi.yml
vendored
26
.github/workflows/mkosi.yml
vendored
@ -106,12 +106,25 @@ jobs:
|
||||
run: mkosi summary
|
||||
|
||||
- name: Boot ${{ matrix.distro }} systemd-nspawn
|
||||
run: sudo mkosi boot ${{ env.KERNEL_CMDLINE }} audit=0
|
||||
run: |
|
||||
STATUS=0
|
||||
sudo strace -f -Z -o strace mkosi boot ${{ env.KERNEL_CMDLINE }} audit=0 || STATUS=$?
|
||||
if [ $STATUS -ne 0 ]; then
|
||||
cat strace
|
||||
fi
|
||||
exit $STATUS
|
||||
env:
|
||||
SYSTEMD_LOG_LEVEL: debug
|
||||
|
||||
- name: Check ${{ matrix.distro }} systemd-nspawn
|
||||
run: sudo mkosi shell bash -c "[[ -e /testok ]] || { cat /failed-services; exit 1; }"
|
||||
run: |
|
||||
STATUS=0
|
||||
sudo strace -f -Z -o strace mkosi shell bash -c "[[ -e /testok ]] || STATUS=$?"
|
||||
if [ $STATUS -ne 0 ]; then
|
||||
cat /failed-services
|
||||
cat strace
|
||||
fi
|
||||
exit $STATUS
|
||||
env:
|
||||
SYSTEMD_LOG_LEVEL: debug
|
||||
|
||||
@ -119,6 +132,13 @@ jobs:
|
||||
run: timeout -k 30 10m mkosi qemu
|
||||
|
||||
- name: Check ${{ matrix.distro }} QEMU
|
||||
run: sudo mkosi shell bash -c "[[ -e /testok ]] || { cat /failed-services; exit 1; }"
|
||||
run: |
|
||||
STATUS=0
|
||||
sudo strace -f -Z -o strace mkosi shell bash -c "[[ -e /testok ]] || STATUS=$?"
|
||||
if [ $STATUS -ne 0 ]; then
|
||||
cat /failed-services
|
||||
cat strace
|
||||
fi
|
||||
exit $STATUS
|
||||
env:
|
||||
SYSTEMD_LOG_LEVEL: debug
|
||||
|
Loading…
Reference in New Issue
Block a user