mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-25 16:10:33 +02:00
Merge #21669: test: Remove spurious double lock tsan suppressions by bumping to clang-12
fadea0bf371a38620b7f1f93f87d1da76d3314e0 Revert "test: Add tsan supp for leveldb::DBImpl::DeleteObsoleteFiles" (MarcoFalke) fadbd9988590ba94e3fd2d87d773f3b09d73ef46 test: Remove spurious double lock tsan suppressions by bumping to clang-12 (MarcoFalke) Pull request description: The double lock warnings appeared in #19041, but they didn't make any sense. Also, our sync module would detect double locks, if there were any. Bumping to clang-12 allows us to remove the spurious suppressions needed to run the tests, so do that. ACKs for top commit: practicalswift: cr ACK fadea0bf371a38620b7f1f93f87d1da76d3314e0 assuming CI passes and more specifically that newer Clang agrees that these TSan suppressions are no longer needed. Tree-SHA512: c411221a4b74d0af6ca8d686639b4f40b41c15906ccbb6647e8d569d6ab088264faafe075e1ac9523d5c0024b85f15a597bb3eedc7f07d4f5816245f75cfc08b
This commit is contained in:
commit
b8e5bbdf93
@ -120,10 +120,10 @@ task:
|
||||
FILE_ENV: "./ci/test/00_setup_env_native_qt5.sh"
|
||||
|
||||
task:
|
||||
name: '[depends, sanitizers: thread (TSan), no gui] [focal]'
|
||||
name: '[depends, sanitizers: thread (TSan), no gui] [hirsute]'
|
||||
<< : *GLOBAL_TASK_TEMPLATE
|
||||
container:
|
||||
image: ubuntu:focal
|
||||
image: ubuntu:hirsute
|
||||
cpu: 6 # Increase CPU and Memory to avoid timeout
|
||||
memory: 24G
|
||||
env:
|
||||
|
@ -7,7 +7,7 @@
|
||||
export LC_ALL=C.UTF-8
|
||||
|
||||
export CONTAINER_NAME=ci_native_tsan
|
||||
export DOCKER_NAME_TAG=ubuntu:20.04
|
||||
export DOCKER_NAME_TAG=ubuntu:hirsute
|
||||
export PACKAGES="clang llvm libc++abi-dev libc++-dev python3-zmq"
|
||||
export DEP_OPTS="CC=clang CXX='clang++ -stdlib=libc++'"
|
||||
export GOAL="install"
|
||||
|
@ -3,31 +3,12 @@
|
||||
#
|
||||
# https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions
|
||||
|
||||
# double locks (TODO fix)
|
||||
mutex:g_genesis_wait_mutex
|
||||
mutex:Interrupt
|
||||
mutex:CThreadInterrupt
|
||||
mutex:CConnman::Interrupt
|
||||
mutex:CConnman::WakeMessageHandler
|
||||
mutex:CConnman::ThreadOpenConnections
|
||||
mutex:CConnman::ThreadOpenAddedConnections
|
||||
mutex:CConnman::SocketHandler
|
||||
mutex:UpdateTip
|
||||
mutex:PeerManagerImpl::UpdatedBlockTip
|
||||
mutex:g_best_block_mutex
|
||||
|
||||
# race (TODO fix)
|
||||
race:CConnman::WakeMessageHandler
|
||||
race:CConnman::ThreadMessageHandler
|
||||
race:fHaveGenesis
|
||||
race:ProcessNewBlock
|
||||
race:ThreadImport
|
||||
race:LoadWallet
|
||||
race:WalletBatch::WriteHDChain
|
||||
race:BerkeleyBatch
|
||||
race:BerkeleyDatabase
|
||||
race:DatabaseBatch
|
||||
race:leveldb::DBImpl::DeleteObsoleteFiles
|
||||
race:zmq::*
|
||||
race:bitcoin-qt
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user