You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
coverage does not run on some pulls, sometimes? #143
I've access to some logs because of the mutation worker. I'm not super familiar to AWS, but I spent some minutes trying to find some logs about the PR 30214 and I found the following error:
[ 94%] Built target bitcoind
--
[ 94%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/peer_eviction.cpp.o
[ 94%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/poly1305.cpp.o
[ 94%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/pool.cpp.o
[ 94%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/prevector.cpp.o
[ 95%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/random.cpp.o
[ 95%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/readwriteblock.cpp.o
[ 95%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/rollingbloom.cpp.o
[ 95%] Built target bitcoin-node
[ 95%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/rpc_blockchain.cpp.o
[ 95%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/rpc_mempool.cpp.o
[ 96%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/sign_transaction.cpp.o
[ 96%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/streams_findbyte.cpp.o
[ 96%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/strencodings.cpp.o
[ 96%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/txgraph.cpp.o
[ 96%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/txorphanage.cpp.o
[ 97%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/util_time.cpp.o
[ 97%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/verify_script.cpp.o
[ 97%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/coin_selection.cpp.o
[ 97%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/wallet_balance.cpp.o
[ 97%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/wallet_create.cpp.o
[ 98%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/wallet_create_tx.cpp.o
[ 98%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/wallet_encrypt.cpp.o
[ 98%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/wallet_loading.cpp.o
[ 98%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/wallet_ismine.cpp.o
[ 98%] Building CXX object src/bench/CMakeFiles/bench_bitcoin.dir/wallet_migration.cpp.o
In file included from /usr/include/c++/13/cassert:44,
from /tmp/bitcoin/src/bench/wallet_encrypt.cpp:17:
/tmp/bitcoin/src/bench/wallet_encrypt.cpp: In function'void wallet::WalletEncrypt(ankerl::nanobench::Bench&, unsigned int, bool)':/tmp/bitcoin/src/bench/wallet_encrypt.cpp:46:13: error: invalid 'static_cast' from type 'std::reference_wrapper<wallet::DescriptorScriptPubKeyMan>' to type 'bool'46 \| assert(spk_manager);\| ^~~~~~gmake[2]: *** [src/bench/CMakeFiles/bench_bitcoin.dir/build.make:837: src/bench/CMakeFiles/bench_bitcoin.dir/wallet_encrypt.cpp.o] Error 1gmake[1]: *** [CMakeFiles/Makefile2:1416: src/bench/CMakeFiles/bench_bitcoin.dir/all] Error 2gmake: *** [Makefile:136: all] Error 2real 0m51.731suser 0m10.613ssys 0m3.928s
What we could improve is this "PENDING" stats because it looks like there is something still running when in fact there was an error and the run was interrupted.
/tmp/bitcoin/src/bench/wallet_encrypt.cpp:46:13: error: invalid 'static_cast' from type 'std::reference_wrapperwallet::DescriptorScriptPubKeyMan' to type 'bool'
The handle coverage lambda has been timing out so yesterday I upped the timeout. It's still failing but now not with a timeout (possibly out of memory?). Still investigating.
I'm currently working on switching the coverage to LLVM so it's a bit of a shame to put a lot of work into getting to the bottom of the large coverage files as they aren't very accurate anyway.
Activity
brunoerg commentedon Dec 10, 2025
I've access to some logs because of the mutation worker. I'm not super familiar to AWS, but I spent some minutes trying to find some logs about the PR 30214 and I found the following error:
brunoerg commentedon Dec 10, 2025
What we could improve is this "PENDING" stats because it looks like there is something still running when in fact there was an error and the run was interrupted.
maflcko commentedon Dec 10, 2025
Thats interesting, because the pull does not modify it: https://github.com/bitcoin/bitcoin/pull/30214/files
Currently I see:
So I guess this could be GH issue and the worker was compiling an ancient commit?
Is the commit listed in the logs?
brunoerg commentedon Dec 10, 2025
maflcko commentedon Dec 10, 2025
Hmm, that looks like a different pull request (https://github.com/bitcoin/bitcoin/pull/31774/commits), not 30214
l0rinc commentedon Dec 10, 2025
Yeah, it introduced
wallet_encrypt.cpp: https://github.com/bitcoin/bitcoin/pull/31774/files#diff-f6b2fe53fa73ed8c916afd69f0fdc5b3be12e9ded7d54dbf677db7389649aee9which has a corecheck page https://corecheck.dev/bitcoin/bitcoin/pulls/31774 (though all current
lost coveragepages seem off)brunoerg commentedon Dec 10, 2025
My bad, copied the wrong log. Let me see again.
l0rinc commentedon Dec 12, 2025
https://corecheck.dev/bitcoin/bitcoin/pulls/29415 is pending for 7 days
m3dwards commentedon Dec 16, 2025
The handle coverage lambda has been timing out so yesterday I upped the timeout. It's still failing but now not with a timeout (possibly out of memory?). Still investigating.
m3dwards commentedon Dec 16, 2025
Coverage json files are sometimes a lot larger than they used to be 28MB -> 62MB
m3dwards commentedon Dec 16, 2025
Bumped resources up on the lambda.
I'm currently working on switching the coverage to LLVM so it's a bit of a shame to put a lot of work into getting to the bottom of the large coverage files as they aren't very accurate anyway.
m3dwards commentedon Dec 17, 2025
Increased resources seems to have done the trick for now.
Closing