Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[6.0] Internal exception in System.Security.Cryptography.Dsa.Tests.DsaSpanSignatureFormatTests tests #104933

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

Open
carlossanlop opened this issue Jul 16, 2024 · 1 comment
Labels
arch-x64 area-System.Security Known Build Error Use this to report build issues in the .NET Helix tab os-windows runtime-coreclr specific to the CoreCLR runtime
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Jul 16, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=742030
Build error leg or test failing: System.Security.Cryptography.Dsa.Tests.DsaSpanSignatureFormatTests in Libraries Test Run release coreclr windows x64 Debug

Error Message

{
  "ErrorMessage" : "Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException : An internal error occurred.",
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
    System.Security.Cryptography.Dsa.Tests.DsaSpanSignatureFormatTests.Rfc3279SignatureValidatesLength [FAIL]
      System.TypeInitializationException : The type initializer for 'System.Security.Cryptography.Dsa.Tests.DsaSpanSignatureFormatTests' threw an exception.
      ---- Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException : An internal error occurred.
      Stack Trace:
        /_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSASignatureFormatTests.cs(240,0): at System.Security.Cryptography.Dsa.Tests.DsaSpanSignatureFormatTests.GenerateTestKeys()
        /_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DsaFamilySignatureFormatTests.cs(36,0): at System.Security.Cryptography.Algorithms.Tests.DsaFamilySignatureFormatTests..ctor()
           at System.Security.Cryptography.Dsa.Tests.DSASignatureFormatTests..ctor()
           at System.Security.Cryptography.Dsa.Tests.DsaSpanSignatureFormatTests..ctor()
        /_/src/coreclr/System.Private.CoreLib/src/System/RuntimeType.CoreCLR.cs(3753,0): at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
        ----- Inner Stack Trace -----
        /_/src/libraries/System.Security.Cryptography.Csp/src/System/Security/Cryptography/CapiHelper.Windows.cs(997,0): at Internal.NativeCrypto.CapiHelper.ImportKeyBlob(SafeProvHandle saveProvHandle, CspProviderFlags flags, Boolean addNoSaltFlag, Byte[] keyBlob, SafeKeyHandle& safeKeyHandle)
        /_/src/libraries/System.Security.Cryptography.Csp/src/System/Security/Cryptography/DSACryptoServiceProvider.Windows.cs(351,0): at System.Security.Cryptography.DSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)
        /_/src/libraries/System.Security.Cryptography.Csp/src/System/Security/Cryptography/DSACryptoServiceProvider.Windows.cs(361,0): at System.Security.Cryptography.DSACryptoServiceProvider.ImportParameters(DSAParameters parameters)
        /_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSAFactory.cs(29,0): at System.Security.Cryptography.Dsa.Tests.DSAFactory.Create(DSAParameters& dsaParameters)
        /_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSASignatureFormatTests.cs(44,0): at System.Security.Cryptography.Dsa.Tests.DSASignatureFormatTests.OpenKey(DSAParameters& dsaParameters)
        /_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSASignatureFormatTests.cs(67,0): at System.Security.Cryptography.Dsa.Tests.DSASignatureFormatTests.LocalGenerateTestKeys()+MoveNext()
        /_/src/libraries/Common/src/System/Collections/Generic/LargeArrayBuilder.SpeedOpt.cs(116,0): at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items)
        /_/src/libraries/Common/src/System/Collections/Generic/EnumerableHelpers.Linq.cs(84,0): at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)
        /_/src/libraries/System.Linq/src/System/Linq/ToCollection.cs(17,0): at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
        /_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSASignatureFormatTests.cs(238,0): at System.Security.Cryptography.Dsa.Tests.DsaSpanSignatureFormatTests..cctor()

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=742030
Error message validated: [Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException : An internal error occurred.]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/16/2024 12:18:03 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@carlossanlop carlossanlop added area-System.Security os-windows arch-x64 runtime-coreclr specific to the CoreCLR runtime Known Build Error Use this to report build issues in the .NET Helix tab labels Jul 16, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jul 16, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-security, @bartonjs, @vcsjones
See info in area-owners.md if you want to be subscribed.

@jeffhandley jeffhandley added this to the Future milestone Jul 20, 2024
@jeffhandley jeffhandley removed the untriaged New issue has not been triaged by the area owner label Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-x64 area-System.Security Known Build Error Use this to report build issues in the .NET Helix tab os-windows runtime-coreclr specific to the CoreCLR runtime
Projects
None yet
Development

No branches or pull requests

2 participants