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_local_test tests are very fragile #169

Open
katre opened this issue Oct 20, 2023 · 0 comments
Open

android_local_test tests are very fragile #169

katre opened this issue Oct 20, 2023 · 0 comments

Comments

@katre
Copy link
Member

katre commented Oct 20, 2023

At head, with Bazel 7.0.0rc1, these tests fail because the resolved JDK paths aren't what is expected:

USE_BAZEL_VERSION=7.0.0rc1 bazel   test   --enable_bzlmod=false   --incompatible_enable_android_toolchain_resolution=false   --java_runtime_version=17   -- //test/rules/android_local_test:android_local_test_default_launcher

FAIL: //test/rules/android_local_test:android_local_test_default_launcher (see /usr/local/google/home/jcater/.cache/bazel/_bazel_jcater/ddb4e20e0e2e6bca92f5deeef02ce168/execroot/rules_android/bazel-out/k8-fastbuild/testlogs/test/rules/android_local_test/android_local_test_default_launcher/test.log)
INFO: From Testing //test/rules/android_local_test:android_local_test_default_launcher:
==================== Test output for //test/rules/android_local_test:android_local_test_default_launcher:
In test _android_local_test_default_launcher from //test/rules/android_local_test:java_launcher_test.bzl: Expect runfiles to contains ../remotejdk17_linux/bin/java but was ...

(Full log attached)

alt.log

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

1 participant