You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bazel 0.29 contains a regression with Remote Build Execution backend #9284
We're seeing same issue in envoyproxy/envoy#8074, seems this only happens when --nocache_test_results is passed to bazel. I can reproduce it with --nocache_test_results but not without it.
@lizan It's possible that the difference with --nocache_test_results is that when it is not set the tests aren't executed, which seems to be where the failure is.
It's possible that the difference with --nocache_test_results is that when it is not set the tests aren't executed, which seems to be where the failure is.
@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 --nocache_test_results.
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.
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?
Activity
katre commentedon Aug 29, 2019
I am investigating with @v-mr
lizan commentedon Aug 29, 2019
We're seeing same issue in envoyproxy/envoy#8074, seems this only happens when
--nocache_test_resultsis passed to bazel. I can reproduce it with--nocache_test_resultsbut not without it.katre commentedon Aug 29, 2019
Thank you for the data point, @lizan.
@v-mr has given me a repoduction case and I am bisecting now.
katre commentedon Aug 29, 2019
@lizan It's possible that the difference with
--nocache_test_resultsis that when it is not set the tests aren't executed, which seems to be where the failure is.lizan commentedon Aug 29, 2019
@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
--nocache_test_results.katre commentedon Aug 29, 2019
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.
katre commentedon Aug 30, 2019
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.
buchgr commentedon Aug 30, 2019
Trying to repro. PRECONDITION_FAILED hints at inputs not being uploaded.
buchgr commentedon Aug 30, 2019
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 :(
buchgr commentedon Aug 30, 2019
Fix: #9287
buchgr commentedon Aug 30, 2019
Here's a patch that applies cleanly on 0.29.0: buchgr@c475d7d
Fix a serious regression in remote execution. Fixes #9284
brandjon commentedon Sep 3, 2019
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?
katre commentedon Sep 4, 2019
@brandjon The core issue won't be fixed until 0.29.1 is released, hopefully tomorrow.
Release 0.29.1 (2019-09-10)
Release 0.29.1 (2019-09-10)