intermittent timeout in wallet_signer.py : sendall timed out #33015

issue fanquake openend this issue on July 19, 2025
  1. fanquake commented at 10:02 am on July 19, 2025: member

    https://cirrus-ci.com/task/6466141373071360?logs=ci#L1714:

     0[17:24:42.699]  node1 2025-07-18T21:24:35.153536Z [scheduler] [net.cpp:2387] [void CConnman::DumpAddresses()] [net] Flushed 0 addresses to peers.dat  0ms 
     1[17:24:42.699]  node0 2025-07-18T21:24:35.182594Z [scheduler] [net.cpp:2387] [void CConnman::DumpAddresses()] [net] Flushed 0 addresses to peers.dat  1ms 
     2[17:24:42.699]  test  2025-07-18T21:24:41.997879Z TestFramework (ERROR): Called Process failed with 'error: timeout on transient error: Could not connect to the server 127.0.0.1:21617 (error code 0 - "timeout reached") 
     3[17:24:42.699]                                    Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
     4[17:24:42.699]                                    Use "bitcoin-cli -help" for more info.
     5[17:24:42.699]                                    '
     6[17:24:42.699]                                    Traceback (most recent call last):
     7[17:24:42.699]                                      File "/ci_container_base/test/functional/test_framework/test_framework.py", line 195, in main
     8[17:24:42.699]                                        self.run_test()
     9[17:24:42.699]                                      File "/ci_container_base/ci/scratch/build-i686-pc-linux-gnu/test/functional/wallet_signer.py", line 58, in run_test
    10[17:24:42.699]                                        self.test_valid_signer()
    11[17:24:42.699]                                      File "/ci_container_base/ci/scratch/build-i686-pc-linux-gnu/test/functional/wallet_signer.py", line 212, in test_valid_signer
    12[17:24:42.699]                                        res = hww.sendall(recipients=[{dest:0.5}, hww.getrawchangeaddress()], add_to_wallet=False)
    13[17:24:42.699]                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    14[17:24:42.699]                                      File "/ci_container_base/test/functional/test_framework/test_node.py", line 873, in __call__
    15[17:24:42.699]                                        return self.cli.send_cli(self.command, *args, **kwargs)
    16[17:24:42.699]                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    17[17:24:42.699]                                      File "/ci_container_base/test/functional/test_framework/test_node.py", line 950, in send_cli
    18[17:24:42.699]                                        raise subprocess.CalledProcessError(returncode, p_args, output=cli_stderr)
    19[17:24:42.699]                                    subprocess.CalledProcessError: Command '['bitcoin', '-m', 'rpc', '-nonamed', '-datadir=/ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20250718_205643/wallet_signer_218/node1', '-rpcwallet=hww', '-named', 'sendall', 'recipients=[{"bcrt1qw74qtc8277thn0y0v8qd5xahn583utnftrn6f5": 0.5}, "bcrt1q9klcdx4zrgf7m95zhpwfm0lalk92a2rh3swq85"]', 'add_to_wallet=false']' returned non-zero exit status 1.
    20[17:24:42.699]  test  2025-07-18T21:24:42.002020Z TestFramework (DEBUG): Closing down network thread 
    
  2. Sjors commented at 7:35 am on July 21, 2025: member

    Same underlying issue as #32855 (comment)? Both send and sendall use the external signer method to send the PSBT over to the device (mock).

    The additional logging from #32928 may be helpful to narrow down where the stalling happens.

  3. maflcko added the label CI failed on Jul 21, 2025
  4. fanquake commented at 10:05 am on July 23, 2025: member

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: 2025-07-23 12:12 UTC

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