rules_jvm_external icon indicating copy to clipboard operation
rules_jvm_external copied to clipboard

[Bazel CI] name 'android_binary' is not defined

Open sgowroji opened this issue 4 months ago • 1 comments

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

sgowroji avatar Oct 04 '24 08:10 sgowroji