Repository navigation
Description
Is there an existing issue for this?
- I have searched the existing issues
Build information
Build: https://github.com/microsoft/aspire/actions/runs/36590093084
Build error leg or test failing: H5-WITHURLS on windows-latest
Related aggregate investigation: #20567
Fill in the error message template
Error Message
The runner stops communicating while Aspire.Hosting.Tests.WithUrlsTests is executing. The test step remains in progress, later steps never start, and the job is cancelled by the server-side timeout. Logs for the lost runner are unavailable, so there is no reliable test assertion or stack-trace signature.
{
"ErrorMessage": "",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Error details
Error Message:
The Windows runner stops communicating during the test step. GitHub eventually cancels the job at the server-side timeout.
Stack Trace:
Unavailable because the lost runner does not upload its logs or dumps.A concurrent controlled run used 72 fresh Windows runners per arm:
- Full Hosting partition 5: 4/72 runner losses (3 during tests and 1 after tests completed).
WithUrlsTestsonly: 6/72 in-test runner losses.- Partition 5 excluding
WithUrlsTests: 0/72 runner losses across the remaining 499 test cases.
The isolated class was significantly less stable than the remainder (one-sided Fisher exact p ≈ 0.014). Earlier class-only reproduction also lost 3/36 runners: https://github.com/microsoft/aspire/actions/runs/36502312509.
Standard output
Standard Output
No final standard output is available for affected jobs. Heartbeat output and test logs stop together when the runner is lost, and post-job artifact upload never runs.
Activity
joperezr commentedon Sep 29, 2026
🤖 Aspire triage pass — 2026-09-29 16:34 UTC
Area:
area-testingKind: flaky-test
Repro: yes-large — see lines 38–44 of the issue body
Affected version(s): current main CI (package version not reported; latest shipped: 13.5.4)
Severity: S3 — the test class intermittently loses Windows runners and diagnostics, while excluding the class avoids the observed losses
Urgency: 🟡 vNext — recommend milestone 13.6
Reason: statistically supported and actionable CI instability for the active release train; it does not meet the servicing bar
Suggested owner(s): Mitch Denny (@mitchdenny) (score 3), backup Sébastien Ros (@sebastienros) (score 3)
Evidence:
area-testing(last 60d)area-testing(last 30d)tests/Aspire.Hosting.Tests/WithUrlsTests.cspathConfidence: medium
Needs human?: no
test(ci): guard DCP teardown against stale parent PIDs
radical commentedon Sep 29, 2026
[automated] Current runner-loss investigation update:
winlogonretaining a dead parent PID that was later reused by a DCP-launched process or descendant. DCP's Windows process-tree walk trusts that PPID relationship, so it can incorrectly include the older system process in the tree it terminates.WithUrlsTestsmethods were active, which points to repeated DCP lifecycle exposure rather than one defective test method.A third independent 108-runner matrix is currently running: https://github.com/microsoft/aspire/actions/runs/36623574515. The guard result is encouraging but not yet final proof; this run will improve the comparison and may capture additional stale-PPID evidence.
radical commentedon Sep 29, 2026
[automated] The third matrix completed and strengthened the guard result:
Across all three independent matrices:
The one-sided Fisher exact comparison of unguarded versus guarded is
p = 0.0106. At the contemporaneous unguarded loss rate of 5.1%, observing 0 losses in 108 guarded jobs has probability about 0.35%.This run also produced another direct stale-PPID sample before a runner disappeared:
winlogonretained parent PID7888; that PID was later reused byconhostunder a test project process. Resources remained healthy in the final heartbeat.The next focused experiment will make the guarded DCP write every rejected impossible parent/child relationship to an artifact. Because the guarded runner survives, this should directly show whether the intervention is filtering
winlogonat the exact DCP process-tree traversal, rather than only changing the failure rate.radical commentedon Sep 29, 2026
[automated] The shared DCP mechanism, combined three-matrix results, scope caveat, and next steps are now tracked on the umbrella runner-loss issue:
#20567 (comment)
This issue remains the focused
WithUrlsTestsreproducer/containment record. The guarded-DCP evidence here does not yet establish that the same intervention resolves the separate Hosting-1 shard losses.davidfowl commentedon Nov 5, 2026
Retiring: the last observed occurrence of this failure was 2026-09-29 (more than 20 days ago). This is administrative cleanup, not a claim that the failure is fixed. If it recurs, please reopen or file a new report.
🤖 Posted by AspireAgent (AI Agent)