[Git][qa/jenkins.debian.net][master] rdn stats: filter one second bugs by build date
Holger Levsen (@holger)
gitlab at salsa.debian.org
Wed Sep 9 13:15:06 BST 2026
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
36db9a43 by Jochen Sprickerhof at 2026-09-09T14:14:57+02:00
rdn stats: filter one second bugs by build date
Also drop the arch:all extra handling (no longer needed).
(cherry picked from commit 6f5071cb0e61beb87c6992d1451b7b256920e091)
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/rebuilderd_stats.py
Changes:
=====================================
bin/rebuilderd_stats.py
=====================================
@@ -99,7 +99,14 @@ def main() -> None:
return any(s in (diff or '') for s in strs)
return f
- one_second_string = "failed to reproduce: 1-second offset (#1089088)"
+ def one_second_match():
+ def f(log, diff):
+ date = 0
+ if reg := search(r"SOURCE_DATE_EPOCH=(\d*) ", log):
+ date = int(reg[1])
+ # 1735689600 = 2025-01-01 (the fix reached the buildds around that time)
+ return date < 1735689600 and search(r"\+b\d+_" + args.arch + r"\.deb\n.* -([drwx-]{10} [0-9a-z() ]{,60} [0-9]+ [0-9-]{10} [012][0-9]:).* \+\1", diff or '', DOTALL)
+ return f
error_messages = {
"package no longer in the archive": log_has("E: Unable to find a source package for"),
@@ -138,7 +145,7 @@ def main() -> None:
"failed to reproduce: chmod +s": diff_has_re(r" -([drwx-]{3,6})s([drwx-]{3,6} [0-9a-z() ]{,60} [0-9]+ [0-9-]{10} [012][0-9]:).* \+\1x\2"),
"failed to reproduce: fakeroot in LD path": diff_has_re("linux-gnu[^/]*/libfakeroot"),
"failed to reproduce: PackageVerificationCode": diff_has("-PackageVerificationCode"),
- one_second_string: diff_has_re(r"\+b\d+_" + args.arch + r"\.deb\n.* -([drwx-]{10} [0-9a-z() ]{,60} [0-9]+ [0-9-]{10} [012][0-9]:).* \+\1"),
+ "failed to reproduce: 1-second offset (#1089088)": one_second_match(),
"failed to reproduce: dh-r (#1089197)": diff_has_re(r"Package: r-(cran|bioc|other)-.*-(Depends|Recommends|Suggests): "),
"failed to reproduce": lambda log, diff: diff,
"failed to reproduce (no diffoscope)": log_has_re(r"checking [^ ]*: (size(...)? ?(value of [^ ]*)? (differs for [^ ]*)?)? ?$"),
@@ -146,9 +153,6 @@ def main() -> None:
"other errors": lambda *_: True,
}
- if args.arch.startswith("all"):
- del error_messages[one_second_string]
-
unzstd = ZstdDecompressor()
messages_packages: dict[str, list] = {k: [] for k in error_messages.keys()} # Preserve keys order
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/36db9a4369dd481eb1a7f5887a8226d3332a3d87
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/36db9a4369dd481eb1a7f5887a8226d3332a3d87
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20260909/9ef6727e/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list