Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1524025
Build error leg or test failing: Microsoft.NET.Sdk.Razor.Tool.Tests work item Microsoft.NET.Sdk.Razor.Tool.Tests.dll.1 — test Dispatcher_ProcessSimultaneousConnections_HitsKeepAliveTimeout
Pull request: #55248
Description
Microsoft.NET.Sdk.Razor.Tool.Tests.Dispatcher_ProcessSimultaneousConnections_HitsKeepAliveTimeout intermittently hangs. The rest of the assembly finishes quickly (53 completed, 0 failed) and Dispatcher_ProcessSimultaneousConnections_HitsKeepAliveTimeout is the only test still running when the blame hang-dump timeout of 00:48:00 fires. A hang dump is collected for the dotnet process tree, the test host is killed (Test host crashed), and the Helix work item finishes with exit code 7, failing the Monitor Helix Jobs step and turning the whole build red.
This is a sibling failure to the hang-dump/exit-code-7 family previously tracked for other tests (e.g. #55430 HotReload_WithWebSocketCapability, #55258 LoggingTests.BinaryLogs, #55478 RenameSourceFile) — same mechanism, different test — so it is tracked separately with a test-specific pattern to avoid cross-matching. The failure is intermittent (passed on the automatic build retry / attempt 2), so it is tracked with BuildRetry: true.
The failure is unrelated to the PR where it was observed (#55248 "Skip test-runtime install on cross-architecture builds"), which does not touch the Razor tool.
Error Message
{
"ErrorMessage": [
"Hang dump timeout of",
"] Dispatcher_ProcessSimultaneousConnections_HitsKeepAliveTimeout",
"END OF WORK ITEM LOG: Command exited with 7"
],
"BuildRetry": true,
"ExcludeConsoleLog": false
}
The multi-line pattern requires, in order: the blame hang-dump timeout message, Dispatcher_ProcessSimultaneousConnections_HitsKeepAliveTimeout reported as still-running when the dump was taken, and the work item exiting with code 7 — which together uniquely identify a hang caused by this specific test without matching unrelated failures (e.g. the sibling HotReload_WithWebSocketCapability hang tracked by #55430). ExcludeConsoleLog is false because these lines appear only in the Helix work-item console log, not the AzDO build log.
Example occurrence
Relevant console log excerpt:
running... 53 completed, 0 failed | active: Dispatcher_ProcessSimultaneousConnections_HitsKeepAliveTimeout
Hang dump timeout of '00:48:00' expired
The following tests were still running when dump was taken (format: [<time-elapsed-since-start>] <name>):
[00:48:00] Dispatcher_ProcessSimultaneousConnections_HitsKeepAliveTimeout
Test host crashed; recovered 53 test result(s) from the TRX streaming sidecar
...
['Microsoft.NET.Sdk.Razor.Tool.Tests.dll.1' END OF WORK ITEM LOG: Command exited with 7]
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1524025
Error message validated: [Hang dump timeout of ] Dispatcher_ProcessSimultaneousConnections_HitsKeepAliveTimeout END OF WORK ITEM LOG: Command exited with 7]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 7/28/2026 1:48:43 PM UTC
Report
Summary
| 24-Hour Hit Count |
7-Day Hit Count |
1-Month Count |
| 0 |
0 |
0 |
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1524025
Build error leg or test failing:
Microsoft.NET.Sdk.Razor.Tool.Testswork itemMicrosoft.NET.Sdk.Razor.Tool.Tests.dll.1— testDispatcher_ProcessSimultaneousConnections_HitsKeepAliveTimeoutPull request: #55248
Description
Microsoft.NET.Sdk.Razor.Tool.Tests.Dispatcher_ProcessSimultaneousConnections_HitsKeepAliveTimeoutintermittently hangs. The rest of the assembly finishes quickly (53 completed, 0 failed) andDispatcher_ProcessSimultaneousConnections_HitsKeepAliveTimeoutis the only test still running when the blame hang-dump timeout of00:48:00fires. A hang dump is collected for thedotnetprocess tree, the test host is killed (Test host crashed), and the Helix work item finishes with exit code 7, failing theMonitor Helix Jobsstep and turning the whole build red.This is a sibling failure to the hang-dump/exit-code-7 family previously tracked for other tests (e.g. #55430
HotReload_WithWebSocketCapability, #55258LoggingTests.BinaryLogs, #55478RenameSourceFile) — same mechanism, different test — so it is tracked separately with a test-specific pattern to avoid cross-matching. The failure is intermittent (passed on the automatic build retry / attempt 2), so it is tracked withBuildRetry: true.The failure is unrelated to the PR where it was observed (#55248 "Skip test-runtime install on cross-architecture builds"), which does not touch the Razor tool.
Error Message
{ "ErrorMessage": [ "Hang dump timeout of", "] Dispatcher_ProcessSimultaneousConnections_HitsKeepAliveTimeout", "END OF WORK ITEM LOG: Command exited with 7" ], "BuildRetry": true, "ExcludeConsoleLog": false }The multi-line pattern requires, in order: the blame hang-dump timeout message,
Dispatcher_ProcessSimultaneousConnections_HitsKeepAliveTimeoutreported as still-running when the dump was taken, and the work item exiting with code 7 — which together uniquely identify a hang caused by this specific test without matching unrelated failures (e.g. the siblingHotReload_WithWebSocketCapabilityhang tracked by #55430).ExcludeConsoleLogisfalsebecause these lines appear only in the Helix work-item console log, not the AzDO build log.Example occurrence
Windows x64 FullFramework - windows.amd64.vs2026.pre.scout.open664360a8-0ff8-4bd8-906d-f019a9f92fcf, work itemMicrosoft.NET.Sdk.Razor.Tool.Tests.dll.1(exit code 7, ran ~50m before the hang dump)Buildstage was manually retried (attempt 2).Relevant console log excerpt:
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1524025
Error message validated:
[Hang dump timeout of ] Dispatcher_ProcessSimultaneousConnections_HitsKeepAliveTimeout END OF WORK ITEM LOG: Command exited with 7]Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 7/28/2026 1:48:43 PM UTC
Report
Summary