Failure in rpc_getblockfrompeer.py #26412

issue fanquake opened this issue on October 28, 2022
  1. fanquake commented at 10:31 AM on October 28, 2022: member

    https://cirrus-ci.com/task/6199503433760768?logs=ci#L4414 https://cirrus-ci.com/task/5628523837652992?logs=ci#L4519

    hash=5005fd299f78e023c07fa4cce23642e5a689c535f8adbc379825b7604b928b64)]) 
     test  2022-10-28T10:04:36.776000Z TestFramework.p2p (DEBUG): Received message from 127.0.0.1:15393: msg_sendheaders() 
     test  2022-10-28T10:04:36.776000Z TestFramework (ERROR): Assertion failed 
                                       Traceback (most recent call last):
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/util.py", line 139, in try_rpc
                                           fun(*args, **kwds)
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/coverage.py", line 49, in __call__
                                           return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/authproxy.py", line 144, in __call__
                                           raise JSONRPCException(response['error'], status)
                                       test_framework.authproxy.JSONRPCException: Block header missing (-1)
                                       During handling of the above exception, another exception occurred:
                                       Traceback (most recent call last):
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/test_framework.py", line 133, in main
                                           self.run_test()
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/rpc_getblockfrompeer.py", line 112, in run_test
                                           assert_raises_rpc_error(-1, error_msg, self.nodes[1].getblockfrompeer, blockhash, node1_interface_id)
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/util.py", line 130, in assert_raises_rpc_error
                                           assert try_rpc(code, message, fun, *args, **kwds), "No exception raised"
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/util.py", line 147, in try_rpc
                                           message, e.error['message']))
                                       AssertionError: Expected substring not found in error message:
                                       substring: 'In prune mode, only blocks that the node has already synced previously can be fetched from a peer'
                                       error message: 'Block header missing'.
    
  2. fanquake added the label Bug on Oct 28, 2022
  3. fanquake added the label Tests on Oct 28, 2022
  4. mzumsande cross-referenced this on Oct 28, 2022 from issue test: fix intermittent failure in rpc_getblockfrompeer.py by mzumsande
  5. maflcko closed this on Oct 29, 2022

  6. sidhujag referenced this in commit f3a45432ee on Oct 30, 2022
  7. bitcoin locked this on Oct 29, 2023

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: 2026-05-19 06:53 UTC