Open
Description
MemoryDiagnoserTests.AssertAllocations
frequently fails GitHub/Windows builds. Test examples: EngineShouldNotIntroduceBoxing
, AwaitingTasksShouldNotInterfereAllocationResults
.
Some recently failed builds:
https://github.com/dotnet/BenchmarkDotNet/runs/5218066245
2022-02-16T15:25:05.7264604Z [xUnit.net 00:19:53.52] EngineShouldNotIntroduceBoxing(toolchain: InProcessEmitToolchain) [FAIL]
2022-02-16T15:25:06.4522717Z Failed EngineShouldNotIntroduceBoxing(toolchain: InProcessEmitToolchain) [3 s]
2022-02-16T15:25:06.4523163Z Error Message:
2022-02-16T15:25:06.4523488Z Assert.Equal() Failure
2022-02-16T15:25:06.4523732Z Expected: 0
2022-02-16T15:25:06.4524180Z Actual: 100984
2022-02-16T15:25:06.4524599Z Stack Trace:
2022-02-16T15:25:06.4525647Z at BenchmarkDotNet.IntegrationTests.MemoryDiagnoserTests.AssertAllocations(IToolchain toolchain, Type benchmarkType, Dictionary`2 benchmarksAllocationsValidators) in D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\MemoryDiagnoserTests.cs:line 261
2022-02-16T15:25:06.4529765Z at BenchmarkDotNet.IntegrationTests.MemoryDiagnoserTests.EngineShouldNotIntroduceBoxing(IToolchain toolchain) in D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\MemoryDiagnoserTests.cs:line 129
https://github.com/dotnet/BenchmarkDotNet/runs/5108471012
2022-02-08T12:10:16.7090614Z [xUnit.net 00:16:37.89] AwaitingTasksShouldNotInterfereAllocationResults(toolchain: InProcessEmitToolchain) [FAIL]
2022-02-08T12:10:17.9153239Z Failed AwaitingTasksShouldNotInterfereAllocationResults(toolchain: InProcessEmitToolchain) [11 s]
2022-02-08T12:10:17.9154475Z Error Message:
2022-02-08T12:10:17.9155156Z Assert.Equal() Failure
2022-02-08T12:10:17.9155686Z Expected: 0
2022-02-08T12:10:17.9156065Z Actual: 100776
2022-02-08T12:10:17.9156480Z Stack Trace:
2022-02-08T12:10:17.9157631Z at BenchmarkDotNet.IntegrationTests.MemoryDiagnoserTests.AssertAllocations(IToolchain toolchain, Type benchmarkType, Dictionary`2 benchmarksAllocationsValidators) in D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\MemoryDiagnoserTests.cs:line 261
2022-02-08T12:10:17.9159533Z at BenchmarkDotNet.IntegrationTests.MemoryDiagnoserTests.AwaitingTasksShouldNotInterfereAllocationResults(IToolchain toolchain) in D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\MemoryDiagnoserTests.cs:line 150