]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Drop debug logging
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 7 Mar 2023 14:23:35 +0000 (15:23 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 7 Mar 2023 14:25:19 +0000 (15:25 +0100)
The spurious "connection timed out" errors from nspawn should be
fixed now that we're running the latest version.

.github/workflows/mkosi.yml

index 54073a814cf6ddfcd62c609275bcd14ddf0a842d..6e16f25edb1ef0be46b4f2937c081db1d68be364 100644 (file)
@@ -106,39 +106,13 @@ jobs:
       run: mkosi summary
 
     - name: Boot ${{ matrix.distro }} systemd-nspawn
-      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
+      run: sudo mkosi boot ${{ env.KERNEL_CMDLINE }} audit=0
 
     - name: Check ${{ matrix.distro }} systemd-nspawn
-      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
+      run: sudo mkosi shell bash -c "[[ -e /testok ]] || { cat /failed-services; exit 1; }"
 
     - name: Boot ${{ matrix.distro }} QEMU
       run: timeout -k 30 10m mkosi qemu
 
     - name: Check ${{ matrix.distro }} QEMU
-      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
+      run: sudo mkosi shell bash -c "[[ -e /testok ]] || { cat /failed-services; exit 1; }"