[ci-scan] Build break: SOSTests Windows legs run zero tests ("The test filter matched zero tests across all projects")
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1615623 Build error leg or test failing: SOSTests / DAC_windows_x64_release, cDAC_windows_x64_release / Test - all diagnostics test assemblies Pull request: https://github.com/dotnet/runtime/pull/134827
Also reproduces on main: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1613644 (both DAC_windows_x64_release and cDAC_windows_x64_release). The scheduled main builds of runtime-diagnostics fail in these same two legs.
Error Detailsis for readers. Build Analysis parses only the JSON block underError Message.ErrorMessageis a case-sensitive ordinalString.Containssubstring copied verbatim from the failed jobs' AzDO build logs. Build Analysis searches those logs for build errors.- This is kept separate from #133175 on purpose. That KBE's signature (
-method SOS*/Unknown option '--method') only appears in the per-assembly xunit logs underartifacts\log\Release\. Those logs aren't published to AzDO, so Build Analysis can't match it, and it has 0 hits. The root cause may be the same, but broadening #133175 to this line would merge two distinct signatures.
Error Details
In both Windows SOSTests legs, every diagnostics test assembly (DbgShim, dotnet-counters, dotnet-gcdump, dotnet-trace, EventPipe, Microsoft.Diagnostics.*, SOS.Tests, SOS.UnitTests, and others) reports Tests failed within about 0.1 s of starting. No test executes, and the Test step then fails:
Running tests: D:\a\_work\1\s\artifacts\bin\DbgShim.UnitTests\Release\net10.0\DbgShim.UnitTests.dll [net10.0|x64]
##[error]XUnit(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Tests failed: D:\a\_work\1\s\artifacts\log\Release\DbgShim.UnitTests_net10.0_x64.log [net10.0|x64]
...
Running tests: D:\a\_work\1\s\artifacts\bin\SOS.Tests\Release\net10.0\SOS.Tests.dll [net10.0|x64]
##[error]XUnit(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Tests failed: D:\a\_work\1\s\artifacts\log\Release\SOS.Tests_net10.0_x64.log [net10.0|x64]
...
Build FAILED.
14 Error(s)
ERROR: The test filter matched zero tests across all projects. Check the -methodfilter/-classfilter value.
##[error]PowerShell exited with code '1'.Possibly related: #133175 (SOS.Tests receives the unsupported --method option), which is waiting on dotnet/diagnostics#5999.
Error Message
{
"ErrorMessage": "ERROR: The test filter matched zero tests across all projects. Check the -methodfilter/-classfilter value.",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Workflow artifact: create-kbe (local agent session)
Artifact kind: kbe-verification
Verified match count: 1 hit in each failed job log (build 1615623 logs 399 and 392; main build 1613644 log 348). 0 matches on [PASS] / [SKIP] lines.
[!NOTE] This issue was generated with GitHub Copilot.
Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1615623
Error message validated: [ERROR: The test filter matched zero tests across all projects. Check the -methodfilter/-classfilter value.]
Result validation: :white_check_mark: Known issue matched with the provided build.
Validation performed at: 9/29/2026 8:41:24 PM UTC
Report
| Build | Repository | Step Name | Console log | Pull Request |
|---|---|---|---|---|
| 1615623 | dotnet/runtime | Test | Log | dotnet/runtime#134827 |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 1 | 1 |
Source: dotnet/runtime