Commit d6934d2a authored by Jochen Sprickerhof's avatar Jochen Sprickerhof Committed by Holger Levsen
Browse files

reproduce.d.n/stats: move size limit after diff



As it is non fatal.

Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent 54cdd5ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,6 @@ def main() -> None:
        "sbuild failed due to insufficient disk space": log_has("E: Disk space is probably not sufficient for building."),
        "timeout: freedict (#998683)": log_has_all(["TRUNCATED DUE TO TIMEOUT: ", "inputs/freedict_20"]),
        "timeout (maybe temporary)": log_has("TRUNCATED DUE TO TIMEOUT: "),
        "size limit (not fatal)": log_has("TRUNCATED DUE TO SIZE LIMIT: "),
        "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"),
        "fakeroot not found (https://deb.li/3P46G)": log_has("fakeroot not found, either install the fakeroot"),
        "failed to reproduce: dh-r (#1089197)": log_has_re(r"(Source|Binary): r-(cran|bioc|other)-"),
@@ -73,6 +72,7 @@ def main() -> None:
        "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"),
        "failed to reproduce": lambda log, diff: diff,
        "size limit (not fatal)": log_has("TRUNCATED DUE TO SIZE LIMIT: "),
    }

    messages_packages = {k: [] for k in error_messages.keys()} # Preserve keys order