aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-06-03 19:40:53 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-06-04 18:26:01 -0400
commitfa7e002d520d8390f3ff4b0383cfdfc14713355d (patch)
tree78142202b8944e4621d0c29615b2e138e69d8aa5
parent01b45b2e016f0b0907929e818216edf7157fb03a (diff)
ci: tsan with wallet
-rw-r--r--.travis.yml2
-rw-r--r--ci/test/00_setup_env_native_tsan.sh2
-rw-r--r--test/sanitizer_suppressions/tsan5
3 files changed, 7 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 5550de12d6..03ab9d2613 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -112,7 +112,7 @@ jobs:
FILE_ENV="./ci/test/00_setup_env_native_qt5.sh"
- stage: test
- name: 'x86_64 Linux [GOAL: install] [focal] [depends, sanitizers: thread (TSan), no wallet, no gui]'
+ name: 'x86_64 Linux [GOAL: install] [focal] [depends, sanitizers: thread (TSan), no gui]'
# Not enough memory on travis machines, so feature_block is excluded for now
env: >-
TEST_RUNNER_EXTRA="--exclude feature_block"
diff --git a/ci/test/00_setup_env_native_tsan.sh b/ci/test/00_setup_env_native_tsan.sh
index 99cf9cd182..87b9d9da95 100644
--- a/ci/test/00_setup_env_native_tsan.sh
+++ b/ci/test/00_setup_env_native_tsan.sh
@@ -11,4 +11,4 @@ export DOCKER_NAME_TAG=ubuntu:20.04
export PACKAGES="clang llvm libc++abi-dev libc++-dev python3-zmq"
export DEP_OPTS="CC=clang CXX='clang++ -stdlib=libc++'"
export GOAL="install"
-export BITCOIN_CONFIG="--enable-zmq --disable-wallet --with-gui=no CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER' --with-sanitizers=thread CC=clang CXX='clang++ -stdlib=libc++'"
+export BITCOIN_CONFIG="--enable-zmq --with-gui=no CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER' --with-sanitizers=thread CC=clang CXX='clang++ -stdlib=libc++'"
diff --git a/test/sanitizer_suppressions/tsan b/test/sanitizer_suppressions/tsan
index f71599d92f..fd2e1a329c 100644
--- a/test/sanitizer_suppressions/tsan
+++ b/test/sanitizer_suppressions/tsan
@@ -12,17 +12,22 @@ mutex:CConnman::ThreadOpenAddedConnections
mutex:CConnman::SocketHandler
mutex:UpdateTip
mutex:PeerLogicValidation::UpdatedBlockTip
+mutex:g_best_block_mutex
# race (TODO fix)
race:CConnman::WakeMessageHandler
race:CConnman::ThreadMessageHandler
race:fHaveGenesis
race:ProcessNewBlock
race:ThreadImport
+race:WalletBatch::WriteHDChain
race:zmq::*
race:bitcoin-qt
# deadlock (TODO fix)
deadlock:CConnman::ForNode
+deadlock:CConnman::GetNodeStats
+deadlock:CChainState::ConnectTip
deadlock:UpdateTip
+deadlock:wallet_tests::CreateWalletFromFile
# WalletBatch (unidentified deadlock)
deadlock:WalletBatch