Skip to content

Fix HTML report duration for parallel test runs - #10944

Merged
Amaury Levé (Evangelink) merged 3 commits into
microsoft:mainfrom
Evangelink:dev/amauryleve/fix-html-report-wall-clock-duration
Sep 2, 2026
Merged

Amaury Levé (Evangelink) merged 3 commits into
microsoft:mainfrom
Evangelink:dev/amauryleve/fix-html-report-wall-clock-duration

Update HTML merger duration expectations

09e7250
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx failed Sep 2, 2026 in 1h 18m 30s

Build #20260902.25 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 83,000 (99.42%)
  • Other: 485 (0.58%)
  • Total: 83,486
Code coverage

  • 147213 of 240833 blocks covered (61.13%)
  • 85907 of 146214 lines covered (58.75%)

Annotations

Check failure on line 904 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

Build log #L904

Bash exited with code '2'.

Check failure on line 1 in Microsoft.Testing.Platform.Acceptance.IntegrationTests.HangDumpTests.HangDump_AbsoluteDeadline_CreateDump ("net10.0")

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

Microsoft.Testing.Platform.Acceptance.IntegrationTests.HangDumpTests.HangDump_AbsoluteDeadline_CreateDump ("net10.0")

Assertion failed. Expected values to be equal.
Expression 'AssertExitCodeIs' failed for member 'HangDump_AbsoluteDeadline_CreateDump' at line 48 of file '/_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/HangDumpTests.cs'. Output of the test host is:
Command: /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/DOjqm/AssetFixture/bin/Release/net10.0/HangDump --hangdump --hangdump-timeout 30m --results-directory /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/DOjqm/AssetFixture/6ea9a532f8e64eab9ea0cfb4b7aa6056/net10.0
====================
ExitCode: 134
====================
StandardOutput:
Microsoft.Testing.Platform v2.4.0-ci (UTC 09/02/2026) [linux-x64 - net10.0]
CI deadline approaching: taking a hang dump before the run is hard-cancelled.
Dumping process 34936 - HangDump
Creating dump file '/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/DOjqm/AssetFixture/6ea9a532f8e64eab9ea0cfb4b7aa6056/net10.0/HangDump_34936_hang.dmp'
[createdump] Gathering state for process 34936 HangDump
Environment variable 'TESTINGPLATFORM_DEADLINE' is set, but the test framework does not support 'IGracefulStopTestExecutionCapability'. The platform cannot stop the test run before the deadline.
[createdump] Writing full dump to file /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/DOjqm/AssetFixture/6ea9a532f8e64eab9ea0cfb4b7aa6056/net10.0/HangDump_34936_hang.dmp
[createdump] Written 259334144 bytes (63314 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 3559ms
====================
StandardError:
Process terminated.
[NamedPipeServer] Unhandled exception:
System.IO.IOException: Connection reset by peer
 ---> System.Net.Sockets.SocketException (104): Connection reset by peer
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
   at System.IO.Pipes.PipeStream.ReadAsyncCore(Memory`1 destination, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.IO.Pipes.PipeStream.ReadAsyncCore(Memory`1 destination, CancellationToken cancellationToken)
   at Microsoft.Testing.Platform.IPC.NamedPipeConnectionBase.ReadNextMessageAsync(Stream stream, CancellationToken cancellationToken, Int32 maximumFrameSize) in /_/src/Platform/Microsoft.Testing.Platform/IPC/NamedPipeConnectionBase.cs:line 134
   at Microsoft.Testing.Platform.IPC.NamedPipeServer.InternalLoopAsync(CancellationToken cancellationToken) in /_/src/Platform/Microsoft.Testing.Platform/IPC/NamedPipeServer.cs:line 226
   at Microsoft.Testing.Platform.IPC.NamedPipeServer.<WaitConnectionAsync>b__25_0() in /_/src/Platform/Microsoft.Testing.Platform/IPC/NamedPipeServer.cs:line 201
   at System.Environment.FailFast(System.Runtime.CompilerServices.StackCrawlMarkHandle, System.String, System.Runtime.CompilerServices.ObjectHandleOnStack, System.String)
   at System.Environment.FailFast(System.Threading.StackCrawlMark ByRef, System.String, System.Exception, System.String)
   at System.Environment.FailFast(System.String, System.Exception)
   at Microsoft.Testing.Platform.Helpers.SystemEnvironment.FailFast(System.String, System.Exception)
   at Microsoft.Testing.Platform.IPC.NamedPipeServer+<<WaitConnectionAsync>b__25_0>d.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Microsoft.Testing.Platform.IPC.NamedPipeServer+<<WaitConnectionAsync>b__25_0>d, Microsoft.Testing.Extensions.HangDump, Version=42.42.42.42, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].ExecutionContextCallback(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.
Raw output
   at Microsoft.Testing.Platform.Acceptance.IntegrationTests.Helpers.AcceptanceAssert.AssertExitCodeIs(TestHostResult testHostResult, ExitCode exitCode, String callerMemberName, String callerFilePath, Int32 callerLineNumber) in /_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs:line 28
   at Microsoft.Testing.Platform.Acceptance.IntegrationTests.HangDumpTests.HangDump_AbsoluteDeadline_CreateDump(String tfm) in /_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/HangDumpTests.cs:line 48
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource)