Page MenuHomePhabricator

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

Authored by Fabien on Nov 8 2019, 11:40.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
ci_tsan
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 8032
Build 14060: Bitcoin ABC Buildbot (legacy)
Build 14059: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Nov 8 2019, 18:21