Skip to content

Commit

Permalink
[reapply] Automatically retry on macOS for some failures (#2019)
Browse files Browse the repository at this point in the history
Similar to
#2012, but
limit the retry to 1

We are still seeing file system corruption issues on Intel Macs:
https://buildkite.com/bazel/bazel-bazel-github-presubmit/builds/22733#01912f7e-f80c-4e2d-8b09-1d9e7e005d38
  • Loading branch information
meteorcloudy authored Aug 8, 2024
1 parent 333047c commit 47d1cea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions buildkite/bazelci.py
Original file line number Diff line number Diff line change
Expand Up @@ -2790,6 +2790,11 @@ def create_step(label, commands, platform, shards=1, soft_fail=None):
]
}

# Automatically retry on Intel Macs to work around flaky failures.
if platform == "macos":
step["retry"]["automatic"].append({"exit_status": 128, "limit": 1})
step["retry"]["automatic"].append({"exit_status": 1, "limit": 1})

return step


Expand Down

0 comments on commit 47d1cea

Please sign in to comment.