Skip to content

Commit

Permalink
[4.2.4] Disable some failing tests (bazelbuild#18046)
Browse files Browse the repository at this point in the history
* Disable failing tests
  • Loading branch information
keertk authored Apr 12, 2023
1 parent ad6d3d5 commit 12f79d3
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 58 deletions.
54 changes: 40 additions & 14 deletions .bazelci/postsubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
114 changes: 70 additions & 44 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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/..."

0 comments on commit 12f79d3

Please sign in to comment.