Remote cache fetching jobs aren't counting towards --jobs #18439
Labels
more data needed
team-Remote-Exec
Issues and PRs for the Execution (Remote) team
type: bug
untriaged
Description of the bug:
If I'm using local execution with a remote cache and almost all tests are cached. with --jobs set to 4, I see. (currently on bazel 6.0.0)
With jobs set to 8, I see a max of 16 actions. This would mean jobs fetching from remote cache is not counting towards parallelism. Is there a way we can configure it to do so? The reason I'd want the jobs fetching from remote cache to also count towards jobs is due to memory constraints (we're running out of memory when running 16 actions in parallel
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Startup a remote cache,
Run bazel tests with --jobs=8 --remote_cache=grpc://127.0.0.1:9092
to fill the cache
Now run bazel tests with --jobs=8 --remote_cache=grpc://127.0.0.1:9092 and you'll see 16 jobs running
Which operating system are you running Bazel on?
linux debian x8664
What is the output of
bazel info release
?release 6.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 master; git rev-parse HEAD
?No response
Have you found anything relevant by searching the web?
Related thread #6394 (comment)
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: