[Git][qa/jenkins.debian.net][master] rdn stats: ignore utf-8 errors
Holger Levsen (@holger)
gitlab at salsa.debian.org
Thu Aug 28 12:06:06 BST 2025
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
49a15bed by Jochen Sprickerhof at 2025-08-28T13:05:57+02:00
rdn stats: ignore utf-8 errors
(cherry picked from commit 9cada6ee23364bdcab23eb361545a5c29defeebf)
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("utf8-lossy")
+ build_log = unzstd.stream_reader(build_log).read().decode("utf8", "replace")
if diffoscope:
- diffoscope = unzstd.stream_reader(diffoscope).read().decode("utf8-lossy")
+ diffoscope = unzstd.stream_reader(diffoscope).read().decode("utf8", "replace")
else:
diffoscope = ""
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/49a15bed41409d4e12efc0636a5dfa140d84100d
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/49a15bed41409d4e12efc0636a5dfa140d84100d
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/f6baa46b/attachment.htm>
More information about the Qa-jenkins-scm
mailing list