Skip to content

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

Description

@carlossanlop

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions