From: Luca Boccassi Date: Mon, 8 Dec 2025 15:47:50 +0000 (+0000) Subject: tests: also add qemu shutdown trace debug logs to integration script X-Git-Tag: v259-rc3~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b42cc3b12c17a4b02d713b2ad499a74acecea1f;p=thirdparty%2Fsystemd.git 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 --- 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)