Skip to content

Quarantine Microsoft.AspNetCore.Server.Kestrel.Core.Tests #60989

Open
@ilonatommy

Description

@ilonatommy

Failing Test(s)

  • Microsoft.AspNetCore.Server.Kestrel.Core.Tests.MessageBodyTests.ReadExitsGivenIncompleteChunkedExtension

  • Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HttpConnectionTests.WriteDataRateTimeoutAbortsConnection

  • Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.HeartbeatTakingLongerThanIntervalIsLoggedAsWarning

  • Microsoft.AspNetCore.Server.Kestrel.Core.Tests.ConcurrentPipeWriterTests.QueuesIfFlushIsNotAwaited

Error Message

System.TimeoutException : The operation has timed out.

Stacktrace

2025-03-17T18:56:50.6911785Z [xUnit.net 00:01:00.88]     Microsoft.AspNetCore.Server.Kestrel.Core.Tests.ConcurrentPipeWriterTests.QueuesIfFlushIsNotAwaited [FAIL]
2025-03-17T18:56:50.7184168Z [xUnit.net 00:01:00.88]       System.TimeoutException : The operation has timed out.
2025-03-17T18:56:50.7189703Z [xUnit.net 00:01:00.88]       Stack Trace:
2025-03-17T18:56:50.7213354Z [xUnit.net 00:01:00.88]         /_/src/Shared/TaskExtensions.cs(88,0): at Microsoft.AspNetCore.InternalTesting.TaskExtensions.TimeoutAfter[T](Task`1 task, TimeSpan timeout, String filePath, Int32 lineNumber)
2025-03-17T18:56:50.7243839Z [xUnit.net 00:01:00.88]         /_/src/Servers/Kestrel/Core/test/ConcurrentPipeWriterTests.cs(171,0): at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.ConcurrentPipeWriterTests.QueuesIfFlushIsNotAwaited()
2025-03-17T18:56:50.7246095Z [xUnit.net 00:01:00.88]         --- End of stack trace from previous location ---
2025-03-17T18:56:50.7252788Z   Passed Microsoft.AspNetCore.Server.Kestrel.Core.Tests.KestrelServerTests.StartWarnsWhenIgnoringIServerAddressesFeature(ignoredAddress: null) [127 ms]
2025-03-17T18:56:50.7255871Z   Passed Microsoft.AspNetCore.Server.Kestrel.Core.Tests.ConnectionDispatcherTests.StartAcceptingConnectionsAsyncLogsIfAcceptAsyncThrows [43 s]
2025-03-17T18:56:50.7260486Z   Passed Microsoft.AspNetCore.Server.Kestrel.Core.Tests.UTF8DecodingTests.ExceptionThrownForZeroOrNonAscii(bytes: [0]) [176 ms]
2025-03-17T18:56:50.7263300Z   Passed Microsoft.AspNetCore.Server.Kestrel.Core.Tests.KestrelServerTests.StartWarnsWhenIgnoringIServerAddressesFeature(ignoredAddress: "http://localhost:5000") [27 ms]
2025-03-17T18:56:50.7265872Z   Passed Microsoft.AspNetCore.Server.Kestrel.Core.Tests.ThrowingWasUpgradedWriteOnlyStreamTests.ThrowsOnWrite [960 ms]
2025-03-17T18:56:50.7270936Z   Failed Microsoft.AspNetCore.Server.Kestrel.Core.Tests.ConcurrentPipeWriterTests.QueuesIfFlushIsNotAwaited [43 s]
2025-03-17T18:56:50.7271792Z   Error Message:
2025-03-17T18:56:50.7272789Z    System.TimeoutException : The operation has timed out.
2025-03-17T18:56:50.7310715Z   Stack Trace:
2025-03-17T18:56:50.7363236Z      at Microsoft.AspNetCore.InternalTesting.TaskExtensions.TimeoutAfter[T](Task`1 task, TimeSpan timeout, String filePath, Int32 lineNumber) in /_/src/Shared/TaskExtensions.cs:line 88
2025-03-17T18:56:50.7363530Z    at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.ConcurrentPipeWriterTests.QueuesIfFlushIsNotAwaited() in /_/src/Servers/Kestrel/Core/test/ConcurrentPipeWriterTests.cs:line 171
2025-03-17T18:56:50.7363781Z --- End of stack trace from previous location ---
2025-03-17T18:56:50.7410964Z   Passed Microsoft.AspNetCore.Server.Kestrel.Core.Tests.KestrelServerTests.StartWarnsWhenIgnoringIServerAddressesFeature(ignoredAddress: "The value of the string shouldn't matter.") [108 ms]
2025-03-17T18:56:50.7614788Z [xUnit.net 00:01:00.95]     Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.HeartbeatTakingLongerThanIntervalIsLoggedAsWarning [FAIL]
2025-03-17T18:56:50.7629962Z [xUnit.net 00:01:00.95]       System.TimeoutException : The operation has timed out.
2025-03-17T18:56:50.7788689Z [xUnit.net 00:01:00.95]       Stack Trace:
2025-03-17T18:56:50.7799675Z [xUnit.net 00:01:00.95]         /_/src/Shared/TaskExtensions.cs(123,0): at Microsoft.AspNetCore.InternalTesting.TaskExtensions.TimeoutAfter(Task task, TimeSpan timeout, String filePath, Int32 lineNumber)
2025-03-17T18:56:50.7802892Z [xUnit.net 00:01:00.95]         /_/src/Servers/Kestrel/Core/test/HeartbeatTests.cs(125,0): at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.HeartbeatTakingLongerThanIntervalIsLoggedAsWarning()
2025-03-17T18:56:50.7820297Z [xUnit.net 00:01:00.95]         --- End of stack trace from previous location ---
2025-03-17T18:56:50.7866539Z [xUnit.net 00:01:00.95]       Output:
2025-03-17T18:56:50.7887987Z [xUnit.net 00:01:00.95]         | [0.001s] TestLifetime Information: Starting test HeartbeatTakingLongerThanIntervalIsLoggedAsWarning at 2025-03-17T18:56:06
2025-03-17T18:56:50.7892435Z [xUnit.net 00:01:00.95]         | [43.038s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests Error: Test threw an exception.
2025-03-17T18:56:50.7898639Z [xUnit.net 00:01:00.95]         | System.TimeoutException: The operation has timed out.
2025-03-17T18:56:50.7906283Z [xUnit.net 00:01:00.95]         |    at Microsoft.AspNetCore.InternalTesting.TaskExtensions.TimeoutAfter(Task task, TimeSpan timeout, String filePath, Int32 lineNumber) in /_/src/Shared/TaskExtensions.cs:line 123
2025-03-17T18:56:50.7936341Z [xUnit.net 00:01:00.95]         |    at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.HeartbeatTakingLongerThanIntervalIsLoggedAsWarning() in /_/src/Servers/Kestrel/Core/test/HeartbeatTests.cs:line 125
2025-03-17T18:56:50.8086680Z [xUnit.net 00:01:00.95]         |    at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass47_0.<<InvokeTestMethodAsync>b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 259
2025-03-17T18:56:50.8152607Z [xUnit.net 00:01:00.95]         | --- End of stack trace from previous location ---
2025-03-17T18:56:50.8161640Z [xUnit.net 00:01:00.95]         |    at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48
2025-03-17T18:56:50.8163614Z [xUnit.net 00:01:00.95]         |    at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
2025-03-17T18:56:50.8178085Z [xUnit.net 00:01:00.95]         | [43.042s] TestLifetime Information: Finished test HeartbeatTakingLongerThanIntervalIsLoggedAsWarning in 43.0411578s
2025-03-17T18:56:50.8180851Z [xUnit.net 00:01:01.03]     Microsoft.AspNetCore.Server.Kestrel.Core.Tests.MessageBodyTests.ReadExitsGivenIncompleteChunkedExtension [PASS]
2025-03-17T18:56:50.8182800Z [xUnit.net 00:01:01.03]       Output:
2025-03-17T18:56:50.8184787Z [xUnit.net 00:01:01.03]         | [0.006s] TestLifetime Information: Starting test ReadExitsGivenIncompleteChunkedExtension at 2025-03-17T18:56:48
2025-03-17T18:56:50.8186647Z [xUnit.net 00:01:01.03]         | [0.904s] TestLifetime Information: Finished test ReadExitsGivenIncompleteChunkedExtension in 0.8976525s
2025-03-17T18:56:50.8188462Z [xUnit.net 00:01:01.04]     Microsoft.AspNetCore.Server.Kestrel.Core.Tests.MessageBodyTests.LogsWhenStopsReadingRequestBody [PASS]
2025-03-17T18:56:50.8190306Z [xUnit.net 00:01:01.04]       Output:
2025-03-17T18:56:50.8192157Z [xUnit.net 00:01:01.04]         | [0.001s] TestLifetime Information: Starting test LogsWhenStopsReadingRequestBody at 2025-03-17T18:56:49
2025-03-17T18:56:50.8194082Z [xUnit.net 00:01:01.04]         | [0.008s] Microsoft.AspNetCore.Server.Kestrel Debug: Connection id "ConnectionId", Request id "RequestId": started reading request body.
2025-03-17T18:56:50.8196424Z [xUnit.net 00:01:01.04]         | [0.009s] Microsoft.AspNetCore.Server.Kestrel Debug: Connection id "ConnectionId", Request id "RequestId": done reading request body.
2025-03-17T18:56:50.8198283Z [xUnit.net 00:01:01.04]         | [0.009s] TestLifetime Information: Finished test LogsWhenStopsReadingRequestBody in 0.0078471s
2025-03-17T18:56:50.8200808Z [xUnit.net 00:01:01.05]     Microsoft.AspNetCore.Server.Kestrel.Core.Tests.MessageBodyTests.CompleteForZeroByteBodyDoesNotCompleteConnectionPipeNoopsReads [PASS]
2025-03-17T18:56:50.8203174Z [xUnit.net 00:01:01.05]       Output:
2025-03-17T18:56:50.8205476Z [xUnit.net 00:01:01.05]         | [0.001s] TestLifetime Information: Starting test CompleteForZeroByteBodyDoesNotCompleteConnectionPipeNoopsReads at 2025-03-17T18:56:49
2025-03-17T18:56:50.8207710Z [xUnit.net 00:01:01.05]         | [0.004s] TestLifetime Information: Finished test CompleteForZeroByteBodyDoesNotCompleteConnectionPipeNoopsReads in 0.0030284s
2025-03-17T18:56:50.8210184Z   Failed Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.HeartbeatTakingLongerThanIntervalIsLoggedAsWarning [42 s]

2025-03-17T18:56:50.3491724Z [xUnit.net 00:01:00.67]     Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HttpConnectionTests.WriteDataRateTimeoutAbortsConnection [FAIL]
2025-03-17T18:56:50.3495460Z [xUnit.net 00:01:00.68]       System.TimeoutException : The operation has timed out.
2025-03-17T18:56:50.3497599Z [xUnit.net 00:01:00.68]       Stack Trace:
2025-03-17T18:56:50.3499616Z [xUnit.net 00:01:00.68]         /_/src/Shared/TaskExtensions.cs(123,0): at Microsoft.AspNetCore.InternalTesting.TaskExtensions.TimeoutAfter(Task task, TimeSpan timeout, String filePath, Int32 lineNumber)
2025-03-17T18:56:50.3501641Z [xUnit.net 00:01:00.68]         /_/src/Servers/Kestrel/Core/test/HttpConnectionTests.cs(48,0): at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HttpConnectionTests.WriteDataRateTimeoutAbortsConnection()
2025-03-17T18:56:50.3503754Z [xUnit.net 00:01:00.68]         --- End of stack trace from previous location ---
2025-03-17T18:56:50.3505954Z [xUnit.net 00:01:00.68]     Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http1ConnectionTests.KeepsSameHeaderCollectionAcrossSends(header0Count: 5, header1Count: 5) [PASS]
2025-03-17T18:56:50.3508072Z [xUnit.net 00:01:00.68]       Output:
2025-03-17T18:56:50.3510145Z [xUnit.net 00:01:00.68]         | [0.003s] TestLifetime Information: Starting test KeepsSameHeaderCollectionAcrossSends-5-5 at 2025-03-17T18:56:49
2025-03-17T18:56:50.3512169Z [xUnit.net 00:01:00.68]         | [0.003s] Microsoft.AspNetCore.Server.Kestrel Warning: Connection processing ended abnormally.
2025-03-17T18:56:50.3514291Z [xUnit.net 00:01:00.68]         | System.NullReferenceException: Object reference not set to an instance of an object.
2025-03-17T18:56:50.3516378Z [xUnit.net 00:01:00.68]         |    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application) in /_/src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.cs:line 674
2025-03-17T18:56:50.3518533Z [xUnit.net 00:01:00.68]         |    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequestsAsync[TContext](IHttpApplication`1 application) in /_/src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.cs:line 581
2025-03-17T18:56:50.3520640Z [xUnit.net 00:01:00.68]         | [0.006s] Microsoft.AspNetCore.Server.Kestrel.Connections Debug: Connection id "TestConnectionId" disconnecting.
2025-03-17T18:56:50.4244576Z [xUnit.net 00:01:00.68]         | [0.006s] TestLifetime Information: Finished test KeepsSameHeaderCollectionAcrossSends-5-5 in 0.0037874s

2025-03-17T15:20:37.3298340Z [xUnit.net 00:01:05.40]     Microsoft.AspNetCore.Server.Kestrel.Core.Tests.MessageBodyTests.ReadExitsGivenIncompleteChunkedExtension [FAIL]
2025-03-17T15:20:37.3310232Z [xUnit.net 00:01:05.40]       System.TimeoutException : The operation has timed out.
2025-03-17T15:20:37.3312757Z [xUnit.net 00:01:05.40]       Stack Trace:
2025-03-17T15:20:37.3325625Z [xUnit.net 00:01:05.40]         /_/src/Shared/TaskExtensions.cs(88,0): at Microsoft.AspNetCore.InternalTesting.TaskExtensions.TimeoutAfter[T](Task`1 task, TimeSpan timeout, String filePath, Int32 lineNumber)
2025-03-17T15:20:37.3329097Z [xUnit.net 00:01:05.40]         /_/src/Servers/Kestrel/Core/test/MessageBodyTests.cs(350,0): at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.MessageBodyTests.ReadExitsGivenIncompleteChunkedExtension()
2025-03-17T15:20:37.3340278Z [xUnit.net 00:01:05.40]         --- End of stack trace from previous location ---
2025-03-17T15:20:37.3342161Z [xUnit.net 00:01:05.40]       Output:
2025-03-17T15:20:37.3354959Z [xUnit.net 00:01:05.40]         | [0.001s] TestLifetime Information: Starting test ReadExitsGivenIncompleteChunkedExtension at 2025-03-17T15:19:58
2025-03-17T15:20:37.3357310Z [xUnit.net 00:01:05.40]         | [33.808s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.MessageBodyTests Error: Test threw an exception.
2025-03-17T15:20:37.3360574Z [xUnit.net 00:01:05.40]         | System.TimeoutException: The operation has timed out.
2025-03-17T15:20:37.3363519Z [xUnit.net 00:01:05.40]         |    at Microsoft.AspNetCore.InternalTesting.TaskExtensions.TimeoutAfter[T](Task`1 task, TimeSpan timeout, String filePath, Int32 lineNumber) in /_/src/Shared/TaskExtensions.cs:line 88
2025-03-17T15:20:37.3366118Z [xUnit.net 00:01:05.40]         |    at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.MessageBodyTests.ReadExitsGivenIncompleteChunkedExtension() in /_/src/Servers/Kestrel/Core/test/MessageBodyTests.cs:line 350
2025-03-17T15:20:37.3369117Z [xUnit.net 00:01:05.40]         |    at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass47_0.<<InvokeTestMethodAsync>b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 259
2025-03-17T15:20:37.3371316Z [xUnit.net 00:01:05.40]         | --- End of stack trace from previous location ---
2025-03-17T15:20:37.3374202Z [xUnit.net 00:01:05.40]         |    at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48
2025-03-17T15:20:37.3376379Z [xUnit.net 00:01:05.40]         |    at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
2025-03-17T15:20:37.3385440Z [xUnit.net 00:01:05.40]         | [33.812s] TestLifetime Information: Finished test ReadExitsGivenIncompleteChunkedExtension in 33.8116001s

Logs

error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test Microsoft.AspNetCore.Server.Kestrel.Core.Tests.ConcurrentPipeWriterTests.QueuesIfFlushIsNotAwaited has failed. Check the Test tab or this console log: https://helix.dot.net/api/2019-06-17/jobs/45631d55-9f15-41e1-ba9c-0fc01bf2ecc2/workitems/Microsoft.AspNetCore.Server.Kestrel.Core.Tests--net10.0/console
error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.HeartbeatTakingLongerThanIntervalIsLoggedAsWarning has failed. Check the Test tab or this console log: https://helix.dot.net/api/2019-06-17/jobs/45631d55-9f15-41e1-ba9c-0fc01bf2ecc2/workitems/Microsoft.AspNetCore.Server.Kestrel.Core.Tests--net10.0/console
error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HttpConnectionTests.WriteDataRateTimeoutAbortsConnection has failed. Check the Test tab or this console log: https://helix.dot.net/api/2019-06-17/jobs/45631d55-9f15-41e1-ba9c-0fc01bf2ecc2/workitems/Microsoft.AspNetCore.Server.Kestrel.Core.Tests--net10.0/console
error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test Microsoft.AspNetCore.Server.Kestrel.Core.Tests.MessageBodyTests.ReadExitsGivenIncompleteChunkedExtension has failed. Check the Test tab or this console log: https://helix.dot.net/api/2019-06-17/jobs/8bc7329a-8dee-4684-b8cc-9a4c227705ef/workitems/Microsoft.AspNetCore.Server.Kestrel.Core.Tests--net10.0/console

Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=983039&view=logs&j=0932446f-c4a2-59c2-187c-ad542d294916

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