-
Notifications
You must be signed in to change notification settings - Fork 97
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
Cannot run remote-worker when --disk_cache
option is on .bazelrc
#80
Comments
This fixes a regression from v0.13. When the local disk cache flags were unified into `--disk_cache`, it became impossible to override a default cache location such that the cache became disabled. This prevents canarying of remote execution in the presence of a default bazelrc that enables the disk cache. Fixes #5308 Closes #5338. PiperOrigin-RevId: 199613922
Hi Or, |
@or-shachar Can you run Bazel with |
Thanks @jmillikin-stripe - will send in the email! Seems like ti doesn't print any of the options given to the command line, though |
The |
(I agree that this is confusing, FWIW. Sorry about that.) |
Ok, I'm not sure if we should keep this open to make the flags and error messages more understandable or close since the title refers to a specific issue that was solved in 0.14.1 with the --disk_cache="" flag. |
Created bazelbuild/bazel#5401 in bazel repo (this got filed to bazel-toolchains and followup would get lost here) |
Description of the problem / feature request:
I have a configured
disk_cache
in my.bazelrc
but I have a job in my CI that needs to run it using remote worker.This is what I have in my
.bazrlrc
This is the command I'm running:
Feature requests: what underlying problem are you trying to solve with this feature?
I need the simple blob cache when running locally. Seems like combining that option with remote bazelrc makes the build fail with
Even after upgrading to bazel 0.14.1 with the following fix: bazelbuild/bazel@6b16352
And overriding that option with
--disk_cache=""
I still get the same message.The error message in general is confusing and contradicts the example here.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
.bazelrc
withtest disk_cache=/tmp/bazel
.bazelrc.remote
the imports the base.bazelrc
(like described above)What operating system are you running Bazel on?
linux - CentOS
What's the output of
bazel info release
?bazel 0.14.1
Have you found anything relevant by searching the web?
bazelbuild/bazel@6b16352
bazelbuild/bazel#5234
The text was updated successfully, but these errors were encountered: