Repository navigation
ci(testnet): round_elapse_time 20 s, fail a run stuck in a bootstrap, bootstrap-livelock reproduction - #76
Merged
Merged
Conversation
… a bootstrap-livelock reproduction contracts-net-loss stalled at block 831 for over an hour (run 39866725719). Fable's analysis: a round slowed by the loss lasted more than round_elapse_time (10 s here), a bootstrap of the full 7-confidant table started, and it can never complete: each node sends its stage-1 hash as soon as it takes the table, a hash that reaches a node before that node took the table is dropped (same round number), the last node never gets 3 hashes, and the consensus's fallback for a silent node (about 12.5 s) is longer than the 10 s after which the table is sent again. Official behaviour, not caused by #70/#71; with mainnet's 60 s default the round ends after the fallback instead. - run.sh: ROUND_ELAPSE_MS (default 20000, was a fixed 10000) - a run fails if n1's last three round headers are bootstrap sub-rounds (a stall after the target used to pass: run 39846198921 ended stuck at R-1'192.1) - robustness: bootstrap-livelock (loss on n3 and n5, 10 s, target 3000) keeps the reproduction; it runs only when named in `only` (manual scenarios), until the node keeps those hashes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # docs/CHANGES.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
contracts-net-lossstalled at block 831 for over an hour (run 39866725719). Fable's analysis found an official stage-1 hash race in a bootstrap round:round_elapse_timeafter which the table is sent again, so the bootstrap never completes.This is not caused by #70 or #71. With mainnet's 60 s default the round does end, through the fallback, after at least 12.5 s.
Changes
run.sh: newROUND_ELAPSE_MS, default 20000 (it was a fixed 10000), so slow rounds are no longer pre-empted by a bootstrap.bootstrap-livelock: 15 % loss on n3 and n5, 10 s timer, target 3000. It is a manual scenario: it runs only when named inonly, until the node fix lands.The node fix (keeping the hashes of a same-round bootstrap) is consensus-relevant and will be a separate PR.
🤖 Generated with Claude Code