[Git][qa/jenkins.debian.net][master] rdn stats: improve dh-r and arch specifics
Holger Levsen (@holger)
gitlab at salsa.debian.org
Thu Jun 12 10:00:32 BST 2025
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
59724bec by Jochen Sprickerhof at 2025-06-12T11:00:20+02:00
rdn stats: improve dh-r and arch specifics
- 1-second offset does not apply to arch:all so don't show it there.
- Differentiate between binNMU and upload needed.
(cherry picked from commit 155dcefa5856cdf48314926224b4751b69b4c025)
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/rebuilderd_stats.py
Changes:
=====================================
bin/rebuilderd_stats.py
=====================================
@@ -55,6 +55,8 @@ 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)"
+
error_messages = {
"rebuilderd failed, out of memory (temporary)": log_has_re(r"dpkg \(subprocess\):.*Cannot allocate memory"),
"rebuilderd failed, no diskspace (temporary)": log_has_re(r"fatal error: error writing to /.*: No space left on device"),
@@ -62,8 +64,8 @@ def main() -> None:
"buildinfo file 404 (maybe temporary)": log_has("rebuilderd: unexpected error while rebuilding package: Failed to download build input from"),
"package file 404 (temporary)": log_has("rebuilderd: unexpected error while rebuilding package: Failed to download original package from"),
"packages missing on metasnap (maybe temporary, #1096129)": log_has_re(r"cannot find:.*debootsnap failed at /usr/bin/debrebuild line 4"),
- "multiarch-support missing (NMUs needed)": log_has_all(["multiarch-support but it is not installable", "Build Type: all"]),
- "multiarch-support missing (binNMUs needed)": log_has("multiarch-support but it is not installable"),
+ "multiarch-support missing (upload needed)": log_has_all(["multiarch-support but it is not installable", "Build Type: all"]),
+ "multiarch-support missing (binNMU needed)": log_has("multiarch-support but it is not installable"),
"mmdebstrap failed (#1094165)": log_has_all(["fatal: `/bin/chfn -f Debian OWFS system account Debian-ow' returned error code 1. Exiting.", "debootsnap failed at /usr/bin/debrebuild line 4"]),
"debootsnap failed (temporary)": log_has_all(["Failed to fetch http://snapshot.debian.org/archive/debian", "debootsnap failed at /usr/bin/debrebuild line 4"]),
"debootsnap failed (maybe temporary)": log_has("debootsnap failed at /usr/bin/debrebuild line 4"),
@@ -76,22 +78,26 @@ def main() -> None:
"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"),
+ "old dpkg (<1.19.0, upload needed)": log_has_re(r"dpkg is already the newest version \(1\.1[0-8].*fakeroot not found, either install the fakeroot.*Build Type: all"),
+ "old dpkg (<1.19.0, binNMU needed)": log_has_re(r"dpkg is already the newest version \(1\.1[0-8].*fakeroot not found, either install the fakeroot"),
"fakeroot not found (https://deb.li/3P46G)": log_has("fakeroot not found, either install the fakeroot"),
"dpkg-buildpackage failed to allocate memory for gcc (maybe temporary)": log_has_all(["E: Build failure (dpkg-buildpackage died", "powerpc64le-linux-gnu-gcc: builderMainLoop: posix_spawnp: resource exhausted (Cannot allocate memory)"]),
"dpkg-buildpackage failed to allocate memory for make (maybe temporary)": log_has_all(["E: Build failure (dpkg-buildpackage died", "/usr/bin/make: Cannot allocate memory"]),
"dpkg-buildpackage failed due to linker failure (maybe temporary)": log_has_all(["E: Build failure (dpkg-buildpackage died", "collect2: error: ld returned 1 exit status"]),
- "dpkg-buildpackage failed: dh-r (#1089197)": log_has_re(r"(Source|Binary): r-(cran|bioc|other)-.*apt-cache: not found"),
+ "dpkg-buildpackage failed: dh-r (#1089197)": log_has_re(r"(Source|Binary): r-(cran|bioc|other)-.*dpkg-buildpackage died"),
"dpkg-buildpackage failed": log_has("E: Build failure (dpkg-buildpackage died"),
"failed to reproduce: diffoscope timeout (not fatal)": diff_has("TRUNCATED DUE TO TIMEOUT: 600 seconds"),
"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"),
+ 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": lambda log, diff: diff,
"size limit (not fatal)": log_has("TRUNCATED DUE TO SIZE LIMIT: "),
"other errors": lambda *_: True,
}
+ if arch == "all":
+ del error_messages[one_second_string]
+
messages_packages = {k: [] for k in error_messages.keys()} # Preserve keys order
total = 0
for row in cu.execute(
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/59724bec961f322f101e30f8bf5cfad9ab2eaf27
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/59724bec961f322f101e30f8bf5cfad9ab2eaf27
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/20250612/9424eba8/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list