Open carlossanlop opened 3 months ago
Tagging subscribers to this area: @dotnet/area-system-diagnostics-performancecounter See info in area-owners.md if you want to be subscribed.
Author: | carlossanlop |
---|---|
Assignees: | - |
Labels: | `os-windows`, `arch-x64`, `blocking-clean-ci`, `runtime-coreclr`, `area-System.Diagnostics.PerformanceCounter`, `Known Build Error` |
Milestone: | - |
Error Blob
Reproduction Steps
Libraries Test Run release coreclr windows x64 Debug
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.PerformanceCounterIncrement [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.PerformanceCounterIncrement() 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]