This should address the two issues that happened in https://github.com/bitcoin/bitcoin/actions/runs/12885576442/job/35924329657?pr=25832#step:6:7601:
- The combined log isn’t printed on a test failure.
- The timeout is too strict for the GHA virtual machines.
For reference, the output was:
0...
1149/315 - rpc_blockchain.py --v2transport passed, Duration: 10 s
2150/315 - p2p_addrfetch.py passed, Duration: 1 s
3151/315 - p2p_1p1c_network.py failed, Duration: 31 s
4
5stdout:
62025-01-21T12:05:49.465000Z TestFramework (INFO): PRNG seed is: 6581340712385622842
72025-01-21T12:05:49.466000Z TestFramework (INFO): Initializing test directory /tmp/test_runner_₿_🏃_20250121_120233/p2p_1p1c_network_207
82025-01-21T12:05:52.408000Z TestFramework (INFO): Fill mempools with large transactions to raise mempool minimum feerates
92025-01-21T12:05:52.408000Z TestFramework (INFO): Fill the mempool until eviction is triggered and the mempoolminfee rises
102025-01-21T12:05:59.692000Z TestFramework (INFO): Pre-send some transactions to nodes
112025-01-21T12:06:00.203000Z TestFramework (INFO): Submit full packages to node0
122025-01-21T12:06:00.220000Z TestFramework (INFO): Wait for mempools to sync
132025-01-21T12:06:20.384000Z TestFramework (ERROR): Assertion failed
14Traceback (most recent call last):
15 File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 135, in main
16 self.run_test()
17 File "/home/runner/work/bitcoin/bitcoin/build/test/functional/p2p_1p1c_network.py", line 153, in run_test
18 self.sync_mempools(timeout=20)
19 File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 803, in sync_mempools
20 raise AssertionError("Mempool sync timed out after {}s:{}".format(
21AssertionError: Mempool sync timed out after 20s:
22...