#134904·runtime

[ci-scan] Test failure: System.Diagnostics.Tests.PerformanceCounterCategoryTests.PerformanceCounterCategory_InstanceExists_Static

Author: lewingCreated Sep 29, 2026Updated Oct 1, 2026
Labelsarea-Diagnostics-coreclrblocking-clean-ciuntriagedKnown Build Error

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1616817 Build error leg or test failing: windows-x86 Release Libraries_NET481-System.Diagnostics.PerformanceCounter.Tests Pull request: https://github.com/dotnet/runtime/pull/134758

KBE authoring guidance (ci-failure-scan)
  • Error Details is for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.
  • Build Analysis parses only the single JSON block under Error Message.
  • ErrorMessage is a case-sensitive ordinal String.Contains substring copied verbatim from the failing log.
  • Set BuildRetry to true only for a clear infrastructure retry case. ExcludeConsoleLog disables Helix console-log scanning.

Error Details

Helix job 1d4f20b5-4f33-44bf-8afe-9f9065175ff1, queue windows.10.amd64.client.open.rt (.NET Framework 4.8.1, x86). PerformanceCounterCategory("Processor").GetInstanceNames() returned no instances on the Helix machine. The PR under test only changes the Wasm JIT, so it doesn't touch this code path.

System.Diagnostics.Tests.PerformanceCounterCategoryTests.PerformanceCounterCategory_InstanceExists_Static [FAIL]
  Expected: 0 to be greater than 0 PerformanceCounterCategory.GetInstanceNames() returned 0.
  Stack Trace:
    /_/src/libraries/Common/tests/TestUtilities/System/AssertExtensions.cs(335,0): at System.AssertExtensions.GreaterThan[T](T actual, T greaterThan, String userMessage)
    /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/PerformanceCounterCategoryTests.cs(282,0): at System.Diagnostics.Tests.PerformanceCounterCategoryTests.PerformanceCounterCategory_InstanceExists_Static()

Error Message

json
{
  "ErrorMessage": [
    "PerformanceCounterCategoryTests.PerformanceCounterCategory_InstanceExists_Static [FAIL]",
    "PerformanceCounterCategory.GetInstanceNames() returned 0."
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)

Workflow artifact: ci-failure-scan Artifact kind: kbe-verification Verified match count: 1 hits in failure.log

[!NOTE] This issue was generated with GitHub Copilot assistance.

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1616817 Error message validated: [PerformanceCounterCategoryTests.PerformanceCounterCategory_InstanceExists_Static [FAIL] PerformanceCounterCategory.GetInstanceNames() returned 0.] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 9/29/2026 11:28:18 PM UTC

Report

Build Repository Test Pull Request
1616817 dotnet/runtime System.Diagnostics.Tests.PerformanceCounterCategoryTests.PerformanceCounterCategory_InstanceExists_Static dotnet/runtime#134758

Summary

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