intermittent issue in mining_getblocktemplate_longpoll.py on Windows (ucrt?) line 48, in run_test assert thr.is_alive() AssertionError #34365

issue maflcko opened this issue on January 21, 2026
  1. maflcko commented at 11:43 AM on January 21, 2026: member

    https://github.com/bitcoin/bitcoin/actions/runs/20098915295/job/57665466725#step:13:1441:

    test  2025-12-10T12:59:26.888110Z TestFramework (INFO): Test that longpoll waits if we do nothing 
     node0 2025-12-10T12:59:26.889941Z [http] [httpserver.cpp:307] [void http_request_cb(evhttp_request*, void*)] [http] Received a POST request for / from 127.0.0.1:62763 
     node0 2025-12-10T12:59:26.889991Z [httpworker.1] [rpc/request.cpp:243] [void JSONRPCRequest::parse(const UniValue&)] [rpc] ThreadRPCServer method=getblocktemplate user=__cookie__ 
     node0 2025-12-10T12:59:26.891931Z [http] [httpserver.cpp:307] [void http_request_cb(evhttp_request*, void*)] [http] Received a POST request for / from 127.0.0.1:62777 
     node0 2025-12-10T12:59:26.891986Z [httpworker.0] [rpc/request.cpp:243] [void JSONRPCRequest::parse(const UniValue&)] [rpc] ThreadRPCServer method=getblocktemplate user=__cookie__ 
     node1 2025-12-10T13:00:10.571041Z [scheduler] [net.cpp:2438] [void CConnman::StartExtraBlockRelayPeers()] [net] enabling extra block-relay-only peers 
     node0 2025-12-10T13:00:10.571042Z [scheduler] [net.cpp:2438] [void CConnman::StartExtraBlockRelayPeers()] [net] enabling extra block-relay-only peers 
     node0 2025-12-10T13:01:25.759403Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending ping (8 bytes) peer=0 
     node1 2025-12-10T13:01:25.759596Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: ping (8 bytes) peer=0 
     node1 2025-12-10T13:01:25.759630Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending pong (8 bytes) peer=0 
     node1 2025-12-10T13:01:25.759804Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending ping (8 bytes) peer=0 
     node0 2025-12-10T13:01:25.759858Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: pong (8 bytes) peer=0 
     node0 2025-12-10T13:01:25.759918Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: ping (8 bytes) peer=0 
     node0 2025-12-10T13:01:25.759930Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending pong (8 bytes) peer=0 
     node1 2025-12-10T13:01:25.760024Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: pong (8 bytes) peer=0 
     node0 2025-12-10T13:03:25.855676Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending ping (8 bytes) peer=0 
     node1 2025-12-10T13:03:25.855784Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending ping (8 bytes) peer=0 
     node1 2025-12-10T13:03:25.855886Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: ping (8 bytes) peer=0 
     node0 2025-12-10T13:03:25.855928Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: ping (8 bytes) peer=0 
     node0 2025-12-10T13:03:25.855956Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending pong (8 bytes) peer=0 
     node1 2025-12-10T13:03:25.855965Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending pong (8 bytes) peer=0 
     node1 2025-12-10T13:03:25.856070Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: pong (8 bytes) peer=0 
     node0 2025-12-10T13:03:25.856081Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: pong (8 bytes) peer=0 
     node1 2025-12-10T13:05:25.868748Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending ping (8 bytes) peer=0 
     node0 2025-12-10T13:05:25.868933Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: ping (8 bytes) peer=0 
     node0 2025-12-10T13:05:25.868954Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending pong (8 bytes) peer=0 
     node0 2025-12-10T13:05:25.869002Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending ping (8 bytes) peer=0 
     node1 2025-12-10T13:05:25.869050Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: pong (8 bytes) peer=0 
     node1 2025-12-10T13:05:25.869078Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: ping (8 bytes) peer=0 
     node1 2025-12-10T13:05:25.869089Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending pong (8 bytes) peer=0 
     node0 2025-12-10T13:05:25.869183Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: pong (8 bytes) peer=0 
     node0 2025-12-10T13:07:25.900477Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending ping (8 bytes) peer=0 
     node1 2025-12-10T13:07:25.900477Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending ping (8 bytes) peer=0 
     node0 2025-12-10T13:07:25.900704Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: ping (8 bytes) peer=0 
     node1 2025-12-10T13:07:25.900711Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: ping (8 bytes) peer=0 
     node0 2025-12-10T13:07:25.900725Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending pong (8 bytes) peer=0 
     node1 2025-12-10T13:07:25.900734Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending pong (8 bytes) peer=0 
     node1 2025-12-10T13:07:25.900896Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: pong (8 bytes) peer=0 
     node0 2025-12-10T13:07:25.900907Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: pong (8 bytes) peer=0 
     node1 2025-12-10T13:09:25.903436Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending ping (8 bytes) peer=0 
     node0 2025-12-10T13:09:25.903443Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending ping (8 bytes) peer=0 
     node0 2025-12-10T13:09:25.903665Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: ping (8 bytes) peer=0 
     node1 2025-12-10T13:09:25.903671Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: ping (8 bytes) peer=0 
     node0 2025-12-10T13:09:25.903687Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending pong (8 bytes) peer=0 
     node1 2025-12-10T13:09:25.903705Z [msghand] [net.cpp:3902] [void CConnman::PushMessage(CNode*, CSerializedNetMsg&&)] [net] sending pong (8 bytes) peer=0 
     node0 2025-12-10T13:09:25.903838Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: pong (8 bytes) peer=0 
     node1 2025-12-10T13:09:25.903863Z [msghand] [net_processing.cpp:3433] [virtual void {anonymous}::PeerManagerImpl::ProcessMessage(CNode&, const std::string&, DataStream&, std::chrono::microseconds, const std::atomic<bool>&)] [net] received: pong (8 bytes) peer=0 
     test  2025-12-10T13:09:26.919928Z TestFramework (ERROR): Unexpected exception 
                                       Traceback (most recent call last):
                                         File "D:\a\bitcoin\bitcoin\test\functional\test_framework\test_framework.py", line 142, in main
                                           self.run_test()
                                           ~~~~~~~~~~~~~^^
                                         File "D:\a\bitcoin\bitcoin/test/functional/mining_getblocktemplate_longpoll.py", line 48, in run_test
                                           assert thr.is_alive()
                                                  ~~~~~~~~~~~~^^
                                       AssertionError
    

    I fail to see how this could happen, because the join has a 5 second timeout, but the test failed after the 600 seconds authproxy timeout.

    So this seems like an upstream Python bug.

  2. maflcko added the label Tests on Jan 21, 2026
  3. maflcko added the label CI failed on Jan 21, 2026
  4. maflcko commented at 11:44 AM on January 21, 2026: member

    So this seems like an upstream Python bug.

    Closing for now, but discussion can continue, if someone finds something.

  5. maflcko closed this on Jan 21, 2026

  6. maflcko added the label Windows on Jan 21, 2026
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-24 09:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me