Skip to content

System.Security.Cryptography test suite failures locally #123632

@stephentoub

Description

@stephentoub

When I run the S.S.Cryptography test suite on the latest in main and a clean build, I get a bunch of test failures:

    Discovering: System.Security.Cryptography.Tests (method display = ClassAndMethod, method display options = None)
    Discovered:  System.Security.Cryptography.Tests (found 5644 of 5919 test cases)
    Starting:    System.Security.Cryptography.Tests (parallel test collections = on [12 threads], stop on fail = off)
      System.Security.Cryptography.Tests.HmacSha1Tests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha1Tests.Ctor_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha3_512Tests.Verify_CryptographicOperations_HashName_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha3_512Tests.Verify_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha3_512Tests.Ctor_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha1Tests.Verify_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha1Tests.Verify_CryptographicOperations_HashName_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha3_512Tests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha256Tests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha256Tests.Verify_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha256Tests.Ctor_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha256Tests.Verify_CryptographicOperations_HashName_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.EcDsa.Tests.ECDsaTests_Stream.SignHash_DifferentHashes(ecdsa: System.Security.Cryptography.ECDsaCng) [SKIP]
        SignHash not implemented.
      System.Security.Cryptography.EcDsa.Tests.ECDsaTests_Stream.SignHash_TamperedSignature(ecdsa: System.Security.Cryptography.ECDsaCng) [SKIP]
        SignHash not implemented.
      System.Security.Cryptography.EcDsa.Tests.ECDsaTests_Stream.SignHash_Roundtrip(ecdsa: System.Security.Cryptography.ECDsaCng) [SKIP]
        SignHash not implemented.
      System.Security.Cryptography.Tests.Sha3_256Tests.CryptographicOperations_HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.Sha3_256Tests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.EmptyNameThroughNullCharacter [SKIP]
        Condition(s) not met: "OpenSslPresentOnSystem"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Engine_NonExistingKey [SKIP]
        Condition(s) not met: "ShouldRunEngineTests"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Engine_NonExisting [SKIP]
        Condition(s) not met: "OpenSslPresentOnSystem"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Provider_Default_ECDHKeyExchange [SKIP]
        Condition(s) not met: "ProvidersSupported"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Provider_TPM2ECDSA_ExportParameters [SKIP]
        Condition(s) not met: "ShouldRunProviderEcDsaTests"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Provider_TPM2ECDH [SKIP]
        Condition(s) not met: "ShouldRunProviderEcDhTests"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Provider_TPM2DecryptRsa_ExportParameters [SKIP]
        Condition(s) not met: "ShouldRunProviderRsaTests"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Provider_TPM2DecryptRsa [SKIP]
        Condition(s) not met: "ShouldRunProviderRsaTests"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Engine_OpenExistingPrivateKey [SKIP]
        Condition(s) not met: "ShouldRunEngineTests"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Provider_Default_RSASignAndDecrypt [SKIP]
        Condition(s) not met: "ProvidersSupported"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Engine_OpenExistingPublicKey [SKIP]
        Condition(s) not met: "ShouldRunEngineTests"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.NullArguments [SKIP]
        Condition(s) not met: "OpenSslPresentOnSystem"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Engine_OpenExistingTPMPrivateKey [SKIP]
        Condition(s) not met: "ShouldRunTpmTssTests"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Provider_Default_ECDsaSignAndVerify [SKIP]
        Condition(s) not met: "ProvidersSupported"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Engine_UsePublicKey [SKIP]
        Condition(s) not met: "ShouldRunEngineTests"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Provider_TPM2ECDSA_ExportExplicitParameters [SKIP]
        Condition(s) not met: "ShouldRunProviderEcDsaTests"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.EmptyUriThroughNullCharacter [SKIP]
        Condition(s) not met: "ProvidersSupported"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Provider_NonExisting [SKIP]
        Condition(s) not met: "ProvidersSupported"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Provider_TPM2ECDSA [SKIP]
        Condition(s) not met: "ShouldRunProviderEcDsaTests"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Engine_UsePrivateKey [SKIP]
        Condition(s) not met: "ShouldRunEngineTests"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Provider_NonExistingKey [SKIP]
        Condition(s) not met: "ShouldRunAnyProviderTests"
      System.Security.Cryptography.Tests.OpenSslNamedKeysTests.Provider_TPM2SignRsa [SKIP]
        Condition(s) not met: "ShouldRunProviderRsaTests"
      System.Security.Cryptography.X509Certificates.Tests.ExportTests.ExportPkcs12_SlhDsa_Ietf_Roundtrip [SKIP]
        Condition(s) not met: "IsSupported"
      System.Security.Cryptography.Tests.Shake256Tests.NotSupported_ThrowsPlatformNotSupportedException [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.Sha3_256Tests.Create_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.Sha256ManagedTests.CryptographicOperations_HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.ExportTests.ExportPkcs12_SlhDsa_Generated_Roundtrip [SKIP]
        Condition(s) not met: "IsSupported"
      System.Security.Cryptography.Tests.Sha256ManagedTests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.Sha256ManagedTests.Create_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.PfxTests.ReadMLKem512PrivateKey_NotSupported [SKIP]
        Condition(s) not met: "MLKemIsNotSupported"
      System.Security.Cryptography.Tests.HmacSha3_256Tests.Ctor_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha3_256Tests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha3_256Tests.Verify_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha3_256Tests.Verify_CryptographicOperations_HashName_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.PfxTests.ReadMLKem512PrivateKey_Both_Pfx [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.X509Certificates.Tests.PfxTests.ReadMLKem1024PrivateKey_Seed_Pfx [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.X509Certificates.Tests.PfxTests.ReadMLKem1024PrivateKey_ExpandedKey_Pfx [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.X509Certificates.Tests.ExportTests.ExportPkcs12_MLKem_Roundtrip [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.X509Certificates.Tests.PfxTests.ReadMLKem512PrivateKey_ExpandedKey_Pfx [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.X509Certificates.Tests.PfxTests.ReadMLDsa512PrivateKey_ExpandedKey_Pfx [SKIP]
        Condition(s) not met: "SupportsExportingPrivateKeyPkcs8"
      System.Security.Cryptography.X509Certificates.Tests.PfxTests.ReadMLKem768PrivateKey_Both_Pfx [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.X509Certificates.Tests.CertificateCreation.CertificateRequestLoadTests.LoadCreate_MatchesCreate_SlhDsa [SKIP]
        Condition(s) not met: "IsSupported"
      System.Security.Cryptography.X509Certificates.Tests.PfxTests.ReadMLKem768PrivateKey_Seed_Pfx [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.X509Certificates.Tests.PfxTests.ReadMLKem768PrivateKey_ExpandedKey_Pfx [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.X509Certificates.Tests.PfxTests.ReadMLKem512PrivateKey_Seed_Pfx [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.X509Certificates.Tests.PfxTests.ReadMLDsa_Pfx_Ietf_NotSupported [SKIP]
        Condition(s) not met: "MLDsaIsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.PfxTests.ReadMLKem1024PrivateKey_Both_Pfx [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.X509Certificates.Tests.PfxTests.ReadSlhDsa_Pfx_Ietf [SKIP]
        Condition(s) not met: "IsSupported"
      System.Security.Cryptography.Tests.FactorySha256Tests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.Shake128Tests.NotSupported_ThrowsPlatformNotSupportedException [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.CertificateCreation.CertificateRequestLoadTests.Load_NoHashAlgorithm_OKForSlhDsa [SKIP]
        Condition(s) not met: "IsSupported"
      System.Security.Cryptography.EcDiffieHellman.Tests.ECDiffieHellmanTests.RawDerivation_NotSupported [SKIP]
        Condition(s) not met: "DoesNotSupportRawDerivation"
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromByteArray.VerifyPreserveKeyName(preserveName: True, machineKey: True) [FAIL]
        System.Security.Cryptography.CryptographicException : Access denied.
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\CngKey.Create.cs(58,0): at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(240,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.MakeAttributeTest(String keyName, String friendlyName, Boolean useCapi, Boolean machineKey, String testName)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(24,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveKeyName(Boolean preserveName, Boolean machineKey)
             at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
          D:\repos\runtime\src\coreclr\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.CoreCLR.cs(36,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(174,0): at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromByteArray.VerifyPreserveKeyName(preserveName: False, machineKey: True) [FAIL]
        System.Security.Cryptography.CryptographicException : Access denied.
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\CngKey.Create.cs(58,0): at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(240,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.MakeAttributeTest(String keyName, String friendlyName, Boolean useCapi, Boolean machineKey, String testName)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(24,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveKeyName(Boolean preserveName, Boolean machineKey)
             at InvokeStub_X509CertificateLoaderPkcs12Tests.VerifyPreserveKeyName(Object, Span`1)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(136,0): at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      System.Security.Cryptography.Tests.Sha384ManagedTests.CryptographicOperations_HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.Sha384ManagedTests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.MLDsaCngTests.ImportPrivateKey_Persisted [SKIP]
        Condition(s) not met: "SupportsExportingPrivateKeyPkcs8"
      System.Security.Cryptography.Tests.Sha384ManagedTests.Create_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromByteArray.VerifyPreserveProvider(preserveProvider: False, preserveName: True, machineKey: True) [FAIL]
        Assert.NotEqual() Failure: Strings are equal
        Expected: Not "Microsoft Enhanced RSA and AES Cryptographic Provi"···
        Actual:       "Microsoft Enhanced RSA and AES Cryptographic Provi"···
        Stack Trace:
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(149,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveProvider(Boolean preserveProvider, Boolean preserveName, Boolean machineKey)
             at InvokeStub_X509CertificateLoaderPkcs12Tests.VerifyPreserveProvider(Object, Span`1)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(136,0): at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      System.Security.Cryptography.Tests.FactorySha1Tests.CryptographicOperations_HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.FactorySha256Tests.Create_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromByteSpan.VerifyPreserveKeyName(preserveName: True, machineKey: True) [FAIL]
        System.Security.Cryptography.CryptographicException : Access denied.
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\CngKey.Create.cs(58,0): at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(240,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.MakeAttributeTest(String keyName, String friendlyName, Boolean useCapi, Boolean machineKey, String testName)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(24,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveKeyName(Boolean preserveName, Boolean machineKey)
             at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
          D:\repos\runtime\src\coreclr\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.CoreCLR.cs(36,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(174,0): at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
      System.Security.Cryptography.X509Certificates.Tests.CertificateCreation.PrivateKeyAssociationTests.CheckCopyWithPrivateKey_SlhDsa_OtherSlhDsa [SKIP]
        Condition(s) not met: "IsSupported"
      System.Security.Cryptography.X509Certificates.Tests.CertificateCreation.PrivateKeyAssociationTests.GetSlhDsaPublicKeyTest [SKIP]
        Condition(s) not met: "IsSupported"
      System.Security.Cryptography.X509Certificates.Tests.CertificateCreation.PrivateKeyAssociationTests.GetMLKemPrivateKey_WithPrivateKey [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.X509Certificates.Tests.CertificateCreation.PrivateKeyAssociationTests.GetSlhDsaPrivateKeyTest [SKIP]
        Condition(s) not met: "IsSupported"
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromByteArray.VerifyPreserveProvider(preserveProvider: False, preserveName: False, machineKey: True) [FAIL]
        Assert.NotEqual() Failure: Strings are equal
        Expected: Not "Microsoft Enhanced RSA and AES Cryptographic Provi"···
        Actual:       "Microsoft Enhanced RSA and AES Cryptographic Provi"···
        Stack Trace:
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(149,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveProvider(Boolean preserveProvider, Boolean preserveName, Boolean machineKey)
             at InvokeStub_X509CertificateLoaderPkcs12Tests.VerifyPreserveProvider(Object, Span`1)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(136,0): at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromByteSpan.VerifyPreserveKeyName(preserveName: False, machineKey: True) [FAIL]
        System.Security.Cryptography.CryptographicException : Access denied.
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\CngKey.Create.cs(58,0): at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(240,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.MakeAttributeTest(String keyName, String friendlyName, Boolean useCapi, Boolean machineKey, String testName)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(24,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveKeyName(Boolean preserveName, Boolean machineKey)
             at InvokeStub_X509CertificateLoaderPkcs12Tests.VerifyPreserveKeyName(Object, Span`1)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(136,0): at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromByteSpan.VerifyPreserveAlias(preserveAlias: True, machineKey: True) [FAIL]
        System.Security.Cryptography.CryptographicException : Access denied.
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\CngKey.Create.cs(58,0): at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(240,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.MakeAttributeTest(String keyName, String friendlyName, Boolean useCapi, Boolean machineKey, String testName)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(68,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveAlias(Boolean preserveAlias, Boolean machineKey)
             at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
          D:\repos\runtime\src\coreclr\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.CoreCLR.cs(36,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(174,0): at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromByteSpan.VerifyPreserveAlias(preserveAlias: False, machineKey: True) [FAIL]
        System.Security.Cryptography.CryptographicException : Access denied.
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\CngKey.Create.cs(58,0): at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(240,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.MakeAttributeTest(String keyName, String friendlyName, Boolean useCapi, Boolean machineKey, String testName)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(68,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveAlias(Boolean preserveAlias, Boolean machineKey)
             at InvokeStub_X509CertificateLoaderPkcs12Tests.VerifyPreserveAlias(Object, Span`1)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(136,0): at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromByteArray.VerifyPreserveAlias(preserveAlias: True, machineKey: True) [FAIL]
        System.Security.Cryptography.CryptographicException : Access denied.
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\CngKey.Create.cs(58,0): at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(240,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.MakeAttributeTest(String keyName, String friendlyName, Boolean useCapi, Boolean machineKey, String testName)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(68,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveAlias(Boolean preserveAlias, Boolean machineKey)
             at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
          D:\repos\runtime\src\coreclr\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.CoreCLR.cs(36,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(174,0): at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromByteArray.VerifyPreserveAlias(preserveAlias: False, machineKey: True) [FAIL]
        System.Security.Cryptography.CryptographicException : Access denied.
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\CngKey.Create.cs(58,0): at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(240,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.MakeAttributeTest(String keyName, String friendlyName, Boolean useCapi, Boolean machineKey, String testName)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(68,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveAlias(Boolean preserveAlias, Boolean machineKey)
             at InvokeStub_X509CertificateLoaderPkcs12Tests.VerifyPreserveAlias(Object, Span`1)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(136,0): at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      System.Security.Cryptography.Tests.FactorySha256Tests.CryptographicOperations_HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.ChaCha20Poly1305IsSupportedTests.CtorThrowsPNSEIfNotSupported [SKIP]
        Condition(s) not met: "RuntimeSaysIsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.CertificateCreation.PrivateKeyAssociationTests.GetMLKemPublicKey_WithPrivateKey [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.X509Certificates.Tests.CertificateCreation.PrivateKeyAssociationTests.CheckCopyWithPrivateKey_MLKem [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.Tests.HmacSha384Tests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha384Tests.Ctor_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.CertificateCreation.PrivateKeyAssociationTests.CheckCopyWithPrivateKey_MLKem_OtherMLKem_Seed [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.X509Certificates.Tests.CertificateCreation.PrivateKeyAssociationTests.GetMLKemPrivateKey_NoPrivateKey [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.Tests.HmacSha384Tests.Verify_CryptographicOperations_HashName_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha384Tests.Verify_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromByteSpan.VerifyPreserveProvider(preserveProvider: False, preserveName: True, machineKey: True) [FAIL]
        Assert.NotEqual() Failure: Strings are equal
        Expected: Not "Microsoft Enhanced RSA and AES Cryptographic Provi"···
        Actual:       "Microsoft Enhanced RSA and AES Cryptographic Provi"···
        Stack Trace:
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(149,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveProvider(Boolean preserveProvider, Boolean preserveName, Boolean machineKey)
             at InvokeStub_X509CertificateLoaderPkcs12Tests.VerifyPreserveProvider(Object, Span`1)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(136,0): at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromByteSpan.VerifyPreserveProvider(preserveProvider: False, preserveName: False, machineKey: True) [FAIL]
        Assert.NotEqual() Failure: Strings are equal
        Expected: Not "Microsoft Enhanced RSA and AES Cryptographic Provi"···
        Actual:       "Microsoft Enhanced RSA and AES Cryptographic Provi"···
        Stack Trace:
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(149,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveProvider(Boolean preserveProvider, Boolean preserveName, Boolean machineKey)
             at InvokeStub_X509CertificateLoaderPkcs12Tests.VerifyPreserveProvider(Object, Span`1)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(136,0): at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      System.Security.Cryptography.Rsa.Tests.SignVerify_Array.Pkcs1UnsupportedHashAlgorithm [SKIP]
        Condition(s) not met: "NoSupportsSha3"
      System.Security.Cryptography.Rsa.Tests.SignVerify_Array.PssUnsupportedHashAlgorithm [SKIP]
        Condition(s) not met: "NoSupportsSha3"
      System.Security.Cryptography.Tests.FactorySha1Tests.Create_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.CertificateCreation.PrivateKeyAssociationTests.CheckCopyWithPrivateKey_SlhDsa [SKIP]
        Condition(s) not met: "IsSupported"
      System.Security.Cryptography.Tests.AesGcmIsSupportedTests.CtorThrowsPNSEIfNotSupported [SKIP]
        Condition(s) not met: "RuntimeSaysIsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.CertificateCreation.PrivateKeyAssociationTests.CheckCopyWithPrivateKey_MLKem_OtherMLKem_DecapsulationKey [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.Tests.IncrementalHashTests.UnsupportedAlgorithms [SKIP]
        Condition(s) not met: "DoesNotSupportSha3"
      System.Security.Cryptography.Tests.FactorySha1Tests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.Kmac128Tests.NotSupported_ThrowsPlatformNotSupportedException [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.MLDsaCngTests_AllowPlaintextExport.GenerateSignVerifyEmptyMessageExternalMuNoContext [SKIP]
        Condition(s) not met: "ExternalMuIsSupported"
      System.Security.Cryptography.Tests.MLDsaCngTests_AllowPlaintextExport.NistImportPrivateKeyVerifyExportsAndSignature [SKIP]
        Condition(s) not met: "SupportsExportingPrivateKeyPkcs8"
      System.Security.Cryptography.Tests.MLDsaCngTests_AllowPlaintextExport.NistImportPublicKeyVerifyExternalMu [SKIP]
        Condition(s) not met: "ExternalMuIsSupported"
      System.Security.Cryptography.Tests.MLDsaCngTests_AllowPlaintextExport.GenerateSignVerifyEmptyMessageExternalMuWithContext [SKIP]
        Condition(s) not met: "ExternalMuIsSupported"
      System.Security.Cryptography.Tests.MLDsaCngTests_AllowPlaintextExport.GenerateSignVerifyExternalMuWithContext [SKIP]
        Condition(s) not met: "ExternalMuIsSupported"
      System.Security.Cryptography.Tests.MLDsaCngTests_AllowPlaintextExport.GenerateSignVerifyExternalMuNoContext [SKIP]
        Condition(s) not met: "ExternalMuIsSupported"
      System.Security.Cryptography.Tests.MLDsaCngTests_AllowPlaintextExport.ImportPrivateKey_Export [SKIP]
        Condition(s) not met: "SupportsExportingPrivateKeyPkcs8"
      System.Security.Cryptography.Tests.MLDsaCngTests_AllowPlaintextExport.ImportPrivateKey_CannotReconstructSeed [SKIP]
        Condition(s) not met: "SupportsExportingPrivateKeyPkcs8"
      System.Security.Cryptography.Dsa.Tests.DSAFactoryTests.DSACreate_NotSupported [SKIP]
        Condition(s) not met: "IsDSANotSupported"
      System.Security.Cryptography.Tests.AesCcmIsSupportedTests.CtorThrowsPNSEIfNotSupported [SKIP]
        Condition(s) not met: "RuntimeSaysIsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.X509Certificate2PemTests.CreateFromPem_SlhDsa_Pkcs8_Success [SKIP]
        Condition(s) not met: "IsSupported"
      System.Security.Cryptography.X509Certificates.Tests.X509Certificate2PemTests.CreateFromPem_SlhDsa_Pkcs8_Ietf_Success [SKIP]
        Condition(s) not met: "IsSupported"
      System.Security.Cryptography.X509Certificates.Tests.X509Certificate2PemTests.CreateFromPem_MLKem_Pkcs8_Success [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.Tests.FactorySha512Tests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.X509Certificate2PemTests.CreateFromEncryptedPem_MLKem_Pkcs8_Success [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromFile.VerifyPreserveProvider(preserveProvider: False, preserveName: True, machineKey: True) [FAIL]
        Assert.NotEqual() Failure: Strings are equal
        Expected: Not "Microsoft Enhanced RSA and AES Cryptographic Provi"···
        Actual:       "Microsoft Enhanced RSA and AES Cryptographic Provi"···
        Stack Trace:
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(149,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveProvider(Boolean preserveProvider, Boolean preserveName, Boolean machineKey)
             at InvokeStub_X509CertificateLoaderPkcs12Tests.VerifyPreserveProvider(Object, Span`1)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(136,0): at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      System.Security.Cryptography.Encryption.RC2.Tests.RC2CipherOneShotTests.DecryptOneShot_Cfb8_ToleratesExtraPadding [SKIP]
        RC2 does not support CFB.
      System.Security.Cryptography.Encryption.RC2.Tests.RC2CipherOneShotTests.DecryptOneShot_Cfb_InvalidPadding_DoesNotContainPlaintext(paddingMode: PKCS7, ciphertextSize: 0) [SKIP]
        RC2 does not support CFB.
      System.Security.Cryptography.Encryption.RC2.Tests.RC2CipherOneShotTests.DecryptOneShot_Cfb_InvalidPadding_DoesNotContainPlaintext(paddingMode: ANSIX923, ciphertextSize: 0) [SKIP]
        RC2 does not support CFB.
      System.Security.Cryptography.Encryption.RC2.Tests.RC2CipherOneShotTests.DecryptOneShot_Cfb_InvalidPadding_DoesNotContainPlaintext(paddingMode: ISO10126, ciphertextSize: 0) [SKIP]
        RC2 does not support CFB.
      System.Security.Cryptography.Encryption.RC2.Tests.RC2CipherOneShotTests.DecryptOneShot_Cfb_InvalidPadding_DoesNotContainPlaintext(paddingMode: PKCS7, ciphertextSize: 2048) [SKIP]
        RC2 does not support CFB.
      System.Security.Cryptography.Encryption.RC2.Tests.RC2CipherOneShotTests.DecryptOneShot_Cfb_InvalidPadding_DoesNotContainPlaintext(paddingMode: ANSIX923, ciphertextSize: 2048) [SKIP]
        RC2 does not support CFB.
      System.Security.Cryptography.Encryption.RC2.Tests.RC2CipherOneShotTests.DecryptOneShot_Cfb_InvalidPadding_DoesNotContainPlaintext(paddingMode: ISO10126, ciphertextSize: 2048) [SKIP]
        RC2 does not support CFB.
      System.Security.Cryptography.Encryption.RC2.Tests.RC2CipherOneShotTests.DecryptOneShot_Cfb8_TooShortDoesNotContainPlaintext(paddingMode: PKCS7) [SKIP]
        RC2 does not support CFB.
      System.Security.Cryptography.Encryption.RC2.Tests.RC2CipherOneShotTests.DecryptOneShot_Cfb8_TooShortDoesNotContainPlaintext(paddingMode: ANSIX923) [SKIP]
        RC2 does not support CFB.
      System.Security.Cryptography.Encryption.RC2.Tests.RC2CipherOneShotTests.DecryptOneShot_Cfb8_TooShortDoesNotContainPlaintext(paddingMode: ISO10126) [SKIP]
        RC2 does not support CFB.
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromFile.VerifyPreserveProvider(preserveProvider: False, preserveName: False, machineKey: True) [FAIL]
        Assert.NotEqual() Failure: Strings are equal
        Expected: Not "Microsoft Enhanced RSA and AES Cryptographic Provi"···
        Actual:       "Microsoft Enhanced RSA and AES Cryptographic Provi"···
        Stack Trace:
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(149,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveProvider(Boolean preserveProvider, Boolean preserveName, Boolean machineKey)
             at InvokeStub_X509CertificateLoaderPkcs12Tests.VerifyPreserveProvider(Object, Span`1)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(136,0): at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromFile.VerifyPreserveAlias(preserveAlias: True, machineKey: True) [FAIL]
        System.Security.Cryptography.CryptographicException : Access denied.
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\CngKey.Create.cs(58,0): at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(240,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.MakeAttributeTest(String keyName, String friendlyName, Boolean useCapi, Boolean machineKey, String testName)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(68,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveAlias(Boolean preserveAlias, Boolean machineKey)
             at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(174,0): at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
      System.Security.Cryptography.Rsa.Tests.SignVerify_TrySpan.PssUnsupportedHashAlgorithm [SKIP]
        Condition(s) not met: "NoSupportsSha3"
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromFile.VerifyPreserveAlias(preserveAlias: False, machineKey: True) [FAIL]
        System.Security.Cryptography.CryptographicException : Access denied.
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\CngKey.Create.cs(58,0): at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(240,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.MakeAttributeTest(String keyName, String friendlyName, Boolean useCapi, Boolean machineKey, String testName)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(68,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveAlias(Boolean preserveAlias, Boolean machineKey)
             at InvokeStub_X509CertificateLoaderPkcs12Tests.VerifyPreserveAlias(Object, Span`1)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(136,0): at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      System.Security.Cryptography.Rsa.Tests.SignVerify_TrySpan.Pkcs1UnsupportedHashAlgorithm [SKIP]
        Condition(s) not met: "NoSupportsSha3"
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromFile.VerifyPreserveKeyName(preserveName: True, machineKey: True) [FAIL]
        System.Security.Cryptography.CryptographicException : Access denied.
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\CngKey.Create.cs(58,0): at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(240,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.MakeAttributeTest(String keyName, String friendlyName, Boolean useCapi, Boolean machineKey, String testName)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(24,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveKeyName(Boolean preserveName, Boolean machineKey)
             at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(174,0): at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
      System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests_FromFile.VerifyPreserveKeyName(preserveName: False, machineKey: True) [FAIL]
        System.Security.Cryptography.CryptographicException : Access denied.
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\CngKey.Create.cs(58,0): at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(240,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.MakeAttributeTest(String keyName, String friendlyName, Boolean useCapi, Boolean machineKey, String testName)
          D:\repos\runtime\src\libraries\Common\tests\System\Security\Cryptography\X509Certificates\X509CertificateLoaderPkcs12Tests.WindowsAttributes.cs(24,0): at System.Security.Cryptography.X509Certificates.Tests.X509CertificateLoaderPkcs12Tests.VerifyPreserveKeyName(Boolean preserveName, Boolean machineKey)
             at InvokeStub_X509CertificateLoaderPkcs12Tests.VerifyPreserveKeyName(Object, Span`1)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(136,0): at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      System.Security.Cryptography.Tests.HmacSha512Tests.Verify_CryptographicOperations_HashName_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha512Tests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha512Tests.Ctor_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha512Tests.Verify_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.FactorySha512Tests.Create_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.FactorySha512Tests.CryptographicOperations_HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Rsa.Tests.SignVerify_Span.Pkcs1UnsupportedHashAlgorithm [SKIP]
        Condition(s) not met: "NoSupportsSha3"
      System.Security.Cryptography.Rsa.Tests.SignVerify_AllocatingSpan.PssUnsupportedHashAlgorithm [SKIP]
        Condition(s) not met: "NoSupportsSha3"
      System.Security.Cryptography.Rsa.Tests.SignVerify_AllocatingSpan.Pkcs1UnsupportedHashAlgorithm [SKIP]
        Condition(s) not met: "NoSupportsSha3"
      System.Security.Cryptography.Rsa.Tests.SignVerify_Span.PssUnsupportedHashAlgorithm [SKIP]
        Condition(s) not met: "NoSupportsSha3"
      System.Security.Cryptography.Tests.CryptoConfigTests.NamedAsymmetricAlgorithmCreate_DSA_NotSupported [SKIP]
        Condition(s) not met: "IsDSANotSupported"
      System.Security.Cryptography.Tests.HmacSha3_384Tests.Ctor_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha3_384Tests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.CertTests.PrivateKey_FromCertificate_CanExportPrivate_SlhDsa [SKIP]
        Condition(s) not met: "IsSupported"
      System.Security.Cryptography.Tests.HmacSha3_384Tests.Verify_CryptographicOperations_HashName_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacSha3_384Tests.Verify_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacMD5Tests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacMD5Tests.Ctor_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacMD5Tests.Verify_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.HmacMD5Tests.Verify_CryptographicOperations_HashName_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.SHA3_512Tests.CryptographicOperations_HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.Sha512ManagedTests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.SHA3_512Tests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.SHA3_512Tests.Create_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.Kmac256Tests.NotSupported_ThrowsPlatformNotSupportedException [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.PublicKeyTests.ExportSubjectPublicKeyInfo_SlhDsa [SKIP]
        Condition(s) not met: "IsSupported"
      System.Security.Cryptography.X509Certificates.Tests.PublicKeyTests.ExportSubjectPublicKeyInfo_SlhDsa_Independent [SKIP]
        Condition(s) not met: "IsSupported"
      System.Security.Cryptography.Tests.KmacXof128Tests.NotSupported_ThrowsPlatformNotSupportedException [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.KmacXof256Tests.NotSupported_ThrowsPlatformNotSupportedException [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.MLKemCertTests.GetMLKemPublicKey_PlatformNotSupported [SKIP]
        Condition(s) not met: "MLKemIsNotSupported"
      System.Security.Cryptography.EcDsa.Tests.ECDsaTests_Array.SignHash_TamperedSignature(ecdsa: System.Security.Cryptography.ECDsaCng) [SKIP]
        SignHash not implemented.
      System.Security.Cryptography.Rsa.Tests.KeyGeneration.GenerateMaxKey [SKIP]
        Condition(s) not met: "IsStressModeEnabled"
      System.Security.Cryptography.EcDsa.Tests.ECDsaTests_Array.SignHash_DifferentHashes(ecdsa: System.Security.Cryptography.ECDsaCng) [SKIP]
        SignHash not implemented.
      System.Security.Cryptography.Tests.Sha512ManagedTests.CryptographicOperations_HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.Sha512ManagedTests.Create_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.Sha1ManagedTests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.Sha1ManagedTests.CryptographicOperations_HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.EcDsa.Tests.ECDsaTests_Array.SignHash_Roundtrip(ecdsa: System.Security.Cryptography.ECDsaCng) [SKIP]
        SignHash not implemented.
      System.Security.Cryptography.X509Certificates.Tests.NameTests.Encode_FailsForIncorrectSurrogatePair [SKIP]
        Condition(s) not met: "IsNotWindows"
      System.Security.Cryptography.Tests.MLDsaCngTests_AllowExport.GenerateSignVerifyEmptyMessageExternalMuWithContext [SKIP]
        Condition(s) not met: "ExternalMuIsSupported"
      System.Security.Cryptography.Tests.MLDsaImplementationTests.GenerateSignVerifyEmptyMessageExternalMuNoContext [SKIP]
        Condition(s) not met: "ExternalMuIsSupported"
      System.Security.Cryptography.Tests.MLDsaImplementationTests.GenerateSignVerifyEmptyMessageExternalMuWithContext [SKIP]
        Condition(s) not met: "ExternalMuIsSupported"
      System.Security.Cryptography.Tests.MD5Tests.Create_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.MLDsaCngTests_AllowExport.NistImportPublicKeyVerifyExternalMu [SKIP]
        Condition(s) not met: "ExternalMuIsSupported"
      System.Security.Cryptography.Tests.MLDsaCngTests_AllowExport.NistImportPrivateKeyVerifyExportsAndSignature [SKIP]
        Condition(s) not met: "SupportsExportingPrivateKeyPkcs8"
      System.Security.Cryptography.Tests.MLDsaCngTests_AllowExport.GenerateSignVerifyExternalMuNoContext [SKIP]
        Condition(s) not met: "ExternalMuIsSupported"
      System.Security.Cryptography.Tests.MLDsaImplementationTests.ImportPrivateKey_CannotReconstructSeed [SKIP]
        Condition(s) not met: "SupportsExportingPrivateKeyPkcs8"
      System.Security.Cryptography.Tests.MLDsaCngTests_AllowExport.ImportPrivateKey_Export [SKIP]
        Condition(s) not met: "SupportsExportingPrivateKeyPkcs8"
      System.Security.Cryptography.Tests.MLDsaImplementationTests.GenerateSignVerifyExternalMuNoContext [SKIP]
        Condition(s) not met: "ExternalMuIsSupported"
      System.Security.Cryptography.Tests.MLDsaImplementationTests.GenerateSignVerifyExternalMuWithContext [SKIP]
        Condition(s) not met: "ExternalMuIsSupported"
      System.Security.Cryptography.Tests.MLDsaImplementationTests.NistImportPrivateKeyVerifyExportsAndSignature [SKIP]
        Condition(s) not met: "SupportsExportingPrivateKeyPkcs8"
      System.Security.Cryptography.Tests.Sha1ManagedTests.Create_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.MLDsaCngTests_AllowExport.GenerateSignVerifyEmptyMessageExternalMuNoContext [SKIP]
        Condition(s) not met: "ExternalMuIsSupported"
      System.Security.Cryptography.Tests.MLDsaCngTests_AllowExport.ImportPrivateKey_CannotReconstructSeed [SKIP]
        Condition(s) not met: "SupportsExportingPrivateKeyPkcs8"
      System.Security.Cryptography.Tests.MLDsaCngTests_AllowExport.GenerateSignVerifyExternalMuWithContext [SKIP]
        Condition(s) not met: "ExternalMuIsSupported"
      System.Security.Cryptography.Tests.MD5Tests.CryptographicOperations_HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.MD5Tests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.MLDsaImplementationTests.NistImportPublicKeyVerifyExternalMu [SKIP]
        Condition(s) not met: "ExternalMuIsSupported"
      System.Security.Cryptography.Tests.MLDsaImplementationTests.ImportPrivateKey_Export [SKIP]
        Condition(s) not met: "SupportsExportingPrivateKeyPkcs8"
      System.Security.Cryptography.X509Certificates.Tests.CertificateCreation.CertificateRequestChainTests.CreateChain_SlhDsa [SKIP]
        Condition(s) not met: "IsSupported"
      System.Security.Cryptography.Tests.SHA3_384Tests.CryptographicOperations_HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.SHA3_384Tests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.X509Certificates.Tests.CertTests.PrivateKey_FromCertificate_CanExportPrivate_MLKem [SKIP]
        Condition(s) not met: "IsPqcMLKemX509Supported"
      System.Security.Cryptography.Tests.FactorySha384Tests.CryptographicOperations_HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Rfc2898OneShotTests.UnsupportedPkbdf2Algorithms [SKIP]
        Condition(s) not met: "DoesNotSupportSha3"
      System.Security.Cryptography.Rfc2898OneShotTests.Pbkdf2_OpenSsl [SKIP]
        Condition(s) not met: "IsOpenSslSupported"
      System.Security.Cryptography.Tests.FactorySha384Tests.Create_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.SHA3_384Tests.Create_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
      System.Security.Cryptography.Tests.FactorySha384Tests.HashData_NotSupported [SKIP]
        Condition(s) not met: "IsNotSupported"
    Finished:    System.Security.Cryptography.Tests
  === TEST EXECUTION SUMMARY ===
     System.Security.Cryptography.Tests  Total: 13704, Errors: 0, Failed: 18, Skipped: 194, Time: 68.617s

Metadata

Metadata

Assignees

Labels

area-System.Securityin-prThere is an active PR which will close this issue when it is mergedtest-bugProblem in test source code (most likely)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions