[Git][qa/jenkins.debian.net][master] 2 commits: rdn stats: dh-r better regex

Holger Levsen (@holger) gitlab at salsa.debian.org
Tue Mar 17 09:24:28 GMT 2026



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


Commits:
cc3508fe by Jochen Sprickerhof at 2026-03-17T10:24:17+01:00
rdn stats: dh-r better regex

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

- - - - -
80422baf by Jochen Sprickerhof at 2026-03-17T10:24:20+01:00
rdn stats: define diff size by number of lines

More intuitive then raw size.

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

- - - - -


1 changed file:

- bin/rebuilderd_stats.py


Changes:

=====================================
bin/rebuilderd_stats.py
=====================================
@@ -136,7 +136,7 @@ def main() -> None:
         "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" -([drwx-]{10} [0-9a-z() ]{,60} [0-9]+ [0-9-]{10} [012][0-9]:).* \+\1"),
-        "failed to reproduce: dh-r (#1089197)": log_has_re(r"(Source|Binary): r-(cran|bioc|other)-"),
+        "failed to reproduce: dh-r (#1089197)": diff_has_re(r"Package: r-(cran|bioc|other)-.*\+Depends: "),
         "failed to reproduce": lambda log, diff: diff,
         "failed to reproduce (no diffoscope)": log_has_re(r"checking [^ ]*: (size(...)? ?(value of [^ ]*)? (differs for [^ ]*)?)? ?$"),
         "size limit (not fatal)": log_has("TRUNCATED DUE TO SIZE LIMIT: "),
@@ -193,7 +193,7 @@ def main() -> None:
 
         for message, error_match_fn in error_messages.items():
             if error_match_fn(build_log, diffoscope):
-                difflen = len(diffoscope)
+                difflen = len(diffoscope.splitlines())
                 cache_new[build_id] = (message, difflen)
                 messages_packages[message].append({"name": name, "src": src_name, "id": build_id, "diff": difflen, "diff_id": diffoscope_id})
                 break



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/a2aae3a580bc45315ca46e78e25e47a109f91d90...80422baffdb3164c0b9fe6d91cad7b667f1e2c74

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/a2aae3a580bc45315ca46e78e25e47a109f91d90...80422baffdb3164c0b9fe6d91cad7b667f1e2c74
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/20260317/4f1af25a/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list