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

[compiler-v2][move-2] Non-deterministic unit test failures #15284

Open
alnoki opened this issue Nov 15, 2024 · 0 comments
Open

[compiler-v2][move-2] Non-deterministic unit test failures #15284

alnoki opened this issue Nov 15, 2024 · 0 comments
Labels
bug Something isn't working compiler-v2 stale-exempt Prevents issues from being automatically marked and closed as stale

Comments

@alnoki
Copy link
Contributor

alnoki commented Nov 15, 2024

@brmataptos @fEst1ck @georgemitenkov @rahxephon89 @runtian-zhou @vineethk @wrwg

Steps to reproduce

This test fails non-deterministically when running this command from inside the enclosing package's src/move/rewards directory:

git ls-files | entr -c sh -c " \
    aptos move test --dev --move-2 --coverage &&
    aptos move fmt
"

The command watches the test directory and re-runs tests whenever I save in my IDE (VS Code), and when I just let it run then hit save, without modifying any source code the test fails about 10% of the time or so. I suspect that perhaps it has something to do with the ed25519 APIs? Maybe a stack overflow?

Note that the test shows a failure on a bogus line, and I often have to comment out some code, commit, then uncomment and retry and it will pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler-v2 stale-exempt Prevents issues from being automatically marked and closed as stale
Projects
Status: For Grabs
Development

No branches or pull requests

3 participants