parallaxsecond / parsec

Platform AbstRaction for SECurity service
https://parsec.community/
Apache License 2.0
467 stars 66 forks source link

e2e_tests/stress.rs: Add a workaround for spurious test failures #739

Closed tgonzalezorlandoarm closed 9 months ago

tgonzalezorlandoarm commented 9 months ago

stress_tests fail sporadically with the error:

'An invalid signature or a tampering detection should be the only reasons of the verification failing. Status returned: PsaErrorInvalidArgument.'

The verification signature should not be failing with PsaErrorInvalidArgument for invalid signatures. So there may be a problem with either threading or a bug in Mbed Crypto. This bug is causing several sporadic test failures in our CI, as the invalid signatures are random.

Please see opened issue #738

gowthamsk-arm commented 9 months ago

I see https://github.com/parallaxsecond/parsec/issues/738. Ignore the previous comment.