Open
Description
I see ~25 failures in CI in last month. I also frequently get local failure on my local Window 10 VM
System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_ConnectCallback_Http2.ConnectCallback_UseUnixDomainSocket_Success(useSsl: False) [FAIL]
System.OperationCanceledException : The operation was canceled.
Stack Trace:
C:\Users\test\github\wfurt-runtime\src\libraries\System.Private.CoreLib\src\System\Threading\CancellationToken.cs(379,0): at System.Threading.CancellationToken.ThrowOperationCanceledException()
C:\Users\test\github\wfurt-runtime\src\libraries\System.Net.Sockets\src\System\Net\Sockets\Socket.Tasks.cs(961,0): at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
C:\Users\test\github\wfurt-runtime\src\libraries\System.Net.Sockets\src\System\Net\Sockets\Socket.Tasks.cs(930,0): at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token)
C:\Users\test\github\wfurt-runtime\src\libraries\Common\tests\System\Net\Http\Http2LoopbackConnection.cs(124,0): at System.Net.Test.Common.Http2LoopbackConnection.FillBufferAsync(Memory`1 buffer, CancellationToken cancellationToken)
C:\Users\test\github\wfurt-runtime\src\libraries\Common\tests\System\Net\Http\Http2LoopbackConnection.cs(158,0): at System.Net.Test.Common.Http2LoopbackConnection.ReadFrameAsync(CancellationToken cancellationToken)
C:\Users\test\github\wfurt-runtime\src\libraries\Common\tests\System\Net\Http\Http2LoopbackConnection.cs(182,0): at System.Net.Test.Common.Http2LoopbackConnection.ReadFrameAsync(CancellationToken cancellationToken)
C:\Users\test\github\wfurt-runtime\src\libraries\Common\tests\System\Net\Http\Http2LoopbackConnection.cs(148,0): at System.Net.Test.Common.Http2LoopbackConnection.ReadFrameAsync(TimeSpan timeout)
C:\Users\test\github\wfurt-runtime\src\libraries\Common\tests\System\Net\Http\Http2LoopbackConnection.cs(290,0): at System.Net.Test.Common.Http2LoopbackConnection.WaitForClientDisconnectAsync(Boolean ignoreUnexpectedFrames)
C:\Users\test\github\wfurt-runtime\src\libraries\Common\tests\System\Net\Http\Http2LoopbackConnection.cs(321,0): at System.Net.Test.Common.Http2LoopbackConnection.WaitForConnectionShutdownAsync(Boolean ignoreUnexpectedFrames)
C:\Users\test\github\wfurt-runtime\src\libraries\Common\tests\System\Net\Http\Http2LoopbackConnection.cs(331,0): at System.Net.Test.Common.Http2LoopbackConnection.ShutdownIgnoringErrorsAsync(Int32 lastStreamId, ProtocolErrors errorCode)
C:\Users\test\github\wfurt-runtime\src\libraries\Common\tests\System\Net\Http\Http2LoopbackConnection.cs(795,0): at System.Net.Test.Common.Http2LoopbackConnection.Dispose()
C:\Users\test\github\wfurt-runtime\src\libraries\System.Net.Http\tests\FunctionalTests\SocketsHttpHandlerTest.cs(2494,0): at System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_ConnectCallback.ConnectCallback_UseUnixDomainSocket_Success(Boolean useSsl)
--- End of stack trace from previous location ---
Finished: System.Net.Http.Functional.Tests
=== TEST EXECUTION SUMMARY ===
System.Net.Http.Functional.Tests Total: 2303, Errors: 0, Failed: 1, Skipped: 14, Time: 35.140s
this does not seems load related. From the test, this failure happens after all the checks are done. Disposing Loopback server expects clean H/2 shutdown and it is not happening - at least not it timely matter.
It is curious this is failing only on Windows - where UnixDomainSocket is somewhat fresh.
Runfo Tracking Issue: connectcallback_useunixdomainsocket_success
Build | Definition | Kind | Run Name |
---|
Build Result Summary
Day Hit Count | Week Hit Count | Month Hit Count |
---|---|---|
0 | 0 | 0 |