From 7f3e4c948959bf6433748f18b139976064411ec3 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 15 Feb 2023 11:16:28 +0100 Subject: [PATCH] mkosi: Enable debug logging in CI "Failed to dissect image: connection timed out" messages have been appearing sporadically in mkosi CI. Let's enable debug logging to help figure out why. --- .github/workflows/mkosi.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml index 9c5656d273..c11202a18c 100644 --- a/.github/workflows/mkosi.yml +++ b/.github/workflows/mkosi.yml @@ -107,12 +107,18 @@ jobs: - name: Boot ${{ matrix.distro }} systemd-nspawn run: sudo mkosi boot ${{ env.KERNEL_CMDLINE }} audit=0 + env: + SYSTEMD_LOG_LEVEL: debug - name: Check ${{ matrix.distro }} systemd-nspawn run: sudo mkosi shell bash -c "[[ -e /testok ]] || { cat /failed-services; exit 1; }" + env: + SYSTEMD_LOG_LEVEL: debug - name: Boot ${{ matrix.distro }} QEMU 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; }" + env: + SYSTEMD_LOG_LEVEL: debug