Skip to content

test: add test for getchaintips behavior with invalid chains

Cirrus CI / TSan, depends, gui failed Sep 16, 2024 in 6m 37s

Task Summary

Instruction ci failed in 06:23

Details

✅ 00:04 clone
✅ 00:01 merge_base
❌ 06:23 ci

Dependencies file "src/CMakeFiles/bitcoin_node.dir/node/psbt.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/node/timeoffsets.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/node/transaction.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/node/txreconciliation.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/node/utxo_snapshot.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/node/warnings.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/noui.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/policy/fees.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/policy/fees_args.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/policy/packages.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/policy/rbf.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/policy/settings.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/policy/truc_policy.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/pow.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/rest.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/rpc/blockchain.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/rpc/fees.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/rpc/mempool.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/rpc/mining.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/rpc/net.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/rpc/node.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/rpc/output_script.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/rpc/rawtransaction.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/rpc/server.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/rpc/server_util.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/rpc/signmessage.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/rpc/txoutproof.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/script/sigcache.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/signet.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/torcontrol.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/txdb.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/txmempool.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/txorphanage.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/txrequest.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/validation.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/validationinterface.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/versionbits.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Dependencies file "src/CMakeFiles/bitcoin_node.dir/wallet/init.cpp.o.d" is newer than depends file "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/CMakeFiles/bitcoin_node.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target bitcoin_node
gmake[2]: Leaving directory '/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu'
/usr/bin/gmake  -f src/CMakeFiles/bitcoin_node.dir/build.make src/CMakeFiles/bitcoin_node.dir/build
gmake[2]: Entering directory '/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu'
[ 27%] Building CXX object src/CMakeFiles/bitcoin_node.dir/validation.cpp.o
cd /ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src && /usr/bin/ccache /usr/bin/clang++-18 -stdlib=libc++ -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DENABLE_ZMQ=1 -DUSE_NATPMP=1 -DUSE_UPNP=1 -I/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src -I/ci_container_base/src -I/ci_container_base/src/leveldb/include -I/ci_container_base/src/minisketch/include -I/ci_container_base/src/univalue/include -isystem /ci_container_base/depends/x86_64-pc-linux-gnu/include -pipe -std=c++20 -O2 -O2 -g -std=c++20 -fPIC -fdebug-prefix-map=/ci_container_base=. -fmacro-prefix-map=/ci_container_base=. -Werror -fsanitize=thread -Wall -Wextra -Wgnu -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wloop-analysis -Wredundant-decls -Wunused-member-function -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wdocumentation -Wself-assign -Wundef -Wno-unused-parameter -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -MD -MT src/CMakeFiles/bitcoin_node.dir/validation.cpp.o -MF CMakeFiles/bitcoin_node.dir/validation.cpp.o.d -o CMakeFiles/bitcoin_node.dir/validation.cpp.o -c /ci_container_base/src/validation.cpp -DARENA_DEBUG -DDEBUG_LOCKORDER -DDEBUG_LOCKCONTENTION -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES 
/ci_container_base/src/validation.cpp:6420:5: error: cannot call function 'NotifyHeaderTip' while mutex 'cs_main' is held [-Werror,-Wthread-safety-analysis]
 6420 |     NotifyHeaderTip();
      |     ^
1 error generated.
gmake[2]: Leaving directory '/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu'
gmake[2]: *** [src/CMakeFiles/bitcoin_node.dir/build.make:1294: src/CMakeFiles/bitcoin_node.dir/validation.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:929: src/CMakeFiles/bitcoin_node.dir/all] Error 2
gmake[1]: Leaving directory '/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu'
gmake: *** [Makefile:146: all] Error 2


Exit status: 2