diff --git a/.bazelci/postsubmit.yml b/.bazelci/postsubmit.yml index b7ff475635bda6..d647d1fc7e3584 100644 --- a/.bazelci/postsubmit.yml +++ b/.bazelci/postsubmit.yml @@ -121,6 +121,9 @@ tasks: - "//tools/python/..." # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/8162 - "-//src/java_tools/import_deps_checker/..." + # Disable test failing due to infra change + - "-//src/test/shell/bazel:git_repository_test" + - "-//src/test/shell/bazel:starlark_git_repository_test" include_json_profile: - build - test @@ -199,6 +202,9 @@ tasks: - "-//src/test/shell/bazel/android:android_ndk_integration_test" - "-//src/test/shell/bazel:bazel_coverage_cc_head_test_gcc" - "-//src/test/shell/bazel/android:android_ndk_integration_test_with_head_android_tools" + # Disable test failing due to infra change + - "-//src/test/shell/bazel:git_repository_test" + - "-//src/test/shell/bazel:starlark_git_repository_test" include_json_profile: - build - test @@ -239,6 +245,23 @@ tasks: - "//tools/python/..." # C++ coverage is not supported on macOS yet. - "-//src/test/shell/bazel:bazel_cc_code_coverage_test" + # Disable test failing due to infra change + - "-//src/test/java/com/google/devtools/build/lib/blackbox/tests/workspace:GitRepositoryBlackBoxTest" + - "-//src/test/java/com/google/devtools/build/lib/blackbox/tests/workspace:PatchApiBlackBoxTest" + - "-//tools/python:pywrapper_test" + - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_head_android_tools" + - "-//src/test/py/bazel:runfiles_test" + - "-//src/test/shell/bazel:jdeps_test" + - "-//src/test/shell/bazel:python_version_test" + - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test" + - "-//src/test/shell/bazel:git_repository_test" + - "-//src/test/shell/bazel:starlark_git_repository_test" + - "-//src/test/java/com/google/devtools/build/lib/blackbox/tests/workspace:BazelEmbeddedStarlarkBlackBoxTest" + - "-//src/test/shell/bazel:bazel_embedded_starlark_test" + - "-//src/test/java/com/google/devtools/build/lib/starlark/..." + - "-//src/test/java/com/google/devtools/build/lib/remote/merkletree/..." + - "-//src/test/java/net/starlark/java/eval:ScriptTest" + - "-//src/test/java/com/google/devtools/build/lib/remote:remote" include_json_profile: - build - test @@ -265,23 +288,26 @@ tasks: - "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external" test_targets: - "//src:all_windows_tests" + # Disable test failing due to infra change + - "-//src/test/shell/bazel:git_repository_test" + - "-//src/test/shell/bazel:starlark_git_repository_test" include_json_profile: - build - test - rbe_ubuntu1604: - environment: - USE_BAZEL_VERSION: 4.2.2 - shell_commands: - - sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' - -e 's/^# android_ndk_repository/android_ndk_repository/' - -e 's/^# rbe_autoconfig/rbe_autoconfig/' - -e 's/^# load("@bazel_toolchains/load("@bazel_toolchains/' WORKSPACE - - rm -f WORKSPACE.bak - build_targets: - - "//src:bazel" - - "//src:bazel_jdk_minimal" - include_json_profile: - - build +# rbe_ubuntu1604: +# environment: +# USE_BAZEL_VERSION: 4.2.2 +# shell_commands: +# - sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' +# -e 's/^# android_ndk_repository/android_ndk_repository/' +# -e 's/^# rbe_autoconfig/rbe_autoconfig/' +# -e 's/^# load("@bazel_toolchains/load("@bazel_toolchains/' WORKSPACE +# - rm -f WORKSPACE.bak +# build_targets: +# - "//src:bazel" +# - "//src:bazel_jdk_minimal" +# include_json_profile: +# - build kythe_ubuntu2004: environment: USE_BAZEL_VERSION: 4.2.2 diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 863a614b65f3b0..8aa958eba99a75 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -118,6 +118,9 @@ tasks: - "//tools/python/..." # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/8162 - "-//src/java_tools/import_deps_checker/..." + # Disable test failing due to infra change + - "-//src/test/shell/bazel:git_repository_test" + - "-//src/test/shell/bazel:starlark_git_repository_test" ubuntu1804_clang: platform: ubuntu1804 environment: @@ -191,6 +194,9 @@ tasks: - "-//src/test/shell/bazel/android:android_ndk_integration_test" - "-//src/test/shell/bazel:bazel_coverage_cc_head_test_gcc" - "-//src/test/shell/bazel/android:android_ndk_integration_test_with_head_android_tools" + # Disable test failing due to infra change + - "-//src/test/shell/bazel:git_repository_test" + - "-//src/test/shell/bazel:starlark_git_repository_test" macos: environment: USE_BAZEL_VERSION: 4.2.2 @@ -232,6 +238,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" + # Disable test failing due to infra change + - "-//src/test/java/com/google/devtools/build/lib/blackbox/tests/workspace:GitRepositoryBlackBoxTest" + - "-//src/test/java/com/google/devtools/build/lib/blackbox/tests/workspace:PatchApiBlackBoxTest" + - "-//tools/python:pywrapper_test" + - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test_with_head_android_tools" + - "-//src/test/py/bazel:runfiles_test" + - "-//src/test/shell/bazel:jdeps_test" + - "-//src/test/shell/bazel:python_version_test" + - "-//src/test/shell/bazel/android:android_instrumentation_test_integration_test" + - "-//src/test/shell/bazel:git_repository_test" + - "-//src/test/shell/bazel:starlark_git_repository_test" + - "-//src/test/java/com/google/devtools/build/lib/blackbox/tests/workspace:BazelEmbeddedStarlarkBlackBoxTest" + - "-//src/test/shell/bazel:bazel_embedded_starlark_test" + - "-//src/test/java/com/google/devtools/build/lib/starlark/..." + - "-//src/test/java/com/google/devtools/build/lib/remote/merkletree/..." + - "-//src/test/java/net/starlark/java/eval:ScriptTest" + - "-//src/test/java/com/google/devtools/build/lib/remote:remote" windows: environment: USE_BAZEL_VERSION: 4.2.2 @@ -256,47 +279,50 @@ tasks: - "--test_env=TEST_REPOSITORY_HOME=$OUTPUT_BASE/external" test_targets: - "//src:all_windows_tests" - rbe_ubuntu1604: - environment: - USE_BAZEL_VERSION: 4.2.2 - shell_commands: - - sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^# - android_ndk_repository/android_ndk_repository/' WORKSPACE - - rm -f WORKSPACE.bak - build_flags: - - "--config=ubuntu1604_java8" - - "--remote_executor=grpcs://remotebuildexecution.googleapis.com" - - "--jobs=200" - - "--experimental_remote_download_outputs=minimal" - - "--experimental_inmemory_jdeps_files" - - "--experimental_inmemory_dotd_files" - build_targets: - - "//src:bazel" - - "//src:bazel_jdk_minimal" - test_flags: - - "--config=ubuntu1604_java8" - - "--remote_executor=grpcs://remotebuildexecution.googleapis.com" - - "--jobs=200" - - "--experimental_remote_download_outputs=minimal" - - "--experimental_inmemory_jdeps_files" - - "--experimental_inmemory_dotd_files" - test_targets: - - "//scripts/..." - - "//src/java_tools/..." - - "//src/test/..." - - "//src/tools/execlog/..." - - "//src/tools/singlejar/..." - - "//src/tools/workspacelog/..." - - "//third_party/ijar/..." - - "//tools/aquery_differ/..." - - "//tools/python/..." - - "//tools/android/..." - # See https://github.com/bazelbuild/bazel/issues/8033 - - "-//src/tools/singlejar:output_jar_simple_test" - - "-//src/test/shell/bazel:external_integration_test" - - "-//src/test/shell/bazel:bazel_repository_cache_test" - - "-//src/test/shell/integration:java_integration_test" - - "-//src/test/java/com/google/devtools/build/lib/sandbox/..." - # See https://github.com/bazelbuild/bazel/issues/8162 (also disabled for local exec) - - "-//src/java_tools/buildjar/..." - - "-//src/java_tools/import_deps_checker/..." + # Disable test failing due to infra change + - "-//src/test/shell/bazel:git_repository_test" + - "-//src/test/shell/bazel:starlark_git_repository_test" +# rbe_ubuntu1604: +# environment: +# USE_BAZEL_VERSION: 4.2.2 +# shell_commands: +# - sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^# +# android_ndk_repository/android_ndk_repository/' WORKSPACE +# - rm -f WORKSPACE.bak +# build_flags: +# - "--config=ubuntu1604_java8" +# - "--remote_executor=grpcs://remotebuildexecution.googleapis.com" +# - "--jobs=200" +# - "--experimental_remote_download_outputs=minimal" +# - "--experimental_inmemory_jdeps_files" +# - "--experimental_inmemory_dotd_files" +# build_targets: +# - "//src:bazel" +# - "//src:bazel_jdk_minimal" +# test_flags: +# - "--config=ubuntu1604_java8" +# - "--remote_executor=grpcs://remotebuildexecution.googleapis.com" +# - "--jobs=200" +# - "--experimental_remote_download_outputs=minimal" +# - "--experimental_inmemory_jdeps_files" +# - "--experimental_inmemory_dotd_files" +# test_targets: +# - "//scripts/..." +# - "//src/java_tools/..." +# - "//src/test/..." +# - "//src/tools/execlog/..." +# - "//src/tools/singlejar/..." +# - "//src/tools/workspacelog/..." +# - "//third_party/ijar/..." +# - "//tools/aquery_differ/..." +# - "//tools/python/..." +# - "//tools/android/..." +# # See https://github.com/bazelbuild/bazel/issues/8033 +# - "-//src/tools/singlejar:output_jar_simple_test" +# - "-//src/test/shell/bazel:external_integration_test" +# - "-//src/test/shell/bazel:bazel_repository_cache_test" +# - "-//src/test/shell/integration:java_integration_test" +# - "-//src/test/java/com/google/devtools/build/lib/sandbox/..." +# # See https://github.com/bazelbuild/bazel/issues/8162 (also disabled for local exec) +# - "-//src/java_tools/buildjar/..." +# - "-//src/java_tools/import_deps_checker/..."