From 7fed1e95899ba7c29af80c68769b44dc5bc26dfa Mon Sep 17 00:00:00 2001 From: Kun Lai Date: Sat, 9 May 2026 14:39:16 +0800 Subject: [PATCH] ci: print cryptpilot-convert diagnostic log on test failure Add an always-run step in the test-convert job to dump /tmp/.cryptpilot-convert.log from inside the test container before cleanup, so intermittent qemu-img lock errors can be diagnosed from CI logs. --- .github/workflows/build-rpm.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-rpm.yml b/.github/workflows/build-rpm.yml index c90874f..0e70837 100644 --- a/.github/workflows/build-rpm.yml +++ b/.github/workflows/build-rpm.yml @@ -281,6 +281,12 @@ jobs: make run-convert-test-case BOOTLOADER=${{ matrix.bootloader }} ROOTFS_ENC=${{ matrix.rootfs_enc }} DELTA_LOCATION=${{ matrix.delta_location }} INPUT_IMAGE=/workspace/test-images/test-image.qcow2 CRYPTPILOT_FDE_RPM=${{ steps.install-rpm.outputs.cryptpilot_fde_rpm_container }} " + - name: Print convert diagnostic log + if: always() + run: | + echo "=== /tmp/.cryptpilot-convert.log (from test-container) ===" + docker exec test-container cat /tmp/.cryptpilot-convert.log 2>/dev/null || echo "(log file not available)" + - name: Cleanup if: always() run: |