Some Android shell tests don't build on Apple Silicon CI workers #16521
Labels
m1-ci
macos-infra-update
P1
I'll work on this now. (Assignee required)
team-Android
Issues for Android team
type: bug
Description of the bug:
I'm working on adding M1 Mac Studio Ultra machines to our CI worker pool. These machines come with Android build-tools 31.0.0 since the older versions running on CI so far (28.0.2 and 30.0.3) cannot be installed on M1 machines.
Unfortunately this means that some of our Android shell tests started failing. This is due to 31.0.0 replacing dx with d8, but some of our tests still rely on dx.jar:
(https://buildkite.com/bazel/google-bazel-presubmit/builds/60433#0183f649-476f-4153-bc42-673a96e5065a)
I've added some "magic" flags suggested by @ahumesky, but without any success:
So far this bug affects at least three tests:
//src/test/shell/bazel/android:android_integration_test
//src/test/shell/bazel/android:desugarer_integration_test
//src/test/shell/bazel/android:proguard_integration_test
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
No response
Which operating system are you running Bazel on?
Bazel CI on MacOS monterey 12.6
What is the output of
bazel info release
?5.3.2
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: