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

[Bazel CI] Analysis of target '//react/src:lint' failed #556

Closed
sgowroji opened this issue Feb 19, 2025 · 1 comment · Fixed by #557
Closed

[Bazel CI] Analysis of target '//react/src:lint' failed #556

sgowroji opened this issue Feb 19, 2025 · 1 comment · Fixed by #557

Comments

@sgowroji
Copy link
Member

sgowroji commented Feb 19, 2025

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4481#01951c67-a460-45e6-a4aa-0c670c4423f9

Platform: Ubuntu

Logs:

ERROR: �[0m/var/lib/buildkite-agent/builds/bk-docker-nr80/bazel-org-repo-root/examples/frontend/react/src/BUILD.bazel:62:12: in (an implicit dependency) attribute of eslint_test rule //react/src:lint: '@@rules_shell+//shell/runfiles:runfiles_impl' must produce a single file
ERROR: �[0m/var/lib/buildkite-agent/builds/bk-docker-nr80/bazel-org-repo-root/examples/frontend/react/src/BUILD.bazel:62:12: Analysis of target '//react/src:lint' failed

Error: The command exited with status 1�[0m
error: running "plugin docker command" shell hook: The plugin docker command hook exited with status 1

Culprit:

Steps:

git clone https://github.com/bazelbuild/examples && cd examples/rules
git reset 8f6c2073ac0318d9a3fb202936eaad3b6e8d8ac9  --hard
export USE_BAZEL_VERSION=e7ede429848744b5c3799ce748e4a0d3e34f5e59
bazel build ... 

CC Greenteam @mai93

@fmeum
Copy link
Contributor

fmeum commented Feb 20, 2025

@sgowroji The template for Steps should contain cd examples/rules, not cd ../rules.

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

Successfully merging a pull request may close this issue.

2 participants