parallaxsecond / parsec

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

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

Closed tgonzalezorlandoarm closed 1 year ago

tgonzalezorlandoarm commented 1 year 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 1 year ago

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