-
Notifications
You must be signed in to change notification settings - Fork 41
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 Tests CI #207
Comments
This seems hard to investigate indeed. Has it ever failed in the mithril-core serialisation tests? One thing we could do, to start ruling out possibilities, is change the |
Do we have systematic (eg. property-based) tests for serialisation/deserialisation? That could be a good start if we suspect this part is the culprit. |
We do have tests for serialisation/deserialisation for VKs, SKs, StmSigs and StmAggrSigs, so I would have suspected those to fail. But I'm not aware of that happening. That is why I suggested about changing key_decode_hex to see if it really is serialisation of these types. |
Actually, we do have at least a failure of mithril-core, which was shared by @ghubertpalo . I believe this was before the refactor, and in the test for serialisation of merkle tree paths, so that might be a hint. https://github.com/input-output-hk/mithril/runs/6384395584?check_suite_focus=true Code at that time was this |
I'm trying to avoid using the serde derivations. I don't have a proper clue that that might be it, but TBH, I have no clue of what it could be. I found that there was some problems with serde derivation in the past, so worth giving a try. I've set up a PR #230 changing the |
I don't know if it is related to this bug but I have a recurring test error in |
Here is a summary of the tests that we have ran yesterday with @iquerejeta and @Alenar and our findings:
|
Made a pass to the unsafe code, none of the following solve the issue:
|
Maybe we could use this crate |
Other things tried:
Therefore, the current decision is to create a compilation flag to choose between blst and zkcrypto's implementation (the latter being the default). Will open an issue to supranational to notify them about this UB, as it seems it could be something on their end. |
I'm reopening this, because while we now use zkcrypto's implementation as a default, we still offer the
|
Since the Mithril Core library was refactored, we meet numerous tests turning red in the CI in a random manner.
Usually, the fix is to re-run the tests. This flakiness is awkwardly not reproducible locally 🤔
We need to find a solution, and it seems that:
Examples:
The tests seem to stop with a
SIGILL
that could be linked to either:The text was updated successfully, but these errors were encountered: