Description
Orleans.Analyzers.Tests intermittently causes a filtered Microsoft.Testing.Platform CI job to fail when the active suite filter selects zero tests from that assembly. The suite continues and reports no failed tests, but the assembly exits unsuccessfully during test-host shutdown.
This has reproduced on unrelated pull requests and different operating systems/frameworks.
Occurrences
Orleans.Analyzers.Tests.dll (net8.0|x64) Zero tests ran (28s 485ms)
Exit code: 7
Standard output: Waiting 10 seconds for foreground threads to exit...
Error output: [FATAL ERROR] Foreground threads were left running, forcing process exit
The overall run reported 501 total tests, 482 succeeded, 19 skipped, 0 failed, and 1 test-application error.
Orleans.Analyzers.Tests.dll (net10.0|x64) Zero tests ran (37s 377ms)
Exit code: 134
Unhandled exception. System.TimeoutException: The operation has timed out.
at Microsoft.Testing.Platform.Helpers.TaskExtensions.TimeoutAfterAsync(...)
at Microsoft.Testing.Extensions.TrxReport.Abstractions.TrxProcessLifetimeHandler...
Expected behavior
A test application containing no tests which match the suite filter exits successfully and releases all MTP/TRX resources without delaying or failing the aggregate CI job.
Notes
The failures occur in the analyzer test assembly under suite filters which select no analyzer tests. The different shutdown symptoms may share test-host or TRX lifetime cleanup behavior. The failed PR #10746 job is being rerun to confirm the intermittent nature.
Description
Orleans.Analyzers.Testsintermittently causes a filtered Microsoft.Testing.Platform CI job to fail when the active suite filter selects zero tests from that assembly. The suite continues and reports no failed tests, but the assembly exits unsuccessfully during test-host shutdown.This has reproduced on unrelated pull requests and different operating systems/frameworks.
Occurrences
PR #10746
net8.0d1fe65475179923ba00ba6941fc077305151851aThe overall run reported 501 total tests, 482 succeeded, 19 skipped, 0 failed, and 1 test-application error.
PR #10739
net10.0Expected behavior
A test application containing no tests which match the suite filter exits successfully and releases all MTP/TRX resources without delaying or failing the aggregate CI job.
Notes
The failures occur in the analyzer test assembly under suite filters which select no analyzer tests. The different shutdown symptoms may share test-host or TRX lifetime cleanup behavior. The failed PR #10746 job is being rerun to confirm the intermittent nature.