Skip to content

Test failure: System.Security.Cryptography.Dsa.Tests.DsaArrayOffsetSignatureFormatTests.OffsetAndCountOutOfRange #122720

@SakeTao

Description

@SakeTao

Failed in: runtime-coreclr libraries-jitstress 20251222.1

Failed tests:

net11.0-windows-Release-x64-disabler2r-Windows.10.Amd64.Open
    - System.Security.Cryptography.Dsa.Tests.DsaArrayOffsetSignatureFormatTests.OffsetAndCountOutOfRange
    - System.Security.Cryptography.Dsa.Tests.DsaArrayOffsetSignatureFormatTests.BadSignatureFormat
    - System.Security.Cryptography.Dsa.Tests.DsaArrayOffsetSignatureFormatTests.Rfc3279SignatureValidatesLength
    - System.Security.Cryptography.Dsa.Tests.DsaArrayOffsetSignatureFormatTests.VerifyInvalidRfc3279Signature
    - System.Security.Cryptography.Dsa.Tests.DsaArrayOffsetSignatureFormatTests.EmptyHashAlgorithm
    - System.Security.Cryptography.Dsa.Tests.DsaArrayOffsetSignatureFormatTests.UnknownHashAlgorithm
    - System.Security.Cryptography.Dsa.Tests.DsaArrayOffsetSignatureFormatTests.NullInputs

Error message:

System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Dsa.Tests.DsaArrayOffsetSignatureFormatTests' threw an exception.
---- System.Security.Cryptography.CryptographicException : An internal consistency check failed.

Stack trace:

   at System.Security.Cryptography.Dsa.Tests.DsaArrayOffsetSignatureFormatTests.GenerateTestKeys() in /_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSASignatureFormatTests.cs:line 113
   at System.Security.Cryptography.Algorithms.Tests.DsaFamilySignatureFormatTests..ctor() in /_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DsaFamilySignatureFormatTests.cs:line 36
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) in /_/src/coreclr/System.Private.CoreLib/src/System/RuntimeType.CoreCLR.cs:line 4014
----- Inner Stack Trace -----
   at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/CngKey.Create.cs:line 49
   at System.Security.Cryptography.CngAlgorithmCore.GetOrGenerateKey(Int32 keySize, CngAlgorithm algorithm) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/CngAlgorithmCore.cs:line 73
   at System.Security.Cryptography.DSACng.ExportParameters(Boolean includePrivateParameters) in /_/src/libraries/Common/src/System/Security/Cryptography/DSACng.ImportExport.cs:line 313
   at System.Security.Cryptography.Dsa.Tests.DSASignatureFormatTests.CreateKey(Int32 keySize) in /_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSASignatureFormatTests.cs:line 34
   at System.Security.Cryptography.Dsa.Tests.DSASignatureFormatTests.LocalGenerateTestKeys()+MoveNext() in /_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSASignatureFormatTests.cs:line 57
   at System.Linq.Enumerable.<ToArray>g__EnumerableToArray|324_0[TSource](IEnumerable`1 source) in /_/src/libraries/System.Linq/src/System/Linq/ToCollection.cs:line 37
   at System.Security.Cryptography.Dsa.Tests.DsaArrayOffsetSignatureFormatTests..cctor() in /_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSASignatureFormatTests.cs:line 111

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