-
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
Remote caching unstable after upgrading to Bazel 8.0.0 #24867
Comments
@bazel-io flag 8.0.1 |
@bazel-io fork 8.0.1 |
I believe this is the root cause for this failed test in
|
Nvm, that also doesn't show the extension. I can reproduce on pigweed though. |
Stack trace for pigweed:
I wasn't expecting to see an in-memory FS in there. Does it make sense to run Edit: To reproduce, I only had to build |
I suspect that this is caused by a fundamental limitation of the |
Yeah, I think it's a mistake to use the action filesystem for this purpose. I will write a fix. |
Description of the bug:
When moving to Bazel 8.0.0, remote caching for Pigweed became unreliable, frequently emitting errors like the following:
Turning off
--experimental_inprocess_symlink_creation
works around this.This seems to occur the most frequently around the boundaries of transitions that propagate runfiles, though that may be anecdotal. I was able to prevent some occurrences by excluding runfiles from being passed across the boundary of the transition.
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 can reproduce locally by:
common:remote_cache --experimental_inprocess_symlink_creation=false
from Pigweed's.bazelrc
.bazel test --config=remote_cache //...
bazel test --config=remote_cache --config=googletest //...
Note that for whatever reason the first
bazel test
does not reproduce, but switching configurations slightly does.Which operating system are you running Bazel on?
linux
What is the output of
bazel info release
?release 8.0.0
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD
?No response
If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.
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
The text was updated successfully, but these errors were encountered: