-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Bazel CI Flaky src.test.shell.bazel.bazel_determinism_test test_determinism #20690
Comments
This looks like the same issue in #4770 |
It looks like building xcode-locator is non-determinisitc:
|
/cc @keith I found your post: https://www.smileykeith.com/2021/10/05/codesign-m1/, any idea why this is happening? |
We are using Xcode 14.2 in those builds. This doesn't seem to happen after I switch to 15.1 |
Hmm, even with Xcode 15.1, it still sometimes fails with
See https://buildkite.com/bazel/bazel-bazel/builds/26284#018d118e-e615-4084-a001-e06ee66bb36d Looks like the clang compiler might be non-determinsitic on macOS? |
I can't get this to fail on my machine after ~1000 runs with Xcode 15.1. It's possible the host macOS version is part of the problem. If you can provide the 2 differing binaries I can try to debug what differs at least |
I fixed some version of this in clang already, and I believe apple fixed it in the linker itself too, so I think if it's broken in a similar way it's a new bug |
I does happen a lot less frequent than before, I'll collect the binaries if I manage to reproduce. Thanks! |
bazel_determinism_test seems to be flaky due to an non-determinsitc issue of the clang compiler in Xcode 14.2 Fixes bazelbuild#20690 PiperOrigin-RevId: 598760276 Change-Id: Ibc46dfa64fe91f26acfa5091a07c17e3bf97f29c
Set Xcode version to 15.1 on macOS arm64 machines bazel_determinism_test seems to be flaky due to an non-determinsitc issue of the clang compiler in Xcode 14.2 Fixes #20690 PiperOrigin-RevId: 598760276 Change-Id: Ibc46dfa64fe91f26acfa5091a07c17e3bf97f29c ____ Allow network for two Java tests to avoid binding issue on macOS sandbox https://buildkite.com/bazel/bazel-bazel/builds/26312#018d1722-0e79-47b4-82ed-9cc47487e05a Related issues: - #20743 - #5206 PiperOrigin-RevId: 599452705 Change-Id: I2fdccd9df513064e5bc9add4f1802d4c1ce9c6da ____ Allow network for StarlarkDebugServerTest Related issues: - #20743 - #5206 PiperOrigin-RevId: 599754818 Change-Id: I228201d578b7459332aebfea6ab4d7c041b3e6c4 ___ Add mirror for embedded JDKs URLs Reduce flakiness like: https://buildkite.com/bazel/bazel-bazel/builds/26343#018d1e09-4c23-404c-a307-7476e092c7ab PiperOrigin-RevId: 599759327 Change-Id: I43fa2ec996f03e77da926c2afeaca13cbf029a1b
https://buildkite.com/organizations/bazel/analytics/suites/bazel-bazel/tests/01884407-94a5-753d-a416-a54987896134?branch=master
Test Details :
BAZELCI_TASK=macos_arm64 TEST_TARGET=//src/test/shell/bazel:bazel_determinism_test TEST_NAME=test_determinism
bazel test //src/test/shell/bazel:bazel_determinism_test --test_filter=test_determinism
Logs:
CC Greenteam @SalmaSamy
The text was updated successfully, but these errors were encountered: