On 21/05/2026 10.51, Daniel P. Berrangé wrote:
Introduce a "_flaky_test" function for shell based I/O tests which accepts a GitLab issue URL, and causes the I/O test to be skipped unless the $QEMU_TEST_FLAKY_TESTS environment variable is set.The equivalent "skip_flaky" test decorator is added for python based I/O tests with the same behaviour. This is used by: * Test 151 which fails in QEMU private AWS runners due to failure to make progress in time * Test 181 which fails with a non-responsive QEMU on AWS runners with the QED format * Test 185 which fails in GitLab shared runners * Test 308 which fails to see disk usage increase after fallocate Signed-off-by: Daniel P. Berrangé <[email protected]> --- Previously posted as part of the larger I/O tests series. Attempted to merge but it failed on AWS private runners, while still passing on GitLab shared runners. https://lists.gnu.org/archive/html/qemu-devel/2026-05/msg04939.html To skip the further tests we needed changes to iotests.py too, hence posting for re-review before proposing for merge again
Looks sane to me! Reviewed-by: Thomas Huth <[email protected]>
