dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.98k stars 4.66k forks source link

System.Collections.Concurrent.Tests.ConcurrentStackTests.ManyConcurrentAddsTakes_ForceContentionWithToArray #75608

Open karelz opened 2 years ago

karelz commented 2 years ago

Last 30 days in Runfo as of 9/14:

Day Run Details
9/12 Rolling run 13766 net7.0-tvOS-Release-arm64-Mono_Release-OSX.1100.Amd64.AppleTV.Open
~8/23 Rolling run 1961839 net7.0-tvOS-Release-arm64-Mono_Release-OSX.1100.Amd64.AppleTV.Open

Error (example of Test Results):

System.NullReferenceException : Object reference not set to an instance of an object
   at System.Runtime.Intrinsics.Vector128`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].get_Count()
   at System.SpanHelpers.IndexOfValueType[Int32,DontNegate`1](Int32& searchSpace, Int32 value, Int32 length)
   at System.Array.IndexOf[Int32](Int32[] array, Int32 value, Int32 startIndex, Int32 count)
   at System.Array.InternalArray__ICollection_Contains[Int32](Int32 item)
   at System.Collections.Concurrent.Tests.ProducerConsumerCollectionTests.ManyConcurrentAddsTakes_ForceContentionWithToArray(Double seconds)
   at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
ghost commented 2 years ago

Tagging subscribers to 'os-tvos': @steveisok, @akoeplinger See info in area-owners.md if you want to be subscribed.

Issue Details
[Last 30 days](https://runfo.azurewebsites.net/search/tests/?q=started%3A%7E30+definition%3Aruntime-extra-platforms+name%3A%22system.collections.concurrent.tests.concurrentstacktests.manyconcurrentaddstakes_forcecontentionwithtoarray%28seconds%3A+1%29%22) in Runfo as of 9/14: Day | Run | Details -- | -- | -- 9/12 | [13766](https://runfo.azurewebsites.net/view/build/?number=13766) | net7.0-tvOS-Release-arm64-Mono_Release-OSX.1100.Amd64.AppleTV.Open ~8/23 | [1961839](https://runfo.azurewebsites.net/view/build/?number=1961839) | net7.0-tvOS-Release-arm64-Mono_Release-OSX.1100.Amd64.AppleTV.Open Error (example of [Test Results](https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-1a3419759a9546b39e/System.Collections.Concurrent.Tests/1/testResults.xml?%3Fhelixlogtype%3Dresult)): ``` System.NullReferenceException : Object reference not set to an instance of an object at System.Runtime.Intrinsics.Vector128`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].get_Count() at System.SpanHelpers.IndexOfValueType[Int32,DontNegate`1](Int32& searchSpace, Int32 value, Int32 length) at System.Array.IndexOf[Int32](Int32[] array, Int32 value, Int32 startIndex, Int32 count) at System.Array.InternalArray__ICollection_Contains[Int32](Int32 item) at System.Collections.Concurrent.Tests.ProducerConsumerCollectionTests.ManyConcurrentAddsTakes_ForceContentionWithToArray(Double seconds) at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr) ```
Author: karelz
Assignees: -
Labels: `area-System.Collections`, `os-tvos`
Milestone: -
steveisok commented 2 years ago

/cc @SamMonoRT

I think this might be a flake. Hard to tell exactly what triggers it without a real deep dive.