diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-01-01 10:25:26 +0100 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-01-01 10:26:02 +0100 |
commit | d8bdee0fc889def7c5f5076da13db4fce0a3728a (patch) | |
tree | ad8373bd47d6a86643194e8436617ac4c7fe4958 | |
parent | 8575d5d842650a6571c1c3364fd0d9abc6aa0a33 (diff) | |
parent | fabb6af8508a9c0d05d2e9f0006b0b1d3f38119a (diff) |
Merge bitcoin/bitcoin#26775: ci: Revert tsan task changes
fabb6af8508a9c0d05d2e9f0006b0b1d3f38119a ci: Remove duplicate CC and CXX from tsan task (MarcoFalke)
fa5d9a0e246e94eb0d0e9a75f63ff1b09ec93c03 Revert "ci: Use clang-15 in tsan task" (MarcoFalke)
faa835e7e564536fb0589ec94d3f85042a1f9cd8 Revert "test: Drop no longer needed `race:epoll_ctl` TSan suppression" (MarcoFalke)
Pull request description:
Looks like there are still bugs in clang-15, so we need to roll back all the way to the previously used version (clang-13).
ACKs for top commit:
hebasto:
ACK fabb6af8508a9c0d05d2e9f0006b0b1d3f38119a, I have reviewed the code and it looks OK, I agree it can be merged.
Tree-SHA512: d62203049847ab9095ee3fc89e18bdd721d1d9d5a7ef7a9f524c80e6be58d1d9f6aa2f14533df1ea77eb59597fba6fa9b987b17eb03b2c3f7cb577ab59cd59c0
-rw-r--r-- | .cirrus.yml | 4 | ||||
-rwxr-xr-x | ci/test/00_setup_env_native_tsan.sh | 6 | ||||
-rw-r--r-- | test/sanitizer_suppressions/tsan | 3 |
3 files changed, 8 insertions, 5 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 68217b516f..7bc346cc30 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -228,10 +228,10 @@ task: FILE_ENV: "./ci/test/00_setup_env_native_qt5.sh" task: - name: '[TSan, depends] [bookworm]' + name: '[TSan, depends, gui] [jammy]' << : *GLOBAL_TASK_TEMPLATE container: - image: debian:bookworm + image: ubuntu:jammy cpu: 6 # Increase CPU and Memory to avoid timeout memory: 24G env: diff --git a/ci/test/00_setup_env_native_tsan.sh b/ci/test/00_setup_env_native_tsan.sh index 776a1d8f97..0e0a4b8f18 100755 --- a/ci/test/00_setup_env_native_tsan.sh +++ b/ci/test/00_setup_env_native_tsan.sh @@ -7,8 +7,8 @@ export LC_ALL=C.UTF-8 export CONTAINER_NAME=ci_native_tsan -export DOCKER_NAME_TAG=debian:bookworm # For clang-15 -export PACKAGES="clang-15 llvm-15 libc++abi-15-dev libc++-15-dev python3-zmq" -export DEP_OPTS="CC=clang-15 CXX='clang++-15 -stdlib=libc++' NO_QR=1" # qr disabled due to libqrencode 3.4.4 compile failure, https://github.com/bitcoin/bitcoin/pull/26768#issuecomment-1367403430 +export DOCKER_NAME_TAG=ubuntu:22.04 +export PACKAGES="clang-13 llvm-13 libc++abi-13-dev libc++-13-dev python3-zmq" +export DEP_OPTS="CC=clang-13 CXX='clang++-13 -stdlib=libc++'" export GOAL="install" export BITCOIN_CONFIG="--enable-zmq CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER -DDEBUG_LOCKCONTENTION' CXXFLAGS='-g' --with-sanitizers=thread" diff --git a/test/sanitizer_suppressions/tsan b/test/sanitizer_suppressions/tsan index 0e6a429f35..d331991273 100644 --- a/test/sanitizer_suppressions/tsan +++ b/test/sanitizer_suppressions/tsan @@ -35,5 +35,8 @@ race:libzmq # https://github.com/bitcoin/bitcoin/issues/20618 race:CZMQAbstractPublishNotifier::SendZmqMessage +# https://github.com/bitcoin/bitcoin/pull/20218, https://github.com/bitcoin/bitcoin/pull/20745 +race:epoll_ctl + # https://github.com/bitcoin/bitcoin/issues/23366 race:std::__1::ios_base::* |