-
Notifications
You must be signed in to change notification settings - Fork 683
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
Fix flaky zombienet test zombienet-substrate-0002-validators-warp-sync
#5974
Comments
I see this test internally is using polkadot-sdk/substrate/zombienet/0001-basic-warp-sync/test-warp-sync.zndsl Lines 17 to 19 in 6c2b46f
And it seems that this number is not being synced fast enough:
From a quick glance it looks like beefy sync issue? |
Thanks for pointing this @michalkucharczyk, I think this is a bug. I will fix it and re-check this test. Thanks for the help! |
Hi @michalkucharczyk, I double check and the lines you mention are from other test (0001). This issue is for 0002 and is set to check that metric polkadot-sdk/substrate/zombienet/0002-validators-warp-sync/test-validators-warp-sync.zndsl Lines 34 to 38 in 6c2b46f
Thanks! |
Oh, sorry. So it looks like 180s is not enough for beefy to sync the best block. |
I don't think it's a regression, but I would have to look more closely. I'll look on it these days. |
Disable flaky tests reported in: paritytech#5972 paritytech#5973 paritytech#5974
Disable flaky tests reported in: paritytech#5972 paritytech#5973 paritytech#5974
In the In the worst case scenario, after voting, the validator doesn't immediately become aware of the BEEFY round finalization. It has to wait until the next block finality notification. This means 6s for each BEEFY mandatory round to end. For example:
Bob:
So sometimes, Alice and Bob don't reach |
Opened #6154 for fixing the issue |
) Closes #5974 Fixed as per #5974 (comment)
Examples (from yesterday 10 of 78 fails)
https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7528201
https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7527201
https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7526808
https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7526157
https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7523749
https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7519971
https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7518972
https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7518884
https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7518515
https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7517649
cc: @paritytech/sdk-node
The text was updated successfully, but these errors were encountered: