summaryrefslogtreecommitdiff
path: root/etc/evergreen.yml
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2020-08-17 14:01:09 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-17 23:45:47 +0000
commit99e85a18ec8a12c5988fe03ad83e0f064cc6dd6f (patch)
tree1f480b0229e00ff092bb833247a42f816195baf5 /etc/evergreen.yml
parent534031f397c801d860eab4866053422b74d1ab3c (diff)
downloadmongo-99e85a18ec8a12c5988fe03ad83e0f064cc6dd6f.tar.gz
SERVER-48490 Suppress thread_leak errors under TSAN
Diffstat (limited to 'etc/evergreen.yml')
-rw-r--r--etc/evergreen.yml15
1 files changed, 12 insertions, 3 deletions
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