Skip to content

Bazel CI on macOS is flaky #1231

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

Closed
dtolnay opened this issue Jun 19, 2023 · 0 comments
Closed

Bazel CI on macOS is flaky #1231

dtolnay opened this issue Jun 19, 2023 · 0 comments

Comments

@dtolnay
Copy link
Owner

dtolnay commented Jun 19, 2023

https://github.com/dtolnay/cxx/actions/runs/5316243831/jobs/9625555063

Starting local Bazel server and connecting to it...
... still trying to connect to local Bazel server (2570) after 10 seconds ...
... still trying to connect to local Bazel server (2570) after 20 seconds ...
... still trying to connect to local Bazel server (2570) after 30 seconds ...
... still trying to connect to local Bazel server (2570) after 40 seconds ...
... still trying to connect to local Bazel server (2570) after 50 seconds ...
... still trying to connect to local Bazel server (2570) after 60 seconds ...
... still trying to connect to local Bazel server (2570) after 70 seconds ...
... still trying to connect to local Bazel server (2570) after 80 seconds ...
... still trying to connect to local Bazel server (2570) after 90 seconds ...
... still trying to connect to local Bazel server (2570) after 100 seconds ...
... still trying to connect to local Bazel server (2570) after 110 seconds ...
FATAL: couldn't connect to server (2570) after 120 seconds.

Behavior like this was reported in bazelbuild/bazel#14459 and, at least in that case, it sounds like it was related to the GitHub Actions environment in which xcode-locator is slow on a machine containing a large number of Xcode installations.

https://www.smileykeith.com/2021/03/08/locking-xcode-in-bazel/ was recommended as a workaround worth trying.

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

No branches or pull requests

1 participant