[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
Sun Dec 15 16:35:50 GMT 2024



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


Commits:
deac53d9 by Gioele Barabucci at 2024-12-15T17:35:39+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/rebuilder_stats.py


Changes:

=====================================
bin/rebuilder_stats.py
=====================================
@@ -2,7 +2,7 @@
 
 from collections import defaultdict
 from datetime import datetime
-from re import search
+from re import search, DOTALL
 from sqlite3 import connect
 from sys import argv
 
@@ -11,7 +11,7 @@ def main() -> None:
     arch = argv[1]
     db = argv[2]
     cx = connect(db)
-    cx.create_function("regexp", 2, lambda x, y: 1 if search(x, y) else 0)
+    cx.create_function("regexp", 2, lambda x, y: 1 if search(x, (y or ''), DOTALL) else 0)
     cu = cx.cursor()
 
     log = "CAST(b.build_log AS TEXT)"
@@ -55,6 +55,7 @@ def main() -> None:
         fr" or {log} regexp 'checking [^ ]*: size... value of [^ ]* differs for [^ ]*$')": "failed to reproduce",
         f"{log} like '%rebuilderd: unexpected error while rebuilding package:"
         " Failed to run diffoscope: No such file or directory (os error 2)%'": "diffoscope not found (fixed)",
+        r"b.diffoscope is not null and b.diffoscope regexp ' -([drwx-]{10} .* [0-9]+ [0-9-]{10} [012][0-9]:).* \+\1'": "1-second offset (#1089088)",
         r_packages: "failed to reproduce: R package (#1089197)",
         f"b.diffoscope like '%buildinfo_{arch}.gz%' or b.diffoscope like '%buildinfo_all.gz%'": "dh_buildinfo (#1068809)",
         f"({log} like '%.deb: size... md5... sha256... sha1... all OK_' or {log} like '%.deb: size... md5... sha1... sha256... all OK_')": "rebuilderd error"



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/deac53d9e976b890e294738accc6ff0020a731dc
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/20241215/35fd9826/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list