Retry on macos_arm64 on exit code 255 (#2026)
https://github.com/bazelbuild/continuous-integration/issues/2025
diff --git a/buildkite/bazelci.py b/buildkite/bazelci.py
index 948997d..d1406e5 100755
--- a/buildkite/bazelci.py
+++ b/buildkite/bazelci.py
@@ -2791,6 +2791,11 @@
]
}
+ # Retry on macos_arm64 due to
+ # https://github.com/bazelbuild/continuous-integration/issues/2025
+ if platform == "macos_arm64":
+ step["retry"]["automatic"].append({"exit_status": 255, "limit": 1})
+
# Automatically retry on Intel Macs to work around flaky failures.
if platform == "macos":
step["retry"]["automatic"].append({"exit_status": 128, "limit": 1})