Intermittent travis faliure in sendheaders.py #8122

issue laanwj opened this issue on May 30, 2016
  1. laanwj commented at 1:22 PM on May 30, 2016: member

    From: https://travis-ci.org/bitcoin/bitcoin/jobs/133890912

    sendheaders.py:
    Initializing test directory /tmp/testznw81v7u/9
    start_node: bitcoind started, waiting for RPC to come up
    start_node: RPC succesfully started
    start_node: bitcoind started, waiting for RPC to come up
    start_node: RPC succesfully started
    MiniNode: Connecting to Bitcoin Node IP # 127.0.0.1:11072
    MiniNode: Connecting to Bitcoin Node IP # 127.0.0.1:11072
    Part 1: headers don't start before sendheaders message...
    Part 1: success!
    Part 2: announce blocks with headers after sendheaders message...
    Part 2: success!
    Part 3: headers announcements can stop after large reorg, and resume after headers/inv from peer...
    Unexpected exception caught during testing: ConnectionRefusedError(111, 'Connection refused')
    Stopping nodes
    WARN: Unable to stop node: CannotSendRequest('Request-sent',)
    Not cleaning up dir /tmp/testznw81v7u/9
    Failed
    stderr:
     bitcoind: main.cpp:2812: void PruneBlockIndexCandidates(): Assertion `!setBlockIndexCandidates.empty()' failed.
      File "/home/travis/build/bitcoin/bitcoin/bitcoin-x86_64-unknown-linux-gnu/qa/rpc-tests/test_framework/test_framework.py", line 144, in main
        self.run_test()
      File "/home/travis/build/bitcoin/bitcoin/bitcoin-x86_64-unknown-linux-gnu/qa/rpc-tests/sendheaders.py", line 380, in run_test
        new_block_hashes = self.mine_reorg(length=8)
      File "/home/travis/build/bitcoin/bitcoin/bitcoin-x86_64-unknown-linux-gnu/qa/rpc-tests/sendheaders.py", line 240, in mine_reorg
        self.nodes[1].invalidateblock(hash_to_invalidate)
      File "/home/travis/build/bitcoin/bitcoin/bitcoin-x86_64-unknown-linux-gnu/qa/rpc-tests/test_framework/coverage.py", line 49, in __call__
        return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
      File "/home/travis/build/bitcoin/bitcoin/bitcoin-x86_64-unknown-linux-gnu/qa/rpc-tests/test_framework/authproxy.py", line 137, in __call__
        response = self._request('POST', self.__url.path, postdata)
      File "/home/travis/build/bitcoin/bitcoin/bitcoin-x86_64-unknown-linux-gnu/qa/rpc-tests/test_framework/authproxy.py", line 123, in _request
        self.__conn.request(method, path, postdata, headers)
      File "/usr/lib/python3.4/http/client.py", line 1065, in request
        self._send_request(method, url, body, headers)
      File "/usr/lib/python3.4/http/client.py", line 1103, in _send_request
        self.endheaders(body)
      File "/usr/lib/python3.4/http/client.py", line 1061, in endheaders
        self._send_output(message_body)
      File "/usr/lib/python3.4/http/client.py", line 906, in _send_output
        self.send(msg)
      File "/usr/lib/python3.4/http/client.py", line 841, in send
        self.connect()
      File "/usr/lib/python3.4/http/client.py", line 819, in connect
        self.timeout, self.source_address)
      File "/usr/lib/python3.4/socket.py", line 509, in create_connection
        raise err
      File "/usr/lib/python3.4/socket.py", line 500, in create_connection
        sock.connect(sa)
    Pass: False, Duration: 17 s
    

    The root cause seems to be:

     bitcoind: main.cpp:2812: void PruneBlockIndexCandidates(): Assertion `!setBlockIndexCandidates.empty()' failed.
    
  2. MarcoFalke commented at 1:28 PM on May 30, 2016: member

    Apparently a dupe of #8096

  3. laanwj commented at 1:37 PM on May 30, 2016: member

    Yes, indeed. Closing.

  4. laanwj closed this on May 30, 2016

  5. DrahtBot locked this on Sep 8, 2021
Contributors
Labels

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-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me