Skip to contentSkip to conversation

tests: enable meson test timeouts to improve debuggability

PATCH In review Thomas Huth 5 participants 23 messages Dec 15, 2023 – Jan 23, 2024 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

v3 cover tests: enable meson test timeouts to improve debuggability

This is a respin of Daniel's series that re-enables the meson test runner timeouts. To make sure that we do not get into trouble on older systems, I ran all the tests with "make check SPEED=slow -j32" on my laptop that has only 16 SMT threads, so each test was running quite a bit slower than with a normal "-j$(nproc)" run. I think that these timeouts should now work in most cases - if not, we still can adjust them easily later.

Daniel's original patch series description follows:

---------------------------- 8< -------------------------------------

Perhaps the most painful of all the GitLab CI failures we see are the enforced job timeouts:

"ERROR: Job failed: execution took longer than 1h15m0s seconds"

https://gitlab.com/qemu-project/qemu/-/jobs/4387047648

when that hits the CI log shows what has *already* run, but figuring out what was currently running (or rather stuck) is an horrendously difficult.

The initial meson port disabled the meson test timeouts, in order to limit the scope for introducing side effects from the port that would complicate adoption.

Now that the meson port is basically finished we can take advantage of more of its improved features. It has the ability to set timeouts for test programs, defaulting to 30 seconds, but overridable per test. This is further helped by fact that we changed the iotests integration so that each iotests was a distinct meson test, instead of having one single giant (slow) test.

We already set overrides for a bunch of tests, but they've not been kept up2date since we had timeouts disabled. So this series first updates the timeout overrides such that all tests pass when run in my test gitlab CI pipeline. Then it enables use of meson timeouts.

We might still hit timeouts due to non-deterministic performance of gitlab CI runners. So we'll probably have to increase a few more timeouts in the short term. Fortunately this is going to be massively easier to diagnose. For example this job during my testing:

https://gitlab.com/berrange/qemu/-/jobs/4392029495

we can immediately see the problem tests

Summary of Failures:

  6/252 qemu:qtest+qtest-i386 / qtest-i386/bios-tables-test                TIMEOUT        120.02s   killed by signal 15 SIGTERM
  7/252 qemu:qtest+qtest-aarch64 / qtest-aarch64/bios-tables-test          TIMEOUT        120.03s   killed by signal 15 SIGTERM
 64/252 qemu:qtest+qtest-aarch64 / qtest-aarch64/qom-test                  TIMEOUT        300.03s   killed by signal 15 SIGTERM

The full meson testlog.txt will show each individual TAP log output, so we can then see exactly which test case we got stuck on.

---------------------------- 8< -------------------------------------

Daniel P. Berrangé (12):
qtest: bump min meson timeout to 60 seconds
qtest: bump migration-test timeout to 8 minutes
qtest: bump qom-test timeout to 15 minutes
qtest: bump npcm7xx_pwn-test timeout to 5 minutes
qtest: bump test-hmp timeout to 4 minutes
qtest: bump pxe-test timeout to 10 minutes
qtest: bump prom-env-test timeout to 6 minutes
qtest: bump boot-serial-test timeout to 3 minutes
qtest: bump qos-test timeout to 2 minutes
qtest: bump aspeed_smc-test timeout to 6 minutes
qtest: bump bios-table-test timeout to 9 minutes
mtest2make: stop disabling meson test timeouts

Thomas Huth (4):
tests/qtest: Bump the device-introspect-test timeout to 12 minutes tests/unit: Bump test-aio-multithread test timeout to 2 minutes tests/unit: Bump test-crypto-block test timeout to 5 minutes tests/fp: Bump fp-test-mulAdd test timeout to 3 minutes

 scripts/mtest2make.py   |  3 ++-
 tests/fp/meson.build    |  2 +-
 tests/qtest/meson.build | 25 +++++++++++++------------
 tests/unit/meson.build  |  2 ++
 4 files changed, 18 insertions(+), 14 deletions(-)
Signature · 1 line
2.43.0
#3 lore raw

PATCH v3 3/16 qtest: bump qom-test timeout to 15 minutes

From: Daniel P. Berrangé <[email protected]>

The qom-test is periodically hitting the 5 minute timeout when running on the aarch64 emulator under GitLab CI. With an --enable-debug build it can take over 10 minutes for arm/aarch64 targets. Setting timeout to 15 minutes gives enough headroom to hopefully make it reliable.

Message-ID: <[email protected]>

---
 tests/qtest/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qtest/meson.build +1 -1
index f184d051cf..000ac54b7d 100644
@@ -2,7 +2,7 @@ slow_qtests = {
   'bios-tables-test' : 120,
   'migration-test' : 480,
   'npcm7xx_pwm-test': 150,
-  'qom-test' : 300,
+  'qom-test' : 900,
   'test-hmp' : 120,
 }
 
Signature · 1 line
2.43.0
#9 lore raw

PATCH v3 9/16 qtest: bump qos-test timeout to 2 minutes

In reply to Thomas Huth

From: Daniel P. Berrangé <[email protected]>

The qos-test takes just under 1 minute in a --enable-debug build. Bumping to 2 minutes will give more headroom.

Message-ID: <[email protected]>

---
 tests/qtest/meson.build | 1 +
 1 file changed, 1 insertion(+)
tests/qtest/meson.build +1 -0
index dc1e6da5c7..b02ca540cf 100644
@@ -7,6 +7,7 @@ slow_qtests = {
   'pxe-test': 600,
   'prom-env-test': 360,
   'boot-serial-test': 180,
+  'qos-test': 120,
 }
 
 qtests_generic = [
Signature · 1 line
2.43.0
#4 lore raw

PATCH v3 4/16 qtest: bump npcm7xx_pwn-test timeout to 5 minutes

In reply to Thomas Huth

From: Daniel P. Berrangé <[email protected]>

The npcm7xx_pwn-test takes 3 & 1/2 minutes in a --enable-debug build. Bumping to 5 minutes will give more headroom.

Message-ID: <[email protected]>

---
 tests/qtest/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qtest/meson.build +1 -1
index 000ac54b7d..84cec0a847 100644
@@ -1,7 +1,7 @@
 slow_qtests = {
   'bios-tables-test' : 120,
   'migration-test' : 480,
-  'npcm7xx_pwm-test': 150,
+  'npcm7xx_pwm-test': 300,
   'qom-test' : 900,
   'test-hmp' : 120,
 }
Signature · 1 line
2.43.0
#15 lore raw

PATCH v3 15/16 tests/fp: Bump fp-test-mulAdd test timeout to 3 minutes

In reply to Thomas Huth

When running the tests in slow mode with --enable-debug on a very loaded system, the fp-test-mulAdd test can take longer than 2 minutes. Bump the timeout to three minutes to make sure it passes in such situations, too.

---
 tests/fp/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/fp/meson.build +1 -1
index cbc17392d6..3b7fc63749 100644
@@ -124,7 +124,7 @@ test('fp-test-mulAdd', fptest,
      # no fptest_rounding_args
      args: fptest_args +
            ['f16_mulAdd', 'f32_mulAdd', 'f64_mulAdd', 'f128_mulAdd'],
-     suite: ['softfloat-slow', 'softfloat-ops-slow', 'slow'], timeout: 90)
+     suite: ['softfloat-slow', 'softfloat-ops-slow', 'slow'], timeout: 180)
 
 executable(
   'fp-bench',
Signature · 1 line
2.43.0
#16 lore raw

PATCH v3 16/16 mtest2make: stop disabling meson test timeouts

In reply to Thomas Huth

From: Daniel P. Berrangé <[email protected]>

The mtest2make.py script passes the arg '-t 0' to 'meson test' which disables all test timeouts. This is a major source of pain when running in GitLab CI and a test gets stuck. It will stall until GitLab kills the CI job. This leaves us with little easily consumable information about the stalled test. The TAP format doesn't show the test name until it is completed, and TAP output from multiple tests it interleaved. So we have to analyse the log to figure out what tests had un-finished TAP output present and thus infer which test case caused the hang. This is very time consuming and error prone.

By allowing meson to kill stalled tests, we get a direct display of what test program got stuck, which lets us more directly focus in on what specific test case within the test program hung.

The other issue with disabling meson test timeouts by default is that it makes it more likely that maintainers inadvertantly introduce slowdowns. For example the recent-ish change that accidentally made migrate-test take 15-20 minutes instead of around 1 minute.

The main risk of this change is that the individual test timeouts might be too short to allow completion in high load scenarios. Thus, there is likely to be some short term pain where we have to bump the timeouts for certain tests to make them reliable enough. The preceeding few patches raised the timeouts for all failures that were immediately apparent in GitLab CI.

Even with the possible short term instability, this should still be a net win for debuggability of failed CI pipelines over the long term.

Message-ID: <[email protected]>

---
 scripts/mtest2make.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
scripts/mtest2make.py +2 -1
index 179dd54871..eb01a05ddb 100644
@@ -27,7 +27,8 @@ def names(self, base):
 .speed.slow = $(foreach s,$(sort $(filter-out %-thorough, $1)), --suite $s)
 .speed.thorough = $(foreach s,$(sort $1), --suite $s)
 
-.mtestargs = --no-rebuild -t 0
+TIMEOUT_MULTIPLIER = 1
+.mtestargs = --no-rebuild -t $(TIMEOUT_MULTIPLIER)
 ifneq ($(SPEED), quick)
 .mtestargs += --setup $(SPEED)
 endif
Signature · 1 line
2.43.0
#1 lore raw

PATCH v3 1/16 qtest: bump min meson timeout to 60 seconds

In reply to Thomas Huth

From: Daniel P. Berrangé <[email protected]>

Even some of the relatively fast qtests can sometimes hit the 30 second timeout in GitLab CI under high parallelism/load conditions. Bump the min to 60 seconds to give a higher margin for reliability.

Message-ID: <[email protected]>

---
 tests/qtest/meson.build | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
tests/qtest/meson.build +2 -7
index 47dabf91d0..366872ed57 100644
@@ -1,12 +1,7 @@
 slow_qtests = {
-  'ahci-test' : 60,
   'bios-tables-test' : 120,
-  'boot-serial-test' : 60,
   'migration-test' : 150,
   'npcm7xx_pwm-test': 150,
-  'prom-env-test' : 60,
-  'pxe-test' : 60,
-  'qos-test' : 60,
   'qom-test' : 300,
   'test-hmp' : 120,
 }
@@ -383,8 +378,8 @@ foreach dir : target_dirs
          env: qtest_env,
          args: ['--tap', '-k'],
          protocol: 'tap',
-         timeout: slow_qtests.get(test, 30),
-         priority: slow_qtests.get(test, 30),
+         timeout: slow_qtests.get(test, 60),
+         priority: slow_qtests.get(test, 60),
          suite: ['qtest', 'qtest-' + target_base])
   endforeach
 endforeach
Signature · 1 line
2.43.0
#6 lore raw

PATCH v3 6/16 qtest: bump pxe-test timeout to 10 minutes

In reply to Thomas Huth

From: Daniel P. Berrangé <[email protected]>

The pxe-test uses the boot_sector_test() function, and that already uses a timeout of 600 seconds. So adjust the timeout on the meson side accordingly.

[thuth: Bump timeout to 600s and adjust commit description]
---
 tests/qtest/meson.build | 1 +
 1 file changed, 1 insertion(+)
tests/qtest/meson.build +1 -0
index 7a4160df04..ec93d5a384 100644
@@ -4,6 +4,7 @@ slow_qtests = {
   'npcm7xx_pwm-test': 300,
   'qom-test' : 900,
   'test-hmp' : 240,
+  'pxe-test': 600,
 }
 
 qtests_generic = [
Signature · 1 line
2.43.0
#8 lore raw

PATCH v3 8/16 qtest: bump boot-serial-test timeout to 3 minutes

In reply to Thomas Huth

From: Daniel P. Berrangé <[email protected]>

The boot-serial-test takes about 1 + 1/2 minutes in a --enable-debug build. Bumping to 3 minutes will give more headroom.

Message-ID: <[email protected]>

---
 tests/qtest/meson.build | 1 +
 1 file changed, 1 insertion(+)
tests/qtest/meson.build +1 -0
index c7944e8dbe..dc1e6da5c7 100644
@@ -6,6 +6,7 @@ slow_qtests = {
   'test-hmp' : 240,
   'pxe-test': 600,
   'prom-env-test': 360,
+  'boot-serial-test': 180,
 }
 
 qtests_generic = [
Signature · 1 line
2.43.0
#10 lore raw

PATCH v3 10/16 qtest: bump aspeed_smc-test timeout to 6 minutes

In reply to Thomas Huth

From: Daniel P. Berrangé <[email protected]>

On a loaded system with --enable-debug, this test can take longer than 5 minutes. Raising the timeout to 6 minutes gives greater headroom for such situations.

[thuth: Increase the timeout to 6 minutes for very loaded systems]
---
 tests/qtest/meson.build | 1 +
 1 file changed, 1 insertion(+)
tests/qtest/meson.build +1 -0
index b02ca540cf..da53dd66c9 100644
@@ -1,4 +1,5 @@
 slow_qtests = {
+  'aspeed_smc-test': 360,
   'bios-tables-test' : 120,
   'migration-test' : 480,
   'npcm7xx_pwm-test': 300,
Signature · 1 line
2.43.0
#13 lore raw

PATCH v3 13/16 tests/unit: Bump test-aio-multithread test timeout to 2 minutes

In reply to Thomas Huth

When running the tests in slow mode on a very loaded system and with --enable-debug, the test-aio-multithread can take longer than 1 minute. Bump the timeout to two minutes to make sure that it also passes in such situations.

---
 tests/unit/meson.build | 1 +
 1 file changed, 1 insertion(+)
tests/unit/meson.build +1 -0
index a05d471090..0b0c7c1411 100644
@@ -172,6 +172,7 @@ test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
 test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
 
 slow_tests = {
+  'test-aio-multithread' : 120,
   'test-crypto-tlscredsx509': 45,
   'test-crypto-tlssession': 45
 }
Signature · 1 line
2.43.0
#5 lore raw

PATCH v3 5/16 qtest: bump test-hmp timeout to 4 minutes

In reply to Thomas Huth

From: Daniel P. Berrangé <[email protected]>

The hmp test takes just under 3 minutes in a --enable-debug build. Bumping to 4 minutes will give more headroom.

Message-ID: <[email protected]>

[thuth: fix copy-n-paste error in the description]
---
 tests/qtest/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qtest/meson.build +1 -1
index 84cec0a847..7a4160df04 100644
@@ -3,7 +3,7 @@ slow_qtests = {
   'migration-test' : 480,
   'npcm7xx_pwm-test': 300,
   'qom-test' : 900,
-  'test-hmp' : 120,
+  'test-hmp' : 240,
 }
 
 qtests_generic = [
Signature · 1 line
2.43.0
#12 lore raw

PATCH v3 12/16 tests/qtest: Bump the device-introspect-test timeout to 12 minutes

In reply to Thomas Huth

When running the test in slow mode on a very loaded system with the arm/aarch64 target and with --enable-debug, it can take longer than 10 minutes to finish the introspection test. Bump the timeout to twelve minutes to make sure that it also finishes in such situations.

---
 tests/qtest/meson.build | 1 +
 1 file changed, 1 insertion(+)
tests/qtest/meson.build +1 -0
index 6e8d00d53c..16916ae857 100644
@@ -1,6 +1,7 @@
 slow_qtests = {
   'aspeed_smc-test': 360,
   'bios-tables-test' : 540,
+  'device-introspect-test' : 720,
   'migration-test' : 480,
   'npcm7xx_pwm-test': 300,
   'qom-test' : 900,
Signature · 1 line
2.43.0
#2 lore raw

PATCH v3 2/16 qtest: bump migration-test timeout to 8 minutes

In reply to Thomas Huth

From: Daniel P. Berrangé <[email protected]>

The migration test should take between 1 min 30 and 2 mins on reasonably modern hardware. The test is not especially compute bound, rather its running time is dominated by the guest RAM size relative to the bandwidth cap, which forces each iteration to take at least 30 seconds. None the less under high load conditions with multiple QEMU processes spawned and competing with other parallel tests, the worst case running time might be somewhat extended. Bumping the timeout to 8 minutes gives us good headroom, while still catching stuck tests relatively quickly.

Message-ID: <[email protected]>

[thuth: Bump timeout to 8 minutes to make it work on very loaded systems, too]
---
 tests/qtest/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qtest/meson.build +1 -1
index 366872ed57..f184d051cf 100644
@@ -1,6 +1,6 @@
 slow_qtests = {
   'bios-tables-test' : 120,
-  'migration-test' : 150,
+  'migration-test' : 480,
   'npcm7xx_pwm-test': 150,
   'qom-test' : 300,
   'test-hmp' : 120,
Signature · 1 line
2.43.0
#7 lore raw

PATCH v3 7/16 qtest: bump prom-env-test timeout to 6 minutes

In reply to Thomas Huth

From: Daniel P. Berrangé <[email protected]>

The prom-env-test can take more than 5 minutes in a --enable-debug build on a loaded system. Bumping to 6 minutes will give more headroom.

[thuth: Bump timeout to 6 minutes instead of 3]
---
 tests/qtest/meson.build | 1 +
 1 file changed, 1 insertion(+)
tests/qtest/meson.build +1 -0
index ec93d5a384..c7944e8dbe 100644
@@ -5,6 +5,7 @@ slow_qtests = {
   'qom-test' : 900,
   'test-hmp' : 240,
   'pxe-test': 600,
+  'prom-env-test': 360,
 }
 
 qtests_generic = [
Signature · 1 line
2.43.0
#14 lore raw

PATCH v3 14/16 tests/unit: Bump test-crypto-block test timeout to 5 minutes

In reply to Thomas Huth

When running the tests in slow mode on a very loaded system and with --enable-debug, the test-crypto-block can take longer than 4 minutes. Bump the timeout to 5 minutes to make sure that it also passes in such situations.

---
 tests/unit/meson.build | 1 +
 1 file changed, 1 insertion(+)
tests/unit/meson.build +1 -0
index 0b0c7c1411..a99dec4312 100644
@@ -173,6 +173,7 @@ test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
 
 slow_tests = {
   'test-aio-multithread' : 120,
+  'test-crypto-block' : 300,
   'test-crypto-tlscredsx509': 45,
   'test-crypto-tlssession': 45
 }
Signature · 1 line
2.43.0
#11 lore raw

PATCH v3 11/16 qtest: bump bios-table-test timeout to 9 minutes

In reply to Thomas Huth

From: Daniel P. Berrangé <[email protected]>

This is reliably hitting the current 2 minute timeout in GitLab CI, and for the TCI job, it even hits a 6 minute timeout.

Message-ID: <[email protected]>

---
 tests/qtest/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qtest/meson.build +1 -1
index da53dd66c9..6e8d00d53c 100644
@@ -1,6 +1,6 @@
 slow_qtests = {
   'aspeed_smc-test': 360,
-  'bios-tables-test' : 120,
+  'bios-tables-test' : 540,
   'migration-test' : 480,
   'npcm7xx_pwm-test': 300,
   'qom-test' : 900,
Signature · 1 line
2.43.0
#17 lore raw
In reply to Thomas Huth
Quoted 7 lines · Thomas Huth

This is a respin of Daniel's series that re-enables the meson test runner timeouts. To make sure that we do not get into trouble on older systems, I ran all the tests with "make check SPEED=slow -j32" on my laptop that has only 16 SMT threads, so each test was running quite a bit slower than with a normal "-j$(nproc)" run. I think that these timeouts should now work in most cases - if not, we still can adjust them easily later.

Queued to testing/next, thanks.

Signature · 2 lines
Alex Bennée
Virtualisation Tech Lead @ Linaro
#18 lore raw
In reply to Thomas Huth
Quoted 7 lines · Thomas Huth

This is a respin of Daniel's series that re-enables the meson test runner timeouts. To make sure that we do not get into trouble on older systems, I ran all the tests with "make check SPEED=slow -j32" on my laptop that has only 16 SMT threads, so each test was running quite a bit slower than with a normal "-j$(nproc)" run. I think that these timeouts should now work in most cases - if not, we still can adjust them easily later.

I'm picking this up for stable branches too, since there we have the same problems in CI environment. In particular, bios-tables-test almost always times out, even hitting retry doesn't help. Let's see how it goes..

JFYI.

Thanks,

/mjt

#19 lore raw
Quoted 9 lines · Michael Tokarev
Quoted 7 lines · Thomas Huth

This is a respin of Daniel's series that re-enables the meson test runner timeouts. To make sure that we do not get into trouble on older systems, I ran all the tests with "make check SPEED=slow -j32" on my laptop that has only 16 SMT threads, so each test was running quite a bit slower than with a normal "-j$(nproc)" run. I think that these timeouts should now work in most cases - if not, we still can adjust them easily later.

Quoted 5 lines

I'm picking this up for stable branches too, since there we have the same problems in CI environment. In particular, bios-tables-test almost always times out, even hitting retry doesn't help. Let's see how it goes..

JFYI.

There have been a bunch of followups that Thomas has posted since this series merged that you should pick up too when they merge.

With regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#20 lore raw
In reply to Michael Tokarev
Quoted 9 lines · Michael Tokarev
Quoted 7 lines · Thomas Huth

This is a respin of Daniel's series that re-enables the meson test runner timeouts. To make sure that we do not get into trouble on older systems, I ran all the tests with "make check SPEED=slow -j32" on my laptop that has only 16 SMT threads, so each test was running quite a bit slower than with a normal "-j$(nproc)" run. I think that these timeouts should now work in most cases - if not, we still can adjust them easily later.

Quoted 3 lines

I'm picking this up for stable branches too, since there we have the same problems in CI environment. In particular, bios-tables-test almost always times out, even hitting retry doesn't help.  Let's see how it goes..

Uh, wait, that does not make too much sense ... if bios-tables-test already times out *without* the additional meson-based timeouts, then adding the meson timeouts won't help. bios-tables-test uses the manually coded timeout from boot_sector_test() that is currently set to 600 seconds. If you hit that timeout, that likely means that something is really broken in your branch - or is it sometimes still succeeding?

Thomas

#21 lore raw

23.01.2024 20:47, Thomas Huth:

Quoted 1 line · Michael Tokarev

..

Quoted 5 lines
Quoted 3 lines

I'm picking this up for stable branches too, since there we have the same problems in CI environment. In particular, bios-tables-test almost always times out, even hitting retry doesn't help.  Let's see how it goes..

Uh, wait, that does not make too much sense ... if bios-tables-test already times out *without* the additional meson-based timeouts, then adding the meson timeouts won't help. bios-tables-test uses the manually coded timeout from boot_sector_test() that is currently set to 600 seconds. If you hit that timeout, that likely means that something is really broken in your branch - or is it sometimes still succeeding?

I mistyped the test name as I was dealing with bios-tables-test at that time in another context (unrelated). Actual failing test in this case, among others, is avocado acpi_smbios_bits, eg
https://gitlab.com/qemu-project/qemu/-/jobs/5991505589#L231 which timed
out on multiple attempts. In this example it took a bit less than 65s. Subsequent retry succeeded in 51s:
https://gitlab.com/qemu-project/qemu/-/jobs/5995055845#L212
but this run was at much later time, apparently when gitlab was had less load, - as whole run was significantly faster.

So this particular failure has nothing to do with this patchset, and the patchset does not do anything to it.

(I was in a bit distracted mode whole day today due to $ork issues).

Thanks,

/mjt

#22 lore raw
Quoted 13 lines · Michael Tokarev

23.01.2024 20:47, Thomas Huth:

Quoted 1 line · Michael Tokarev

..

Quoted 7 lines
Quoted 3 lines

I'm picking this up for stable branches too, since there we have the same problems in CI environment. In particular, bios-tables-test almost always times out, even hitting retry doesn't help. Let's see how it goes..

Uh, wait, that does not make too much sense ... if bios-tables-test already times out *without* the additional meson-based timeouts, then adding the meson timeouts won't help. bios-tables-test uses the manually coded timeout from boot_sector_test() that is currently set to 600 seconds. If you hit that timeout, that likely means that something is really broken in your branch - or is it sometimes still succeeding?

Quoted 5 lines

I mistyped the test name as I was dealing with bios-tables-test at that time in another context (unrelated). Actual failing test in this case, among others, is avocado acpi_smbios_bits, eg
https://gitlab.com/qemu-project/qemu/-/jobs/5991505589#L231 which timed
out on multiple attempts. In this example it took a bit less than 65s.

The fix for that flakiness is commit 7ef4c41e91d59 ("acpi/tests/avocado/bits: wait for 200 seconds for SHUTDOWN event from bits VM").

thanks
-- PMM