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] name 'android_binary' is not defined #1261

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

[Bazel CI] name 'android_binary' is not defined #1261

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-700e-43f2-ac43-a899f5182f0c

Platform: Ubuntu

Logs:

ERROR: �[0m/var/lib/buildkite-agent/builds/bk-docker-q9xh/bazel-org-repo-root/rules_jvm_external/tests/integration/override_targets/BUILD:10:1: name 'android_binary' is not defined
ERROR: �[0mno such target '//tests/integration/override_targets:override_targets': target 'override_targets' not declared in package 'tests/integration/override_targets' defined by /var/lib/buildkite-agent/builds/bk-docker-q9xh/bazel-org-repo-root/rules_jvm_external/tests/integration/override_targets/BUILD
ERROR: �[0mBuild did NOT complete successfully
FAILED:�[0m 
FAILED:�[0m 
ERROR: �[0mCouldn't start the build. Unable to run tests
FAILED:�[0m 
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_jvm_external
git reset 2deeda518cf1ccb847c6e188bb3bf7d3f6fb7496  --hard
export USE_BAZEL_VERSION=166eaa09f9cd31836df898ea236e1e0633a73b12
bazel test //tests/integration/override_targets:override_targets 

CC Greenteam @mai93

@ahumesky
Copy link
Contributor

This is from the overall effort to remove the android rules from bazel, the work to update rules_jvm_external to Starlark rules_android is here: #1215

@jin jin added the duplicate label Nov 25, 2024
@jin
Copy link
Collaborator

jin commented Nov 25, 2024

Closing as duplicate of #1215

@jin jin closed this as not planned Won't fix, can't repro, duplicate, stale Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants