-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Incorrect dependencies for key pairs in test_suite_psa_crypto_not_supported.generated.data #7915
Incorrect dependencies for key pairs in test_suite_psa_crypto_not_supported.generated.data #7915
Comments
@valeriosetti @mpg This is very likely something we missed in one of the changes related to #7439. The CI generates a report that lists test cases that are never executed (it's the output of the |
Thanks for catching this! We have a specialised script Perhaps in addition to this custom script we should also grab the log of the |
In general it would be a good idea to check the effect of a PR on the output of outcome_analysis, but I confess that I tend to forget. Getting outcome_analysis to pass with no warnings, so we can make it fail if a test case is not executed, is high on my to-do list for tech debt. Maybe 2023Q4? |
Fingers crossed! I think that would be a very nice improvement to our testing. |
I believe I fixed this in the version of #7909 I just pushed. |
I find |
In current development:
outputs:
The problem was with the temporary legacy dependencies: the generation script adding a dependency on This was fixed in this commit - adding the missing Additionally, the problem specifically for RSA was also fixed by #7902 as we are no longer using the @gilles-peskine-arm I believe this issue is fully resolved and can be closed. |
RSA is ok now, but that's not from #7909 since it was actually fixed before it, looks like that was indeed from #7902. DH is not ok since the DH tests are still skipped as of 51ed313 (merge of 7909). The never-supported elliptic curve types are also not running. That's probably from a different hack around never-supported mechanisms, which we normally want to completely omit from generated test cases, but should be included and running in the not-supported test suite. |
Ah, good point. For DH, that might be a different problem than the one we had for RSA: I think what's causing It looks like we forgot to add macros for DH parameters when we added support for DH in PSA. Wdyt? |
Yes, that seems to be the problem. |
Note: I'm moving this out of the driver-only ECC EPIC, as it seems quite unrelated to it at this point. |
The dependencies in
test_suite_psa_crypto_not_supported.generated.data
(generated bygenerate_psa_tests.py
are wrong indevelopment
. This leads to never executing the corresponding test cases.For example, compare
in 3.4.0 vs development. In development at 6aca2c9:
But all these test cases should run and pass.
The text was updated successfully, but these errors were encountered: