Skip to content
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

CI System.Security.Cryptography.Pkcs.Tests failure #44830

Closed
tarekgh opened this issue Nov 17, 2020 · 2 comments
Closed

CI System.Security.Cryptography.Pkcs.Tests failure #44830

tarekgh opened this issue Nov 17, 2020 · 2 comments
Labels
area-System.Security untriaged New issue has not been triaged by the area owner

Comments

@tarekgh
Copy link
Member

tarekgh commented Nov 17, 2020

https://dev.azure.com/dnceng/public/_build/results?buildId=889393&view=logs&j=85312bf4-08bc-52d1-d0fc-b5f2255cc3aa&t=361fd1e3-c164-5be7-cbf1-ec0d6b8f4a50

===========================================================================================================

C:\h\w\A7F80936\w\AFF109A9\e>"C:\h\w\A7F80936\p\dotnet.exe" exec --runtimeconfig System.Security.Cryptography.Pkcs.Tests.runtimeconfig.json --depsfile System.Security.Cryptography.Pkcs.Tests.deps.json xunit.console.dll System.Security.Cryptography.Pkcs.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
  Discovering: System.Security.Cryptography.Pkcs.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Security.Cryptography.Pkcs.Tests (found 551 of 674 test cases)
  Starting:    System.Security.Cryptography.Pkcs.Tests (parallel test collections = on, max threads = 2)
    System.Security.Cryptography.Pkcs.EnvelopedCmsTests.Tests.KeyAgreeRecipientInfoTests.TestKeyAgreement_PlatformNotSupported [SKIP]
      Condition(s) not met: "DoesNotSupportDiffieHellman"
    System.Security.Cryptography.Pkcs.Tests.Pkcs12.ShroudedKeyBagTests.BuildWithCharsFactoryReadDirect [FAIL]
      Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException : Unknown error (0xc0000001)
      Stack Trace:
        /_/src/libraries/Common/src/Internal/Cryptography/CngCommon.SignVerify.cs(49,0): at Internal.Cryptography.CngCommon.TrySignHash(SafeNCryptKeyHandle keyHandle, ReadOnlySpan`1 hash, Span`1 signature, AsymmetricPaddingMode paddingMode, Void* pPaddingInfo, Int32& bytesWritten)
        /_/src/libraries/Common/src/System/Security/Cryptography/RSACng.SignVerify.cs(126,0): at System.Security.Cryptography.RSAImplementation.RSACng.TrySignHash(ReadOnlySpan`1 hash, Span`1 destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, Int32& bytesWritten)
        /_/src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/RSA.cs(204,0): at System.Security.Cryptography.RSA.TrySignData(ReadOnlySpan`1 data, Span`1 destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, Int32& bytesWritten)
        /_/src/libraries/System.Security.Cryptography.Pkcs/tests/Pkcs12/ShroudedKeyBagTests.cs(40,0): at System.Security.Cryptography.Pkcs.Tests.Pkcs12.ShroudedKeyBagTests.BuildWithCharsFactoryReadDirect()
    System.Security.Cryptography.Pkcs.EnvelopedCmsTests.Tests.KeyTransRecipientInfoRsaOaepCertTests.TestKeyTransEncryptKey_RsaOaepCertificate_NoPlatformSupport_Throws [SKIP]
      Condition(s) not met: "DoesNotSupportRsaOaepCerts"
  Finished:    System.Security.Cryptography.Pkcs.Tests
=== TEST EXECUTION SUMMARY ===
   System.Security.Cryptography.Pkcs.Tests  Total: 868, Errors: 0, Failed: 1, Skipped: 2, Time: 10.026s
----- end Tue 11/17/2020 20:14:35.98 ----- exit code 1 ----------------------------------------------------------
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-System.Security untriaged New issue has not been triaged by the area owner labels Nov 17, 2020
@ghost
Copy link

ghost commented Nov 17, 2020

Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq, @jeffhandley
See info in area-owners.md if you want to be subscribed.

Issue Details
Description:

https://dev.azure.com/dnceng/public/_build/results?buildId=889393&view=logs&j=85312bf4-08bc-52d1-d0fc-b5f2255cc3aa&t=361fd1e3-c164-5be7-cbf1-ec0d6b8f4a50

===========================================================================================================

C:\h\w\A7F80936\w\AFF109A9\e>"C:\h\w\A7F80936\p\dotnet.exe" exec --runtimeconfig System.Security.Cryptography.Pkcs.Tests.runtimeconfig.json --depsfile System.Security.Cryptography.Pkcs.Tests.deps.json xunit.console.dll System.Security.Cryptography.Pkcs.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
  Discovering: System.Security.Cryptography.Pkcs.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Security.Cryptography.Pkcs.Tests (found 551 of 674 test cases)
  Starting:    System.Security.Cryptography.Pkcs.Tests (parallel test collections = on, max threads = 2)
    System.Security.Cryptography.Pkcs.EnvelopedCmsTests.Tests.KeyAgreeRecipientInfoTests.TestKeyAgreement_PlatformNotSupported [SKIP]
      Condition(s) not met: "DoesNotSupportDiffieHellman"
    System.Security.Cryptography.Pkcs.Tests.Pkcs12.ShroudedKeyBagTests.BuildWithCharsFactoryReadDirect [FAIL]
      Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException : Unknown error (0xc0000001)
      Stack Trace:
        /_/src/libraries/Common/src/Internal/Cryptography/CngCommon.SignVerify.cs(49,0): at Internal.Cryptography.CngCommon.TrySignHash(SafeNCryptKeyHandle keyHandle, ReadOnlySpan`1 hash, Span`1 signature, AsymmetricPaddingMode paddingMode, Void* pPaddingInfo, Int32& bytesWritten)
        /_/src/libraries/Common/src/System/Security/Cryptography/RSACng.SignVerify.cs(126,0): at System.Security.Cryptography.RSAImplementation.RSACng.TrySignHash(ReadOnlySpan`1 hash, Span`1 destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, Int32& bytesWritten)
        /_/src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/RSA.cs(204,0): at System.Security.Cryptography.RSA.TrySignData(ReadOnlySpan`1 data, Span`1 destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, Int32& bytesWritten)
        /_/src/libraries/System.Security.Cryptography.Pkcs/tests/Pkcs12/ShroudedKeyBagTests.cs(40,0): at System.Security.Cryptography.Pkcs.Tests.Pkcs12.ShroudedKeyBagTests.BuildWithCharsFactoryReadDirect()
    System.Security.Cryptography.Pkcs.EnvelopedCmsTests.Tests.KeyTransRecipientInfoRsaOaepCertTests.TestKeyTransEncryptKey_RsaOaepCertificate_NoPlatformSupport_Throws [SKIP]
      Condition(s) not met: "DoesNotSupportRsaOaepCerts"
  Finished:    System.Security.Cryptography.Pkcs.Tests
=== TEST EXECUTION SUMMARY ===
   System.Security.Cryptography.Pkcs.Tests  Total: 868, Errors: 0, Failed: 1, Skipped: 2, Time: 10.026s
----- end Tue 11/17/2020 20:14:35.98 ----- exit code 1 ----------------------------------------------------------
Author: tarekgh
Assignees: -
Labels:

area-System.Security, untriaged

Milestone: -

@bartonjs
Copy link
Member

Duplicate of #29683 (underlying OS issue)

@ghost ghost locked as resolved and limited conversation to collaborators Dec 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Security untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

3 participants