Repository navigation
Closed
Description
Build Information
Build: https://github.com/microsoft/aspire/actions/runs/34877461342
Build error leg or test failing: Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, dynamic-debug-configuration) / Aspire dynamic debug configuration E2E "after each" hook for "re-resolves the selected AppHost by dynamic configuration name in duplicate-alias workspaces"
Pull request: #19958
Classification Analysis
The failure is in the test teardown (after-each hook) attempting to rmdir a Windows temp directory that is still locked (EBUSY), not in the test body itself. The PR only changes src/Aspire.Cli/Projects/DotNetAppHostProject.cs and CLI-specific tests; it does not touch the VS Code extension E2E fixtures or dynamic debug configuration workspace cleanup code, so this is an environmental/timing issue unrelated to the PR.
Failure Information
Test output
Error:
Dynamic debug configuration E2E teardown failed.
1. Error: EBUSY: resource busy or locked, rmdir 'C:\Users\runneradmin\AppData\Local\Temp\aev-1vmxmS\workspace\.e2e-dynamic-debug\first'
Stack Trace:
AggregateError: Dynamic debug configuration E2E teardown failed.
1. Error: EBUSY: resource busy or locked, rmdir 'C:\Users\runneradmin\AppData\Local\Temp\aev-1vmxmS\workspace\.e2e-dynamic-debug\first'
at runE2eTeardown (out\test-e2e\test-e2e\helpers\fixtures.js:217:15)
at async Context.<anonymous> (out\test-e2e\test-e2e\dynamicDebugConfiguration.e2e.test.js:62:9)
Description
Flaky: VS Code extension E2E dynamic debug configuration test teardown fails with EBUSY resource busy/locked on Windows temp workspace rmdir
Type: flaky-test
Occurrences
| Date | Build | Job | PR |
|---|---|---|---|
| 2026-09-14 | 34877461342 | Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, dynamic-debug-configuration) | #19958 |
| 2026-09-14 | 34882504789 | Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, dynamic-debug-configuration) | #19939 |
| 2026-09-15 | 34907870346 | Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, dynamic-debug-configuration) | #19555 |
| 2026-09-15 | 35003412018 | Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, dynamic-debug-configuration) | #20133 |
| 2026-09-15 | 35030807739 | Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, dynamic-debug-configuration) | #20012 |
| 2026-09-16 | 35055620862 | Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, dynamic-debug-configuration) | #20082 |
| 2026-09-17 | 35262261892 | Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, dynamic-debug-configuration) | #20115 |
| 2026-09-19 | 35407089360 | Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, dynamic-debug-configuration) | #20244 |
| 2026-09-21 | 35622130811 | Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, dynamic-debug-configuration) | #20242 |
| 2026-09-21 | 35624998816 | Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, dynamic-debug-configuration) | #20032 |
| 2026-09-21 | 35631672622 | Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, dynamic-debug-configuration) | #20116 |
| 2026-09-21 | 35634736322 | Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, dynamic-debug-configuration) | #20279 |
| 2026-09-21 | 35649687113 | Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, dynamic-debug-configuration) | #20192 |
Activity
ellahathaway commentedon Sep 21, 2026
Consolidating #19576 into this issue as the canonical tracker.
The generic tracker was originally created when its job logs were unavailable. Reviewing the now-available recent occurrences associated with #19576 shows the same normalized failure tracked here:
dynamic-debug-configurationafter eachteardown inrunE2eTeardownEBUSY: resource busy or lockedwhile removing a directory under.e2e-dynamic-debugThe fixture directory or preceding test can vary (
firstversusambiguous), but the failing phase, helper, platform, and exception are the same. The latest confirmed occurrence is run 35576439465 / job 106262555985.#19576 is being closed as a superseded duplicate. This does not indicate recovery; the failure remains active here.
Fix Windows dynamic debug E2E teardown race (#20289)