runtime: System.Net tests failing with System.TimeoutException
For example:
- Test: System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ConnectionPooling_Test.Http2_SmallConnectionTimeout_SubsequentRequestUsesDifferentConnection
System.TimeoutException : The operation has timed out.
Stack Trace:
/_/src/libraries/Common/tests/System/Net/Http/Http2LoopbackServer.cs(196,0): at System.Net.Test.Common.Http2LoopbackServerFactory.CreateServerAsync(Func`3 funcAsync, Int32 millisecondsTimeout)
/_/src/libraries/System.Net.Http/tests/FunctionalTests/SocketsHttpHandlerTest.cs(1441,0): at System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ConnectionPooling_Test.Http2_SmallConnectionTimeout_SubsequentRequestUsesDifferentConnection(String timeoutPropertyName)
--- End of stack trace from previous location ---
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (20 by maintainers)
Looks like the failures stopped with #55006.
GetAsync_CancelDuringResponseHeadersReceived_TaskCanceledQuickly is a test I enabled for HTTP3 in my PR. so it’s possible that this is a separate regression from whatever else is going on here. But it seems like we should figure out the general issue here first.
@karelz it’s quite easy for me to re-send a job from > 4 days ago to the current machines and see if it still has the problem, even repeatedly if that’s useful. Just pick a “blessed” one and I can send it around.
Some more thoughts:
Top 27 methods by number of failures caused by timeout are all happening on
ubuntu.1604.amd64.open.rt.