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

Flaky test CliqueMiningAcceptanceTest > shouldStallMiningWhenInsufficientValidators() FAILED #8240

Open
macfarla opened this issue Feb 4, 2025 · 3 comments · May be fixed by #8357
Open
Assignees
Labels
flake 60% of the time it works 100% of the time. testing

Comments

@macfarla
Copy link
Contributor

macfarla commented Feb 4, 2025

https://github.com/hyperledger/besu/actions/runs/13129266357/job/36631186322

CliqueMiningAcceptanceTest > shouldStallMiningWhenInsufficientValidators() FAILED
    org.opentest4j.AssertionFailedError: 
    Expecting value to be false but was true
        at app//org.hyperledger.besu.tests.acceptance.dsl.transaction.eth.EthGetBlockTransaction.execute(EthGetBlockTransaction.java:44)
        at app//org.hyperledger.besu.tests.acceptance.dsl.transaction.eth.EthGetBlockTransaction.execute(EthGetBlockTransaction.java:28)
        at app//org.hyperledger.besu.tests.acceptance.dsl.node.BesuNode.execute(BesuNode.java:819)
        at app//org.hyperledger.besu.tests.acceptance.clique.CliqueMiningAcceptanceTest.startClusterAndVerifyProducingBlocks(CliqueMiningAcceptanceTest.java:130)
        at app//org.hyperledger.besu.tests.acceptance.clique.CliqueMiningAcceptanceTest.shouldStallMiningWhenInsufficientValidators(CliqueMiningAcceptanceTest.java:109)

9 tests completed, 1 failed
@macfarla macfarla added flake 60% of the time it works 100% of the time. testing labels Feb 4, 2025
@macfarla
Copy link
Contributor Author

maybe have a look at the approach done in #8324

@pr9t
Copy link
Contributor

pr9t commented Feb 20, 2025

@macfarla, please assign this to me.

@pr9t pr9t linked a pull request Feb 26, 2025 that will close this issue
9 tasks
@pr9t
Copy link
Contributor

pr9t commented Feb 26, 2025

Hi @macfarla, based on my understanding of the code, the error persists because, even after stopping minerNode2 and minerNode3, they are still listed as validators. Clique continues to recognize these nodes as signers, preventing mining from stalling. This is the approach I am taking to modify my code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flake 60% of the time it works 100% of the time. testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants