Repository navigation
Description
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1309780
Build error leg or test failing: System.Security.Cryptography.Rsa.Tests.EncryptDecrypt_Array.RsaCryptRoundtrip_OaepSHA384
Pull request: #124663
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": [ "Error occurred during a cryptographic operation.", "RsaGenerateKey" ],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1309780
Build error leg or test failing: System.Security.Cryptography.Rsa.Tests.EncryptDecrypt_Array.RsaCryptRoundtrip_OaepSHA384
Error Details
Same root cause as #120606 and #103531 — transient OpenSSL RsaGenerateKey failure on Helix VMs.
- Environment: net11.0-linux-Debug-x64-Mono_Interpreter_Debug-Ubuntu.2204.Amd64.Open
- Helix queue
ubuntu.2204.amd64.open.rt - Console log: 'System.Security.Cryptography.OpenSsl.Tests' from job b36c481d-8eef-4589-a3a7-37d160632053 workitem 557ed1c3-c24a-4d5a-b334-033a7e481a04 (ubuntu.2204.amd64.open.rt) executed on machine a00EMGS running Linux-6.8.0-1044-azure-x86_64-with-glibc2.35
Stack trace:
System.Security.Cryptography.Rsa.Tests.EncryptDecrypt_Array.RsaCryptRoundtrip_OaepSHA384 [FAIL]
System.Security.Cryptography.CryptographicException : Error occurred during a cryptographic operation.
Stack Trace:
/_/src/libraries/Common/src/Interop/Unix/System.Security.Cryptography.Native/Interop.EvpPkey.Rsa.cs(42,0): at Interop.Crypto.RsaGenerateKey(Int32 keySize)
/_/src/libraries/Common/src/System/Security/Cryptography/RSAOpenSsl.cs(724,0): at System.Security.Cryptography.RSAOpenSsl.GenerateKey()
/_/src/libraries/System.Private.CoreLib/src/System/Lazy.cs(327,0): at System.Lazy`1[[System.Security.Cryptography.SafeEvpPKeyHandle, System.Security.Cryptography, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].ViaFactory(LazyThreadSafetyMode mode)
/_/src/libraries/System.Private.CoreLib/src/System/Lazy.cs(345,0): at System.Lazy`1[[System.Security.Cryptography.SafeEvpPKeyHandle, System.Security.Cryptography, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
/_/src/libraries/System.Private.CoreLib/src/System/Lazy.cs(425,0): at System.Lazy`1[[System.Security.Cryptography.SafeEvpPKeyHandle, System.Security.Cryptography, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].CreateValue()
/_/src/libraries/Common/src/System/Security/Cryptography/RSAOpenSsl.cs(712,0): at System.Security.Cryptography.RSAOpenSsl.GetKey()
/_/src/libraries/Common/src/System/Security/Cryptography/RSAOpenSsl.cs(211,0): at System.Security.Cryptography.RSAOpenSsl.Encrypt(Byte[] data, RSAEncryptionPadding padding)
/_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/EncryptDecrypt.cs(16,0): at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt_Array.Encrypt(RSA rsa, Byte[] data, RSAEncryptionPadding padding)
/_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/EncryptDecrypt.cs(350,0): at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.RsaCryptRoundtrip(RSAEncryptionPadding paddingMode, Boolean expectSuccess)
/_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/EncryptDecrypt.cs(314,0): at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.RsaCryptRoundtrip_OaepSHA384()
/_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.Mono.cs(22,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
/_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(57,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Test execution summary: System.Security.Cryptography.OpenSsl.Tests Total: 1867, Errors: 0, Failed: 1, Skipped: 18, Time: 83.676s
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1309780
Error message validated: [Error occurred during a cryptographic operation. RsaGenerateKey]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 2/25/2026 10:28:53 PM UTC
Report
| Build | Definition | Test | Pull Request |
|---|---|---|---|
| 1309780 | dotnet/runtime | System.Security.Cryptography.Rsa.Tests.EncryptDecrypt_Array.RsaCryptRoundtrip_OaepSHA384 | #124663 |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 1 | 1 | 1 |
Activity
[-]CI test failure: CryptographicException : Error occurred during a cryptographic operation (System.Security.Cryptography.OpenSsl.Tests)[/-][+]CI test failure: CryptographicException : Error occurred during a cryptographic operation.[/+]dotnet-policy-service commentedon Feb 25, 2026
Tagging subscribers to this area: @bartonjs, @vcsjones, @dotnet/area-system-security
See info in area-owners.md if you want to be subscribed.