Skip to content

C.I: Assertion `!c->setBlockIndexCandidates.contains(pindex)' failed #34716

Closed

Description

@ismaelsadeeq
test  2026-03-02T22:12:11.026804Z TestFramework (ERROR): Unexpected exception: 
                                   Traceback (most recent call last):
                                     File "/home/admin/actions-runner/_work/_temp/test/functional/test_framework/test_framework.py", line 142, in main
                                       self.run_test()
                                     File "/home/admin/actions-runner/_work/_temp/build/test/functional/interface_zmq.py", line 131, in run_test
                                       self.test_multiple_interfaces()
                                     File "/home/admin/actions-runner/_work/_temp/build/test/functional/interface_zmq.py", line 563, in test_multiple_interfaces
                                       subscribers = self.setup_zmq_test([
                                                     ^^^^^^^^^^^^^^^^^^^^^
                                     File "/home/admin/actions-runner/_work/_temp/build/test/functional/interface_zmq.py", line 162, in setup_zmq_test
                                       test_block = ZMQTestSetupBlock(self, self.nodes[0])
                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                     File "/home/admin/actions-runner/_work/_temp/build/test/functional/interface_zmq.py", line 93, in __init__
                                       self.block_hash = test_framework.generate(node, 1, sync_fun=test_framework.no_op)[0]
                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                     File "/home/admin/actions-runner/_work/_temp/test/functional/test_framework/test_framework.py", line 650, in generate
                                       blocks = generator.generate(*args, called_by_framework=True, **kwargs)
                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                     File "/home/admin/actions-runner/_work/_temp/test/functional/test_framework/test_node.py", line 422, in generate
                                       return self.generatetoaddress(nblocks=nblocks, address=self.get_deterministic_priv_key().address, maxtries=maxtries, **kwargs)
                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                     File "/home/admin/actions-runner/_work/_temp/test/functional/test_framework/test_node.py", line 430, in generatetoaddress
                                       return self.__getattr__('generatetoaddress')(*args, **kwargs)
                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                     File "/home/admin/actions-runner/_work/_temp/test/functional/test_framework/coverage.py", line 50, in __call__
                                       return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                     File "/home/admin/actions-runner/_work/_temp/test/functional/test_framework/authproxy.py", line 133, in __call__
                                       response, status = self._request('POST', self.__url.path, postdata.encode('utf-8'))
                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                     File "/home/admin/actions-runner/_work/_temp/test/functional/test_framework/authproxy.py", line 107, in _request
                                       return self._get_response()
                                              ^^^^^^^^^^^^^^^^^^^^
                                     File "/home/admin/actions-runner/_work/_temp/test/functional/test_framework/authproxy.py", line 170, in _get_response
                                       http_response = self.__conn.getresponse()
                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^
                                     File "/usr/lib/python3.12/http/client.py", line 1448, in getresponse
                                       response.begin()
                                     File "/usr/lib/python3.12/http/client.py", line 336, in begin
                                       version, status, reason = self._read_status()
                                                                 ^^^^^^^^^^^^^^^^^^^
                                     File "/usr/lib/python3.12/http/client.py", line 305, in _read_status
                                       raise RemoteDisconnected("Remote end closed connection without"
                                   http.client.RemoteDisconnected: Remote end closed connection without response
 test  2026-03-02T22:12:11.027968Z TestFramework (DEBUG): Closing down network thread 
 test  2026-03-02T22:12:11.078183Z TestFramework (INFO): Not stopping nodes as test failed. The dangling processes will be cleaned up later. 
 test  2026-03-02T22:12:11.078252Z TestFramework (WARNING): Not cleaning up dir /home/admin/actions-runner/_work/_temp/ci/scratch/test_runner/test_runner_₿_🏃_20260302_220527/interface_zmq_211 
 test  2026-03-02T22:12:11.078283Z TestFramework (ERROR): Test failed. Test logging available at /home/admin/actions-runner/_work/_temp/ci/scratch/test_runner/test_runner_₿_🏃_20260302_220527/interface_zmq_211/test_framework.log 
 test  2026-03-02T22:12:11.078346Z TestFramework (ERROR): 
 test  2026-03-02T22:12:11.078438Z TestFramework (ERROR): Hint: Call /home/admin/actions-runner/_work/_temp/test/functional/combine_logs.py '/home/admin/actions-runner/_work/_temp/ci/scratch/test_runner/test_runner_₿_🏃_20260302_220527/interface_zmq_211' to consolidate all logs 
 test  2026-03-02T22:12:11.078468Z TestFramework (ERROR): 
 test  2026-03-02T22:12:11.078486Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log. 
 test  2026-03-02T22:12:11.078516Z TestFramework (ERROR): https://github.com/bitcoin/bitcoin/issues 
 test  2026-03-02T22:12:11.078534Z TestFramework (ERROR): 

 node0 stderr bitcoind: validation.cpp:5374: void ChainstateManager::CheckBlockIndex() const: Assertion `!c->setBlockIndexCandidates.contains(pindex)' failed. 

Noticed after a rebase of #33421 seems unrelated, opening here to track the issue
https://github.com/bitcoin/bitcoin/actions/runs/22597457812/job/65471032213?pr=33421

Activity

  1. changed the title [-]C.I: Assertion `!c->setBlockIndexCandidates.contains(pindex)' failed.[/-] [+]C.I: Assertion `!c->setBlockIndexCandidates.contains(pindex)' failed[/+] on Mar 2, 2026
  2. furszy commented on Mar 2, 2026

    @furszy
    Member

    dup of #34503?

  3. ismaelsadeeq commented on Mar 2, 2026

    @ismaelsadeeq
    MemberAuthor

    dup of #34503?

    Seems like it, I didn't know about that one, will close to consolidate tracking it there since it comes first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions