From 99e85a18ec8a12c5988fe03ad83e0f064cc6dd6f Mon Sep 17 00:00:00 2001 From: Andrew Morrow Date: Mon, 17 Aug 2020 14:01:09 -0400 Subject: SERVER-48490 Suppress thread_leak errors under TSAN --- etc/evergreen.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'etc/evergreen.yml') diff --git a/etc/evergreen.yml b/etc/evergreen.yml index 236329ee3dd..6d09c3f3cbf 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -12330,9 +12330,18 @@ buildvariants: # We need llvm-symbolizer in the PATH for ASAN for clang-3.7 or later. variant_path_suffix: /opt/mongodbtoolchain/v3/bin lang_environment: LANG=C - # If you add anything to san_options, make sure the appropriate changes are - # also made to SConstruct. - san_options: TSAN_OPTIONS="die_after_fork=0:suppressions=etc/tsan.suppressions:halt_on_error=1" + # If you add anything to san_options, make sure the appropriate + # changes are also made to SConstruct. + # + # TODO SERVER-49121: die_after_fork=0 is a temporary setting to + # allow tests to continue while we figure out why we're running + # afoul of it. + # + # TODO SERVER-48490: report_thread_leaks=0 suppresses reporting + # thread leaks, which we have because we don't do a clean shutdown + # of the ServiceContext. + # + san_options: TSAN_OPTIONS="halt_on_error=1:report_thread_leaks=0:die_after_fork=0:suppressions=etc/tsan.suppressions" # TODO: Remove some of the excluded tags when the ephemeralForTest storage engine is # further along in development: https://jira.mongodb.org/browse/SERVER-48325 test_flags: --storageEngine=ephemeralForTest --excludeWithAnyTags=requires_persistence,requires_journaling,uses_transactions,requires_wiredtiger,requires_snapshot_read -- cgit v1.2.1