summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Heidelberg <david.heidelberg@collabora.com>2023-08-03 08:11:07 +0300
committerMarge Bot <emma+marge@anholt.net>2023-08-03 21:58:13 +0000
commitced762a8d30a8916fad93b41f8607f1eae2a4511 (patch)
treea05053e583ba1037cb5bac1bcaa747e6b912f227
parent356a268b4619ee396a9eeb3b2fd0f404cf31b44e (diff)
downloadmesa-ced762a8d30a8916fad93b41f8607f1eae2a4511.tar.gz
mesa-ced762a8d30a8916fad93b41f8607f1eae2a4511.tar.bz2
mesa-ced762a8d30a8916fad93b41f8607f1eae2a4511.zip
bin/ci: handle errors more gracefully in update_traces_checksum script
UnicodeDecodeError is present very often, since GitLab logs are scary. Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24444>
-rwxr-xr-xbin/ci/update_traces_checksum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ci/update_traces_checksum.py b/bin/ci/update_traces_checksum.py
index 5da65628ecb..c0da34fbb52 100755
--- a/bin/ci/update_traces_checksum.py
+++ b/bin/ci/update_traces_checksum.py
@@ -70,7 +70,7 @@ def gather_results(
# parse artifact
results_json_bz2 = cur_job.artifact(path="results/results.json.bz2", streamed=False)
- results_json = bz2.decompress(results_json_bz2).decode("utf-8")
+ results_json = bz2.decompress(results_json_bz2).decode("utf-8", errors="replace")
results = json.loads(results_json)
for _, value in results["tests"].items():