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] Toolchain resolution filter parsing failure with Bash plugin #1224

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

Comments

@sgowroji
Copy link
Member

sgowroji commented Oct 4, 2024

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4170#019255c7-9a45-43d2-aa96-2f1970156c5e

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_kotlin
git reset 40fecf58b5e6b6002c137fca7ea91c7cb4b5889b  --hard
export USE_BAZEL_VERSION=166eaa09f9cd31836df898ea236e1e0633a73b12
bazel test  //src/test/kotlin/io/bazel/kotlin/builder:builder_tests //src/test/kotlin/io/bazel/kotlin:KotlinJvmAssociatesBasicVisibilityTest //src/test/kotlin/io/bazel/kotlin:KotlinJvmBasicAssertionTest 

CC Greenteam @mai93

@restingbull
Copy link
Collaborator

... Was there a change in bazelci?

@restingbull
Copy link
Collaborator

Looks like the flag is added to RBE requests 4 years ago: https://github.com/bazelbuild/continuous-integration/blame/513fa233da2fea25d393063f86fff9413fd1ba86/buildkite/bazelci.py#L2031

I guess bazel got strict.

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