Skip to content

HTTP/3 Test Failure: SocketsHttpHandler_DiagnosticsTest_Http3.SendAsync_ExpectedDiagnosticCancelledLogging #104699

Description

@antonfirsov

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions