-
Notifications
You must be signed in to change notification settings - Fork 4k
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: Projects are failing on RBE platform #6742
Comments
This is likely caused by using an old toolchain config with a newer bazel version which fails due to https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-crosstool-to-select-the-cc_toolchain-label. Please double check the WORKSPACE pin to the bazel-toolchains repo for the project that is failing and make sure its at the latest value published here https://releases.bazel.build/bazel-toolchains.html and that they are using "latest" (https://github.com/bazelbuild/bazel-toolchains/blob/master/configs/ubuntu16_04_clang/latest/BUILD) targets for their toolchain config flags (platforms, crosstool, javabase) (if this is part of a buildkite rbe CI run which should already be using the "latest" toolchain targets, just making sure the failing project is pinned to the latest bazel-toolchains release should fix this) |
Note if this is failing with Bazel head and the pin to WORKSPACE is already at the latest bazel-toolchains release, then it means a recent change in toolchain selection is breaking for using toolchain configs for the latest bazel release. If so, this change will be problematic to release w/o proper guarding via --incompatible_xx flags. |
@mhlopko Can you look into this? |
Looking into it. CC @vladmos FYI |
This fixed Bazel CI failures (bazelbuild/bazel#6742) such as https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/613#6b78f781-d672-40fa-b13e-5195d3c7474f
This fixed Bazel CI failures (bazelbuild/bazel#6742) such as https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/613#2e75bb1a-9cbf-4804-9560-b0088b9ced01
This fixed Bazel CI failures (bazelbuild/bazel#6742) such as https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/613#820af988-4113-421f-b3f1-cef2f05d272c
This fixed Bazel CI failures (bazelbuild/bazel#6742) such as https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/613#6483c40c-c77d-4f29-bcf8-a8dba45b1df0
This fixed Bazel CI failures (bazelbuild/bazel#6742) such as https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/613#0098d76c-1532-43d0-914e-cc506950c5b4
All PRs uploaded, @vladmos pls close the issue once they are all submitted (currently only rules_nodejs is pending) Thanks all! |
All PRs are submitted. |
https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/607#b722acb8-b6a6-413f-87b6-eed40d652fe1
@mhlopko Any idea what caused this error?
FYI @nlopezgi @xingao267
The text was updated successfully, but these errors were encountered: