Skip to content
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

[Bazel CI] ERROR: While parsing option --toolchain_resolution_debug --remote_download_toplevel: Failed to build filter: value looks like another flag #3791

Open
sgowroji opened this issue Oct 4, 2024 · 2 comments

Comments

@sgowroji
Copy link

sgowroji commented Oct 4, 2024

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4170#019255c7-7f1a-4f86-8e9b-e679cfcc93f5

Platform: Ubuntu

Logs:

ERROR: While parsing option --toolchain_resolution_debug --remote_download_toplevel: Failed to build filter: value looks like another flag (--remote_download_toplevel). Either escape the value with "\-\-", or pass an explicit value to the flag.
Error: The command exited with status 1�[0m
error: The plugin docker command hook exited with status 1

Culprit:

Steps:

git clone https://github.com/bazelbuild/rules_nodejs
git reset ab85b371e7578af27d2e487e77612b4718566d01  --hard
export USE_BAZEL_VERSION=166eaa09f9cd31836df898ea236e1e0633a73b12
bazel buiild //... 

CC Greenteam @mai93

@alexeagle
Copy link
Collaborator

The failure is because toolchain_resolution_debug requires a value.
However I don't see that flag in this repo
https://github.com/search?q=repo%3Abazel-contrib%2Frules_nodejs%20toolchain_resolution_debug&type=code

Maybe it's being set in the CI pipeline defined in bazelbuild/continuous-integration?

@sgowroji
Copy link
Author

Hi @alexeagle, Its not set here https://github.com/bazel-contrib/rules_nodejs/blob/main/.bazelci/presubmit.yml. Can you please take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants