Skip to content

KestrelConfigurationLoaderTests.ConfigureEndpointDevelopmentCertificateGetsLoadedWhenPresent is flaky #48736

Open
@amcasey

Description

@amcasey

Failing Test(s)

  • Microsoft.AspNetCore.Server.Kestrel.Tests.KestrelConfigurationLoaderTests.ConfigureEndpointDevelopmentCertificateGetsLoadedWhenPresent

Error Message

System.Security.Cryptography.CryptographicException : Key not valid for use in specified state.

Stacktrace

System.Security.Cryptography.CryptographicException : Key not valid for use in specified state.
  at System.Security.Cryptography.X509Certificates.StorePal.Export(X509ContentType contentType, SafePasswordHandle password)
  at System.Security.Cryptography.X509Certificates.CertificatePal.Export(X509ContentType contentType, SafePasswordHandle password)
  at System.Security.Cryptography.X509Certificates.X509Certificate.Export(X509ContentType contentType, String password)
  at Microsoft.AspNetCore.Server.Kestrel.Tests.KestrelConfigurationLoaderTests.ConfigureEndpointDevelopmentCertificateGetsLoadedWhenPresent() in /_/src/Servers/Kestrel/Kestrel/test/KestrelConfigurationLoaderTests.cs:line 248
  at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
  at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=303767&view=results

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionstest-failure

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions