Skip to content

Conversation

twittner
Copy link
Contributor

@twittner twittner commented Sep 30, 2025

This test is redundant since PR #502 was merged and is often failing on CI. The reason for its failure is a race condition: sometimes not all nodes finish the resharing because of all the DKG requests they send, less than t + 1 are answered because peers are themselves in an incomplete DKG state or they are not in a running state. In any case they are not replying. The test is then ultimately hanging and timing out because it attempts to subsequently collect the inclusion list from all decrypters and some can not provide it.

The test would need to be fixed by allowing enough time for the decrypters of committee 1 to have their local DKG state ready before the members of committee 2 send their DKG requests. For production it is assumed that between scheduling the next committee and activating it, sufficient time is given.

Rather than fixing the test this PR removes it because -- as mentioned above -- it is redundant with another test.

Log excerpt from a failed test run

Node hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh receives only 1 DKG response

The committee consists of 5 members, so at least 2 responses are required, however every other node is either not in a running state or has an unfinished local DKG state.

2025-09-29T16:07:07.402479Z DEBUG timeboost_sequencer::decrypt: use committee node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh round=43@2
2025-09-29T16:07:07.414734Z DEBUG timeboost_sequencer::decrypt: enqueuing inclusion list node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh round=43 is_encrypted=true
2025-09-29T16:07:07.416425Z  INFO timeboost_sequencer::decrypt: use committee node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh round=43@2
2025-09-29T16:07:07.416443Z TRACE timeboost_sequencer::decrypt: requested DKG subset from current node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh round=43@2
2025-09-29T16:07:07.416455Z TRACE timeboost_sequencer::decrypt: received decrypt request node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh round=43
2025-09-29T16:07:07.911553Z TRACE timeboost_sequencer::decrypt: inbound message node=eiwaGN1NNaQdbnR9FsjKzUeLghQZsTLPjiL4RcQgfLoX from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh buf=2
2025-09-29T16:07:07.911584Z TRACE timeboost_sequencer::decrypt: received dkg request node=eiwaGN1NNaQdbnR9FsjKzUeLghQZsTLPjiL4RcQgfLoX from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:07.911594Z TRACE timeboost_sequencer::decrypt: local dkg incomplete node=eiwaGN1NNaQdbnR9FsjKzUeLghQZsTLPjiL4RcQgfLoX from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:07.913869Z TRACE timeboost_sequencer::decrypt: inbound message node=264jMLf85hfufg4ck97Hw2jiL6i1PHNoGUqxUqfhtssaE from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh buf=2
2025-09-29T16:07:07.913889Z TRACE timeboost_sequencer::decrypt: received dkg request node=264jMLf85hfufg4ck97Hw2jiL6i1PHNoGUqxUqfhtssaE from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:07.913897Z TRACE timeboost_sequencer::decrypt: local dkg incomplete node=264jMLf85hfufg4ck97Hw2jiL6i1PHNoGUqxUqfhtssaE from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:07.929523Z TRACE timeboost_sequencer::decrypt: inbound message node=vGKKAxVNfkSCdn8qh36nXdSZqyhPq644sQBoeZtcEUCR from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh buf=2
2025-09-29T16:07:07.929544Z TRACE timeboost_sequencer::decrypt: received dkg request node=vGKKAxVNfkSCdn8qh36nXdSZqyhPq644sQBoeZtcEUCR from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:07.929552Z TRACE timeboost_sequencer::decrypt: local dkg incomplete node=vGKKAxVNfkSCdn8qh36nXdSZqyhPq644sQBoeZtcEUCR from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:08.172512Z TRACE timeboost_sequencer::decrypt: inbound message node=tV66KknkDH47hRSNzwJtt7Q7EZtxVxQsNnUGoAJdDn6J from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh buf=2
2025-09-29T16:07:08.172532Z TRACE timeboost_sequencer::decrypt: received dkg request node=tV66KknkDH47hRSNzwJtt7Q7EZtxVxQsNnUGoAJdDn6J from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:08.172540Z TRACE timeboost_sequencer::decrypt: local dkg incomplete node=tV66KknkDH47hRSNzwJtt7Q7EZtxVxQsNnUGoAJdDn6J from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:08.249198Z TRACE timeboost_sequencer::decrypt: inbound message node=28NkSnRnefwgwoP5Xj1Xo21bAHpVQcYEYouTNyjyjH5V3 from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh buf=2
2025-09-29T16:07:08.249222Z TRACE timeboost_sequencer::decrypt: received dkg request node=28NkSnRnefwgwoP5Xj1Xo21bAHpVQcYEYouTNyjyjH5V3 from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:08.249335Z TRACE timeboost_sequencer::decrypt: inbound message node=fkTFXcMaEEzutGCreYpDb1B2h8hNMf6UMNRbt8dnhi2v from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh buf=2
2025-09-29T16:07:08.249346Z TRACE timeboost_sequencer::decrypt: received dkg request node=fkTFXcMaEEzutGCreYpDb1B2h8hNMf6UMNRbt8dnhi2v from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:08.249477Z TRACE timeboost_sequencer::decrypt: inbound message node=24hzR236zciuEFgtq7n2uHhoJBYkHDtd2s8LCCURLRfvU from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh buf=2
2025-09-29T16:07:08.249489Z TRACE timeboost_sequencer::decrypt: received dkg request node=24hzR236zciuEFgtq7n2uHhoJBYkHDtd2s8LCCURLRfvU from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:08.249601Z TRACE timeboost_sequencer::decrypt: inbound message node=ufyeJDrHnH7BuuBvwaonu86YYZKYW47VedCdZ2yqAanm from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh buf=2
2025-09-29T16:07:08.249611Z TRACE timeboost_sequencer::decrypt: received dkg request node=ufyeJDrHnH7BuuBvwaonu86YYZKYW47VedCdZ2yqAanm from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:08.249723Z TRACE timeboost_sequencer::decrypt: inbound message node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=ufyeJDrHnH7BuuBvwaonu86YYZKYW47VedCdZ2yqAanm buf=2
2025-09-29T16:07:08.249735Z TRACE timeboost_sequencer::decrypt: received dkg request node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=ufyeJDrHnH7BuuBvwaonu86YYZKYW47VedCdZ2yqAanm committee_id=2
2025-09-29T16:07:08.249748Z TRACE timeboost_sequencer::decrypt: not in a running state node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:08.249754Z TRACE timeboost_sequencer::decrypt: inbound message node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=24hzR236zciuEFgtq7n2uHhoJBYkHDtd2s8LCCURLRfvU buf=2
2025-09-29T16:07:08.249766Z TRACE timeboost_sequencer::decrypt: received dkg request node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=24hzR236zciuEFgtq7n2uHhoJBYkHDtd2s8LCCURLRfvU committee_id=2
2025-09-29T16:07:08.249779Z TRACE timeboost_sequencer::decrypt: not in a running state node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:08.249784Z TRACE timeboost_sequencer::decrypt: inbound message node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=fkTFXcMaEEzutGCreYpDb1B2h8hNMf6UMNRbt8dnhi2v buf=2
2025-09-29T16:07:08.249796Z TRACE timeboost_sequencer::decrypt: received dkg request node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=fkTFXcMaEEzutGCreYpDb1B2h8hNMf6UMNRbt8dnhi2v committee_id=2
2025-09-29T16:07:08.249810Z TRACE timeboost_sequencer::decrypt: not in a running state node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:08.249815Z TRACE timeboost_sequencer::decrypt: inbound message node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=28NkSnRnefwgwoP5Xj1Xo21bAHpVQcYEYouTNyjyjH5V3 buf=2
2025-09-29T16:07:08.249826Z TRACE timeboost_sequencer::decrypt: received dkg request node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=28NkSnRnefwgwoP5Xj1Xo21bAHpVQcYEYouTNyjyjH5V3 committee_id=2
2025-09-29T16:07:08.249840Z TRACE timeboost_sequencer::decrypt: not in a running state node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:08.448509Z TRACE timeboost_sequencer::decrypt: inbound message node=v6UBdLT5BvMhLW7iKv7M2xYeaW2SCAsnZ5PiSg6AaKfA from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh buf=2
2025-09-29T16:07:08.448526Z TRACE timeboost_sequencer::decrypt: received dkg request node=v6UBdLT5BvMhLW7iKv7M2xYeaW2SCAsnZ5PiSg6AaKfA from=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh committee_id=2
2025-09-29T16:07:08.463561Z TRACE timeboost_sequencer::decrypt: inbound message node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=v6UBdLT5BvMhLW7iKv7M2xYeaW2SCAsnZ5PiSg6AaKfA buf=38139
2025-09-29T16:07:08.544537Z TRACE timeboost_sequencer::decrypt: received dkg response node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=v6UBdLT5BvMhLW7iKv7M2xYeaW2SCAsnZ5PiSg6AaKfA committee=2
2025-09-29T16:07:08.818860Z TRACE timeboost_sequencer::decrypt: inbound message node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=ufyeJDrHnH7BuuBvwaonu86YYZKYW47VedCdZ2yqAanm buf=788
2025-09-29T16:07:08.819214Z TRACE timeboost_sequencer::decrypt: received batch message node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=ufyeJDrHnH7BuuBvwaonu86YYZKYW47VedCdZ2yqAanm round=43@2
2025-09-29T16:07:08.834439Z TRACE timeboost_sequencer::decrypt: inbound message node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=24hzR236zciuEFgtq7n2uHhoJBYkHDtd2s8LCCURLRfvU buf=788
2025-09-29T16:07:08.834750Z TRACE timeboost_sequencer::decrypt: received batch message node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=24hzR236zciuEFgtq7n2uHhoJBYkHDtd2s8LCCURLRfvU round=43@2
2025-09-29T16:07:08.836212Z TRACE timeboost_sequencer::decrypt: inbound message node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=fkTFXcMaEEzutGCreYpDb1B2h8hNMf6UMNRbt8dnhi2v buf=788
2025-09-29T16:07:08.836582Z TRACE timeboost_sequencer::decrypt: received batch message node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=fkTFXcMaEEzutGCreYpDb1B2h8hNMf6UMNRbt8dnhi2v round=43@2
2025-09-29T16:07:08.842125Z TRACE timeboost_sequencer::decrypt: inbound message node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=28NkSnRnefwgwoP5Xj1Xo21bAHpVQcYEYouTNyjyjH5V3 buf=788
2025-09-29T16:07:08.842501Z TRACE timeboost_sequencer::decrypt: received batch message node=hcUWjmK8pTz5AY39CDh1gVnVbaF4nNuEf2dQ5SWXZQyh from=28NkSnRnefwgwoP5Xj1Xo21bAHpVQcYEYouTNyjyjH5V3 round=43@2

CC: @akonring, @alxiong

This test is redundant since [PR #502][1] was merged and is often
failing on CI. The reason for its failure is a race condition: sometimes
not all nodes finish the resharing because of all the DKG requests they
send, less than t + 1 are answered because peers are themselves in an
incomplete DKG state or they are not in a running state. In any case they
are not replying. The test is then ultimately hanging and timing out
because it attempts to subsequently collect the inclusion list from all
decrypters and some can not provideit.

The test would need to be fixed by allowing enough time for the
decrypters of committee 1 to have their local DKG state ready before
the members of committee 2 send their DKG requests. For production it is
assumed that between scheduling the next committee and activating it,
sufficient time is given.

Rather than fixing the test this PR removes it because -- as mentioned
above -- it is redundant with another test.

[1]: #502
Copy link
Contributor

@alxiong alxiong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree

@twittner twittner merged commit 5811ea5 into main Sep 30, 2025
9 checks passed
@twittner twittner deleted the tw/rm-test branch September 30, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants