commit | 47d1cea8c6888d505a288065e067a03032d7aaac | [log] [tgz] |
---|---|---|
author | Yun Peng <pcloudy@google.com> | Thu Aug 08 11:22:56 2024 +0200 |
committer | GitHub <noreply@github.com> | Thu Aug 08 11:22:56 2024 +0200 |
tree | 955c9952b700643ceec348ca418d10712883c348 | |
parent | 333047c779126993328f158166defe21749d8a00 [diff] [blame] |
[reapply] Automatically retry on macOS for some failures (#2019) Similar to https://github.com/bazelbuild/continuous-integration/pull/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
diff --git a/buildkite/bazelci.py b/buildkite/bazelci.py index b56436b..53e5c82 100755 --- a/buildkite/bazelci.py +++ b/buildkite/bazelci.py
@@ -2790,6 +2790,11 @@ ] } + # 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