Skip to content

ServerClosesConnection_ThrowsHttpProtocolException test failed with wrong exception type #92359

Closed

Description

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=413034
Build error leg or test failing: System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ServerClosesConnection_ThrowsHttpProtocolException
Pull request: #92310

Error Message

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

{
  "ErrorMessage": "ServerClosesConnection_ThrowsHttpProtocolException",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Failing Configuration
net9.0-windows-Debug-x64-CoreCLR_release-Windows.11.Amd64.Client.Open
Exception Message
Assert.IsType() Failure
Expected: System.Net.Http.HttpProtocolException
Actual:   System.Net.Quic.QuicException
CallStack
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.AssertProtocolErrorAsync(Int64 errorCode, Func`1 task) in /_/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http3.cs:line 39
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.<>c__DisplayClass9_0.<<ServerClosesConnection_ThrowsHttpProtocolException>b__1>d.MoveNext() in /_/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http3.cs:line 341
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 120
--- 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 90
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 55
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ServerClosesConnection_ThrowsHttpProtocolException() in /_/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http3.cs:line 344
--- End of stack trace from previous location ---

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=413034
Error message validated: ServerClosesConnection_ThrowsHttpProtocolException
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/20/2023 5:28:50 PM UTC

Report

Build Definition Test Pull Request
428083 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_Http11_Cancellation_Test.GetAsync_CancelDuringResponseHeadersReceived_TaskCanceledQuickly #92855
418439 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ServerClosesConnection_ThrowsHttpProtocolException
418385 dotnet/runtime System.Net.Http.Functional.Tests.HttpMetricsTest_Http30.RequestDuration_EnrichmentHandler_Success_Recorded
415260 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.SendMoreThanStreamLimitRequestsConcurrently_LastWaits
415139 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.SendStreamLimitRequestsConcurrently_Succeeds #92187
414357 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_RequestContentLengthMismatchTest_Http3.ContentLength_DoesNotMatchRequestContentLength_Throws #92405
414188 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ServerClosesConnection_ThrowsHttpProtocolException
413034 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.SendStreamLimitRequestsConcurrently_Succeeds #92310

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Net.Httpblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'test-run-coreTest failures in .NET Core test runs

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions