https://github.com/hebasto/bitcoin-core-nightly/actions/runs/22472651613/job/65092911380
0226/457 - p2p_invalid_messages.py failed, Duration: 49 s
1
2stdout:
32026-02-27T05:08:56.634731Z TestFramework (INFO): PRNG seed is: 5797869944991691337
42026-02-27T05:08:56.636098Z TestFramework (INFO): Initializing test directory /home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/test_runner_₿_🏃_20260227_050213/p2p_invalid_messages_233
52026-02-27T05:08:57.195131Z TestFramework (INFO): Test message with header split across two buffers is received
62026-02-27T05:08:57.466935Z TestFramework (INFO): Test duplicate version message is ignored
72026-02-27T05:08:57.646521Z TestFramework (INFO): Test message with invalid magic bytes disconnects peer
82026-02-27T05:08:57.767976Z TestFramework (INFO): Test message with invalid checksum logs an error
92026-02-27T05:08:57.947981Z TestFramework (INFO): Test message with oversized payload disconnects peer
102026-02-27T05:08:58.102953Z TestFramework.p2p (WARNING): Connection lost to 127.0.0.1:13796 due to [Errno 32] Broken pipe
112026-02-27T05:08:58.109567Z TestFramework (INFO): Test message with invalid message type logs an error
122026-02-27T05:08:58.405594Z TestFramework (INFO): Test addrv2: empty
132026-02-27T05:08:58.585560Z TestFramework (INFO): Test addrv2: no addresses
142026-02-27T05:08:58.767099Z TestFramework (INFO): Test addrv2: too long address
152026-02-27T05:08:58.946655Z TestFramework (INFO): Test addrv2: unrecognized network
162026-02-27T05:08:59.008191Z TestFramework (INFO): Test inv message of size 50001 is logged as misbehaving
172026-02-27T05:09:01.148695Z TestFramework (INFO): Test getdata message of size 50001 is logged as misbehaving
182026-02-27T05:09:06.174765Z TestFramework (INFO): Test headers message of size 2001 is logged as misbehaving
192026-02-27T05:09:06.404428Z TestFramework (INFO): Test headers message with invalid proof-of-work is logged as misbehaving and disconnects peer
202026-02-27T05:09:06.798120Z TestFramework (INFO): Test headers message with non-continuous headers sequence is logged as misbehaving
212026-02-27T05:09:07.158954Z TestFramework (INFO): Test node stays up despite many large junk messages
222026-02-27T05:09:07.400454Z TestFramework (INFO): (a) Send 80 messages, each of maximum valid data size (4MB)
232026-02-27T05:09:16.495755Z TestFramework (INFO): (b) Check node still services peers in a timely way
242026-02-27T05:09:45.985524Z TestFramework.utils (ERROR): wait_until() failed. Predicate: ''''
25 def test_function():
26 if check_connected:
27 assert self.is_connected
28 return test_function_in()
29'''
302026-02-27T05:09:45.985753Z TestFramework (ERROR): Unexpected exception:
31Traceback (most recent call last):
32 File "/home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/test/functional/test_framework/test_framework.py", line 142, in main
33 self.run_test()
34 ~~~~~~~~~~~~~^^
35 File "/home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/build/test/functional/p2p_invalid_messages.py", line 79, in run_test
36 self.test_resource_exhaustion()
37 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
38 File "/home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/build/test/functional/p2p_invalid_messages.py", line 344, in test_resource_exhaustion
39 conn2.sync_with_ping(timeout=2)
40 ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
41 File "/home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/test/functional/test_framework/p2p.py", line 721, in sync_with_ping
42 self.wait_until(test_function, timeout=timeout)
43 ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44 File "/home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/test/functional/test_framework/p2p.py", line 606, in wait_until
45 wait_until_helper_internal(test_function, timeout=timeout, lock=p2p_lock, timeout_factor=self.timeout_factor, check_interval=check_interval)
46 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
47 File "/home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/test/functional/test_framework/util.py", line 436, in wait_until_helper_internal
48 raise AssertionError("Predicate {} not true after {} seconds".format(predicate_source, timeout))
49AssertionError: Predicate ''''
50 def test_function():
51 if check_connected:
52 assert self.is_connected
53 return test_function_in()
54''' not true after 16.0 seconds
552026-02-27T05:09:46.044897Z TestFramework (INFO): Not stopping nodes as test failed. The dangling processes will be cleaned up later.
562026-02-27T05:09:46.045151Z TestFramework (WARNING): Not cleaning up dir /home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/test_runner_₿_🏃_20260227_050213/p2p_invalid_messages_233
572026-02-27T05:09:46.045272Z TestFramework (ERROR): Test failed. Test logging available at /home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/test_runner_₿_🏃_20260227_050213/p2p_invalid_messages_233/test_framework.log
582026-02-27T05:09:46.045578Z TestFramework (ERROR):
592026-02-27T05:09:46.045796Z TestFramework (ERROR): Hint: Call /home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/test/functional/combine_logs.py '/home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/test_runner_₿_🏃_20260227_050213/p2p_invalid_messages_233' to consolidate all logs
602026-02-27T05:09:46.045918Z TestFramework (ERROR):
612026-02-27T05:09:46.046033Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
622026-02-27T05:09:46.046180Z TestFramework (ERROR): https://github.com/bitcoin/bitcoin/issues
632026-02-27T05:09:46.046254Z TestFramework (ERROR):
64
65
66stderr:
67[node 0] Cleaning up leftover process