Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.Net.Quic.Tests.MsQuicTests.WriteTests failed with "System.Net.Quic.QuicException : The connection timed out from inactivity." #105177

Open
jakobbotsch opened this issue Jul 20, 2024 · 2 comments
Labels
area-System.Net.Quic blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-mac-os-x macOS aka OSX test-run-core Test failures in .NET Core test runs
Milestone

Comments

@jakobbotsch
Copy link
Member

jakobbotsch commented Jul 20, 2024

E.g.

    System.Net.Quic.Tests.MsQuicTests.WriteTests(writes: [[1000004, 1], [1, 15003], [1000004, 1000004], [15003, 15003], [1, 502]]) [FAIL]
      System.Net.Quic.QuicException : The connection timed out from inactivity.
      Stack Trace:
        /_/src/libraries/System.Net.Quic/src/System/Net/Quic/QuicConnection.cs(630,0): at System.Net.Quic.QuicConnection.HandleEventShutdownInitiatedByTransport(_SHUTDOWN_INITIATED_BY_TRANSPORT_e__Struct& data)
        /_/src/libraries/System.Net.Quic/src/System/Net/Quic/QuicConnection.cs(732,0): at System.Net.Quic.QuicConnection.HandleConnectionEvent(QUIC_CONNECTION_EVENT& connectionEvent)
        /_/src/libraries/System.Net.Quic/src/System/Net/Quic/QuicConnection.cs(767,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/QuicConnection.cs(561,0): at System.Net.Quic.QuicConnection.AcceptInboundStreamAsync(CancellationToken cancellationToken)
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/MsQuicTests.cs(1029,0): at System.Net.Quic.Tests.MsQuicTests.<>c__DisplayClass23_0.<<WriteTests>b__1>d.MoveNext()
        --- End of stack trace from previous location ---
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs(295,0): at System.Net.Quic.Tests.QuicTestBase.<>c__DisplayClass39_1.<<RunClientServer>b__0>d.MoveNext()
        --- End of stack trace from previous location ---
        /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(120,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task)
        --- End of stack trace from previous location ---
        /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(90,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks)
        /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(55,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout)
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs(291,0): at System.Net.Quic.Tests.QuicTestBase.RunClientServer(Func`2 clientFunction, Func`2 serverFunction, Int32 iterations, Int32 millisecondsTimeout, QuicListenerOptions listenerOptions)
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs(322,0): at System.Net.Quic.Tests.QuicTestBase.RunClientServer(Func`2 clientFunction, Func`2 serverFunction, Int32 iterations, Int32 millisecondsTimeout, QuicListenerOptions listenerOptions)
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs(322,0): at System.Net.Quic.Tests.QuicTestBase.RunClientServer(Func`2 clientFunction, Func`2 serverFunction, Int32 iterations, Int32 millisecondsTimeout, QuicListenerOptions listenerOptions)
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs(285,0): at System.Net.Quic.Tests.QuicTestBase.RunClientServer(Func`2 clientFunction, Func`2 serverFunction, Int32 iterations, Int32 millisecondsTimeout, QuicListenerOptions listenerOptions)
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/MsQuicTests.cs(1012,0): at System.Net.Quic.Tests.MsQuicTests.WriteTests(Int32[][] writes)
        --- End of stack trace from previous location ---

Console log: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-105169-merge-e8c1f9b799044b5882/System.Net.Quic.Functional.Tests/1/console.64747ae3.log?helixlogtype=result

Looks like we had a known failure #91757 before, but it was closed yesterday with #105109, cc @liveans. Note that the failure I saw here is on osx-x64, not arm32.

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=748550
Build error leg or test failing: System.Net.Quic.Tests.MsQuicTests.WriteTests
Pull request: #105169

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "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=748550
Error message validated: [System.Net.Quic.QuicException : The connection timed out from inactivity]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 7/20/2024 10:17:43 AM UTC

Report

Build Definition Test Pull Request
953693 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.CertificateCallbackThrowPropagates #112604
952981 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.CertificateCallbackThrowPropagates #111722
952885 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.CertificateCallbackThrowPropagates #112404
950719 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.CertificateCallbackThrowPropagates #111910
949854 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.CertificateCallbackThrowPropagates #112050
946508 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_CredentialIsCredentialCacheUriRedirect_StatusCodeOK
946432 dotnet/runtime System.Net.Quic.Tests.QuicStreamTests.ReadWrite_Random_Success
945016 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.CertificateCallbackThrowPropagates #111759
942217 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.CertificateCallbackThrowPropagates #112223
937448 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_CredentialIsCredentialCacheUriRedirect_StatusCodeOK
931827 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_CredentialIsCredentialCacheUriRedirect_StatusCodeOK
931794 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_CredentialIsCredentialCacheUriRedirect_StatusCodeOK
929498 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.CertificateCallbackThrowPropagates #111817
929319 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_PostScenarioTest.PostNonRewindableContentUsingAuth_PreAuthenticate_Success
928464 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.SendAsync_RequestVersion20_ResponseVersion20 #111802
926519 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.SendAsync_RequestVersion20_ResponseVersion20
926488 dotnet/runtime System.Net.Http.Functional.Tests.SyncHttpHandler_PostScenarioTest.PostRewindableStreamContentMultipleTimes_StreamContentFullySent
922881 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_PostScenarioTest.PostNonRewindableContentUsingAuth_PreAuthenticate_Success
922906 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.SendAsync_RequestVersion20_ResponseVersion20
922877 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.SendAsync_RequestVersion20_ResponseVersion20
921942 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_CredentialIsCredentialCacheUriRedirect_StatusCodeOK
921952 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_CredentialIsCredentialCacheUriRedirect_StatusCodeOK
921934 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.SendAsync_RequestVersion20_ResponseVersion20
921956 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_CredentialIsCredentialCacheUriRedirect_StatusCodeOK
921953 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.SendAsync_RequestVersion20_ResponseVersion20

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 7 25
@jakobbotsch jakobbotsch added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Jul 20, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jul 20, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

@liveans
Copy link
Member

liveans commented Jul 20, 2024

Related to #103482

@ManickaP ManickaP removed the untriaged New issue has not been triaged by the area owner label Jul 22, 2024
@ManickaP ManickaP added this to the 9.0.0 milestone Jul 22, 2024
@ManickaP ManickaP added the os-mac-os-x macOS aka OSX label Jul 22, 2024
@liveans liveans added the test-run-core Test failures in .NET Core test runs label Jul 23, 2024
@karelz karelz modified the milestones: 9.0.0, 10.0.0 Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Net.Quic blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-mac-os-x macOS aka OSX test-run-core Test failures in .NET Core test runs
Projects
None yet
Development

No branches or pull requests

4 participants