From af97d9830d3207893cc6f5c851431a28f1721acb Mon Sep 17 00:00:00 2001 From: Chi Wang Date: Mon, 6 Feb 2023 18:04:23 +0100 Subject: [PATCH] [6.1.0] Fix broken CI (#17422) * Bazel CI: Disable tests that are failing due to infra upgrades. This change should unblock both pre- and post-submit. Related to #16526, #17407, #17408 and #17409. PiperOrigin-RevId: 506882975 Change-Id: If704c398546265eb22d58906eb28363b30ac00a2 * Bazel CI: Disable more tests that are likely failing due to infra updates. Related to #17410 and #17411. PiperOrigin-RevId: 506903607 Change-Id: Ic88de4caea5c14336774e53a9063a6beb260d515 * Disable python_version_test --------- Co-authored-by: Googler --- .bazelci/postsubmit.yml | 17 +++++++++++++++++ .bazelci/presubmit.yml | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/.bazelci/postsubmit.yml b/.bazelci/postsubmit.yml index 59f34973b8828d..260dc2709307c8 100644 --- a/.bazelci/postsubmit.yml +++ b/.bazelci/postsubmit.yml @@ -197,6 +197,23 @@ tasks: - "//tools/python/..." # C++ coverage is not supported on macOS yet. - "-//src/test/shell/bazel:bazel_cc_code_coverage_test" + # https://github.com/bazelbuild/bazel/issues/16526 + - "-//src/test/shell/bazel:starlark_repository_test" + # https://github.com/bazelbuild/bazel/issues/17407 + - "-//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 + - "-//src/test/shell/bazel:python_version_test" + - "-//src/test/py/bazel:runfiles_test" + - "-//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" + - "-//tools/python:pywrapper_test" + # https://github.com/bazelbuild/bazel/issues/17410 + - "-//src/test/java/com/google/devtools/build/lib/platform:SystemMemoryPressureEventTest" + # https://github.com/bazelbuild/bazel/issues/17411 + - "-//src/test/java/com/google/devtools/build/lib/blackbox/tests/workspace:PatchApiBlackBoxTest" include_json_profile: - build - test diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index c2d29710ef978a..704b86589f2c07 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -190,6 +190,23 @@ tasks: - "-//src/java_tools/import_deps_checker/..." # C++ coverage is not supported on macOS yet. - "-//src/test/shell/bazel:bazel_cc_code_coverage_test" + # https://github.com/bazelbuild/bazel/issues/16526 + - "-//src/test/shell/bazel:starlark_repository_test" + # https://github.com/bazelbuild/bazel/issues/17407 + - "-//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 + - "-//src/test/shell/bazel:python_version_test" + - "-//src/test/py/bazel:runfiles_test" + - "-//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" + - "-//tools/python:pywrapper_test" + # https://github.com/bazelbuild/bazel/issues/17410 + - "-//src/test/java/com/google/devtools/build/lib/platform:SystemMemoryPressureEventTest" + # https://github.com/bazelbuild/bazel/issues/17411 + - "-//src/test/java/com/google/devtools/build/lib/blackbox/tests/workspace:PatchApiBlackBoxTest" windows: shards: 4 batch_commands: