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

System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.NonRandomizedToRandomizedUpgrade_FunctionsCorrectly fails on extra-platforms #81945

Closed
ManickaP opened this issue Feb 10, 2023 · 3 comments · Fixed by #81957
Assignees
Milestone

Comments

@ManickaP
Copy link
Member

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=165856
Build error leg or test failing: System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.NonRandomizedToRandomizedUpgrade_FunctionsCorrectly
Pull request: #81481

Error Message

[FAIL] System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.NonRandomizedToRandomizedUpgrade_FunctionsCorrectly(ignoreCase: False)
System.NullReferenceException : Object reference not set to an instance of an object.
   at System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.<GenerateCollidingStrings>g__GetHashCodeFunc|4_0(ConcurrentDictionary`2 cd) + 0x30
   at System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.GenerateCollidingStrings(Int32 count) + 0x6c
   at System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.NonRandomizedToRandomizedUpgrade_FunctionsCorrectly(Boolean ignoreCase) + 0x1f
   at System.Collections.Concurrent.Tests!<BaseAddress>+0x909a6d
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0x167
[FAIL] System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.NonRandomizedToRandomizedUpgrade_FunctionsCorrectly(ignoreCase: True)
System.NullReferenceException : Object reference not set to an instance of an object.
   at System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.<GenerateCollidingStrings>g__GetHashCodeFunc|4_0(ConcurrentDictionary`2 cd) + 0x30
   at System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.GenerateCollidingStrings(Int32 count) + 0x6c
   at System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.NonRandomizedToRandomizedUpgrade_FunctionsCorrectly(Boolean ignoreCase) + 0x1f
   at System.Collections.Concurrent.Tests!<BaseAddress>+0x909a6d
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0x167
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Feb 10, 2023
@ghost
Copy link

ghost commented Feb 10, 2023

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

Issue Details

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=165856
Build error leg or test failing: System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.NonRandomizedToRandomizedUpgrade_FunctionsCorrectly
Pull request: #81481

Error Message

[FAIL] System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.NonRandomizedToRandomizedUpgrade_FunctionsCorrectly(ignoreCase: False)
System.NullReferenceException : Object reference not set to an instance of an object.
   at System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.<GenerateCollidingStrings>g__GetHashCodeFunc|4_0(ConcurrentDictionary`2 cd) + 0x30
   at System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.GenerateCollidingStrings(Int32 count) + 0x6c
   at System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.NonRandomizedToRandomizedUpgrade_FunctionsCorrectly(Boolean ignoreCase) + 0x1f
   at System.Collections.Concurrent.Tests!<BaseAddress>+0x909a6d
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0x167
[FAIL] System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.NonRandomizedToRandomizedUpgrade_FunctionsCorrectly(ignoreCase: True)
System.NullReferenceException : Object reference not set to an instance of an object.
   at System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.<GenerateCollidingStrings>g__GetHashCodeFunc|4_0(ConcurrentDictionary`2 cd) + 0x30
   at System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.GenerateCollidingStrings(Int32 count) + 0x6c
   at System.Collections.Concurrent.Tests.ConcurrentDictionary_Generic_Tests_string_string.NonRandomizedToRandomizedUpgrade_FunctionsCorrectly(Boolean ignoreCase) + 0x1f
   at System.Collections.Concurrent.Tests!<BaseAddress>+0x909a6d
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0x167
Author: ManickaP
Assignees: -
Labels:

area-System.Collections

Milestone: -

@eiriktsarpalis
Copy link
Member

Potentially related to #81557? @stephentoub

@stephentoub stephentoub self-assigned this Feb 10, 2023
@stephentoub
Copy link
Member

Yes, it's a brand new test added in that PR and it uses reflection to access some privates.

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Feb 10, 2023
@eiriktsarpalis eiriktsarpalis removed the untriaged New issue has not been triaged by the area owner label Feb 10, 2023
@eiriktsarpalis eiriktsarpalis added this to the 8.0.0 milestone Feb 10, 2023
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Feb 10, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Mar 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants