[Git][qa/jenkins.debian.net][master] rdn stats: ignore encoding errors

Holger Levsen (@holger) gitlab at salsa.debian.org
Thu Aug 28 10:49:26 BST 2025



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
410f4f61 by Jochen Sprickerhof at 2025-08-28T11:49:16+02:00
rdn stats: ignore encoding errors

(cherry picked from commit e998aa7036e50f1d8f007647e546ad71387a5d86)
Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/rebuilderd_stats.py


Changes:

=====================================
bin/rebuilderd_stats.py
=====================================
@@ -181,9 +181,9 @@ def main() -> None:
             messages_packages[message].append({"name": name, "src": src_name, "id": build_id, "diff": difflen, "diff_id": diffoscope_id})
             continue
 
-        build_log = unzstd.stream_reader(build_log).read().decode("utf-8")
+        build_log = unzstd.stream_reader(build_log).read().decode("utf8-lossy")
         if diffoscope:
-            diffoscope = unzstd.stream_reader(diffoscope).read().decode("utf-8")
+            diffoscope = unzstd.stream_reader(diffoscope).read().decode("utf8-lossy")
         else:
             diffoscope = ""
 



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/410f4f61d8a2f34413a763801d26961e5a4cc938

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/410f4f61d8a2f34413a763801d26961e5a4cc938
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20250828/81ef4724/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list