Skip to content

Quarantine Http2ConnectionTests (AbortedStream_ResetsAndDrainsRequest_RefusesFramesAfterEndOfStream, StopProcessingNextRequestSendsGracefulGOAWAYThenFinalGOAWAYWhenAllStreamsComplete, AbortSendsFinalGOAWAY, GOAWAY_Received_ConnectionLifetimeNotification_Cancelled) #66037

@wtgodbe

Description

@wtgodbe

Failing Test(s)

Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2ConnectionTests.AbortedStream_ResetsAndDrainsRequest_RefusesFramesAfterEndOfStream
Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2ConnectionTests.StopProcessingNextRequestSendsGracefulGOAWAYThenFinalGOAWAYWhenAllStreamsComplete
Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2ConnectionTests.AbortSendsFinalGOAWAY
Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2ConnectionTests.GOAWAY_Received_ConnectionLifetimeNotification_Cancelled

Error Message

Assert.Equal() Failure: Values differ
Expected: InvalidStreamId
Actual:   FrameAfterStreamClose

Stacktrace

Stack trace
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.AbortedStream_ResetsAndDrainsRequest_RefusesFramesAfterEndOfStream(Int32 intFinalFrameType) in /_/src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/Http2ConnectionTests.cs:line 5913
--- End of stack trace from previous location ---

Logs

Console log
[xUnit.net 00:00:48.04]     Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2ConnectionTests.AbortedStream_ResetsAndDrainsRequest_RefusesFramesAfterEndOfStream(intFinalFrameType: 9) [FAIL]
[xUnit.net 00:00:48.04]       Assert.Equal() Failure: Values differ
[xUnit.net 00:00:48.04]       Expected: InvalidStreamId
[xUnit.net 00:00:48.04]       Actual:   FrameAfterStreamClose
[xUnit.net 00:00:48.04]       Stack Trace:
[xUnit.net 00:00:48.05]         /_/src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/Http2TestBase.cs(435,0): at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2TestBase.AssertConnectionEndReason(ConnectionEndReason expectedEndReason)
[xUnit.net 00:00:48.05]         /_/src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/Http2ConnectionTests.cs(5913,0): at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2ConnectionTests.AbortedStream_ResetsAndDrainsRequest_RefusesFramesAfterEndOfStream(Int32 intFinalFrameType)
[xUnit.net 00:00:48.05]       Output:
[xUnit.net 00:00:48.05]         | [0.031s] TestLifetime Information: Starting test AbortedStream_ResetsAndDrainsRequest_RefusesFramesAfterEndOfStream-9 at 2026-03-27T11:13:57
[xUnit.net 00:00:48.05]         | [0.051s] Microsoft.AspNetCore.Server.Kestrel.Http2 Debug: Trace id "TestConnectionId:00000001": HTTP/2 stream error "INTERNAL_ERROR". A Reset is being sent to the stream.
[xUnit.net 00:00:48.05]         | Microsoft.AspNetCore.Connections.ConnectionAbortedException: The connection was aborted by the application.
[xUnit.net 00:00:48.05]         | [0.059s] Microsoft.AspNetCore.Server.Kestrel.Http2 Debug: Connection id "TestConnectionId": HTTP/2 connection error.
[xUnit.net 00:00:48.05]         | Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2ConnectionErrorException: HTTP/2 connection error (STREAM_CLOSED): The client sent a HEADERS frame to stream ID 1 which is in the "half-closed (remote) state".

Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=1354642

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions