runtime: CI error: System.Net.Quic.QuicException: The connection timed out from inactivity

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=640353 Build error leg or test failing: System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_MaxResponseHeadersLength_Http3.LargeSingleHeader_ThrowsException

Error Message

Multiple System.Net.Quic.QuicException : The connection timed out from inactivity. in System.Net.Quic tests on “smaller” platforms, e.g. Alpine3.15 arm 32

 System.Net.Quic.QuicException : The connection timed out from inactivity.
      Stack Trace:
        /_/src/libraries/System.Net.Quic/src/System/Net/Quic/QuicConnection.cs(547,0): at System.Net.Quic.QuicConnection.HandleConnectionEvent(QUIC_CONNECTION_EVENT& connectionEvent)
        /_/src/libraries/System.Net.Quic/src/System/Net/Quic/QuicConnection.cs(581,0): at System.Net.Quic.QuicConnection.NativeCallback(QUIC_HANDLE* connection, Void* context, QUIC_CONNECTION_EVENT* connectionEvent)
        --- End of stack trace from previous location ---
        /_/src/libraries/System.Net.Quic/src/System/Net/Quic/Internal/ValueTaskSource.cs(176,0): at System.Net.Quic.ValueTaskSource.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
        /_/src/libraries/System.Net.Quic/src/System/Net/Quic/QuicConnection.cs(324,0): at System.Net.Quic.QuicConnection.FinishConnectAsync(QuicClientConnectionOptions options, CancellationToken cancellationToken)
        /_/src/libraries/System.Net.Quic/src/System/Net/Quic/QuicConnection.cs(72,0): at System.Net.Quic.QuicConnection.<ConnectAsync>g__StartConnectAsync|2_0(QuicClientConnectionOptions options, CancellationToken cancellationToken)
        /_/src/libraries/System.Net.Quic/src/System/Net/Quic/QuicConnection.cs(77,0): at System.Net.Quic.QuicConnection.<ConnectAsync>g__StartConnectAsync|2_0(QuicClientConnectionOptions options, CancellationToken cancellationToken)
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs(214,0): at System.Net.Quic.Tests.QuicTestBase.CreateConnectedQuicConnection(QuicClientConnectionOptions clientOptions, QuicListener listener)
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs(245,0): at System.Net.Quic.Tests.QuicTestBase.CreateConnectedQuicConnection(QuicClientConnectionOptions clientOptions, QuicListener listener)
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicConnectionTests.cs(315,0): at System.Net.Quic.Tests.QuicConnectionTests.AcceptStreamAsync_ConnectionDisposed_Throws()
{
  "ErrorPattern": "System.Net.Quic.QuicException ?: The connection timed out from inactivity",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=640353 Error message validated: [System.Net.Quic.QuicException ?: The connection timed out from inactivity] Result validation: ✅ Known issue matched with the provided build. Validation performed at: 4/16/2024 11:07:05 AM UTC

Report

Build Definition Test Pull Request
745864 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.WriteTests dotnet/runtime#104680
743164 dotnet/runtime System.Net.Quic.Tests.QuicStreamTests.WriteAsync_LocalAbort_Throws dotnet/runtime#101624
742676 dotnet/runtime System.Net.Quic.Functional.Tests.WorkItemExecution dotnet/runtime#104856
742110 dotnet/runtime System.Net.Http.Functional.Tests.SocksProxyTest_Http2.TestLoopbackAsync
741273 dotnet/runtime System.Net.Quic.Tests.QuicStreamTests.WriteAsync_LocalAbort_Throws dotnet/runtime#101624
740929 dotnet/runtime System.Net.Quic.Tests.QuicStreamConformanceTests.ReadWrite_Success dotnet/runtime#101624
739937 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_AutoRedirect.GetAsync_AllowAutoRedirectTrue_RetainsOriginalFragmentIfAppropriate
738918 dotnet/runtime System.Net.Quic.Tests.QuicStreamTests.WriteAsync_LocalAbort_Throws dotnet/runtime#101624
737434 dotnet/runtime System.Net.Quic.Tests.QuicStreamTests.WriteAsync_LocalAbort_Throws dotnet/runtime#101624
736217 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.WriteTests dotnet/runtime#104684
735197 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_Http11_Cancellation_Test.GetAsync_CancelDuringResponseHeadersReceived_TaskCanceledQuickly
734813 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ServerClosesOutboundControlStream_ClientClosesConnection dotnet/runtime#104630
713739 dotnet/runtime System.Net.Quic.Tests.QuicStreamConformanceTests.ReadWrite_MessagesSmallerThanReadBuffer_Success dotnet/runtime#103646

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 7 13

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (14 by maintainers)

Commits related to this issue

Most upvoted comments

This was tracking the same pattern as #94507 and #97259 with the only differences being QuicException: The vs QuicException : The vs the trailing dot at the end. I’ve updated the pattern here to match all of them.

@JulieLeeMSFT yes, it popped in our weekly Networking CI report as well. We are digging into it – see pending PR #94683 and merged PR #94609

I’ve separated the disabled test into a new issue and I’m keeping this for the QUIC timeout

This test was activated for the #74896 issue. The failures are different but they’re coming from the same test, I’m investigating that.