Skip to content

Test failure: System.Diagnostics.Tests.CounterSampleCalculatorTests.CounterSampleCalculator_ElapsedTime #133750

Open

Description

@ViveliDuCh

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1586573
Build error leg or test failing: System.Diagnostics.Tests.CounterSampleCalculatorTests.CounterSampleCalculator_ElapsedTime
Pull request: #133388

Error Message

{
  "ErrorMessage": [
    "System.Diagnostics.Tests.CounterSampleCalculatorTests.CounterSampleCalculator_ElapsedTime [FAIL]",
    "System.ComponentModel.Win32Exception : The process cannot access the file because it is being used by another process."
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Error Details

System.Diagnostics.Tests.CounterSampleCalculatorTests.CounterSampleCalculator_ElapsedTime [FAIL]
  System.ComponentModel.Win32Exception : The process cannot access the file because it is being used by another process.
  Stack Trace:
    at System.Diagnostics.PerformanceCounterLib.RegisterFiles(String arg0, Boolean unregister)
    at System.Diagnostics.PerformanceCounterLib.RegisterCategory(String categoryName, PerformanceCounterCategoryType categoryType, String categoryHelp, CounterCreationDataCollection creationData)
    at System.Diagnostics.PerformanceCounterCategory.Create(String categoryName, String categoryHelp, PerformanceCounterCategoryType categoryType, CounterCreationDataCollection counterData)
    at System.Diagnostics.Tests.CounterSampleCalculatorTests.CreateCounter(String categoryName, PerformanceCounterType counterType)
    at System.Diagnostics.Tests.CounterSampleCalculatorTests.CounterSampleCalculator_ElapsedTime()

This is a post-fix occurrence of the file-access-conflict failure family previously tracked by #105925 and mitigated by #117619.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1586573
Error message validated: [System.Diagnostics.Tests.CounterSampleCalculatorTests.CounterSampleCalculator_ElapsedTime [FAIL] System.ComponentModel.Win32Exception : The process cannot access the file because it is being used by another process.]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/11/2026 10:50:11 PM UTC

Report

Build Repository Test Pull Request
1586573 dotnet/runtime System.Diagnostics.Tests.CounterSampleCalculatorTests.CounterSampleCalculator_ElapsedTime #133388

Summary

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

Report

Summary

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

Activity

  1. added
    blocking-clean-ci
    Known Build Error
    on Sep 11, 2026
  2. added
    untriaged
    on Sep 11, 2026
  3. dotnet-policy-service commented on Sep 11, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/area-system-diagnostics-performancecounter
    See info in area-owners.md if you want to be subscribed.

  4. removed
    blocking-clean-ci
    on Oct 12, 2026
  5. jeffschwMSFT commented on Oct 12, 2026

    @jeffschwMSFT
    Member

    removing blocking-clean-ci as it has not failed in 30 days

    24-Hour Hit Count 7-Day Hit Count 1-Month Count
    0 0 0
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 Errorarch-x64area-System.Diagnostics.PerformanceCounteros-windowsuntriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions