Repository navigation
Closed
Labels
area-System.Net.Httpdisabled-testThe test is disabled in source code against the issueos-linuxLinux OS (any supported distro)test-run-coreTest failures in .NET Core test runs
Milestone
Description
Test failures 5/23-7/23 (incl. PRs):
| Day | Run |
|---|---|
| 7/22 | PR #56153 |
| 7/22 | Official run |
| 7/25 | PR #56210 |
| 7/26 | 1x Official run + 8x PR |
| 7/26 | Test disabled |
Test: System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http3_MsQuic.ResponseCancellation_ServerReceivesCancellation(type: Dispose)
System.AggregateException : One or more errors occurred. (One or more errors occurred. (The operation has timed out.)) (One or more errors occurred. (Stream aborted by peer (4294967295).))
---- System.AggregateException : One or more errors occurred. (The operation has timed out.)
-------- System.TimeoutException : The operation has timed out.
---- System.AggregateException : One or more errors occurred. (Stream aborted by peer (4294967295).)
-------- System.Net.Quic.QuicStreamAbortedException : Stream aborted by peer (4294967295).
Stack trace
at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 80
at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 49
at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ResponseCancellation_ServerReceivesCancellation(CancellationType type) in /_/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http3.cs:line 544
--- End of stack trace from previous location ---
----- Inner Stack Trace #1 (System.AggregateException) -----
----- Inner Stack Trace -----
at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.<>c__DisplayClass12_0.<<ResponseCancellation_ServerReceivesCancellation>b__1>d.MoveNext() in /_/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http3.cs:line 512
--- End of stack trace from previous location ---
at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 63
----- Inner Stack Trace #2 (System.AggregateException) -----
----- Inner Stack Trace -----
at System.Net.Quic.Implementations.MsQuic.MsQuicStream.HandleWriteStartState(CancellationToken cancellationToken) in /_/src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/MsQuicStream.cs:line 328
at System.Net.Quic.Implementations.MsQuic.MsQuicStream.WriteAsync(ReadOnlyMemory`1 buffer, Boolean endStream, CancellationToken cancellationToken) in /_/src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/MsQuicStream.cs:line 256
at System.Net.Test.Common.Http3LoopbackStream.SendFrameHeaderAsync(Int64 frameType, Int32 payloadLength) in /_/src/libraries/Common/tests/System/Net/Http/Http3LoopbackStream.cs:line 149
at System.Net.Test.Common.Http3LoopbackStream.SendFrameAsync(Int64 frameType, ReadOnlyMemory`1 framePayload) in /_/src/libraries/Common/tests/System/Net/Http/Http3LoopbackStream.cs:line 155
at System.Net.Test.Common.Http3LoopbackStream.SendHeadersFrameAsync(IEnumerable`1 headers) in /_/src/libraries/Common/tests/System/Net/Http/Http3LoopbackStream.cs:line 109
at System.Net.Test.Common.Http3LoopbackStream.SendResponseHeadersAsync(HttpStatusCode statusCode, IEnumerable`1 headers) in /_/src/libraries/Common/tests/System/Net/Http/Http3LoopbackStream.cs:line 252
at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.<>c__DisplayClass12_0.<<ResponseCancellation_ServerReceivesCancellation>b__0>d.MoveNext() in /_/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http3.cs:line 486
Metadata
Metadata
Assignees
Labels
area-System.Net.Httpdisabled-testThe test is disabled in source code against the issueos-linuxLinux OS (any supported distro)test-run-coreTest failures in .NET Core test runs
Activity
wfurt commentedon Jul 23, 2021
Failure count not too bad. I've seen few occurrences in my local runs. I will investigate if that is just flaky test (cancellation tests are hard) or if there is systematic problem.
We may disable it in mean time to improve CI experience @karelz
karelz commentedon Jul 23, 2021
Right now, there were only 2 failures, so it didn't even pop up on my monitoring queries yet (I am looking at all 3+ failures and only some 2+ failures).
Top post updated with failures. Once it reaches unpleasant frequency, I will disable it.
Disable ResponseCancellation_ServerReceivesCancellation
[-]Failure test System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http3_MsQuic.ResponseCancellation_ServerReceivesCancellation[/-][+][HTTP/3] Test failure ResponseCancellation_ServerReceivesCancellation[/+]Disable test ResponseCancellation_ServerReceivesCancellation (#56291)
karelz commentedon Jul 26, 2021
Test disabled in PR #56291 on 7/26.
[HTTP/3] Reenable ResponseCancellation_ServerReceivesCancellation