Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a workaround for macOS/Bazel flakes. #11957

Closed
wants to merge 1 commit into from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Feb 15, 2023

Implement a workaround for macOS/Bazel flakes.

Bazel has a 2 minute timeout for their internal xcrun call, which can be exceeded on our github runners about 5% of the time. This leads to flakes and opaque errors, but is a one-time cost. Subsequent xcruns finish in seconds, so we can just do an initial call w/o a timeout before running Bazel.

With this change our total flake rate drops from ~30% to nearly 0% for our full suite of tests

See bazelbuild/bazel#17437 for background.

@copybara-service copybara-service bot force-pushed the test_509869860 branch 2 times, most recently from 0267a47 to 88c78e6 Compare February 15, 2023 21:57
Bazel has a 2 minute timeout for their internal `xcrun` call, which can be exceeded on our github runners about 5% of the time.  This leads to flakes and opaque errors, but is a one-time cost.  Subsequent xcruns finish in seconds, so we can just do an initial call w/o a timeout before running Bazel.

With this change our total flake rate drops from ~30% to nearly 0% for our full suite of tests

See bazelbuild/bazel#17437 for background.

PiperOrigin-RevId: 509869860
@copybara-service copybara-service bot force-pushed the test_509869860 branch 2 times, most recently from 0e01308 to 9ced4cb Compare February 15, 2023 23:13
@copybara-service copybara-service bot closed this Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant