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 CI faliing (all platforms) #307

Open
c-parsons opened this issue Jan 30, 2020 · 7 comments
Open

Android testing CI faliing (all platforms) #307

c-parsons opened this issue Jan 30, 2020 · 7 comments

Comments

@c-parsons
Copy link

Android Testing CI has been failing for many days, and thus it's been difficult to diagnose issues with it failing with Bazel@HEAD

Here is a failure for Unbuntu 16 this morning using Bazel@HEAD:

(02:09:03) ERROR: missing input file 'external/androidsdk/build-tools/28.0.2/lib/dx.jar', owner: '@androidsdk//:build-tools/28.0.2/lib/dx.jar'
--
  | (02:09:03) ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/d3e6522be4da9d904ab54b448eb64f5e/external/androidsdk/BUILD.bazel:8:1: @androidsdk//:dx_jar_import: missing input file '@androidsdk//:build-tools/28.0.2/lib/dx.jar'

I think this dependency was updated in a recent commit?

https://buildkite.com/bazel/android-testing

@jin
Copy link
Collaborator

jin commented Jan 31, 2020

It looks like the latest green is still using 28.0.2, whereas this project's HEAD is already using 29.0.2, which no longer exists on Bazel CI.

Perhaps we can also install 28.0.2 build tools on Bazel CI? @philwo

@philwo
Copy link
Contributor

philwo commented Feb 3, 2020

@jin I'll install all 28.x and 29.x build tools releases on our CI machines today, but will this actually fix the issue? I thought we're incompatible with <29.x since bazelbuild/bazel#10079?

@jin
Copy link
Collaborator

jin commented Feb 3, 2020

This is a chicken and egg problem :) the build-tools were updated to 29.0.2, which the Android rules now need (for a specific build scenario), but the latest green commit is still using 28.0.2, which the CI doesn't have, so it's failing with missing input errors. We need 28.0.2 on the CI to at least get past the missing input errors, or maybe manually update the latest green commit to f08dda5?

@philwo
Copy link
Contributor

philwo commented Feb 3, 2020

LGTM, I'll roll out new images with 28.x and 29.x build tools on all platforms tomorrow morning and will retry the failed jobs then. 👍

@jin
Copy link
Collaborator

jin commented Feb 3, 2020

thanks @philwo!

@philwo
Copy link
Contributor

philwo commented Feb 4, 2020

@jin These versions are installed now:

"build-tools;28.0.2"
"build-tools;28.0.3"
"build-tools;29.0.0"
"build-tools;29.0.2"
"build-tools;29.0.3"

However, a rebuild still fails: https://buildkite.com/bazel/android-testing/builds/641

Do we have to revert f08dda5 because this project isn't compatible with build-tools 29.0.2?

@jin
Copy link
Collaborator

jin commented Feb 6, 2020

@philwo the ubuntu failures are #303, will be fixed by #309

I'm thinking of disabling the Windows pipeline. There isn't anyone working on Windows support for Android now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants