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

Test failure System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_CopyTo #67634

Closed
VincentBu opened this issue Apr 6, 2022 · 3 comments
Labels

Comments

@VincentBu
Copy link
Contributor

Run: runtime-coreclr libraries-jitstress2-jitstressregs 20220402.1

Failed test:

net7.0-windows-Release-x64-CoreCLR_checked-jitstress2_jitstressregs2-Windows.10.Amd64.Open

- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_CopyTo
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollection_GetItem_ExistingCounter
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollection_GetKeys
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollection_GetValues
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollection_NullTest
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_Contains_Valid
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_GetKeys
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_Contains_inValid
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_GetItem_Invalid
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_GetValues

Error message:

System.AggregateException : One or more errors occurred. (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.)
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.


Stack trace
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen) in /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs:line 48
   at System.Diagnostics.Tests.Helpers.RetryOnAllPlatforms[T](Func`1 func) in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/Helpers.cs:line 0
   at System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_CopyTo() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/InstanceDataTests.cs:line 118
----- Inner Stack Trace #1 (System.InvalidOperationException) -----
   at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String machine, String category) in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs:line 847
   at System.Diagnostics.PerformanceCounterCategory.ReadCategory() in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterCategory.cs:line 549
   at System.Diagnostics.Tests.InstanceDataTests.<>c__DisplayClass11_0.<GetInstanceDataCollectionCollection>b__1() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/InstanceDataTests.cs:line 128
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass12_0`1.<RetryOnAllPlatforms>b__0() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/Helpers.cs:line 75
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen) in /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs:line 40
----- Inner Stack Trace #2 (System.InvalidOperationException) -----
   at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String machine, String category) in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs:line 847
   at System.Diagnostics.PerformanceCounterCategory.ReadCategory() in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterCategory.cs:line 549
   at System.Diagnostics.Tests.InstanceDataTests.<>c__DisplayClass11_0.<GetInstanceDataCollectionCollection>b__1() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/InstanceDataTests.cs:line 128
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass12_0`1.<RetryOnAllPlatforms>b__0() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/Helpers.cs:line 75
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen) in /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs:line 40
----- Inner Stack Trace #3 (System.InvalidOperationException) -----
   at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String machine, String category) in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs:line 847
   at System.Diagnostics.PerformanceCounterCategory.ReadCategory() in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterCategory.cs:line 549
   at System.Diagnostics.Tests.InstanceDataTests.<>c__DisplayClass11_0.<GetInstanceDataCollectionCollection>b__1() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/InstanceDataTests.cs:line 128
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass12_0`1.<RetryOnAllPlatforms>b__0() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/Helpers.cs:line 75
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen) in /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs:line 40
----- Inner Stack Trace #4 (System.InvalidOperationException) -----
   at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String machine, String category) in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs:line 847
   at System.Diagnostics.PerformanceCounterCategory.ReadCategory() in /_/src/librari
@VincentBu VincentBu added area-System.Diagnostics os-windows JitStress CLR JIT issues involving JIT internal stress modes arch-x64 labels Apr 6, 2022
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Apr 6, 2022
@ghost
Copy link

ghost commented Apr 6, 2022

Tagging subscribers to this area: @tommcdon
See info in area-owners.md if you want to be subscribed.

Issue Details

Run: runtime-coreclr libraries-jitstress2-jitstressregs 20220402.1

Failed test:

net7.0-windows-Release-x64-CoreCLR_checked-jitstress2_jitstressregs2-Windows.10.Amd64.Open

- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_CopyTo
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollection_GetItem_ExistingCounter
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollection_GetKeys
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollection_GetValues
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollection_NullTest
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_Contains_Valid
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_GetKeys
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_Contains_inValid
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_GetItem_Invalid
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_GetValues

Error message:

System.AggregateException : One or more errors occurred. (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.)
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.


Stack trace
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen) in /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs:line 48
   at System.Diagnostics.Tests.Helpers.RetryOnAllPlatforms[T](Func`1 func) in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/Helpers.cs:line 0
   at System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_CopyTo() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/InstanceDataTests.cs:line 118
----- Inner Stack Trace #1 (System.InvalidOperationException) -----
   at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String machine, String category) in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs:line 847
   at System.Diagnostics.PerformanceCounterCategory.ReadCategory() in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterCategory.cs:line 549
   at System.Diagnostics.Tests.InstanceDataTests.<>c__DisplayClass11_0.<GetInstanceDataCollectionCollection>b__1() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/InstanceDataTests.cs:line 128
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass12_0`1.<RetryOnAllPlatforms>b__0() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/Helpers.cs:line 75
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen) in /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs:line 40
----- Inner Stack Trace #2 (System.InvalidOperationException) -----
   at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String machine, String category) in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs:line 847
   at System.Diagnostics.PerformanceCounterCategory.ReadCategory() in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterCategory.cs:line 549
   at System.Diagnostics.Tests.InstanceDataTests.<>c__DisplayClass11_0.<GetInstanceDataCollectionCollection>b__1() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/InstanceDataTests.cs:line 128
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass12_0`1.<RetryOnAllPlatforms>b__0() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/Helpers.cs:line 75
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen) in /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs:line 40
----- Inner Stack Trace #3 (System.InvalidOperationException) -----
   at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String machine, String category) in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs:line 847
   at System.Diagnostics.PerformanceCounterCategory.ReadCategory() in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterCategory.cs:line 549
   at System.Diagnostics.Tests.InstanceDataTests.<>c__DisplayClass11_0.<GetInstanceDataCollectionCollection>b__1() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/InstanceDataTests.cs:line 128
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass12_0`1.<RetryOnAllPlatforms>b__0() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/Helpers.cs:line 75
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen) in /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs:line 40
----- Inner Stack Trace #4 (System.InvalidOperationException) -----
   at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String machine, String category) in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs:line 847
   at System.Diagnostics.PerformanceCounterCategory.ReadCategory() in /_/src/librari
Author: VincentBu
Assignees: -
Labels:

area-System.Diagnostics, os-windows, JitStress, arch-x64

Milestone: -

@ghost
Copy link

ghost commented Apr 7, 2022

Tagging subscribers to this area: @dotnet/area-system-diagnostics-performancecounter
See info in area-owners.md if you want to be subscribed.

Issue Details

Run: runtime-coreclr libraries-jitstress2-jitstressregs 20220402.1

Failed test:

net7.0-windows-Release-x64-CoreCLR_checked-jitstress2_jitstressregs2-Windows.10.Amd64.Open

- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_CopyTo
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollection_GetItem_ExistingCounter
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollection_GetKeys
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollection_GetValues
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollection_NullTest
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_Contains_Valid
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_GetKeys
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_Contains_inValid
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_GetItem_Invalid
- System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_GetValues

Error message:

System.AggregateException : One or more errors occurred. (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.) (Category 'Processor' does not exist.)
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.
---- System.InvalidOperationException : Category 'Processor' does not exist.


Stack trace
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen) in /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs:line 48
   at System.Diagnostics.Tests.Helpers.RetryOnAllPlatforms[T](Func`1 func) in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/Helpers.cs:line 0
   at System.Diagnostics.Tests.InstanceDataTests.InstanceDataCollectionCollection_CopyTo() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/InstanceDataTests.cs:line 118
----- Inner Stack Trace #1 (System.InvalidOperationException) -----
   at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String machine, String category) in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs:line 847
   at System.Diagnostics.PerformanceCounterCategory.ReadCategory() in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterCategory.cs:line 549
   at System.Diagnostics.Tests.InstanceDataTests.<>c__DisplayClass11_0.<GetInstanceDataCollectionCollection>b__1() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/InstanceDataTests.cs:line 128
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass12_0`1.<RetryOnAllPlatforms>b__0() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/Helpers.cs:line 75
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen) in /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs:line 40
----- Inner Stack Trace #2 (System.InvalidOperationException) -----
   at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String machine, String category) in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs:line 847
   at System.Diagnostics.PerformanceCounterCategory.ReadCategory() in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterCategory.cs:line 549
   at System.Diagnostics.Tests.InstanceDataTests.<>c__DisplayClass11_0.<GetInstanceDataCollectionCollection>b__1() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/InstanceDataTests.cs:line 128
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass12_0`1.<RetryOnAllPlatforms>b__0() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/Helpers.cs:line 75
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen) in /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs:line 40
----- Inner Stack Trace #3 (System.InvalidOperationException) -----
   at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String machine, String category) in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs:line 847
   at System.Diagnostics.PerformanceCounterCategory.ReadCategory() in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterCategory.cs:line 549
   at System.Diagnostics.Tests.InstanceDataTests.<>c__DisplayClass11_0.<GetInstanceDataCollectionCollection>b__1() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/InstanceDataTests.cs:line 128
   at System.Diagnostics.Tests.Helpers.<>c__DisplayClass12_0`1.<RetryOnAllPlatforms>b__0() in /_/src/libraries/System.Diagnostics.PerformanceCounter/tests/Helpers.cs:line 75
   at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen) in /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs:line 40
----- Inner Stack Trace #4 (System.InvalidOperationException) -----
   at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String machine, String category) in /_/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterLib.cs:line 847
   at System.Diagnostics.PerformanceCounterCategory.ReadCategory() in /_/src/librari
Author: VincentBu
Assignees: -
Labels:

area-System.Diagnostics, os-windows, JitStress, arch-x64, untriaged, area-System.Diagnostics.PerformanceCounter

Milestone: -

@danmoseley
Copy link
Member

dupe of #60933

issue believe understood: #60933 (comment)

@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Apr 7, 2022
@ghost ghost locked as resolved and limited conversation to collaborators May 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants