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

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

Open
javiercn opened this issue Jan 30, 2025 · 1 comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions test-failure

Comments

@javiercn
Copy link
Member

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

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions label Jan 30, 2025
@shethaadit
Copy link
Contributor

Hi @javiercn, I will raise PR for this soon. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions test-failure
Projects
None yet
Development

No branches or pull requests

2 participants