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

Android testing for Bazel CI is broken at HEAD #5064

Closed
c-parsons opened this issue Apr 20, 2018 · 4 comments
Closed

Android testing for Bazel CI is broken at HEAD #5064

c-parsons opened this issue Apr 20, 2018 · 4 comments
Assignees
Labels
breakage P1 I'll work on this now. (Assignee required)

Comments

@c-parsons
Copy link
Contributor

Error message:

ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/8a0cb00c5e6c620196130a70ca006095/external/androidsdk/BUILD.bazel:60:1: Couldn't build file external/androidsdk/poison_pill_for_emulator_images_android_21_x86/source.properties: Executing genrule @androidsdk//:emulator_images_android_21_x86 failed (Exit 1)
--
  | This rule requires that the Android SDK used by Bazel has the following system image installed: emulator_images_android_21_x86. Please install this system image through the Android SDK Manager and try again.

Full log:
https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/205#00bea9e7-7e0a-4641-8075-2597b4920f1c

@c-parsons c-parsons added P1 I'll work on this now. (Assignee required) category: rules > android breakage labels Apr 20, 2018
@jin jin assigned jin and unassigned ahumesky Apr 20, 2018
@jin
Copy link
Member

jin commented Apr 20, 2018

The fix requires re-imaging the VMs, pending at bazelbuild/continuous-integration#263

This is not a release blocker and does not need a rollback.

@jin
Copy link
Member

jin commented Apr 25, 2018

@jin
Copy link
Member

jin commented Apr 25, 2018

I can reproduce this on the testing VM: tests on API 23 are fine, but the new APIs (19, 21, 22) are all timing out.

INFO: Elapsed time: 300.850s, Critical Path: 300.50s
INFO: Build completed, 3 tests FAILED, 5 total actions
//ui/espresso/BasicSample:BasicSampleInstrumentationTest_23_x86          PASSED in 149.3s
//ui/espresso/BasicSample:BasicSampleInstrumentationTest_19_x86         TIMEOUT in 300.3s
  /home/jingwen/.cache/bazel/_bazel_jingwen/ac19bcc67b1d047b3dd7d09ea2e20b5c/execroot/__main__/bazel-out/k8-fastbuild/testlogs/ui/espresso/BasicSample/BasicSampleInstrumentationTest_19_x86/test.log
//ui/espresso/BasicSample:BasicSampleInstrumentationTest_21_x86         TIMEOUT in 300.5s
  /home/jingwen/.cache/bazel/_bazel_jingwen/ac19bcc67b1d047b3dd7d09ea2e20b5c/execroot/__main__/bazel-out/k8-fastbuild/testlogs/ui/espresso/BasicSample/BasicSampleInstrumentationTest_21_x86/test.log
//ui/espresso/BasicSample:BasicSampleInstrumentationTest_22_x86         TIMEOUT in 300.5s
  /home/jingwen/.cache/bazel/_bazel_jingwen/ac19bcc67b1d047b3dd7d09ea2e20b5c/execroot/__main__/bazel-out/k8-fastbuild/testlogs/ui/espresso/BasicSample/BasicSampleInstrumentationTest_22_x86/test.log

@jin
Copy link
Member

jin commented May 24, 2018

Tracking here: #4979

This project has been removed from downstream, so it's not blocking releases.

@jin jin closed this as completed May 24, 2018
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)
Projects
None yet
Development

No branches or pull requests

3 participants