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>
This commit is contained in:
David Heidelberg
2023-08-03 08:11:07 +03:00
committed by Marge Bot
parent 356a268b46
commit ced762a8d3

View File

@@ -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():