[Git][qa/jenkins.debian.net][master] rebuilder_stats: Classify packages affected by 1-second offset issue (#1089088)
Holger Levsen (@holger)
gitlab at salsa.debian.org
Wed Dec 18 11:31:11 GMT 2024
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
560abcc0 by Gioele Barabucci at 2024-12-18T12:30:30+01:00
rebuilder_stats: Classify packages affected by 1-second offset issue (#1089088)
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/rebuilderd_stats.py
Changes:
=====================================
bin/rebuilderd_stats.py
=====================================
@@ -69,6 +69,7 @@ def main() -> None:
"diffoscope timeout (not fatal)": diff_has("TRUNCATED DUE TO TIMEOUT: 600 seconds"),
"failed to reproduce: R package (#1089197)": log_has_re(r"(Source|Binary): r-(cran|bioc|other)-"),
"failed to reproduce: dh_buildinfo (#1068809)": diff_has_any([f"buildinfo_{arch}.gz", "buildinfo_all.gz"]),
+ "failed to reproduce: 1-second offset (#1089088)": diff_has_re(r" -([drwx-]{10} [0-9a-z() ]{,60} [0-9]+ [0-9-]{10} [012][0-9]:).* \+\1"),
"failed to reproduce": log_has_re(r"checking [^ ]*: (size(...|(value of [^ ]* differs for [^ ]*)))? ?$"),
"diffoscope not found (fixed)": log_has("rebuilderd: unexpected error while rebuilding package: Failed to run diffoscope: No such file or directory (os error 2)"),
"rebuilderd error": log_has_any([".deb: size... md5... sha256... sha1... all OK", "deb: size... md5... sha1... sha256... all OK"]),
@@ -76,7 +77,7 @@ def main() -> None:
messages_packages = {k: [] for k in error_messages.keys()} # Preserve keys order
for row in cu.execute(
- "SELECT p.name, CAST(b.build_log AS TEXT), b.diffoscope FROM packages p LEFT JOIN builds b"
+ "SELECT p.name, CAST(b.build_log AS TEXT), SUBSTR(b.diffoscope, 1, 100000) FROM packages p LEFT JOIN builds b"
" ON b.id = p.build_id WHERE p.status = 'BAD'"
):
for message, error_match_fn in error_messages.items():
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/560abcc060c04bcb8f897a0f1af27b9c6f52842a
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/560abcc060c04bcb8f897a0f1af27b9c6f52842a
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/20241218/912e693e/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list