diff --git a/canary.py b/canary.py index 46ec2e0..1fa80e4 100755 --- a/canary.py +++ b/canary.py @@ -125,6 +125,11 @@ def run(cmd_args) -> ProcessResult: last_10_log_lines_pure = re.sub(r"/nix/store/\w{32}", "", last_10_log_lines_pure) +# Skip Bazel intermediate, non-deterministic log output. See https://github.com/NixOS/nixpkgs/issues/255049. +last_10_log_lines_pure = re.sub(r"> \[[,\d+]* / [,\d+]*\] .*", "", + last_10_log_lines_pure) +last_10_log_lines_pure = re.sub(r"> INFO:.*", "", last_10_log_lines_pure) + # Note that we don't include the nixpkgs commit, since that changes very # frequently and would likely create duplicate issues. logs_tag = hash(