Skip to content

Test failure: System.Diagnostics.Tests.PerformanceCounterTests.PerformanceCounter_IncrementBy_IncrementByReadOnly #105925

@v-wenyuxu

Description

@v-wenyuxu

Failed in: runtime-coreclr libraries-jitstress2-jitstressregs 20240803.1

Failed tests:

net9.0-windows-Release-x64-jitstress2_jitstressregs0x1000-Windows.10.Amd64.Open
    - System.Diagnostics.Tests.PerformanceCounterTests.PerformanceCounter_IncrementBy_IncrementByReadOnly

Error message:

 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) in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs:line 1233
   at System.Diagnostics.PerformanceCounterCategory.Delete(String categoryName) in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterCategory.cs:line 392
   at System.Diagnostics.Tests.Helpers.DeleteCategory(String categoryName) in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/Helpers.cs:line 56
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions