-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
"ERROR: 'remote' was requested for default strategies but no strategy with that identifier was registered" when using --remote_local_fallback
and remote executor is down
#13487
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Remote-Exec
Issues and PRs for the Execution (Remote) team
type: bug
Comments
coeuvre
added a commit
to coeuvre/bazel
that referenced
this issue
May 19, 2021
…ailable. So that you can set a `--spawn_strategy` that includes `remote` without set `--remote_executor`. In addition, if `--remote_local_fallback` is set and `remote_executor` is unreachable when build starts, Bazel will fallback to next available strategy. Fixes bazelbuild#13340 and bazelbuild#13487.
The difference between this and #13340 is that I'm not explicitly setting the list of strategies at all here, and the error complains about the "default strategies" set in Bazel's implementation (as far as I can tell). I'm happy with any changes that fix this use-case, of course. Thanks for looking into this. |
coeuvre
added a commit
to coeuvre/bazel
that referenced
this issue
May 20, 2021
…ailable. So that you can set a `--spawn_strategy` that includes `remote` without set `--remote_executor`. In addition, if `--remote_local_fallback` is set and `remote_executor` is unreachable when build starts, Bazel will fallback to next available strategy. Fixes bazelbuild#13340 and bazelbuild#13487.
bazel-io
pushed a commit
that referenced
this issue
Jun 9, 2021
…ailable. So that you can set a `--spawn_strategy` that includes `remote` without setting `--remote_executor`. In addition, if `--remote_local_fallback` is set and `remote_executor` is unreachable when build starts, Bazel will fallback to next available strategy. Fixes #13340 and #13487. Closes #13490. PiperOrigin-RevId: 378339904
Should be fixed by #13490. |
coeuvre
added a commit
to coeuvre/bazel
that referenced
this issue
Jul 15, 2021
…ailable. So that you can set a `--spawn_strategy` that includes `remote` without setting `--remote_executor`. In addition, if `--remote_local_fallback` is set and `remote_executor` is unreachable when build starts, Bazel will fallback to next available strategy. Fixes bazelbuild#13340 and bazelbuild#13487. Closes bazelbuild#13490. PiperOrigin-RevId: 378339904
coeuvre
added a commit
to coeuvre/bazel
that referenced
this issue
Jul 15, 2021
…ailable. So that you can set a `--spawn_strategy` that includes `remote` without setting `--remote_executor`. In addition, if `--remote_local_fallback` is set and `remote_executor` is unreachable when build starts, Bazel will fallback to next available strategy. Fixes bazelbuild#13340 and bazelbuild#13487. Closes bazelbuild#13490. PiperOrigin-RevId: 378339904
coeuvre
added a commit
to coeuvre/bazel
that referenced
this issue
Jul 15, 2021
…ailable. So that you can set a `--spawn_strategy` that includes `remote` without setting `--remote_executor`. In addition, if `--remote_local_fallback` is set and `remote_executor` is unreachable when build starts, Bazel will fallback to next available strategy. Fixes bazelbuild#13340 and bazelbuild#13487. Closes bazelbuild#13490. PiperOrigin-RevId: 378339904
coeuvre
added a commit
to coeuvre/bazel
that referenced
this issue
Jul 15, 2021
…ailable. So that you can set a `--spawn_strategy` that includes `remote` without setting `--remote_executor`. In addition, if `--remote_local_fallback` is set and `remote_executor` is unreachable when build starts, Bazel will fallback to next available strategy. Fixes bazelbuild#13340 and bazelbuild#13487. Closes bazelbuild#13490. PiperOrigin-RevId: 378339904
coeuvre
added a commit
to coeuvre/bazel
that referenced
this issue
Jul 16, 2021
…ailable. So that you can set a `--spawn_strategy` that includes `remote` without setting `--remote_executor`. In addition, if `--remote_local_fallback` is set and `remote_executor` is unreachable when build starts, Bazel will fallback to next available strategy. Fixes bazelbuild#13340 and bazelbuild#13487. Closes bazelbuild#13490. PiperOrigin-RevId: 378339904
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Remote-Exec
Issues and PRs for the Execution (Remote) team
type: bug
Description of the problem:
Even with
--remote_local_fallback
, builds fail when the remote executor is not reachable.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
The
WARNING
s are expected, but theERROR
is not. TheERROR
can be prevented by passing--spawn_strategy=local
, but this prevents using the remote executor if it is up.What operating system are you running Bazel on?
Ubuntu 16.04.6 LTS (I know it's ancient, but I don't believe this problem is distro-related)
What's the output of
bazel info release
?release 4.1.0rc1
What's the output of
git remote get-url origin ; git rev-parse master ; git rev-parse HEAD
?Have you found anything relevant by searching the web?
It seems that this behavior is not intended according to this commit: 39512a4
The text was updated successfully, but these errors were encountered: