Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to fix flaky basic sim test #6134

Merged
merged 1 commit into from
Jul 19, 2024
Merged

Conversation

jimmygchen
Copy link
Member

Issue Addressed

Fix target_peer config for basic_sim, so a node doesn't disconnected by peers because of TooManyPeers.

I think the test fails when enough nodes disconnect one of the nodes and messages from that node don't get propagated to the network correctly.

@jimmygchen jimmygchen added test improvement Improve tests ready-for-review The code is ready for review labels Jul 19, 2024
@jimmygchen
Copy link
Member Author

jimmygchen commented Jul 19, 2024

The test failed again, but I think the fix is still valid.

The target_peer issue was the reason this run failed: https://github.com/sigp/lighthouse/actions/runs/9986823946/job/27600016474

The current run is failing due to the new node (node_6) having a non-optimistic head block. Investigating.

UPDATE: the above is not correct actually, node_6 has no validators attached so it wouldn't contribute to sync message issues.

The error is

2024-07-19T02:32:12.8166404Z called `Result::unwrap()` on an `Err` value: "Sync aggregate at slot 17 was not full, got: 20, expected: 32"

so it looks like the sync contributions were not published for all signers, this is something we've experienced before and usually happens around fork boundaries.

@michaelsproul michaelsproul added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Jul 19, 2024
@michaelsproul
Copy link
Member

@mergify queue

Copy link

mergify bot commented Jul 19, 2024

queue

🛑 The pull request has been removed from the queue default

The queue conditions cannot be satisfied due to failing checks.

You can take a look at Queue: Embarked in merge queue check runs for more details.

In case of a failure due to a flaky test, you should first retrigger the CI.
Then, re-embark the pull request into the merge queue by posting the comment
@mergifyio refresh on the pull request.

@jimmygchen
Copy link
Member Author

@mergify requeue

Copy link

mergify bot commented Jul 19, 2024

requeue

✅ This pull request will be re-embarked automatically

The followup queue command will be automatically executed to re-embark the pull request

Copy link

mergify bot commented Jul 19, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 256f012

mergify bot added a commit that referenced this pull request Jul 19, 2024
@mergify mergify bot merged commit 256f012 into sigp:unstable Jul 19, 2024
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge This PR is ready to merge. test improvement Improve tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants