aboutsummaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-09-18 13:57:46 +0100
committerThomas Huth <thuth@redhat.com>2025-09-24 08:26:11 +0200
commit097bbfc5e0ba889ce17106ef941a56111c3de270 (patch)
tree6e2ed519586fa94fb36cf1bb67156a54f2a63836 /scripts/lib/kdoc/kdoc_parser.py
parentbcc251800b9e60c541de860dc8a1ced70622ee43 (diff)
downloadqemu-097bbfc5e0ba889ce17106ef941a56111c3de270.zip
qemu-097bbfc5e0ba889ce17106ef941a56111c3de270.tar.gz
qemu-097bbfc5e0ba889ce17106ef941a56111c3de270.tar.bz2
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>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions