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

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

Conversation

tgonzalezorlandoarm
Copy link
Member

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.

  • Accept the PsaErrorInvalidArgument error as a workaround until the issue is resolved.

Please see opened issue #738

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.

 * Accept the PsaErrorInvalidArgument error as a workaround until
   the issue is resolved.

Please see opened issue

Signed-off-by: Tomás González <[email protected]>
@tgonzalezorlandoarm tgonzalezorlandoarm added bug Something isn't working small Effort label testing Task related to testing labels Nov 22, 2023
@tgonzalezorlandoarm tgonzalezorlandoarm self-assigned this Nov 22, 2023
Copy link
Contributor

@gowthamsk-arm gowthamsk-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you create an issue and link it to this one please?

@gowthamsk-arm
Copy link
Contributor

I see #738. Ignore the previous comment.

@tgonzalezorlandoarm tgonzalezorlandoarm merged commit a26d8a1 into parallaxsecond:main Nov 23, 2023
14 checks passed
@tgonzalezorlandoarm tgonzalezorlandoarm deleted the tg/ci-random-failures branch November 23, 2023 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working small Effort label testing Task related to testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants