Skip to content

Test failure MonoTests.System.Runtime.Caching.CountersTest.Basic_Counters #53261

Closed

Description

@VincentBu

Run: runtime 20210525.112

Failed test:

net48-windows-Release-x86-Windows.10.Amd64.Client19H1.Open

- MonoTests.System.Runtime.Caching.CountersTest.Basic_Counters

Error message:

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)
   at MonoTests.System.Runtime.Caching.CountersTest.<PollCounters>d__1.MoveNext() in /_/src/libraries/System.Runtime.Caching/tests/System.Runtime.Caching/CountersTest.cs:line 110
--- 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)
   at MonoTests.System.Runtime.Caching.CountersTest.<Basic_Counters>d__0.MoveNext() in /_/src/libraries/System.Runtime.Caching/tests/System.Runtime.Caching/CountersTest.cs:line 50
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

Activity

  1. ghost added
    untriaged
    on May 26, 2021
  2. removed
    untriaged
    on Aug 23, 2022
  3. StephenMolloy commented on Aug 24, 2022

    @StephenMolloy
    Contributor

    I believe this was the result of the more generic PerfCounter issue that was fixed by #73170.

  4. ghost locked as resolved and limited conversation to collaborators on Sep 23, 2022
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