From ced762a8d30a8916fad93b41f8607f1eae2a4511 Mon Sep 17 00:00:00 2001 From: David Heidelberg Date: Thu, 3 Aug 2023 08:11:07 +0300 Subject: 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 Part-of: --- bin/ci/update_traces_checksum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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(): -- cgit v1.2.3