[Git][qa/jenkins.debian.net][master] rdn stats: fix regex

Holger Levsen (@holger) gitlab at salsa.debian.org
Tue Jun 3 10:19:12 BST 2025



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


Commits:
dd4d0d4d by Jochen Sprickerhof at 2025-06-03T11:18:54+02:00
rdn stats: fix regex

We are matching with DOTALL so '^' does not work.

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

- - - - -


1 changed file:

- bin/rebuilderd_stats.py


Changes:

=====================================
bin/rebuilderd_stats.py
=====================================
@@ -56,7 +56,7 @@ def main() -> None:
         return f
 
     error_messages = {
-        "rebuilderd failed, out of memory (temporary)": log_has_re(r"^dpkg \(subprocess\):.*Cannot allocate memory"),
+        "rebuilderd failed, out of memory (temporary)": log_has_re(r"dpkg \(subprocess\):.*Cannot allocate memory"),
         "rebuilderd failed, no diskspace (temporary)": log_has_re("No space left on device"),
         "rebuilderd failed, repository not signed (temporary)": log_has_re("E: The repository 'https://deb.debian.org/debian .* InRelease' is not signed."),
         "buildinfo file 404 (maybe temporary)": log_has("rebuilderd: unexpected error while rebuilding package: Failed to download build input from"),
@@ -73,7 +73,7 @@ def main() -> None:
         "download failed (temporary)": log_has_re("400 URL must be absolute.E: Could not download.*sbuild failed"),
         "sbuild chroot failed (temporary)": log_has("E: Error creating chroot session: skipping"),
         "sbuild failed due to insufficient disk space": log_has("E: Disk space is probably not sufficient for building."),
-        "sbuild failed due to insufficient memory": log_has_re(r"^fork\(\) failed: Cannot allocate memory at /usr/libexec/sbuild-usernsexec line"),
+        "sbuild failed due to insufficient memory": log_has_re(r"fork\(\) failed: Cannot allocate memory at /usr/libexec/sbuild-usernsexec line"),
         "timeout: freedict (#998683)": log_has_all(["TRUNCATED DUE TO TIMEOUT: ", "inputs/freedict_20"]),
         "timeout (maybe temporary)": log_has("TRUNCATED DUE TO TIMEOUT: "),
         "old dpkg (<1.19.0, (bin)NMUs needed)": log_has_re(r"dpkg is already the newest version \(1\.1[0-8].*fakeroot not found, either install the fakeroot"),



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/dd4d0d4d8c6b59da50028c94dbd691110b8e3c08
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/20250603/99137ab2/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list