-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
OpenSslNamedKeysTests.ProvidersNotSupported_ThrowsPlatformNotSupported test failure #106794
Comments
This is most likely a test issue, I'm mostly curious on why only some osx builds are affected - will be going through logs to see for any clues what's special about this particular configuration and why |
It turns out that |
Do you understand why this failure does not happen on every PR? Can this issue be a sign of uninitialized variable or some other non-determinism like that? |
runtime/src/libraries/Common/tests/TestUtilities/System/PlatformDetection.Unix.cs Lines 53 to 54 in a82cbec
Should probably be public static bool IsOpenSsl3 => OpenSslPresentOnSystem && GetOpenSslVersion() >= s_openssl3Version; No idea if that'll break anything by making tests think they're Linux because we did a waterfall in the wrong order |
Probably here runtime/src/libraries/System.Security.Cryptography/tests/AsnEncodedDataTests.cs Lines 114 to 119 in a82cbec
|
Fair, fair. I guess really there's "is OpenSSL the main crypto platform" (Linux, FreeBSD, etc) vs "is OpenSSL available?" (all previous things, plus maybe macOS); and very few things want the latter... this just happens to be one of them (along with "should RSAOpenSsl be tested?" and friends) |
I haven't looked into it, but my off the cuff response is that perhaps not all of the CI machines are in the same state w/r/t OpenSSL, and some of them are throwing PNSE "I can't find OpenSSL 3", and some of them had OpenSSL 3 and thus got "I did that thing you asked, and it didn't work" (CryptographicException) |
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=784071
Build error leg or test failing: System.Security.Cryptography.Tests.OpenSslNamedKeysTests.ProvidersNotSupported_ThrowsPlatformNotSupported
Pull request: #106763
Error Message
Fill the error message using step by step known issues guidance.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=784071
Error message validated:
[System.Security.Cryptography.Tests.OpenSslNamedKeysTests.ProvidersNotSupported_ThrowsPlatformNotSupported [FAIL] common libcrypto routines::reason
]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/22/2024 1:13:16 AM UTC
Report
Summary
The text was updated successfully, but these errors were encountered: