align tsan configuration

pull/16986/head
Jan Tattermusch 6 years ago
parent bfcce96efc
commit 23eec0c4ec
  1. 4
      tools/internal_ci/linux/grpc_tsan_on_foundry.sh
  2. 4
      tools/internal_ci/linux/pull_request/grpc_tsan_on_foundry.sh
  3. 2
      tools/remote_build/README.md
  4. 11
      tools/remote_build/rbe_common.bazelrc

@ -14,6 +14,4 @@
# 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=test/core/util/tsan_suppressions.txt:halt_on_error=1:second_deadlock_stack=1 --cache_test_results=no"
EXCLUDE_TESTS="--test_tag_filters=-qps_json_driver,-json_run_localhost"
github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}" "${EXCLUDE_TESTS}"
github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh --config=tsan --cache_test_results=no

@ -13,6 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
EXTRA_FLAGS="--copt=-gmlt --strip=never --copt=-fsanitize=thread --linkopt=-fsanitize=thread --test_timeout=3600 --action_env=TSAN_OPTIONS=suppressions=test/core/util/tsan_suppressions.txt:halt_on_error=1:second_deadlock_stack=1"
EXCLUDE_TESTS="--test_tag_filters=-qps_json_driver,-json_run_localhost"
github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}" "${EXCLUDE_TESTS}"
github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh --config=tsan

@ -25,6 +25,6 @@ bazel --bazelrc=tools/remote_build/manual.bazelrc test -c opt //test/...
Sanitizer runs (asan, msan, tsan, ubsan):
```
# manual run of bazel tests remotely on Foundry
# manual run of bazel tests remotely on Foundry with given sanitizer
bazel --bazelrc=tools/remote_build/manual.bazelrc test --config=asan //test/...
```

@ -55,3 +55,14 @@ build:asan --test_tag_filters=-qps_json_driver,-json_run_localhost
#build:asan --copt=-DGPR_NO_DIRECT_SYSCALLS
#build:asan --action_env=ASAN_OPTIONS=detect_leaks=1:color=always
#build:asan --action_env=LSAN_OPTIONS=suppressions=test/core/util/lsan_suppressions.txt:report_objects=1
# thread sanitizer: most settings are already in %workspace%/.bazelrc
# we only need a few additional ones that are Foundry specific
build:tsan --copt=-gmlt
# TODO(jtattermusch): use more reasonable test timeout
build:tsan --test_timeout=3600
build:tsan --test_tag_filters=-qps_json_driver,-json_run_localhost
# TODO: revisit these from bazel.rc:
#build:tsan --copt=-fno-omit-frame-pointer
#build:tsan --copt=-DGPR_NO_DIRECT_SYSCALLS
#build:tsan --copt=-DGRPC_TSAN

Loading…
Cancel
Save