Skip to content

[ci-scan] Build break: SOSTests Windows legs run zero tests ("The test filter matched zero tests across all projects") #134878

Description

@lewing

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: #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.

KBE authoring guidance
  • Error Details is for readers. Build Analysis parses only the JSON block under Error Message.
  • ErrorMessage is a case-sensitive ordinal String.Contains substring copied verbatim from the failed jobs' AzDO build logs. Build Analysis searches those logs for build errors.
  • This is kept separate from [ci-scan] Build break: SOS.Tests receives unsupported --method option #133175 on purpose. That KBE's signature (-method SOS* / Unknown option '--method') only appears in the per-assembly xunit logs under artifacts\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 [ci-scan] Build break: SOS.Tests receives unsupported --method option #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
}
Agentic workflow metadata

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: 🔎 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: ✅ 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 #134827

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-Infrastructureblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions