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

HTTP/3 Test Failure: SocketsHttpHandler_DiagnosticsTest_Http3.SendAsync_ExpectedDiagnosticCancelledLogging #104699

Closed
antonfirsov opened this issue Jul 10, 2024 · 1 comment · Fixed by #104797
Assignees
Labels
area-System.Net.Http disabled-test The test is disabled in source code against the issue test-run-core Test failures in .NET Core test runs
Milestone

Comments

@antonfirsov
Copy link
Member

I want to move on merging #104641 noting this test failure. It seems unrelated to diagnostic aspects.

Child exception:
  Xunit.Sdk.ThrowsException: Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(System.Net.Quic.QuicException)
Actual:   typeof(System.NullReferenceException)
   at System.Net.Test.Common.Http3LoopbackConnection.WaitForClientDisconnectAsync(Boolean refuseNewRequests) in /_/src/libraries/Common/tests/System/Net/Http/Http3LoopbackConnection.cs:line 318
   at System.Net.Test.Common.Http3LoopbackConnection.ShutdownAsync(Boolean failCurrentRequest) in /_/src/libraries/Common/tests/System/Net/Http/Http3LoopbackConnection.cs:line 286
   at System.Net.Test.Common.Http3LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) in /_/src/libraries/Common/tests/System/Net/Http/Http3LoopbackServer.cs:line 91
   at System.Net.Test.Common.Http3LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) in /_/src/libraries/Common/tests/System/Net/Http/Http3LoopbackServer.cs:line 91
   at System.Net.Http.Functional.Tests.DiagnosticsTest.<>c__DisplayClass10_1.<<SendAsync_ExpectedDiagnosticCancelledLogging>b__3>d.MoveNext() in /_/src/libraries/System.Net.Http/tests/FunctionalTests/DiagnosticsTests.cs:line 276
--- 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.Net.Test.Common.LoopbackServerFactory.<>c__DisplayClass6_0.<<CreateClientAndServerAsync>b__0>d.MoveNext() in /_/src/libraries/Common/tests/System/Net/Http/GenericLoopbackServer.cs:line 44
--- End of stack trace from previous location ---
   at System.Net.Test.Common.Http3LoopbackServerFactory.CreateServerAsync(Func`3 funcAsync, Int32 millisecondsTimeout, GenericLoopbackOptions options) in /_/src/libraries/Common/tests/System/Net/Http/Http3LoopbackServer.cs:line 115
   at System.Net.Http.Functional.Tests.DiagnosticsTest.<>c.<<SendAsync_ExpectedDiagnosticCancelledLogging>b__10_0>d.MoveNext() in /_/src/libraries/System.Net.Http/tests/FunctionalTests/DiagnosticsTests.cs:line 269
--- End of stack trace from previous location ---
   at Microsoft.DotNet.RemoteExecutor.Program.Main(String[] args) in /_/src/Microsoft.DotNet.RemoteExecutor/src/Program.cs:line 65

Child process:
  System.Net.Http.Functional.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 System.Net.Http.Functional.Tests.DiagnosticsTest+<>c System.Threading.Tasks.Task <SendAsync_ExpectedDiagnosticCancelledLogging>b__10_0(System.String, System.String)

Child arguments:
  3.0, True
@antonfirsov antonfirsov added area-System.Net.Http disabled-test The test is disabled in source code against the issue test-run-core Test failures in .NET Core test runs labels Jul 10, 2024
@antonfirsov antonfirsov added this to the 9.0.0 milestone Jul 10, 2024
Copy link
Contributor

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

@liveans liveans self-assigned this Jul 12, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Http disabled-test The test is disabled in source code against the issue test-run-core Test failures in .NET Core test runs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants