Commit 05c2495f authored by Gioele Barabucci's avatar Gioele Barabucci Committed by Holger Levsen
Browse files

rebuilderd_stats: Categorize failures without a diffoscope log



Older failures to reproduce have no associated diffoscope log. Let's
keep track of them until they disappear.

Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent 253bfa5e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -70,6 +70,7 @@ def main() -> None:
        "fakeroot not found (https://deb.li/3P46G)": log_has("fakeroot not found, either install the fakeroot"),
        "dpkg-buildpackage failed": log_has("E: Build failure (dpkg-buildpackage died"),
        "diffoscope timeout (not fatal)": diff_has("TRUNCATED DUE TO TIMEOUT: 600 seconds"),
        "failed to reproduce: no diffoscope log (fixed)": lambda log, diff: not diff,
        "failed to reproduce: dh-r (#1089197)": log_has_re(r"(Source|Binary): r-(cran|bioc|other)-"),
        "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"),