HomePhabricator

[CI] Run the thread sanitizer as part of the CI

Description

[CI] Run the thread sanitizer as part of the CI

Summary:
ASAN and UBSAN are already part of the CI, but TSAN was missing.
There is an exception in the functional test suite for
wallet_multiwallet. This is the exact same issue than the ASAN failure
(heap used after free).
It is possible that some tests end up being flacky due to the load
overhead from TSAN (timeouts may occur), but they should be fixed as
they appear on a case to case basis.

Test Plan:

ABC_BUILD_NAME=build-tsan ./contrib/teamcity/build-configurations.sh

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D4412

Details

Provenance
FabienAuthored on Nov 8 2019, 11:00
nakihitoPushed on Nov 8 2019, 19:33
Reviewer
Restricted Project
Differential Revision
D4412: [CI] Run the thread sanitizer as part of the CI
Parents
rSTAGING478736a84541: Switch all RNG code to the built-in PRNG.
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/14069, tag: phabricator/base/14024, tag: phabricator/base/14011