Merge pull request #15762 from grpc/revert-15645-foundry_integration

Revert "Add suppressions to sanitizers for bazel builds"
pull/15823/head
Nicolas Noble 7 years ago committed by GitHub
commit 49d229b3fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      bazel/grpc_build_system.bzl
  2. 1
      test/core/channel/BUILD
  3. 4
      test/core/security/BUILD
  4. 1
      test/core/transport/BUILD
  5. 1
      test/core/tsi/alts/crypt/BUILD
  6. 4
      test/core/tsi/alts/frame_protector/BUILD
  7. 5
      test/core/tsi/alts/handshaker/BUILD
  8. 3
      test/core/tsi/alts/zero_copy_frame_protector/BUILD
  9. 5
      test/core/util/BUILD
  10. 1
      test/cpp/client/BUILD
  11. 1
      test/cpp/microbenchmarks/BUILD
  12. 2
      test/cpp/util/BUILD
  13. 19
      tools/BUILD
  14. 2
      tools/internal_ci/linux/grpc_tsan_on_foundry.sh

@ -62,7 +62,7 @@ def _maybe_update_cc_library_hdrs(hdrs):
def grpc_cc_library(name, srcs = [], public_hdrs = [], hdrs = [],
external_deps = [], deps = [], standalone = False,
language = "C++", testonly = False, visibility = None,
alwayslink = 0, data = []):
alwayslink = 0):
copts = []
if language.upper() == "C":
copts = if_not_windows(["-std=c99"])
@ -87,7 +87,6 @@ def grpc_cc_library(name, srcs = [], public_hdrs = [], hdrs = [],
"include"
],
alwayslink = alwayslink,
data = data,
)
def grpc_proto_plugin(name, srcs = [], deps = []):

@ -105,7 +105,6 @@ grpc_cc_test(
language = "C++",
deps = [
"//:grpc",
"//test/core/util:gpr_test_util",
],
external_deps = [
"gtest",

@ -183,7 +183,6 @@ grpc_cc_test(
"//:gpr",
"//:gpr_base",
"//:grpc",
"//test/core/util:gpr_test_util",
],
)
@ -196,7 +195,6 @@ grpc_cc_test(
"//:gpr",
"//:gpr_base",
"//:grpc",
"//test/core/util:gpr_test_util",
],
)
@ -208,7 +206,6 @@ grpc_cc_test(
"//:alts_util",
"//:gpr",
"//:grpc",
"//test/core/util:gpr_test_util",
],
)
@ -223,6 +220,5 @@ grpc_cc_test(
"//:grpc_secure",
"//:tsi",
"//:tsi_interface",
"//test/core/util:gpr_test_util",
],
)

@ -129,7 +129,6 @@ grpc_cc_test(
language = "C++",
deps = [
"//:grpc",
"//test/core/util:gpr_test_util",
],
external_deps = [
"gtest",

@ -27,7 +27,6 @@ grpc_cc_test(
"//:alts_frame_protector",
"//:gpr",
"//:grpc",
"//test/core/util:gpr_test_util",
],
)

@ -27,7 +27,6 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//test/core/tsi/alts/crypt:alts_crypt_test_util",
"//test/core/util:gpr_test_util",
],
)
@ -40,7 +39,6 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//test/core/tsi/alts/crypt:alts_crypt_test_util",
"//test/core/util:gpr_test_util",
],
)
@ -56,7 +54,6 @@ grpc_cc_test(
"//:tsi_interface",
"//test/core/tsi/alts/crypt:alts_crypt_test_util",
"//test/core/tsi:transport_security_test_lib",
"//test/core/util:gpr_test_util",
],
)
@ -70,6 +67,5 @@ grpc_cc_test(
"//:gpr_base",
"//:grpc",
"//test/core/tsi/alts/crypt:alts_crypt_test_util",
"//test/core/util:gpr_test_util",
],
)

@ -37,7 +37,6 @@ grpc_cc_test(
"//:tsi",
"//:tsi_interface",
"//:grpc",
"//test/core/util:gpr_test_util",
],
)
@ -48,7 +47,6 @@ grpc_cc_test(
deps = [
":alts_handshaker_service_api_test_lib",
"//:grpc",
"//test/core/util:gpr_test_util",
],
)
@ -62,7 +60,6 @@ grpc_cc_test(
"//:gpr_base",
"//:grpc",
"//:tsi",
"//test/core/util:gpr_test_util",
],
)
@ -74,7 +71,6 @@ grpc_cc_test(
":alts_handshaker_service_api_test_lib",
"//:grpc",
"//:tsi",
"//test/core/util:gpr_test_util",
],
)
@ -85,7 +81,6 @@ grpc_cc_test(
deps = [
"//:alts_util",
"//:grpc",
"//test/core/util:gpr_test_util",
],
)

@ -28,7 +28,6 @@ grpc_cc_test(
"//:grpc",
"//:grpc_base_c",
"//test/core/tsi/alts/crypt:alts_crypt_test_util",
"//test/core/util:gpr_test_util",
],
)
@ -41,7 +40,6 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//test/core/tsi/alts/crypt:alts_crypt_test_util",
"//test/core/util:gpr_test_util",
],
)
@ -55,6 +53,5 @@ grpc_cc_test(
"//:grpc",
"//:grpc_base_c",
"//test/core/tsi/alts/crypt:alts_crypt_test_util",
"//test/core/util:gpr_test_util",
],
)

@ -32,11 +32,6 @@ grpc_cc_library(
"test_config.h",
],
deps = ["//:gpr"],
data = [
"//tools:lsan_suppressions.txt",
"//tools:tsan_suppressions.txt",
"//tools:ubsan_suppressions.txt",
],
)
grpc_cc_library(

@ -28,7 +28,6 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//:grpc++",
"//test/core/util:gpr_test_util",
],
)

@ -24,7 +24,6 @@ grpc_cc_test(
external_deps = [
"benchmark",
],
deps = ["//test/core/util:gpr_test_util",]
)
grpc_cc_library(

@ -217,7 +217,6 @@ grpc_cc_test(
],
deps = [
"//:grpc++",
"//test/core/util:gpr_test_util",
],
)
@ -261,7 +260,6 @@ grpc_cc_test(
deps = [
"//:grpc++_error_details",
"//src/proto/grpc/testing:echo_messages_proto",
"//test/core/util:gpr_test_util",
],
)

@ -1,19 +0,0 @@
# Copyright 2017 gRPC authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
exports_files([
"lsan_suppressions.txt",
"tsan_suppressions.txt",
"ubsan_suppressions.txt",
])

@ -14,5 +14,5 @@
# limitations under the License.
export UPLOAD_TEST_RESULTS=true
EXTRA_FLAGS="--copt=-gmlt --strip=never --copt=-fsanitize=thread --linkopt=-fsanitize=thread --test_timeout=3600 --action_env=TSAN_OPTIONS=suppressions=tools/tsan_suppressions.txt:halt_on_error=1:second_deadlock_stack=1"
EXTRA_FLAGS="--copt=-gmlt --strip=never --copt=-fsanitize=thread --linkopt=-fsanitize=thread --test_timeout=3600"
github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}"

Loading…
Cancel
Save