Skip to content

Quarantine Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2ConnectionTests.IgnoreNewStreamsDuringClosedConnection #60111

Open
@javiercn

Description

@javiercn

Failing Test(s)

Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2ConnectionTests.IgnoreNewStreamsDuringClosedConnection

Error Message

Assert.Equal() Failure: Values differ
Expected: ConnectionReset
Actual:   null

Stacktrace

   at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2TestBase.AssertConnectionEndReason(ConnectionEndReason expectedEndReason) in /_/src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/Http2TestBase.cs:line 435
   at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2ConnectionTests.IgnoreNewStreamsDuringClosedConnection() in /_/src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/Http2ConnectionTests.cs:line 5309
--- End of stack trace from previous location ---

Logs

[0.003s] [TestLifetime] [Information] Starting test IgnoreNewStreamsDuringClosedConnection at 2025-01-29T13:08:00
[0.010s] [Microsoft.AspNetCore.Server.Kestrel.Http2] [Verbose] Connection id "TestConnectionId" sending SETTINGS frame for stream ID 0 with length 24 and flags NONE.
[0.010s] [Microsoft.AspNetCore.Server.Kestrel.Http2] [Verbose] Connection id "TestConnectionId" sending WINDOW_UPDATE frame for stream ID 0 with length 4 and flags 0x0.
[0.011s] [Microsoft.AspNetCore.Server.Kestrel.Http2] [Verbose] Connection id "TestConnectionId" received SETTINGS frame for stream ID 0 with length 6 and flags NONE.
[0.011s] [Microsoft.AspNetCore.Server.Kestrel.Http2] [Verbose] Connection id "TestConnectionId" sending SETTINGS frame for stream ID 0 with length 0 and flags ACK.
[0.012s] [Microsoft.AspNetCore.Server.Kestrel.Http2] [Debug] Connection id "TestConnectionId" is closed. The last processed stream ID was 0.
[0.012s] [Microsoft.AspNetCore.Server.Kestrel.Http2] [Debug] The connection queue processing loop for TestConnectionId completed.
[0.031s] [Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2ConnectionTests] [Error] Test threw an exception.
Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
Expected: ConnectionReset
Actual:   null
   at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 154
   at Xunit.Assert.Equal[T](T expected, T actual) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 89
   at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2TestBase.AssertConnectionEndReason(ConnectionEndReason expectedEndReason) in /_/src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/Http2TestBase.cs:line 435
   at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2ConnectionTests.IgnoreNewStreamsDuringClosedConnection() in /_/src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/Http2ConnectionTests.cs:line 5309
   at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass47_0.<<InvokeTestMethodAsync>b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 259
--- End of stack trace from previous location ---
   at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48
   at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
[0.041s] [TestLifetime] [Information] Finished test IgnoreNewStreamsDuringClosedConnection in 0.0370686s

Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=933362&view=ms.vss-test-web.build-test-results-tab&runId=24712308&resultId=123718&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionstest-failure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions