Open
Description
Failing Test(s)
- Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.HeartbeatLoopRunsWithSpecifiedInterval
Error Message
Assert.Collection() Failure: Item comparison failure
↓ (pos 0)
Collection: [00:00:01.5383155, 00:00:00.3201810, 00:00:00.4393100, 00:00:00.3027799]
Error: 1550 is much larger than wait time of 300.
Stacktrace
Stack Trace:
//src/Servers/Kestrel/Core/test/HeartbeatTests.cs(95,0): at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.<HeartbeatLoopRunsWithSpecifiedInterval>g__AssertApproxEqual|1_6(Double intervalMs, Double actualMs)
//src/Servers/Kestrel/Core/test/HeartbeatTests.cs(75,0): at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.<>c__DisplayClass1_0.<HeartbeatLoopRunsWithSpecifiedInterval>b__2(TimeSpan ts)
Logs
[0.006s] TestLifetime Information: Starting test HeartbeatLoopRunsWithSpecifiedInterval at 2025-02-13T02:15:44
| [4.139s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests Information: Heartbeat split: 1538.3155ms
| [4.459s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests Information: Heartbeat split: 320.181ms
| [4.899s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests Information: Heartbeat split: 439.31ms
| [5.202s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests Information: Heartbeat split: 302.7799ms
| [5.207s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests Information: Heartbeat run 5 times. Notifying test.
| [5.704s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests Information: Starting heartbeat dispose.
| [7.603s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests Error: Test threw an exception.
| Xunit.Sdk.CollectionException: Assert.Collection() Failure: Item comparison failure
| ↓ (pos 0)
| Collection: [00:00:01.5383155, 00:00:00.3201810, 00:00:00.4393100, 00:00:00.3027799]
| Error: 1550 is much larger than wait time of 300.
| Stack Trace:
| /_/src/Servers/Kestrel/Core/test/HeartbeatTests.cs(95,0): at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.<HeartbeatLoopRunsWithSpecifiedInterval>g__AssertApproxEqual|1_6(Double intervalMs, Double actualMs)
| /_/src/Servers/Kestrel/Core/test/HeartbeatTests.cs(75,0): at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.<>c__DisplayClass1_0.<HeartbeatLoopRunsWithSpecifiedInterval>b__2(TimeSpan ts)
| at Xunit.Assert.Collection[T](IEnumerable`1 collection, Action`1[] elementInspectors) in /_/src/xunit.assert/Asserts/CollectionAsserts.cs:line 176
| at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.HeartbeatLoopRunsWithSpecifiedInterval() in /_/src/Servers/Kestrel/Core/test/HeartbeatTests.cs:line 74
| 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
| [7.605s] TestLifetime Information: Finished test HeartbeatLoopRunsWithSpecifiedInterval in 7.6034759s
Build
https://dev.azure.com/dnceng-public/public/_build/results?buildId=950767
Several similar failures in the past days. More frequent than weeks ago.