From 9b42cc3b12c17a4b02d713b2ad499a74acecea1f Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Mon, 8 Dec 2025 15:47:50 +0000 Subject: [PATCH] tests: also add qemu shutdown trace debug logs to integration script Again to chase https://github.com/systemd/systemd/issues/38240 as suggested on QEMU's matrix channel --- test/integration-tests/integration-test-wrapper.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/integration-tests/integration-test-wrapper.py b/test/integration-tests/integration-test-wrapper.py index f7d7807a68c..738fe60681b 100755 --- a/test/integration-tests/integration-test-wrapper.py +++ b/test/integration-tests/integration-test-wrapper.py @@ -617,7 +617,13 @@ def main() -> None: # XXX: debug for https://github.com/systemd/systemd/issues/38240 if vm: - cmd += ['--qemu-args=-d cpu_reset,guest_errors -D /dev/stderr'] + # Tracing is not supported in centos/fedora qemu builds + if summary.distribution in ('centos', 'fedora'): + cmd += ['--qemu-args=-d cpu_reset,guest_errors -D /dev/stderr'] + else: + cmd += [ + '--qemu-args=-d cpu_reset,guest_errors,trace:kvm_run_exit_system_event,trace:qemu_system_\*_request -D /dev/stderr' # noqa: E501 + ] try: result = subprocess.run(cmd) -- 2.47.3