Open
Description
C:\h\w\AF870A37\w\9E1F08E2\e>call RunTests.cmd --runtime-path C:\h\w\AF870A37\p
----- start 28/07/2022 16:18:21,50 =============== To repro directly: =====================================================
pushd C:\h\w\AF870A37\w\9E1F08E2\e\
"C:\h\w\AF870A37\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
popd
===========================================================================================================
C:\h\w\AF870A37\w\9E1F08E2\e>"C:\h\w\AF870A37\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 91 of 92 test cases)
Starting: System.Diagnostics.PerformanceCounter.Tests (parallel test collections = on, max threads = 2)
Informaci�n: Los contadores de rendimiento se instalaron correctamente en C:\h\w\AF870A37\t\hsp41u0t.stv\provider.man. System.Diagnostics.Tests.PerformanceDataTests.PerformanceCounter_PerformanceData [SKIP]
Condition(s) not met: "IsRunnableEnvironnement"
Informaci�n: Desinstalaci�n correcta de los contadores de rendimiento del archivo XML de definici�n de contadores C:\h\w\AF870A37\t\hsp41u0t.stv\provider.man. System.Diagnostics.Tests.PerformanceCounterTests.PerformanceCounter_IncrementBy_IncrementBy2 [FAIL]
System.InvalidOperationException : Cannot load Counter Name data because an invalid index '' was read from the registry. Performance counters on the machine may need to be repaired.
Stack Trace:
/_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs(1140,0): at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
/_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs(260,0): at System.Diagnostics.PerformanceCounterLib.get_NameTable()
/_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs(193,0): at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
/_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs(320,0): at System.Diagnostics.PerformanceCounterLib.CategoryExists(String category)
/_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs(309,0): at System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category)
/_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterCategory.cs(435,0): at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName)
/_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterCategory.cs(415,0): at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName)
/_/src/libraries/System.Diagnostics.PerformanceCounter/tests/Helpers.cs(47,0): at System.Diagnostics.Tests.Helpers.DeleteCategory(String name)
/_/src/libraries/System.Diagnostics.PerformanceCounter/tests/Helpers.cs(25,0): at System.Diagnostics.Tests.Helpers.CreateCategory(String name, PerformanceCounterCategoryType categoryType)
/_/src/libraries/System.Diagnostics.PerformanceCounter/tests/PerformanceCounterTests.cs(320,0): at System.Diagnostics.Tests.PerformanceCounterTests.CreateCounterWithCategory(String name, Boolean readOnly, PerformanceCounterCategoryType categoryType)
/_/src/libraries/System.Diagnostics.PerformanceCounter/tests/PerformanceCounterTests.cs(216,0): at System.Diagnostics.Tests.PerformanceCounterTests.PerformanceCounter_IncrementBy_IncrementBy2()
Finished: System.Diagnostics.PerformanceCounter.Tests
=== TEST EXECUTION SUMMARY ===
System.Diagnostics.PerformanceCounter.Tests Total: 95, Errors: 0, Failed: 1, Skipped: 1, Time: 45,013s
----- end 28/07/2022 16:19:07,24 ----- exit code 1 ----------------------------------------------------------