runtime: System.Net.Security tests failing with: "The credentials supplied to the package were not recognized"
There is a group of tests that are failing intermittently with the error System.ComponentModel.Win32Exception : The credentials supplied to the package were not recognized
. I’m tracking their failures in this issue as they are likely due to the same underlying issue.
The following tests have failed at some point with this error:
- SslStream_StreamToStream_Authentication_Success
- SslStream_StreamToStream_HandshakeAlert_Ok
- SslStream_StreamToStream_DataAfterShutdown_Fail
- SslStream_StreamToStream_ServerInitiatedCloseNotify_Ok
- SslStream_StreamToStream_ClientInitiatedCloseNotify_Ok
- SslStream_StreamToStream_Write_ReadByte_Success
- ServerAsyncAuthenticate_AllClientVsIndividualServerSupportedProtocols_Success(serverProtocol: Tls11)
- ServerAsyncAuthenticate_AllClientVsIndividualServerSupportedProtocols_Success
- ServerAsyncAuthenticate_EachSupportedProtocol_Success(protocol: Tls11)
- ServerAsyncAuthenticate_MismatchProtocols_Fails(serverProtocol: Tls, clientProtocol: Tls11, expectedException: typeof(System.Security.Authentication.AuthenticationException))
None of these test failures are reproducible on local machines regardless of the number of runs executed, which suggests the issue lies in either the infrastructure or interference from other tests run alongside these. They only fail on Windows.
It might be helpful to get another pair of eyes on this to see if anything stands out. As it is, I’ve been unable to narrow the symptoms down to any definitive problem and @steveharter and my’s attempts to reproduce failures have been fruitless. I’ll be disabling this entire group of tests to regain stability until we can get more information on their source.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 52 (48 by maintainers)
So slow that you probably want to run just that test using corerun explicitly, rather than using msbuild /t:rebuildandtest, etc., as msbuild itself would end up running in that GCStress mode.