Issue Details

Number
29897
Title
Windows Python: Intermittent issue in p2p_unrequested_blocks.py", line 98, in run_test test_node.send_and_ping(msg_block(blocks_h2[0])) assert self.is_connected AssertionError / AcceptBlock FAILED (time-too-old, block's timestamp is too early)
Description
https://github.com/bitcoin/bitcoin/actions/runs/8689751788/job/23828088498?pr=29877#step:27:584 ``` node0 2024-04-15T13:27:36.008782Z [D:\a\bitcoin\bitcoin\src\net_processing.cpp:4743] [ProcessMessage] [net] received block 20076ff9e9d9bace59d7621747b34dfb4af9b2f75ff499017397854f9fefb930 peer=0 node0 2024-04-15T13:27:36.008822Z [D:\a\bitcoin\bitcoin\src\validation.cpp:4145] [AcceptBlockHeader] [validation] AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 20076ff9e9d9bace59d7621747b34dfb4af9b2f75ff499017397854f9fefb930, time-too-old, block's timestamp is too early node0 2024-04-15T13:27:36.008857Z [D:\a\bitcoin\bitcoin\src\validationinterface.cpp:245] [BlockChecked] [validation] BlockChecked: block hash=20076ff9e9d9bace59d7621747b34dfb4af9b2f75ff499017397854f9fefb930 state=time-too-old, block's timestamp is too early node0 2024-04-15T13:27:36.008883Z [D:\a\bitcoin\bitcoin\src\net_processing.cpp:1827] [Misbehaving] [net] Misbehaving: peer=0 (0 -> 100) DISCOURAGE THRESHOLD EXCEEDED Error: 2024-04-15T13:27:36.008905Z [D:\a\bitcoin\bitcoin\src\validation.cpp:4396] [ProcessNewBlock] [error] ProcessNewBlock: AcceptBlock FAILED (time-too-old, block's timestamp is too early) node0 2024-04-15T13:27:36.008927Z [D:\a\bitcoin\bitcoin\src\net_processing.cpp:5067] [MaybeDiscourageAndDisconnect] [net] Warning: disconnecting but not discouraging local peer 0! node0 2024-04-15T13:27:36.009001Z [D:\a\bitcoin\bitcoin\src\net.cpp:541] [CloseSocketDisconnect] [net] disconnecting peer=0 node0 2024-04-15T13:27:36.009142Z [D:\a\bitcoin\bitcoin\src\net_processing.cpp:1708] [FinalizeNode] [net] Cleared nodestate for peer=0 test 2024-04-15T13:27:36.058000Z TestFramework (ERROR): Assertion failed Traceback (most recent call last): File "D:\a\bitcoin\bitcoin\test\functional\test_framework\test_framework.py", line 132, in main self.run_test() File "D:\a\bitcoin\bitcoin/test/functional/p2p_unrequested_blocks.py", line 98, in run_test test_node.send_and_ping(msg_block(blocks_h2[0])) File "D:\a\bitcoin\bitcoin\test\functional\test_framework\p2p.py", line 686, in send_and_ping self.sync_with_ping(timeout=timeout) File "D:\a\bitcoin\bitcoin\test\functional\test_framework\p2p.py", line 699, in sync_with_ping self.wait_until(test_function, timeout=timeout) File "D:\a\bitcoin\bitcoin\test\functional\test_framework\p2p.py", line 586, in wait_until wait_until_helper_internal(test_function, timeout=timeout, lock=p2p_lock, timeout_factor=self.timeout_factor) File "D:\a\bitcoin\bitcoin\test\functional\test_framework\util.py", line 279, in wait_until_helper_internal if predicate(): ^^^^^^^^^^^ File "D:\a\bitcoin\bitcoin\test\functional\test_framework\p2p.py", line 583, in test_function assert self.is_connected AssertionError
URL
https://github.com/bitcoin/bitcoin/issue/29897
Closed by
Back to List