Open BalestraPatrick opened 2 weeks ago
👋 Is this different than https://github.com/bazelbuild/bazel/issues/18696?
@acecilia In this specific case, Bazel is able to recover from the failure, while in #18696 it isn't, so I thought they might be different. It's possible that the culprit is the same though, and for some reason Bazel is able to recover only in some situations.
Can you share the gRPC log, especially the ByteStreamRead
calls for the platformclasspath.jar
? (I realize it's hard because of #18695, but since you have the invocation ID, maybe it's possible to get it from the server side?)
It also worth trying whether this is fixed by upcoming 7.2 release which includes eda0fe4399b85d3bbc39fda2701287e014ecb919.
Description of the bug:
Hello!
We've been using the various flags related to addressing remote cache evictions in multiple projects successfully. I noticed an interesting behavior in one of our repos lately after taking a closer look at our CI logs. We consistently see the same action/invocation failing with a remote cache eviction error and then recovering by itself.
We run the
bazel-diff
tool in abazel run
invocation, which always fails with the same missing digestbazel-out/k8-fastbuild/bin/external/rules_java/toolchains/platformclasspath.jar
. When I query the remote cache for that particular digest usingtools_remote
, I get the correct blob returned. This means that the blob is in our remote cache, but somehow Bazel thinks it's not? I have an execution log for the specific situation as well if needed. I attached the part of the log where I could find two instances of this particular digest.Bazel invocation log:
Execution log:
Which category does this issue belong to?
Remote Execution
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
I wasn't able to reproduce this easily just yet, but it definitely requires a remote cache with the following flags enabled:
The rule that always fails is also pretty straightforward:
And the invocation looks like this:
Which operating system are you running Bazel on?
Linux
What is the output of
bazel info release
?No response
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.7.1.1
What's the output of
git remote get-url origin; git rev-parse HEAD
?No response
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response