Bazel CI: Temporarily disable Android shell tests.
These tests are incompatible with Python 3 environments.
This change unblocks https://github.com/bazelbuild/bazel/pull/18497.
The tests should be fixed and re-enabled, tracked in https://github.com/bazelbuild/bazel/issues/18776
PiperOrigin-RevId: 543491138
Change-Id: Id7faa248a7b57c3d645216bdba98c54534b06217
diff --git a/.bazelci/postsubmit.yml b/.bazelci/postsubmit.yml
index e4d5e07..bbbbf50 100644
--- a/.bazelci/postsubmit.yml
+++ b/.bazelci/postsubmit.yml
@@ -55,6 +55,13 @@
- "-//src/test/shell/bazel:bazel_coverage_cc_released_test_gcc"
- "-//src/test/shell/bazel:bazel_coverage_cc_head_test_gcc"
- "-//src/test/shell/bazel:bazel_coverage_sh_test"
+ # https://github.com/bazelbuild/bazel/issues/18776
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test"
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_head_android_tools"
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_platforms"
+ - "-//src/test/shell/bazel/android:aapt_integration_test"
+ - "-//src/test/shell/bazel/android:aapt_integration_test_with_head_android_tools"
+ - "-//src/test/shell/bazel/android:aapt_integration_test_with_platforms"
include_json_profile:
- build
- test
@@ -95,6 +102,13 @@
- "//tools/python/..."
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/8162
- "-//src/java_tools/import_deps_checker/..."
+ # https://github.com/bazelbuild/bazel/issues/18776
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test"
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_head_android_tools"
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_platforms"
+ - "-//src/test/shell/bazel/android:aapt_integration_test"
+ - "-//src/test/shell/bazel/android:aapt_integration_test_with_head_android_tools"
+ - "-//src/test/shell/bazel/android:aapt_integration_test_with_platforms"
include_json_profile:
- build
- test
@@ -166,6 +180,13 @@
- "//tools/python/..."
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/8162
- "-//src/java_tools/import_deps_checker/..."
+ # https://github.com/bazelbuild/bazel/issues/18776
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test"
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_head_android_tools"
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_platforms"
+ - "-//src/test/shell/bazel/android:aapt_integration_test"
+ - "-//src/test/shell/bazel/android:aapt_integration_test_with_head_android_tools"
+ - "-//src/test/shell/bazel/android:aapt_integration_test_with_platforms"
include_json_profile:
- build
- test
@@ -217,10 +238,13 @@
- "-//src/test/shell/bazel/apple:bazel_apple_test"
# https://github.com/bazelbuild/bazel/issues/17408
- "-//src/test/shell/bazel/apple:bazel_objc_test"
- # https://github.com/bazelbuild/bazel/issues/16526#issuecomment-1415858550
+ # https://github.com/bazelbuild/bazel/issues/18776
- "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test"
- "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_head_android_tools"
- "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_platforms"
+ - "-//src/test/shell/bazel/android:aapt_integration_test"
+ - "-//src/test/shell/bazel/android:aapt_integration_test_with_head_android_tools"
+ - "-//src/test/shell/bazel/android:aapt_integration_test_with_platforms"
# https://github.com/bazelbuild/bazel/issues/17410
- "-//src/test/java/com/google/devtools/build/lib/platform:SystemMemoryPressureEventTest"
# https://github.com/bazelbuild/bazel/issues/17411
@@ -274,7 +298,7 @@
- "-//src/test/shell/bazel:bazel_cc_code_coverage_test"
# MacOS does not have cgroups so it can't support hardened sandbox
- "-//src/test/shell/integration:bazel_hardened_sandboxed_worker_test"
- # https://github.com/bazelbuild/bazel/issues/16521
+ # https://github.com/bazelbuild/bazel/issues/16521 & https://github.com/bazelbuild/bazel/issues/18776
- "-//src/test/shell/bazel/android/..."
- "-//src/tools/android/java/com/google/devtools/build/android/..."
- "-//src/test/java/com/google/devtools/build/android/dexer:AllTests"
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml
index be4c355..ee14009 100644
--- a/.bazelci/presubmit.yml
+++ b/.bazelci/presubmit.yml
@@ -59,6 +59,13 @@
- "-//src/test/shell/bazel:bazel_coverage_cc_released_test_gcc"
- "-//src/test/shell/bazel:bazel_coverage_cc_head_test_gcc"
- "-//src/test/shell/bazel:bazel_coverage_sh_test"
+ # https://github.com/bazelbuild/bazel/issues/18776
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test"
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_head_android_tools"
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_platforms"
+ - "-//src/test/shell/bazel/android:aapt_integration_test"
+ - "-//src/test/shell/bazel/android:aapt_integration_test_with_head_android_tools"
+ - "-//src/test/shell/bazel/android:aapt_integration_test_with_platforms"
include_json_profile:
- build
- test
@@ -100,6 +107,13 @@
- "//tools/python/..."
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/8162
- "-//src/java_tools/import_deps_checker/..."
+ # https://github.com/bazelbuild/bazel/issues/18776
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test"
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_head_android_tools"
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_platforms"
+ - "-//src/test/shell/bazel/android:aapt_integration_test"
+ - "-//src/test/shell/bazel/android:aapt_integration_test_with_head_android_tools"
+ - "-//src/test/shell/bazel/android:aapt_integration_test_with_platforms"
include_json_profile:
- build
- test
@@ -171,6 +185,13 @@
- "//tools/python/..."
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/8162
- "-//src/java_tools/import_deps_checker/..."
+ # https://github.com/bazelbuild/bazel/issues/18776
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test"
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_head_android_tools"
+ - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_platforms"
+ - "-//src/test/shell/bazel/android:aapt_integration_test"
+ - "-//src/test/shell/bazel/android:aapt_integration_test_with_head_android_tools"
+ - "-//src/test/shell/bazel/android:aapt_integration_test_with_platforms"
include_json_profile:
- build
- test
@@ -225,10 +246,13 @@
- "-//src/test/shell/bazel/apple:bazel_apple_test"
# https://github.com/bazelbuild/bazel/issues/17408
- "-//src/test/shell/bazel/apple:bazel_objc_test"
- # https://github.com/bazelbuild/bazel/issues/16526#issuecomment-1415858550
+ # https://github.com/bazelbuild/bazel/issues/18776
- "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test"
- "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_head_android_tools"
- "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_platforms"
+ - "-//src/test/shell/bazel/android:aapt_integration_test"
+ - "-//src/test/shell/bazel/android:aapt_integration_test_with_head_android_tools"
+ - "-//src/test/shell/bazel/android:aapt_integration_test_with_platforms"
# https://github.com/bazelbuild/bazel/issues/17410
- "-//src/test/java/com/google/devtools/build/lib/platform:SystemMemoryPressureEventTest"
# https://github.com/bazelbuild/bazel/issues/17411
@@ -285,7 +309,7 @@
- "-//src/test/shell/bazel:bazel_cc_code_coverage_test"
# MacOS does not have cgroups so it can't support hardened sandbox
- "-//src/test/shell/integration:bazel_hardened_sandboxed_worker_test"
- # https://github.com/bazelbuild/bazel/issues/16521
+ # https://github.com/bazelbuild/bazel/issues/16521 & https://github.com/bazelbuild/bazel/issues/18776
- "-//src/test/shell/bazel/android/..."
- "-//src/tools/android/java/com/google/devtools/build/android/..."
- "-//src/test/java/com/google/devtools/build/android/dexer:AllTests"