-
Notifications
You must be signed in to change notification settings - Fork 249
Open
Labels
Description
The error is that when we test_kill_primary_no_reqs it looks like it could be pulling the wrong txid, or one which is from a subsequently rolled back transaction.
https://github.com/microsoft/CCF/actions/runs/21722536850/job/62655953700?pr=7637
2026-02-05 18:37:16.517 | INFO | {rotation} reconfiguration:wait_for_reconfiguration_to_complete:60 - [3] GET /node/consensus
2026-02-05 18:37:16.517 | INFO | {rotation} reconfiguration:wait_for_reconfiguration_to_complete:60 - 200 {"details":{"acks":{"5ad3b48677fc70b1dc83fa14613acf115a711547a38b4731cc07ec00a380d94d":{"last_received_ms":0,"seqno":0},"e97a2e290a0c102d38ac8a7c8dbcd705a3ee1a9ad38e0d919bbb73c6d0925ec9":{"last_received_ms":0,"seqno":0}},"configs":[{"idx":39,"nodes":{"5ad3 + 522 chars
2026-02-05 18:37:16.528 | ERROR | {cft} infra.runner:log_exception:194 - Failure in cft: RuntimeError('Transaction ID 2.25 is marked invalid and will never be committed')
Traceback (most recent call last):
File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner
self.run()
└ <Thread(cft, started 131846826354368)>
File "/usr/lib/python3.12/threading.py", line 1012, in run
self._target(*self._args, **self._kwargs)
│ │ └ <Thread(cft, started 131846826354368)>
│ └ <Thread(cft, started 131846826354368)>
└ <Thread(cft, started 131846826354368)>
File "/__w/CCF/CCF/tests/nodes.py", line 255, in run
test_kill_primary_no_reqs(network, args)
│ │ └ Namespace(binary_dir='/__w/CCF/CCF/build', library_dir='/__w/CCF/CCF/build', debug_nodes=[], log_level='info', log_format_json=F...
│ └ <infra.network.Network object at 0x77e9fbc125a0>
└ <function test_kill_primary_no_reqs at 0x77e9fbc0c5e0>
File "/__w/CCF/CCF/tests/suite/test_requirements.py", line 22, in wrapper
return func(*args, **kwargs)
│ │ └ {}
│ └ (<infra.network.Network object at 0x77e9fbc125a0>, Namespace(binary_dir='/__w/CCF/CCF/build', library_dir='/__w/CCF/CCF/build', ...
└ <function test_kill_primary_no_reqs at 0x77e9fbc0c540>
File "/__w/CCF/CCF/tests/nodes.py", line 80, in test_kill_primary_no_reqs
c.wait_for_commit(r)
│ └ Response(status_code=200, body=b'{"current_service_create_txid":"2.1","current_view":3,"primary_id":"6287239d726797e436f23bdda21...
└ <infra.clients.CCFClient object at 0x77e9fd909400>
File "/__w/CCF/CCF/tests/infra/clients.py", line 1319, in wait_for_commit
infra.commit.wait_for_commit(self, response.seqno, response.view, timeout)
│ │ │ │ └ 3
│ │ │ └ Response(status_code=200, body=b'{"current_service_create_txid":"2.1","current_view":3,"primary_id":"6287239d726797e436f23bdda21...
│ │ └ Response(status_code=200, body=b'{"current_service_create_txid":"2.1","current_view":3,"primary_id":"6287239d726797e436f23bdda21...
│ └ <infra.clients.CCFClient object at 0x77e9fd909400>
└ <module 'infra' from '/__w/CCF/CCF/tests/infra/__init__.py'>
File "/__w/CCF/CCF/tests/infra/commit.py", line 52, in wait_for_commit
raise RuntimeError(
RuntimeError: Transaction ID 2.25 is marked invalid and will never be committed
2026-02-05 18:37:16.531 | INFO | {reconfiguration} infra.consortium:vote_using_majority:307 - [0] GET /node/tx?transaction_id=2.56
Reactions are currently unavailable