]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/functional: ignore errors when caching assets, except for 404
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 17 Dec 2024 15:59:52 +0000 (15:59 +0000)
committerThomas Huth <thuth@redhat.com>
Tue, 17 Dec 2024 18:39:53 +0000 (19:39 +0100)
commit674a750b51df188d6baf55f1f1f8fc6f57fcf6cf
tree2cac0ab308d45852b9bcf9b6d33856df29cb493b
parent6ff217c2d1c231f727c1be356da4a71cdfdd7ec5
tests/functional: ignore errors when caching assets, except for 404

We see periodic errors caching assets due to a combination of transient
networking and server problems. With the previous patch to skip running
a test when it has missing assets, we can now treat most cache download
errors as non-fatal.

Only HTTP 404 is retained as fatal, since it is a strong indicator of
a fully broken test rather than a transient error.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20241217155953.3950506-32-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/functional/qemu_test/asset.py