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

[BUG] Testground testkit devnet sometimes starts miners on different chains #6127

Open
nonsense opened this issue Apr 28, 2021 · 2 comments · Fixed by #6126
Open

[BUG] Testground testkit devnet sometimes starts miners on different chains #6127

nonsense opened this issue Apr 28, 2021 · 2 comments · Fixed by #6126
Assignees
Labels
kind/bug Kind: Bug kind/test Kind: Test

Comments

@nonsense
Copy link
Member

nonsense commented Apr 28, 2021

Describe the bug
The Testground Lotus testkit used in the lotus-soup testplan is not starting devnets correctly. Occasionally miners start mining on different chains, resulting in flaky tests. This should be fixed if we want to enable more elaborate Testground Lotus tests, such as deals end-to-end tests or payment channel tests in networks of more than 1 miner.

Version (run lotus version):
4688da51

To Reproduce
Steps to reproduce the behavior:

  1. Run the Testground payment channel stress tests (part of CI) with multiple miners, instead of just 1.
  2. See error: failed to sync fork: synced chain forked at genesis, refusing to sync

Screenshot 2021-04-28 at 17 04 20

Expected behavior
The lotus-soup testkit should be able to consistently start devnets with multiple miners (2, 3, 5, etc.)

@BigLep
Copy link
Member

BigLep commented Apr 29, 2021

@jennijuju : I don't think we should say this is in review. #6126 is a mitigation so we can get testground running but this issue is about fixing underlying issues. I would link #6126 to some of the enable testground tests issues and this issue still needs to get prioritized.

@nonsense : let me know if I have any of that wrong.

@magik6k
Copy link
Contributor

magik6k commented Apr 29, 2021

If those miners have the same power, this might be related to #2981

@magik6k magik6k reopened this Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Kind: Bug kind/test Kind: Test
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants