Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/7.0] CI failure: MonoTests.System.Runtime.Caching.CountersTest.Basic_Counters "Category does not exist" #78194

Closed
carlossanlop opened this issue Nov 10, 2022 · 2 comments
Labels
area-System.Runtime.Caching Known Build Error Use this to report build issues in the .NET Helix tab test-failure

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Nov 10, 2022

Found in a release/7.0 backport PR: #77924

===========================================================================================================

C:\h\w\B33A09DB\w\AA200974\e>xunit.console.exe System.Runtime.Caching.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
  Discovering: System.Runtime.Caching.Tests (app domain = on [no shadow copy], method display = ClassAndMethod, method display options = None)
  Discovered:  System.Runtime.Caching.Tests (found 31 of 37 test cases)
  Starting:    System.Runtime.Caching.Tests (parallel test collections = on, max threads = 2)
    MonoTests.System.Runtime.Caching.MemoryCacheTest.PhysicalMemoryLimitNotSupported [SKIP]
      Condition(s) not met: "DoesNotSupportPhysicalMemoryMonitor"
    MonoTests.System.Runtime.Caching.CountersTest.Basic_Counters [FAIL]
      System.InvalidOperationException : Category does not exist.
      Stack Trace:
           at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String machine, String category)
           at System.Diagnostics.PerformanceCounterCategory.GetCounterInstances(String categoryName, String machineName)
        /_/src/libraries/System.Runtime.Caching/tests/System.Runtime.Caching/CountersTest.cs(109,0): at MonoTests.System.Runtime.Caching.CountersTest.<PollCounters>d__1.MoveNext()
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        /_/src/libraries/System.Runtime.Caching/tests/System.Runtime.Caching/CountersTest.cs(49,0): at MonoTests.System.Runtime.Caching.CountersTest.<Basic_Counters>d__0.MoveNext()
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  Finished:    System.Runtime.Caching.Tests
=== TEST EXECUTION SUMMARY ===
   System.Runtime.Caching.Tests  Total: 43, Errors: 0, Failed: 1, Skipped: 1, Time: 4.626s
----- end Thu 11/10/2022 21:34:12.31 ----- exit code 1 ----------------------------------------------------------
{
  "ErrorMessage": "Category does not exist.",
  "BuildRetry": false
}

Report

Summary

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

Known issue validation

Build: 🔎
Result validation: ⚠️ Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: 🔎" line.

@radical
Copy link
Member

radical commented Nov 30, 2022

@ulisesh ulisesh added the Known Build Error Use this to report build issues in the .NET Helix tab label Dec 1, 2022
@akoeplinger
Copy link
Member

Looks like this is no longer happening, closing.

@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Feb 19, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Runtime.Caching Known Build Error Use this to report build issues in the .NET Helix tab test-failure
Projects
None yet
Development

No branches or pull requests

4 participants