qemu-cr16/tests
Daniel P. Berrangé 097bbfc5e0 tests/functional: treat unknown exceptions as transient faults
To maximise the robustness of the functional tests we want to treat most
asset download failures as non-fatal to the test suite. Instead it
should just skip the tests which need that particular asset. The only
time aim to make it fatal is for 404 errors which are highly likely to
reflect genuine problems to be fixed.

We catch certain exception classes and handle them as transient errors,
but unfortunately it is proving difficult to predict what exception
classes urlopen() is capable of raising, with new possibilities being
discovered.

To provide a fail-safe, treat the generic Exception class as being a
transient error too. This may well mask certain genuine bugs, but it is
preferrable to prioritize running the test suite to the greatest extent
practical.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20250918125746.1165658-3-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2025-09-24 08:26:11 +02:00
..
bench
data tests/data/vmstate-static-checker: Add dump files from QEMU 7.2.17 2025-09-24 08:26:11 +02:00
decode decodetree: Infer argument set before inferring format 2025-07-25 10:31:45 +01:00
docker tests/docker: fix debian-all-test-cross 2025-08-04 16:13:38 +01:00
fp fpu: allow flushing of output denormals to be after rounding 2025-02-11 16:22:07 +00:00
functional tests/functional: treat unknown exceptions as transient faults 2025-09-24 08:26:11 +02:00
guest-debug tests, scripts: Don't import print_function from __future__ 2025-09-16 17:31:53 +01:00
image-fuzzer
include meson: fix Windows build 2025-06-16 13:16:27 -04:00
keys
lcitool build, dockerfiles: add support for detecting rustdoc 2025-06-03 22:42:18 +02:00
migration-stress guestperf: Add test result data into report 2025-02-14 15:19:07 -03:00
multiboot
perf/block/qcow2
qapi-schema qapi: switch to use QEMU_TEST_REGENERATE env var 2025-09-16 13:31:40 -04:00
qemu-iotests iotests/check: always enable all python warnings 2025-09-15 14:36:02 -04:00
qtest treewide: use qemu_set_blocking instead of g_unix_set_fd_nonblocking 2025-09-19 12:46:07 +01:00
rocker
tcg target/arm: Added test case for SME register exposure to GDB 2025-09-16 17:31:54 +01:00
tracetool tracetool-test: allow to run in parallel 2025-09-16 13:31:40 -04:00
tsan
uefi-test-tools uefi-test-tools:: Add LoongArch64 support 2025-06-01 06:38:53 -04:00
unit treewide: use qemu_set_blocking instead of g_unix_set_fd_nonblocking 2025-09-19 12:46:07 +01:00
vm tests/vm: bump FreeBSD image to 14.3 2025-07-14 10:29:17 +02:00
dbus-vmstate-daemon.sh
Makefile.include tests: Fix "make check-functional" for targets without thorough tests 2025-09-24 08:26:11 +02:00
meson.build tracetool: add test suite for tracetool with reference output 2025-09-16 13:31:40 -04:00
test-qht-par.c
vhost-user-bridge.c