On 5/21/2026 1:51 AM, 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
> 
>  tests/qemu-iotests/151        |  1 +
>  tests/qemu-iotests/181        |  2 ++
>  tests/qemu-iotests/185        |  1 +
>  tests/qemu-iotests/308        |  2 ++
>  tests/qemu-iotests/common.rc  | 16 ++++++++++++++++
>  tests/qemu-iotests/iotests.py | 16 ++++++++++++++++
>  6 files changed, 38 insertions(+)
> 

Reviewed-by: Pierrick Bouvier <[email protected]>

Reply via email to