Repository navigation
[naot][android] GetHashCode_MultipleSubClasses_ShouldBeUnique test failure #121254
Copy link
Copy link
Closed
Description
These tests fail on android native AOT:
10-31 10:51:19.201 4056 4075 I DOTNET : [FAIL] System.Reflection.Tests.FieldInfoTests.GetHashCode_MultipleSubClasses_ShouldBeUnique
10-31 10:51:19.201 4056 4075 I DOTNET : Assert.Equal() Failure: Values differ
10-31 10:51:19.201 4056 4075 I DOTNET : Expected: 0
10-31 10:51:19.201 4056 4075 I DOTNET : Actual: 15
10-31 10:51:19.201 4056 4075 I DOTNET : at System.Reflection.Tests.FieldInfoTests.GetHashCode_MultipleSubClasses_ShouldBeUnique() + 0x123
10-31 10:51:19.201 4056 4075 I DOTNET : at libSystem.Reflection.Tests!<BaseAddress>+0x1230a13
10-31 10:51:19.201 4056 4075 I DOTNET : at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0xf3
10-31 10:51:19.207 4056 4075 I DOTNET : [SKIP] System.Reflection.Tests.FieldInfoTests.GetValueFromRvaField
10-31 10:51:19.221 4056 4075 I DOTNET : [FAIL] System.Reflection.Tests.PropertyInfoTests.GetHashCode_MultipleSubClasses_ShouldBeUnique
10-31 10:51:19.221 4056 4075 I DOTNET : Assert.Equal() Failure: Values differ
10-31 10:51:19.221 4056 4075 I DOTNET : Expected: 0
10-31 10:51:19.221 4056 4075 I DOTNET : Actual: 45
10-31 10:51:19.222 4056 4075 I DOTNET : at System.Reflection.Tests.PropertyInfoTests.GetHashCode_MultipleSubClasses_ShouldBeUnique() + 0x121
10-31 10:51:19.222 4056 4075 I DOTNET : at libSystem.Reflection.Tests!<BaseAddress>+0x1230a13
10-31 10:51:19.222 4056 4075 I DOTNET : at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0xf3
10-31 10:51:19.269 4056 4075 I DOTNET : [FAIL] System.Reflection.Tests.EventInfoTests.GetHashCode_MultipleSubClasses_ShouldBeUnique
10-31 10:51:19.269 4056 4075 I DOTNET : Assert.Equal() Failure: Values differ
10-31 10:51:19.269 4056 4075 I DOTNET : Expected: 0
10-31 10:51:19.269 4056 4075 I DOTNET : Actual: 15
10-31 10:51:19.269 4056 4075 I DOTNET : at System.Reflection.Tests.EventInfoTests.GetHashCode_MultipleSubClasses_ShouldBeUnique() + 0x107
10-31 10:51:19.269 4056 4075 I DOTNET : at libSystem.Reflection.Tests!<BaseAddress>+0x1230a13
10-31 10:51:19.269 4056 4075 I DOTNET : at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0xf3
10-31 10:51:19.323 4056 4075 I DOTNET : [SKIP] System.Reflection.Tests.AssemblyNameTests.EmptyFusionLog
10-31 10:51:19.344 4056 4075 I DOTNET : [FAIL] System.Reflection.Tests.MethodInfoTests.GetHashCode_MultipleSubClasses_ShouldBeUnique
10-31 10:51:19.344 4056 4075 I DOTNET : Assert.Equal() Failure: Values differ
10-31 10:51:19.344 4056 4075 I DOTNET : Expected: 0
10-31 10:51:19.344 4056 4075 I DOTNET : Actual: 27
10-31 10:51:19.344 4056 4075 I DOTNET : at System.Reflection.Tests.MethodInfoTests.GetHashCode_MultipleSubClasses_ShouldBeUnique() + 0x111
10-31 10:51:19.344 4056 4075 I DOTNET : at libSystem.Reflection.Tests!<BaseAddress>+0x1230a13
10-31 10:51:19.344 4056 4075 I DOTNET : at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0xf3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsNo status
Activity
dotnet-policy-service commentedon Oct 31, 2025
Tagging subscribers to 'arch-android': @vitek-karas, @simonrozsival, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Oct 31, 2025
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.
jkotas commentedon Oct 31, 2025
This is recently added test. Any chance that this is caused by mismatched/stale bits?
sbomer commentedon Oct 31, 2025
Very possible - I'll try again with a clean build, thanks!
sbomer commentedon Oct 31, 2025
Yup, looks like that was the problem, thank you.