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: rules_jvm_external - Android instrumentation test example failing with Bazel@HEAD #10550

Closed
meteorcloudy opened this issue Jan 9, 2020 · 4 comments
Assignees
Labels
breakage P1 I'll work on this now. (Assignee required) type: bug

Comments

@meteorcloudy
Copy link
Member

meteorcloudy commented Jan 9, 2020

The failing test is android_instrumentation_test
https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/1344#880a086d-4c4b-4d4c-8910-b34301ae1054

(11:44:22) ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/00ecb74aaf575e3792d5fc4fcd7fb5a6/external/android_test_support/tools/android/emulated_devices/generic_phone/BUILD.bazel:43:1: no such target '@androidsdk//:emulator_images_android_23_x86_qemu2_extra': target 'emulator_images_android_23_x86_qemu2_extra' not declared in package '' defined by /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/00ecb74aaf575e3792d5fc4fcd7fb5a6/external/androidsdk/BUILD.bazel and referenced by '@android_test_support//tools/android/emulated_devices/generic_phone:android_23_x86_qemu2_images'

A bisect shows 9694d5d as the culprit
/cc @jin

@meteorcloudy meteorcloudy added type: bug P1 I'll work on this now. (Assignee required) breakage labels Jan 9, 2020
@meteorcloudy meteorcloudy changed the title Bazel CI: Android instrumentation test example failing with Bazel@HEAD Bazel CI: rules_jvm_external - Android instrumentation test example failing with Bazel@HEAD Jan 9, 2020
@meteorcloudy
Copy link
Member Author

Android Testing is failing with the same error in downstream
https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/1344#3a970b50-95fc-4917-be5a-3cce5340e9d9

@jin
Copy link
Member

jin commented Jan 10, 2020

Confirmed fixed in tonight's downstream run https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/1345

@jin jin closed this as completed Jan 10, 2020
@meteorcloudy
Copy link
Member Author

Thanks for the fix!

@meteorcloudy
Copy link
Member Author

/cc @laurentlb
We need to cherry-pick c94b147 for 2.1.0 to fix downstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breakage P1 I'll work on this now. (Assignee required) type: bug
Projects
None yet
Development

No branches or pull requests

2 participants