-
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 0.29 contains a regression with Remote Build Execution backend #9284
Comments
I am investigating with @v-mr |
We're seeing same issue in envoyproxy/envoy#8074, seems this only happens when |
@lizan It's possible that the difference with |
@katre I doubt so because I changed the our RBE image SHA at same time, which should revoke all cache in the first time when I ran without |
Bisect has eventually told me that the culprit is e4ccba4. I have no idea why that is, but reverting it from master causes my reproduction to be fixed. I'm going to debug this further to try and determine why this change causes this failure. |
That commit is the one that caused the action key to change, which is apparently what causes the bug to be visible. It's not the commit that actually causes the error. |
Trying to repro. PRECONDITION_FAILED hints at inputs not being uploaded. |
I believe the root cause is this line. We should unconditionally upload inputs: https://source.bazel.build/bazel/+/master:src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java;l=250?q=RemoteSpawnRunner I ll send a fix. Sorry about this :( |
Fix: #9287 |
Here's a patch that applies cleanly on 0.29.0: buchgr@c475d7d |
Came across this issue from a buildkite "Emergency" message. Since this issue is closed (and the message refers to a solution "later today"), can the message be removed? |
@brandjon The core issue won't be fixed until 0.29.1 is released, hopefully tomorrow. |
Baseline: 6c5ef53 Cherry picks: + 338829f: Fix retrying of SocketTimeoutExceptions in HttpConnector + 14651cd: Fallback to next urls if download fails in HttpDownloader + b7d300c: Fix incorrect stdout/stderr in remote action cache. Fixes #9072 + 9602176: Automated rollback of commit 0f0a0d5. + da557f9: Windows: fix "bazel run" argument quoting + ef8b6f6: Return JavaInfo from java proto aspects. + 209175f: Revert back to the old behavior of not creating a proto source root for generated .proto files. + 644060b: Fix PatchUtil for parsing special patch format + 067040d: Put the removal of the legacy repository-relative proto path behind the --incompatible_generated_protos_in_virtual_imports flag. + 76ed014: repository mapping lookup: convert to canonical name first + f791df0: Release 0.29.0 (2019-08-28) + 2c04648: Fix git_repository rule to support fetching a commit on a tag + 9e1d65a: Fix a serious regression in remote execution. Fixes #9284 + 8b0bfaf: Include cc configure headers in the cache key + 5c02b92: Make --workspace_status_command work with "Builds without the Bytes". + a0e3bb2: Remove support for authentication and .netrc This release contains contributions from many people at Google, as well as Artem Zinnatullin.
Baseline: 6c5ef53 Cherry picks: + 338829f: Fix retrying of SocketTimeoutExceptions in HttpConnector + 14651cd: Fallback to next urls if download fails in HttpDownloader + b7d300c: Fix incorrect stdout/stderr in remote action cache. Fixes bazelbuild#9072 + 9602176: Automated rollback of commit 0f0a0d5. + da557f9: Windows: fix "bazel run" argument quoting + ef8b6f6: Return JavaInfo from java proto aspects. + 209175f: Revert back to the old behavior of not creating a proto source root for generated .proto files. + 644060b: Fix PatchUtil for parsing special patch format + 067040d: Put the removal of the legacy repository-relative proto path behind the --incompatible_generated_protos_in_virtual_imports flag. + 76ed014: repository mapping lookup: convert to canonical name first + f791df0: Release 0.29.0 (2019-08-28) + 2c04648: Fix git_repository rule to support fetching a commit on a tag + 9e1d65a: Fix a serious regression in remote execution. Fixes bazelbuild#9284 + 8b0bfaf: Include cc configure headers in the cache key + 5c02b92: Make --workspace_status_command work with "Builds without the Bytes". + a0e3bb2: Remove support for authentication and .netrc This release contains contributions from many people at Google, as well as Artem Zinnatullin.
Description of the problem / feature request:
Bazel 0.29.0 (#8572) has regression with Remote Build Execution backend.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
ERROR: /test/BUILD:205:5: failed (Exit 34). Note: Remote connection/protocol failed with: execution failed FAILED_PRECONDITION: Precondition check failed.
What operating system are you running Bazel on?
Linux 4.19.37-5+deb10u1rodete1-amd64 #1 SMP Debian 4.19.37-5+deb10u1rodete1 (2019-07-22 > 2018) x86_64 GNU/Linux
What's the output of
bazel info release
?release 0.29.0
The text was updated successfully, but these errors were encountered: