Skip to content

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

Closed

Description

@tarekgh

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 ----------------------------------------------------------

Activity

  1. added
    untriaged
    on Nov 17, 2020
  2. bartonjs commented on Nov 17, 2020

    @bartonjs
    Member

    Duplicate of #29683 (underlying OS issue)

  3. ghost locked as resolved and limited conversation to collaborators on Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Securityuntriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions