https://github.com/hebasto/bitcoin-core-nightly/actions/runs/22472651613/job/65092911380
226/457 - p2p_invalid_messages.py failed, Duration: 49 s
stdout:
2026-02-27T05:08:56.634731Z TestFramework (INFO): PRNG seed is: 5797869944991691337
2026-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
2026-02-27T05:08:57.195131Z TestFramework (INFO): Test message with header split across two buffers is received
2026-02-27T05:08:57.466935Z TestFramework (INFO): Test duplicate version message is ignored
2026-02-27T05:08:57.646521Z TestFramework (INFO): Test message with invalid magic bytes disconnects peer
2026-02-27T05:08:57.767976Z TestFramework (INFO): Test message with invalid checksum logs an error
2026-02-27T05:08:57.947981Z TestFramework (INFO): Test message with oversized payload disconnects peer
2026-02-27T05:08:58.102953Z TestFramework.p2p (WARNING): Connection lost to 127.0.0.1:13796 due to [Errno 32] Broken pipe
2026-02-27T05:08:58.109567Z TestFramework (INFO): Test message with invalid message type logs an error
2026-02-27T05:08:58.405594Z TestFramework (INFO): Test addrv2: empty
2026-02-27T05:08:58.585560Z TestFramework (INFO): Test addrv2: no addresses
2026-02-27T05:08:58.767099Z TestFramework (INFO): Test addrv2: too long address
2026-02-27T05:08:58.946655Z TestFramework (INFO): Test addrv2: unrecognized network
2026-02-27T05:08:59.008191Z TestFramework (INFO): Test inv message of size 50001 is logged as misbehaving
2026-02-27T05:09:01.148695Z TestFramework (INFO): Test getdata message of size 50001 is logged as misbehaving
2026-02-27T05:09:06.174765Z TestFramework (INFO): Test headers message of size 2001 is logged as misbehaving
2026-02-27T05:09:06.404428Z TestFramework (INFO): Test headers message with invalid proof-of-work is logged as misbehaving and disconnects peer
2026-02-27T05:09:06.798120Z TestFramework (INFO): Test headers message with non-continuous headers sequence is logged as misbehaving
2026-02-27T05:09:07.158954Z TestFramework (INFO): Test node stays up despite many large junk messages
2026-02-27T05:09:07.400454Z TestFramework (INFO): (a) Send 80 messages, each of maximum valid data size (4MB)
2026-02-27T05:09:16.495755Z TestFramework (INFO): (b) Check node still services peers in a timely way
2026-02-27T05:09:45.985524Z TestFramework.utils (ERROR): wait_until() failed. Predicate: ''''
def test_function():
if check_connected:
assert self.is_connected
return test_function_in()
'''
2026-02-27T05:09:45.985753Z TestFramework (ERROR): Unexpected exception:
Traceback (most recent call last):
File "/home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/test/functional/test_framework/test_framework.py", line 142, in main
self.run_test()
~~~~~~~~~~~~~^^
File "/home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/build/test/functional/p2p_invalid_messages.py", line 79, in run_test
self.test_resource_exhaustion()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/build/test/functional/p2p_invalid_messages.py", line 344, in test_resource_exhaustion
conn2.sync_with_ping(timeout=2)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/test/functional/test_framework/p2p.py", line 721, in sync_with_ping
self.wait_until(test_function, timeout=timeout)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/test/functional/test_framework/p2p.py", line 606, in wait_until
wait_until_helper_internal(test_function, timeout=timeout, lock=p2p_lock, timeout_factor=self.timeout_factor, check_interval=check_interval)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/test/functional/test_framework/util.py", line 436, in wait_until_helper_internal
raise AssertionError("Predicate {} not true after {} seconds".format(predicate_source, timeout))
AssertionError: Predicate ''''
def test_function():
if check_connected:
assert self.is_connected
return test_function_in()
''' not true after 16.0 seconds
2026-02-27T05:09:46.044897Z TestFramework (INFO): Not stopping nodes as test failed. The dangling processes will be cleaned up later.
2026-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
2026-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
2026-02-27T05:09:46.045578Z TestFramework (ERROR):
2026-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
2026-02-27T05:09:46.045918Z TestFramework (ERROR):
2026-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.
2026-02-27T05:09:46.046180Z TestFramework (ERROR): https://github.com/bitcoin/bitcoin/issues
2026-02-27T05:09:46.046254Z TestFramework (ERROR):
stderr:
[node 0] Cleaning up leftover process