Skip to content

Test failure: System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.PolicyConstraints_Valid #103615

Closed as not planned
@v-wenyuxu

Description

@v-wenyuxu

Failed in: runtime-coreclr libraries-jitstress 20240617.1

Failed tests:

net9.0-windows-Release-x64-jitstress2-Windows.10.Amd64.Open
    - System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.PolicyConstraints_Valid

Error message:

 System.Security.Cryptography.CryptographicException : Unknown error (0xc10000e5)

Stack trace:

   at System.Security.Cryptography.RSABCrypt.GetKey() in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/RSABCrypt.cs:line 54
   at System.Security.Cryptography.RSABCrypt.ExportParameters(Boolean includePrivateParameters) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/RSABCrypt.cs:line 75
   at System.Security.Cryptography.RSA.ExportRSAPublicKey() in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/RSA.cs:line 713
   at System.Security.Cryptography.X509Certificates.RSAPkcs1X509SignatureGenerator.BuildPublicKey(RSA rsa) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/RSAPkcs1X509SignatureGenerator.cs:line 37
   at System.Security.Cryptography.X509Certificates.X509SignatureGenerator.get_PublicKey() in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/X509SignatureGenerator.cs:line 10
   at System.Security.Cryptography.X509Certificates.CertificateRequest..ctor(String subjectName, RSA key, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/CertificateRequest.cs:line 141
   at System.Security.Cryptography.X509Certificates.Tests.TestDataGenerator.MakeTestChain(ReadOnlySpan`1 keys, Span`1 certs, IEnumerable`1 endEntityExtensions, IEnumerable`1 intermediateExtensions, IEnumerable`1 rootExtensions, String testName) in /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/TestDataGenerator.cs:line 136
   at System.Security.Cryptography.X509Certificates.Tests.TestDataGenerator.MakeTestChain3(X509Certificate2& endEntityCert, X509Certificate2& intermediateCert, X509Certificate2& rootCert, IEnumerable`1 endEntityExtensions, IEnumerable`1 intermediateExtensions, IEnumerable`1 rootExtensions, String testName) in /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/TestDataGenerator.cs:line 32
   at System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.PolicyConstraints_Valid() in /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/DynamicChainTests.cs:line 718
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions