Skip to content

flaky CI test: acpiBitsTest.test_acpi_smbios_bits

The Avocado test acpiBitsTest.test_acpi_smbios_bits is very flaky: recent examples of failed jobs:

https://gitlab.com/qemu-project/qemu/-/jobs/5870498204 https://gitlab.com/qemu-project/qemu/-/jobs/5870498202 https://gitlab.com/qemu-project/qemu/-/jobs/5869005201

Logs available eg here:

https://gitlab.com/qemu-project/qemu/-/jobs/5870498204/artifacts/browse/build/tests/results/latest/test-results/001-tests_avocado_acpi-bits.py_AcpiBitsTest.test_acpi_smbios_bits/

and suggest that the test was still running when it timed out after approximately one minute. tests/avocado/acpi-bits.py tries to set 'timeout = 200' so it's not clear to me where this 1 minute timeout has come from -- perhaps the timeout annotation is in the wrong place?

We should first try to make sure the test timeout of 200 is actually used; failing that we can disable the test as flaky.

Example of a job where the test passes: https://gitlab.com/qemu-project/qemu/-/jobs/5871332636 In that case the test completed in 53.59s.

Edited by Peter Maydell
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information