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

ServerClosesConnection_ThrowsHttpProtocolException test failed with wrong exception type #92359

Closed
stephentoub opened this issue Sep 20, 2023 · 1 comment · Fixed by #93049
Closed
Assignees
Labels
area-System.Net.Http 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 test-run-core Test failures in .NET Core test runs
Milestone

Comments

@stephentoub
Copy link
Member

stephentoub commented Sep 20, 2023

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
@stephentoub stephentoub added area-System.Net.Http 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 Sep 20, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Sep 20, 2023
@ghost
Copy link

ghost commented Sep 20, 2023

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

Issue Details

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 ---
Author: stephentoub
Assignees: -
Labels:

area-System.Net.Http, blocking-clean-ci, Known Build Error

Milestone: -

@ManickaP ManickaP added this to the 9.0.0 milestone Sep 21, 2023
@ManickaP ManickaP removed the untriaged New issue has not been triaged by the area owner label Sep 21, 2023
@karelz karelz added the test-run-core Test failures in .NET Core test runs label Sep 21, 2023
@liveans liveans self-assigned this Oct 5, 2023
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Oct 5, 2023
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Oct 6, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Nov 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Http 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 test-run-core Test failures in .NET Core test runs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants