Repository navigation
Closed
Labels
Description
test 2026-03-03T22:51:58.890201Z TestFramework (INFO): Test that a node only announcing a maximally sized ancestor package is protected in orphanage
node0 2026-03-03T22:51:58.890389Z (mocktime: 2026-03-03T22:51:58Z) [http] [httpserver.cpp:233] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:55234
node0 2026-03-03T22:51:58.890417Z (mocktime: 2026-03-03T22:51:58Z) [http_pool_1] [rpc/request.cpp:243] [parse] [rpc] ThreadRPCServer method=setmocktime user=__cookie__
test 2026-03-03T22:51:58.890569Z TestFramework.p2p (DEBUG): Connecting to Bitcoin Node: 127.0.0.1:17072
test 2026-03-03T22:51:58.890817Z TestFramework.p2p (DEBUG): Connected: us=127.0.0.1:33598, them=127.0.0.1:17072
test 2026-03-03T22:51:58.890878Z TestFramework.p2p (DEBUG): Send message to 127.0.0.1:17072: msg_version(nVersion=70016 nServices=9 nTime=Tue Mar 3 22:51:58 2026 addrTo=CAddress(nServices=1 net=IPv4 addr=127.0.0.1 port=17072) addrFrom=CAddress(nServices=1 net=IPv4 addr=0.0.0.0 port=0) nNonce=0xEA24727D4F4696FA strSubVer=/python-p2p-tester:0.0.3/ nStartingHeight=-1 relay=1)
node0 2026-03-03T22:51:58.890995Z (mocktime: 2026-03-03T22:51:58Z) [net] [net.cpp:4007] [CNode] [net] Added connection peer=0
node0 2026-03-03T22:51:58.891008Z (mocktime: 2026-03-03T22:51:58Z) [net] [net.cpp:1859] [CreateNodeFromAcceptedSocket] [net] connection from 127.0.0.1:33598 accepted
node0 2026-03-03T22:51:58.892620Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3582] [ProcessMessage] [net] received: version (111 bytes) peer=0
node0 2026-03-03T22:51:58.892634Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending version (114 bytes) peer=0
node0 2026-03-03T22:51:58.892669Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:1595] [PushNodeVersion] [net] send version message: version=70016, blocks=392, txrelay=1, peer=0
test 2026-03-03T22:51:58.892724Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_version(nVersion=70016 nServices=1033 nTime=Tue Mar 3 22:51:58 2026 addrTo=CAddress(nServices=0 net=IPv4 addr=0.0.0.0 port=0) addrFrom=CAddress(nServices=1033 net=IPv4 addr=0.0.0.0 port=0) nNonce=0x498B76435251EC8B strSubVer=/Satoshi:30.99.0(testnode0)/ nStartingHeight=392 relay=1)
test 2026-03-03T22:51:58.892762Z TestFramework.p2p (DEBUG): Send message to 127.0.0.1:17072: msg_wtxidrelay()
test 2026-03-03T22:51:58.892788Z TestFramework.p2p (DEBUG): Send message to 127.0.0.1:17072: msg_verack()
test 2026-03-03T22:51:58.892808Z TestFramework.p2p (DEBUG): Send message to 127.0.0.1:17072: msg_getaddr()
node0 2026-03-03T22:51:58.892907Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3702] [ProcessMessage] [net] receive version message: /python-p2p-tester:0.0.3/: version 70016, blocks=-1, us=127.0.0.1:17072, txrelay=1, peer=0
node0 2026-03-03T22:51:58.892913Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending wtxidrelay (0 bytes) peer=0
node0 2026-03-03T22:51:58.892930Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending sendaddrv2 (0 bytes) peer=0
node0 2026-03-03T22:51:58.892938Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending verack (0 bytes) peer=0
node0 2026-03-03T22:51:58.892953Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3582] [ProcessMessage] [net] received: wtxidrelay (0 bytes) peer=0
test 2026-03-03T22:51:58.892955Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_wtxidrelay()
node0 2026-03-03T22:51:58.892960Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3582] [ProcessMessage] [net] received: verack (0 bytes) peer=0
node0 2026-03-03T22:51:58.892964Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3840] [ProcessMessage] [net] New inbound peer connected: transport: v1, version: 70016, blocks=-1 peer=0
node0 2026-03-03T22:51:58.892969Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending sendcmpct (9 bytes) peer=0
node0 2026-03-03T22:51:58.892980Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending ping (8 bytes) peer=0
test 2026-03-03T22:51:58.892984Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_sendaddrv2()
node0 2026-03-03T22:51:58.892996Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending getheaders (677 bytes) peer=0
node0 2026-03-03T22:51:58.893009Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:5811] [SendMessages] [net] initial getheaders (391) to peer=0 (startheight:-1)
test 2026-03-03T22:51:58.893020Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_verack()
node0 2026-03-03T22:51:58.893028Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending feefilter (8 bytes) peer=0
node0 2026-03-03T22:51:58.893040Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3582] [ProcessMessage] [net] received: getaddr (0 bytes) peer=0
test 2026-03-03T22:51:58.893045Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_sendcmpct(announce=False, version=2)
node0 2026-03-03T22:51:58.893055Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [addrman.cpp:849] [GetAddr_] [addrman] GetAddr returned 0 random addresses
test 2026-03-03T22:51:58.893068Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_ping(nonce=71b9ad04ba40f8b9)
test 2026-03-03T22:51:58.893099Z TestFramework.p2p (DEBUG): Send message to 127.0.0.1:17072: msg_pong(nonce=71b9ad04ba40f8b9)
test 2026-03-03T22:51:58.893159Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_getheaders(locator=CBlockLocator(vHave=[13705993228132680685223763945327125580837339541806090770116815358602318748773, 11727340760845682118618576601269183980774894787680550291695224997847647957770, 26307842216374656760223329681655590723396514799842013813140787576936654362856, 50342244765493930561562627136481045590259596117352945610113281251114441836271, 44947117409634111467788882056986533299179625924617060256916779026436865662608, 2970151775631955127983762288286456994881729748224164311050252... (msg truncated)
test 2026-03-03T22:51:58.893224Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_feefilter(feerate=00000064)
node0 2026-03-03T22:51:58.893328Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3582] [ProcessMessage] [net] received: pong (8 bytes) peer=0
test 2026-03-03T22:51:58.940735Z TestFramework.p2p (DEBUG): Send message to 127.0.0.1:17072: msg_ping(nonce=00000000)
test 2026-03-03T22:51:58.940787Z TestFramework.p2p (DEBUG): Send message to 127.0.0.1:17072: msg_ping(nonce=00000001)
node0 2026-03-03T22:51:58.940887Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3582] [ProcessMessage] [net] received: ping (8 bytes) peer=0
node0 2026-03-03T22:51:58.940896Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending pong (8 bytes) peer=0
node0 2026-03-03T22:51:58.940921Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3582] [ProcessMessage] [net] received: ping (8 bytes) peer=0
node0 2026-03-03T22:51:58.940924Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending pong (8 bytes) peer=0
test 2026-03-03T22:51:58.940941Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_pong(nonce=00000000)
test 2026-03-03T22:51:58.940982Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_pong(nonce=00000001)
node0 2026-03-03T22:51:58.991096Z (mocktime: 2026-03-03T22:51:58Z) [http] [httpserver.cpp:233] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:55234
node0 2026-03-03T22:51:58.991126Z (mocktime: 2026-03-03T22:51:58Z) [http_pool_0] [rpc/request.cpp:243] [parse] [rpc] ThreadRPCServer method=getpeerinfo user=__cookie__
test 2026-03-03T22:51:58.991457Z TestFramework.p2p (DEBUG): Connecting to Bitcoin Node: 127.0.0.1:17072
node0 2026-03-03T22:51:58.991671Z (mocktime: 2026-03-03T22:51:58Z) [net] [net.cpp:4007] [CNode] [net] Added connection peer=1
node0 2026-03-03T22:51:58.991688Z (mocktime: 2026-03-03T22:51:58Z) [net] [net.cpp:1859] [CreateNodeFromAcceptedSocket] [net] connection from 127.0.0.1:33612 accepted
test 2026-03-03T22:51:58.991714Z TestFramework.p2p (DEBUG): Connected: us=127.0.0.1:33612, them=127.0.0.1:17072
test 2026-03-03T22:51:58.991771Z TestFramework.p2p (DEBUG): Send message to 127.0.0.1:17072: msg_version(nVersion=70016 nServices=9 nTime=Tue Mar 3 22:51:58 2026 addrTo=CAddress(nServices=1 net=IPv4 addr=127.0.0.1 port=17072) addrFrom=CAddress(nServices=1 net=IPv4 addr=0.0.0.0 port=0) nNonce=0x08EEF70363B26843 strSubVer=/python-p2p-tester:0.0.3/ nStartingHeight=-1 relay=1)
node0 2026-03-03T22:51:58.991865Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3582] [ProcessMessage] [net] received: version (111 bytes) peer=1
node0 2026-03-03T22:51:58.991871Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending version (114 bytes) peer=1
node0 2026-03-03T22:51:58.991896Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:1595] [PushNodeVersion] [net] send version message: version=70016, blocks=392, txrelay=1, peer=1
test 2026-03-03T22:51:58.991926Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_version(nVersion=70016 nServices=1033 nTime=Tue Mar 3 22:51:58 2026 addrTo=CAddress(nServices=0 net=IPv4 addr=0.0.0.0 port=0) addrFrom=CAddress(nServices=1033 net=IPv4 addr=0.0.0.0 port=0) nNonce=0xEC9AA392BAE12591 strSubVer=/Satoshi:30.99.0(testnode0)/ nStartingHeight=392 relay=1)
test 2026-03-03T22:51:58.991959Z TestFramework.p2p (DEBUG): Send message to 127.0.0.1:17072: msg_wtxidrelay()
test 2026-03-03T22:51:58.991982Z TestFramework.p2p (DEBUG): Send message to 127.0.0.1:17072: msg_verack()
test 2026-03-03T22:51:58.992000Z TestFramework.p2p (DEBUG): Send message to 127.0.0.1:17072: msg_getaddr()
node0 2026-03-03T22:51:58.992215Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3702] [ProcessMessage] [net] receive version message: /python-p2p-tester:0.0.3/: version 70016, blocks=-1, us=127.0.0.1:17072, txrelay=1, peer=1
node0 2026-03-03T22:51:58.992219Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending wtxidrelay (0 bytes) peer=1
node0 2026-03-03T22:51:58.992235Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending sendaddrv2 (0 bytes) peer=1
node0 2026-03-03T22:51:58.992246Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending verack (0 bytes) peer=1
test 2026-03-03T22:51:58.992250Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_wtxidrelay()
test 2026-03-03T22:51:58.992284Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_sendaddrv2()
test 2026-03-03T22:51:58.992330Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_verack()
node0 2026-03-03T22:51:58.992344Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3582] [ProcessMessage] [net] received: wtxidrelay (0 bytes) peer=1
node0 2026-03-03T22:51:58.992355Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3582] [ProcessMessage] [net] received: verack (0 bytes) peer=1
node0 2026-03-03T22:51:58.992360Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3840] [ProcessMessage] [net] New inbound peer connected: transport: v1, version: 70016, blocks=-1 peer=1
node0 2026-03-03T22:51:58.992364Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending sendcmpct (9 bytes) peer=1
node0 2026-03-03T22:51:58.992381Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending ping (8 bytes) peer=1
node0 2026-03-03T22:51:58.992398Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending getheaders (677 bytes) peer=1
test 2026-03-03T22:51:58.992404Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_sendcmpct(announce=False, version=2)
node0 2026-03-03T22:51:58.992410Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:5811] [SendMessages] [net] initial getheaders (391) to peer=1 (startheight:-1)
node0 2026-03-03T22:51:58.992425Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending feefilter (8 bytes) peer=1
test 2026-03-03T22:51:58.992438Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_ping(nonce=fff24639a384ab48)
node0 2026-03-03T22:51:58.992444Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3582] [ProcessMessage] [net] received: getaddr (0 bytes) peer=1
test 2026-03-03T22:51:58.992461Z TestFramework.p2p (DEBUG): Send message to 127.0.0.1:17072: msg_pong(nonce=fff24639a384ab48)
test 2026-03-03T22:51:58.992497Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_getheaders(locator=CBlockLocator(vHave=[13705993228132680685223763945327125580837339541806090770116815358602318748773, 11727340760845682118618576601269183980774894787680550291695224997847647957770, 26307842216374656760223329681655590723396514799842013813140787576936654362856, 50342244765493930561562627136481045590259596117352945610113281251114441836271, 44947117409634111467788882056986533299179625924617060256916779026436865662608, 2970151775631955127983762288286456994881729748224164311050252... (msg truncated)
test 2026-03-03T22:51:58.992542Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_feefilter(feerate=00000064)
node0 2026-03-03T22:51:58.992552Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3582] [ProcessMessage] [net] received: pong (8 bytes) peer=1
test 2026-03-03T22:51:59.041621Z TestFramework.p2p (DEBUG): Send message to 127.0.0.1:17072: msg_ping(nonce=00000000)
test 2026-03-03T22:51:59.041660Z TestFramework.p2p (DEBUG): Send message to 127.0.0.1:17072: msg_ping(nonce=00000001)
node0 2026-03-03T22:51:59.041763Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3582] [ProcessMessage] [net] received: ping (8 bytes) peer=1
node0 2026-03-03T22:51:59.041771Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending pong (8 bytes) peer=1
node0 2026-03-03T22:51:59.041795Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net_processing.cpp:3582] [ProcessMessage] [net] received: ping (8 bytes) peer=1
node0 2026-03-03T22:51:59.041798Z (mocktime: 2026-03-03T22:51:58Z) [msghand] [net.cpp:4075] [PushMessage] [net] sending pong (8 bytes) peer=1
test 2026-03-03T22:51:59.041844Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_pong(nonce=00000000)
test 2026-03-03T22:51:59.041878Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:17072: msg_pong(nonce=00000001)
node0 2026-03-03T22:51:59.091863Z (mocktime: 2026-03-03T22:51:58Z) [http] [httpserver.cpp:233] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:55234
node0 2026-03-03T22:51:59.091902Z (mocktime: 2026-03-03T22:51:58Z) [http_pool_1] [rpc/request.cpp:243] [parse] [rpc] ThreadRPCServer method=getpeerinfo user=__cookie__
node0 2026-03-03T22:51:59.102711Z (mocktime: 2026-03-03T22:51:58Z) [http] [httpserver.cpp:233] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:55234
node0 2026-03-03T22:51:59.106027Z (mocktime: 2026-03-03T22:51:58Z) [http_pool_0] [rpc/request.cpp:243] [parse] [rpc] ThreadRPCServer method=testmempoolaccept user=__cookie__
node0 2026-03-03T22:51:59.108680Z (mocktime: 2026-03-03T22:51:58Z) [http_pool_0] [txmempool.cpp:441] [check] [mempool] Checking mempool with 0 transactions and 0 inputs
node0 2026-03-03T22:51:59.112384Z (mocktime: 2026-03-03T22:51:58Z) [http] [httpserver.cpp:233] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:55234
node0 2026-03-03T22:51:59.114954Z (mocktime: 2026-03-03T22:51:58Z) [http_pool_1] [rpc/request.cpp:243] [parse] [rpc] ThreadRPCServer method=testmempoolaccept user=__cookie__
node0 2026-03-03T22:51:59.117299Z (mocktime: 2026-03-03T22:51:58Z) [http_pool_1] [txmempool.cpp:441] [check] [mempool] Checking mempool with 0 transactions and 0 inputs
node0 2026-03-03T22:51:59.120913Z (mocktime: 2026-03-03T22:51:58Z) [http] [httpserver.cpp:233] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:55234
node0 2026-03-03T22:51:59.125679Z (mocktime: 2026-03-03T22:51:58Z) [http_pool_0] [rpc/request.cpp:243] [parse] [rpc] ThreadRPCServer method=testmempoolaccept user=__cookie__
node0 2026-03-03T22:51:59.128615Z (mocktime: 2026-03-03T22:51:58Z) [http_pool_0] [txmempool.cpp:441] [check] [mempool] Checking mempool with 0 transactions and 0 inputs
node0 2026-03-03T22:51:59.131937Z (mocktime: 2026-03-03T22:51:58Z) [http] [httpserver.cpp:233] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:55234
node0 2026-03-03T22:51:59.134743Z (mocktime: 2026-03-03T22:51:58Z) [http_pool_1] [rpc/request.cpp:243] [parse] [rpc] ThreadRPCServer method=testmempoolaccept user=__cookie__
node0 2026-03-03T22:51:59.137354Z (mocktime: 2026-03-03T22:51:58Z) [http_pool_1] [txmempool.cpp:441] [check] [mempool] Checking mempool with 0 transactions and 0 inputs
node0 2026-03-03T22:51:59.140897Z (mocktime: 2026-03-03T22:51:58Z) [http] [httpserver.cpp:233] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:55234
node0 2026-03-03T22:51:59.143408Z (mocktime: 2026-03-03T22:51:58Z) [http_pool_0] [rpc/request.cpp:243] [parse] [rpc] ThreadRPCServer method=testmempoolaccept user=__cookie__
node0 2026-03-03T22:51:59.145605Z (mocktime: 2026-03-03T22:51:58Z) [http_pool_0] [txmempool.cpp:441] [check] [mempool] Checking mempool with 0 transactions and 0 inputs
node0 2026-03-03T22:51:59.359745Z (mocktime: 2026-03-03T22:51:58Z) [http] [httpserver.cpp:233] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:55234
node0 2026-03-03T22:51:59.362353Z (mocktime: 2026-03-03T22:51:58Z) [http_pool_1] [rpc/request.cpp:243] [parse] [rpc] ThreadRPCServer method=testmempoolaccept user=__cookie__
node0 2026-03-03T22:51:59.364732Z (mocktime: 2026-03-03T22:51:58Z) [http_pool_1] [txmempool.cpp:441] [check] [mempool] Checking mempool with 0 transactions and 0 inputs
test 2026-03-03T22:52:29.396448Z TestFramework.node0 (DEBUG): TestNode.generate() dispatches `generate` call to `generatetoaddress`
test 2026-03-03T22:52:29.396645Z TestFramework (ERROR): Unexpected exception:
Traceback (most recent call last):
File "/home/admin/actions-runner/_work/bitcoin/bitcoin/test/functional/test_framework/authproxy.py", line 170, in _get_response
http_response = self.__conn.getresponse()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/http/client.py", line 1448, in getresponse
response.begin()
File "/usr/lib/python3.12/http/client.py", line 336, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/http/client.py", line 297, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/socket.py", line 707, in readinto
return self._sock.recv_into(b)
^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/admin/actions-runner/_work/bitcoin/bitcoin/ci_build/test/functional/p2p_orphan_handling.py", line 54, in wrapper
func(self)
File "/home/admin/actions-runner/_work/bitcoin/bitcoin/ci_build/test/functional/p2p_orphan_handling.py", line 633, in test_maximal_package_protected
testres = node.testmempoolaccept([large_orphan.serialize().hex()])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/actions-runner/_work/bitcoin/bitcoin/test/functional/test_framework/coverage.py", line 50, in __call__
return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/actions-runner/_work/bitcoin/bitcoin/test/functional/test_framework/authproxy.py", line 133, in __call__
response, status = self._request('POST', self.__url.path, postdata.encode('utf-8'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/actions-runner/_work/bitcoin/bitcoin/test/functional/test_framework/authproxy.py", line 107, in _request
return self._get_response()
^^^^^^^^^^^^^^^^^^^^
File "/home/admin/actions-runner/_work/bitcoin/bitcoin/test/functional/test_framework/authproxy.py", line 172, in _get_response
raise JSONRPCException({
test_framework.authproxy.JSONRPCException: {'code': -344, 'message': "'testmempoolaccept' RPC took longer than 30.000000 seconds. Consider using larger timeout for calls that take longer to return."} [http_status=None]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/admin/actions-runner/_work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 142, in main
self.run_test()
File "/home/admin/actions-runner/_work/bitcoin/bitcoin/ci_build/test/functional/p2p_orphan_handling.py", line 837, in run_test
self.test_maximal_package_protected()
File "/home/admin/actions-runner/_work/bitcoin/bitcoin/ci_build/test/functional/p2p_orphan_handling.py", line 57, in wrapper
self.generate(self.nodes[0], 1)
File "/home/admin/actions-runner/_work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 650, in generate
blocks = generator.generate(*args, called_by_framework=True, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/actions-runner/_work/bitcoin/bitcoin/test/functional/test_framework/test_node.py", line 422, in generate
return self.generatetoaddress(nblocks=nblocks, address=self.get_deterministic_priv_key().address, maxtries=maxtries, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/actions-runner/_work/bitcoin/bitcoin/test/functional/test_framework/test_node.py", line 430, in generatetoaddress
return self.__getattr__('generatetoaddress')(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/actions-runner/_work/bitcoin/bitcoin/test/functional/test_framework/coverage.py", line 50, in __call__
return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/actions-runner/_work/bitcoin/bitcoin/test/functional/test_framework/authproxy.py", line 133, in __call__
response, status = self._request('POST', self.__url.path, postdata.encode('utf-8'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/actions-runner/_work/bitcoin/bitcoin/test/functional/test_framework/authproxy.py", line 106, in _request
self.__conn.request(method, path, postdata, headers)
File "/usr/lib/python3.12/http/client.py", line 1356, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.12/http/client.py", line 1367, in _send_request
self.putrequest(method, url, **skips)
File "/usr/lib/python3.12/http/client.py", line 1193, in putrequest
raise CannotSendRequest(self.__state)
http.client.CannotSendRequest: Request-sent
Activity
ismaelsadeeq commentedon Mar 5, 2026
Happened recently see https://github.com/bitcoin/bitcoin/actions/runs/22716224963/job/65866537658?pr=34617
stratospher commentedon Mar 6, 2026
also in https://github.com/bitcoin/bitcoin/actions/runs/22751228437/job/65985993357?pr=34750
fanquake commentedon Mar 11, 2026
Seen again here: https://github.com/bitcoin/bitcoin/actions/runs/22955430240/job/66630763701#step:16:15428.
maflcko commentedon Mar 11, 2026
Not sure why no one reproduced this locally. I wonder if it only happens on 7950X3D
Merge #34813: threads: qa: Add lock order annotation for `TxMempool::cs`
maflcko commentedon Mar 13, 2026
Not sure if related, but this also times out: https://github.com/bitcoin/bitcoin/actions/runs/23050295012/job/66949535882?pr=34791#step:16:826: But it is a different OS, different test, and different RPC:
maflcko commentedon Mar 13, 2026
Not sure what to do here. It is possible to reproduce, see #34726
However, even with added logging, I don't see how it could happen. The latest log excerpt is:
So it seems 4 testmempoolaccept RPC calls are handles just fine. However, the 5th times out, without even starting? Also, the RPC to generate a block in the
finally:block seems to time out.It is also odd that no one reproduced this locally...
maflcko commentedon Mar 17, 2026
The GDB bt looks nominal to me ...
https://github.com/bitcoin/bitcoin/actions/runs/23149326021/job/67246396774?pr=34726#step:9:25921
mzumsande commentedon Mar 18, 2026
Does anyone have a theory about the root cause? I guess a deadlock inside bitcoind is rather unlikely given the backtrace, so maybe something inside libevent? Possibly somehow related to one of the threadpool PRs - not necessarily a bug, but something that could have changed timing slightly and triggered this?
rkrux commentedon Mar 18, 2026
Yeah, a deadlock seems unlikely as per the backtrace. The HTTP worker threads are waiting on the condition variable, they are idle and waiting for work. In #34847, I am testing if sending these 60 large testmempoolaccept RPC requests (780KB each, 46MB total) while not reusing the HTTP connection helps.
rkrux commentedon Mar 18, 2026
As per this comment, the request that times out is never actually received to be processed by the server as there are no logs for it. Seems like the request is getting dropped somewhere, while the test client believes it was sent completely and hence waits for the response.
maflcko commentedon Mar 18, 2026
Looks like this does not reproduce when changing from ubuntu:24.04 container to 26.04.
So maybe I'll propose 9cb277d7dbed11f4217b3b75796f5baddaf7e014 as a "fix" for this and then just move on? It feels wrong, but it also feels wrong to debug this remotely on a CI machine.
fanquake commentedon Mar 18, 2026
https://github.com/bitcoin/bitcoin/actions/runs/23197027437/job/67408246395?pr=34800#step:9:29007
52 remaining items
maflcko commentedon Apr 7, 2026
Yes, I tried to check failing ones before the passing ones, because a failure is faster than a pass.
No, I manually typed
git bisect god/badeach time.Yeah, maybe 5 runs or so.
If you want, you can reproduce yourself. IIRC, I spun up a fresh ccx33 hetzner box and then just ran my script. You may also be able to reproduce by picking an AMD virtual CPU on the cloud provider of you choice, but I haven't tried any other cloud myself.
maflcko commentedon Apr 7, 2026
Just for reference, it happens even in rpc_misc.py.
details
https://github.com/bitcoin/bitcoin/actions/runs/24041311234/job/70113522108?pr=34905#step:9:7178
rkrux commentedon Apr 10, 2026
bitcoin/test/functional/rpc_misc.py
Lines 49 to 52 in 58dccd2
Interesting - it, too, sends a large body request where it times out while sending.
It's clear that it:
maflcko commentedon Apr 10, 2026
Not sure this is true. It happens in #34927 in the other CI tasks as well.
I think there are some interesting open questions:
Though, I'd say the issue is libevent-related, and it is unclear if it is a libevent feature (e.g. DoS protection), or a libevent bug. However, given that we'll replace libevent soon, I wonder how much value there is in fixing/debugging this. I am still curious about the answers to the questions, but I am probably not going to look into them myself.
rkrux commentedon Apr 10, 2026
Are you referring to this No wallet job run?
I had noticed it earlier but the job was cancelled after 120 minutes as per the CI timeout. Since this particular error is not present in the logs, can we be sure that it ever timed out?
I had not thought along these two lines, will think it over.
It could have been the case the job passed using the different Python build by accident? Like I have seen in my runs few times.
I wanted to confirm this earlier by testing 125 commits over the squashed diff of PR #32061, but I didn't find enough time to resolve the conflicts myself, so was waiting for the author to do so.
maflcko commentedon Apr 10, 2026
Yes, it is just a different timeout-factor. I think you may be able to see the log if you reduce the timeout factor enough that it fails before the VM is turned off.
l0rinc commentedon Apr 20, 2026
Another one at https://github.com/bitcoin/bitcoin/actions/runs/24669078228/job/72135341107?pr=34440
fanquake commentedon Apr 30, 2026
https://github.com/bitcoin/bitcoin/actions/runs/25133252861/job/73664888115?pr=34547#step:9:22617
maflcko commentedon May 12, 2026
So on April 1st (#34731 (comment)) I was able to reliably reproduce this on an ccx33 hetzner box running Fedora 43. But today, no longer...
andrewtoth commentedon Jun 3, 2026
https://github.com/bitcoin/bitcoin/actions/runs/26856812078/job/79201421466?pr=35295
l0rinc commentedon Jun 9, 2026
https://github.com/bitcoin/bitcoin/actions/runs/27200231660/job/80302108694?pr=32554#step:9:16663
maflcko commentedon Jun 26, 2026
Closing after libevent removal. Let's open a new issue, with new details and reproducers, if this happens again.
maflcko commentedon Jun 27, 2026
From IRC:
I tried to cause the test to fail by reverting the claimed fix:
However, the test passed.
pinheadmz commentedon Jun 27, 2026
#35614