Intermittent issue in wallet_pruning.py #27065

issue maflcko openend this issue on February 9, 2023
  1. maflcko commented at 9:59 am on February 9, 2023: member
    0wget https://drahtbot.space/temp_scratch/wallet_pruning_258.tar.xz
    1tar -xvf ./wallet_pruning_258.tar.xz
    2test/functional/combine_logs.py -c ./wallet_pruning_258
    
     0 test  2023-02-08T07:00:29.787000Z TestFramework (ERROR): Assertion failed 
     1                                   Traceback (most recent call last):
     2                                     File "/root/bitcoin-core/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/test_framework.py", line 134, in main
     3                                       self.run_test()
     4                                     File "/root/bitcoin-core/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/wallet_pruning.py", line 127, in run_test
     5                                       self.mine_large_blocks(self.nodes[0], 50)
     6                                     File "/root/bitcoin-core/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/wallet_pruning.py", line 63, in mine_large_blocks
     7                                       self.sync_all()
     8                                     File "/root/bitcoin-core/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/test_framework.py", line 728, in sync_all
     9                                       self.sync_blocks(nodes)
    10                                     File "/root/bitcoin-core/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/test_framework.py", line 697, in sync_blocks
    11                                       assert (all([len(x.getpeerinfo()) for x in rpc_connections]))
    12                                   AssertionError
    
  2. maflcko added the label Bug on Feb 9, 2023
  3. maflcko added the label Tests on Feb 9, 2023
  4. maflcko commented at 10:24 am on February 9, 2023: member

    Looks like there is a timeout due to mocktime:

     0 test  2023-02-08T07:00:06.288000Z TestFramework (INFO): Initializing test directory /root/bitcoin-core/ci/scratch/test_runner/test_runner__🏃_20230208_070004/wallet_pruning_258 
     1[...]
     2 node0 2023-02-08T07:00:08.879142Z [httpworker.2] [validation.cpp:2586] [UpdateTipLog] UpdateTip: new best=4198d97f81c8f149dd154b45f0ebb0a1a1caa2e9634da87390040c4250d37166 height=229 version=0x30000000 log2_work=8.845490 tx=230 date='2023-02-08T07:00:46Z' progress=1.000000 cache=0.0MiB(229txo) 
     3[...]
     4 node0 2023-02-08T07:00:08.882662Z [msghand] [net_processing.cpp:5541] [SendMessages] [net] SendMessages: sending header 4198d97f81c8f149dd154b45f0ebb0a1a1caa2e9634da87390040c4250d37166 to peer=0
     5[...]
     6 node1 2023-02-08T07:00:09.283026Z [msghand] [net_processing.cpp:2672] [HeadersDirectFetchBlocks] [net] Large reorg, won't direct fetch to 4198d97f81c8f149dd154b45f0ebb0a1a1caa2e9634da87390040c4250d37166 (229) 
     7[...]
     8 node1 2023-02-08T07:00:10.375203Z [msghand] [net_processing.cpp:5807] [SendMessages] [net] Requesting block 4198d97f81c8f149dd154b45f0ebb0a1a1caa2e9634da87390040c4250d37166 (229) peer=0
     9[...]
    10 node0 2023-02-08T07:00:10.377206Z [msghand] [net_processing.cpp:3767] [ProcessMessage] [net] received getdata for: witness-block 4198d97f81c8f149dd154b45f0ebb0a1a1caa2e9634da87390040c4250d37166 peer=0
    11 node0 2023-02-08T07:00:10.377303Z [msghand] [net.cpp:2787] [PushMessage] [net] sending block (253 bytes) peer=0
    12[...]
    13 node1 2023-02-08T07:00:10.592529Z (mocktime: 2023-02-08T07:10:51Z) [msghand] [net_processing.cpp:5752] [SendMessages] Timeout downloading block 4198d97f81c8f149dd154b45f0ebb0a1a1caa2e9634da87390040c4250d37166 from peer=0, disconnecting 
    
  5. maflcko closed this on Feb 10, 2023

  6. fanquake referenced this in commit af49d86dd7 on Feb 14, 2023
  7. bitcoin locked this on Feb 10, 2024


maflcko

Labels
Bug Tests


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: 2024-06-29 10:13 UTC

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