Remote falls back to local, not sandboxed #21725
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Local-Exec
Issues and PRs for the Execution (Local) team
type: bug
Description of the bug:
We have a few actions that require either remote execution or sandboxed execution: they cannot be built with the local strategy.
We configure Bazel like this:
But I've noticed that, when a remote action fails due to networking issues, Bazel reruns it without the sandbox and thus the action fails with the local strategy.
I found the
--remote_local_fallback_strategy
flag, which I thought would resolve our problems... but then this flag is deprecated and its docstring claims that it's a no-op. Then I went to #7480 and, from my understanding of that bug, our strategy flags are already correctly configured.--spawn_strategy
saysdynamic
, and the dynamic scheduler defaults toworker,sandboxed
for the local path.Is there a bug, or is something misconfigured?
Which category does this issue belong to?
Local Execution
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
No response
Which operating system are you running Bazel on?
Linux but this is irrelevant
What is the output of
bazel info release
?release 6.5.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
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
The text was updated successfully, but these errors were encountered: