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]: tests.gateware.core.test_flash.SPIFlashTests is non-deterministic #39

Closed
lethalbit opened this issue May 12, 2023 · 0 comments
Closed
Labels
Bug Bugs Gateware Gateware related ticket
Milestone

Comments

@lethalbit
Copy link
Collaborator

The tests.gateware.core.test_flash.SPIFlashTests test is non-deterministic and randomly fails/passes.

The gateware itself works enough for DFU and applet updates, but the tests being unstable is non-ideal.

This is likely due to how the Torii pysim engine works. So there is no real fix right away, ideally I'd like to be able to formally verify it, but that is much later on the docket.

This issue will likely be around until the new sim engine is in Torii, so just skipping that test might be the best for now

@lethalbit lethalbit added Bug Bugs Gateware Gateware related ticket labels May 12, 2023
@lethalbit lethalbit added this to the Software - 0.1.0 milestone May 12, 2023
@lethalbit lethalbit changed the title [BUG]: tests.gateware.core.test_flash.SPIFlashTests are non-deterministic [BUG]: tests.gateware.core.test_flash.SPIFlashTests is non-deterministic May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bugs Gateware Gateware related ticket
Projects
Status: Done
Development

No branches or pull requests

1 participant