You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
===========================================================================================================
C:\h\w\A50B0910\w\B37409CE\e>"C:\h\w\A50B0910\p\dotnet.exe" exec --runtimeconfig System.Diagnostics.PerformanceCounter.Tests.runtimeconfig.json --depsfile System.Diagnostics.PerformanceCounter.Tests.deps.json xunit.console.dll System.Diagnostics.PerformanceCounter.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing Discovering: System.Diagnostics.PerformanceCounter.Tests (method display = ClassAndMethod, method display options = None)
Discovered: System.Diagnostics.PerformanceCounter.Tests (found 86 of 92 test cases)
Starting: System.Diagnostics.PerformanceCounter.Tests (parallel test collections = on, max threads = 2)
Info: Successfully installed performance counters in C:\h\w\A50B0910\t\j4eqc3tr.id5\provider.man System.Diagnostics.Tests.PerformanceDataTests.PerformanceCounter_PerformanceData [SKIP]
Condition(s) not met: "IsRunnableEnvironment"
Info: Successfully uninstalled the performance counters from the counter definition XML file C:\h\w\A50B0910\t\j4eqc3tr.id5\provider.man. System.Diagnostics.Tests.PerformanceCounterTests.PerformanceCounter_Increment [FAIL]
System.ComponentModel.Win32Exception : The process cannot access the file because it is being used by another process.
Stack Trace:
/_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs(1234,0): at System.Diagnostics.PerformanceCounterLib.RegisterFiles(String arg0, Boolean unregister)
/_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs(1239,0): at System.Diagnostics.PerformanceCounterLib.UnregisterCategory(String categoryName)
/_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterCategory.cs(392,0): at System.Diagnostics.PerformanceCounterCategory.Delete(String categoryName)
/_/src/libraries/System.Diagnostics.PerformanceCounter/tests/Helpers.cs(56,0): at System.Diagnostics.Tests.Helpers.DeleteCategory(String categoryName)
/_/src/libraries/System.Diagnostics.PerformanceCounter/tests/PerformanceCounterTests.cs(232,0): at System.Diagnostics.Tests.PerformanceCounterTests.PerformanceCounter_Increment()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
/_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs(69,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Finished: System.Diagnostics.PerformanceCounter.Tests
=== TEST EXECUTION SUMMARY ===
System.Diagnostics.PerformanceCounter.Tests Total: 90, Errors: 0, Failed: 1, Skipped: 1, Time: 15.450s
----- end Fri 02/02/2024 18:18:23.80 ----- exit code 1 ----------------------------------------------------------
2024-02-02T18:18:24.883Z INFO run.py run(48) main Beginning reading of test results.
2024-02-02T18:18:24.883Z INFO run.py __init__(42) read_results Searching 'C:\h\w\A50B0910\w\B37409CE\e' for test results files
2024-02-02T18:18:24.883Z INFO run.py __init__(48) read_results Found results file C:\h\w\A50B0910\w\B37409CE\e\testResults.xml with format xunit
2024-02-02T18:18:24.883Z INFO run.py __init__(42) read_results Searching 'C:\h\w\A50B0910\w\B37409CE\uploads' for test results files
2024-02-02T18:18:24.883Z INFO run.py packing_test_reporter(30) report_results Packing 90 test reports to 'C:\h\w\A50B0910\w\B37409CE\e\__test_report.json'
2024-02-02T18:18:24.883Z INFO run.py packing_test_reporter(33) report_results Packed 27531 bytes
Did not find dumps, skipping dump docs generation.
['System.Diagnostics.PerformanceCounter.Tests' END OF WORK ITEM LOG: Command exited with 0]
Known issue validation
Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=551129 Error message validated:[at System.Diagnostics.Tests.PerformanceCounterTests.PerformanceCounter_Increment] Result validation: ✅ Known issue matched with the provided build. Validation performed at: 2/8/2024 11:11:13 PM UTC
Error Blob
{ "ErrorMessage": "at System.Diagnostics.Tests.PerformanceCounterTests.PerformanceCounter_Increment", "BuildRetry": true, "ErrorPattern": "", "ExcludeConsoleLog": false }Reproduction Steps
Libraries Test Run release coreclr windows x64 DebugKnown issue validation
Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=551129
Error message validated:
[at System.Diagnostics.Tests.PerformanceCounterTests.PerformanceCounter_Increment]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 2/8/2024 11:11:13 PM UTC
Report
Summary