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

Linux arm64 Release NativeAOT failures in System.Reflection.Tests #69136

Closed
lewing opened this issue May 10, 2022 · 5 comments · Fixed by #69137
Closed

Linux arm64 Release NativeAOT failures in System.Reflection.Tests #69136

lewing opened this issue May 10, 2022 · 5 comments · Fixed by #69137
Labels
area-NativeAOT-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

Comments

@lewing
Copy link
Member

lewing commented May 10, 2022

runtime (Build Linux arm64 Release NativeAOT) failed with

[FAIL] System.Reflection.Tests.TypeInfoTests.GetMemberWithSameMetadataDefinitionAs(openGenericType: typeof(System.Reflection.Tests.TI_GenericTypeWithAllMembers), closedGenericType: typeof(System.Reflection.Tests.TI_GenericTypeWithAllMembers), checkDeclaringType: True)
'add_PrivateStaticEvent' doesn't have the right DeclaringType
Expected: True
Actual:   False
   at System.Reflection.Tests.TypeInfoTests.GetMemberWithSameMetadataDefinitionAs(Type, Type, Boolean) + 0x1c4
   at System.Reflection!<BaseAddress>+0xabbd8c
   at System.InvokeUtils.CallDynamicInvokeMethod(Object, IntPtr, IntPtr, IntPtr, Object, Object[], BinderBundle, Boolean, Boolean) + 0xec
[FAIL] System.Reflection.Tests.TypeInfoTests.GetMemberWithSameMetadataDefinitionAs(openGenericType: typeof(System.Reflection.Tests.TI_GenericTypeWithAllMembers<>), closedGenericType: typeof(System.Reflection.Tests.TI_GenericTypeWithAllMembers), checkDeclaringType: True)
'add_PrivateStaticEvent' doesn't have the right DeclaringType
Expected: True
Actual:   False
   at System.Reflection.Tests.TypeInfoTests.GetMemberWithSameMetadataDefinitionAs(Type, Type, Boolean) + 0x1c4
   at System.Reflection!<BaseAddress>+0xabbd8c
   at System.InvokeUtils.CallDynamicInvokeMethod(Object, IntPtr, IntPtr, IntPtr, Object, Object[], BinderBundle, Boolean, Boolean) + 0xec
[SKIP] System.Reflection.Tests.ConstructorInfoTests.Invoke_StaticConstructor_NullObject_NullParameters
[SKIP] System.Reflection.Tests.ConstructorInfoTests.Invoke_StaticConstructorMultipleTimes
[FAIL] System.Reflection.Tests.ConstructorInfoTests.Invoke_OneDimensionalArray_NegativeLengths_ThrowsOverflowException
Assert.Throws() Failure
Expected: typeof(System.Reflection.TargetInvocationException)
Actual:   typeof(System.OverflowException): Arithmetic operation resulted in an overflow.
---- System.OverflowException : Arithmetic operation resulted in an overflow.
   at System.Runtime.EH.FailedAllocation(EETypePtr, Boolean) + 0x24
   at Internal.Runtime.Augments.RuntimeAugments.NewMultiDimArray(RuntimeTypeHandle, Int32[], Int32[]) + 0xa0
   at Internal.Reflection.Execution.ExecutionEnvironmentImplementation.NewMultiDimArray(RuntimeTypeHandle, Int32[], Int32[]) + 0x18
   at System.Reflection.Runtime.MethodInfos.CustomMethodInvoker.Invoke(Object, Object[], BinderBundle, Boolean) + 0x124
   at Internal.Reflection.Core.Execution.MethodInvoker.Invoke(Object, Object[], Binder, BindingFlags, CultureInfo) + 0x54
   at System.Reflection.Runtime.MethodInfos.RuntimeSyntheticConstructorInfo.Invoke(BindingFlags, Binder, Object[], CultureInfo) + 0x78
----- Inner Stack Trace -----
   at System.Runtime.EH.FailedAllocation(EETypePtr, Boolean) + 0x24
   at Internal.Runtime.Augments.RuntimeAugments.NewMultiDimArray(RuntimeTypeHandle, Int32[], Int32[]) + 0xa0
   at Internal.Reflection.Execution.ExecutionEnvironmentImplementation.NewMultiDimArray(RuntimeTypeHandle, Int32[], Int32[]) + 0x18
   at System.Reflection.Runtime.MethodInfos.CustomMethodInvoker.Invoke(Object, Object[], BinderBundle, Boolean) + 0x124
   at Internal.Reflection.Core.Execution.MethodInvoker.Invoke(Object, Object[], Binder, BindingFlags, CultureInfo) + 0x54
   at System.Reflection.Runtime.MethodInfos.RuntimeSyntheticConstructorInfo.Invoke(BindingFlags, Binder, Object[], CultureInfo) + 0x78

...
[EXECUTION TIMED OUT]
Exit Code:-3Executor timed out after 2700 seconds and was killed

https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-69128-merge-bd1220216cc24e5a94/System.Reflection.Tests/1/console.0c1999eb.log?helixlogtype=result

@ghost ghost added the untriaged New issue has not been triaged by the area owner label May 10, 2022
@ghost
Copy link

ghost commented May 10, 2022

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

Issue Details

runtime (Build Linux arm64 Release NativeAOT) failed with

[FAIL] System.Reflection.Tests.TypeInfoTests.GetMemberWithSameMetadataDefinitionAs(openGenericType: typeof(System.Reflection.Tests.TI_GenericTypeWithAllMembers), closedGenericType: typeof(System.Reflection.Tests.TI_GenericTypeWithAllMembers), checkDeclaringType: True)
'add_PrivateStaticEvent' doesn't have the right DeclaringType
Expected: True
Actual:   False
   at System.Reflection.Tests.TypeInfoTests.GetMemberWithSameMetadataDefinitionAs(Type, Type, Boolean) + 0x1c4
   at System.Reflection!<BaseAddress>+0xabbd8c
   at System.InvokeUtils.CallDynamicInvokeMethod(Object, IntPtr, IntPtr, IntPtr, Object, Object[], BinderBundle, Boolean, Boolean) + 0xec
[FAIL] System.Reflection.Tests.TypeInfoTests.GetMemberWithSameMetadataDefinitionAs(openGenericType: typeof(System.Reflection.Tests.TI_GenericTypeWithAllMembers<>), closedGenericType: typeof(System.Reflection.Tests.TI_GenericTypeWithAllMembers), checkDeclaringType: True)
'add_PrivateStaticEvent' doesn't have the right DeclaringType
Expected: True
Actual:   False
   at System.Reflection.Tests.TypeInfoTests.GetMemberWithSameMetadataDefinitionAs(Type, Type, Boolean) + 0x1c4
   at System.Reflection!<BaseAddress>+0xabbd8c
   at System.InvokeUtils.CallDynamicInvokeMethod(Object, IntPtr, IntPtr, IntPtr, Object, Object[], BinderBundle, Boolean, Boolean) + 0xec
[SKIP] System.Reflection.Tests.ConstructorInfoTests.Invoke_StaticConstructor_NullObject_NullParameters
[SKIP] System.Reflection.Tests.ConstructorInfoTests.Invoke_StaticConstructorMultipleTimes
[FAIL] System.Reflection.Tests.ConstructorInfoTests.Invoke_OneDimensionalArray_NegativeLengths_ThrowsOverflowException
Assert.Throws() Failure
Expected: typeof(System.Reflection.TargetInvocationException)
Actual:   typeof(System.OverflowException): Arithmetic operation resulted in an overflow.
---- System.OverflowException : Arithmetic operation resulted in an overflow.
   at System.Runtime.EH.FailedAllocation(EETypePtr, Boolean) + 0x24
   at Internal.Runtime.Augments.RuntimeAugments.NewMultiDimArray(RuntimeTypeHandle, Int32[], Int32[]) + 0xa0
   at Internal.Reflection.Execution.ExecutionEnvironmentImplementation.NewMultiDimArray(RuntimeTypeHandle, Int32[], Int32[]) + 0x18
   at System.Reflection.Runtime.MethodInfos.CustomMethodInvoker.Invoke(Object, Object[], BinderBundle, Boolean) + 0x124
   at Internal.Reflection.Core.Execution.MethodInvoker.Invoke(Object, Object[], Binder, BindingFlags, CultureInfo) + 0x54
   at System.Reflection.Runtime.MethodInfos.RuntimeSyntheticConstructorInfo.Invoke(BindingFlags, Binder, Object[], CultureInfo) + 0x78
----- Inner Stack Trace -----
   at System.Runtime.EH.FailedAllocation(EETypePtr, Boolean) + 0x24
   at Internal.Runtime.Augments.RuntimeAugments.NewMultiDimArray(RuntimeTypeHandle, Int32[], Int32[]) + 0xa0
   at Internal.Reflection.Execution.ExecutionEnvironmentImplementation.NewMultiDimArray(RuntimeTypeHandle, Int32[], Int32[]) + 0x18
   at System.Reflection.Runtime.MethodInfos.CustomMethodInvoker.Invoke(Object, Object[], BinderBundle, Boolean) + 0x124
   at Internal.Reflection.Core.Execution.MethodInvoker.Invoke(Object, Object[], Binder, BindingFlags, CultureInfo) + 0x54
   at System.Reflection.Runtime.MethodInfos.RuntimeSyntheticConstructorInfo.Invoke(BindingFlags, Binder, Object[], CultureInfo) + 0x78

...
[EXECUTION TIMED OUT]
Exit Code:-3Executor timed out after 2700 seconds and was killed

https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-69128-merge-bd1220216cc24e5a94/System.Reflection.Tests/1/console.0c1999eb.log?helixlogtype=result

Author: lewing
Assignees: -
Labels:

area-System.Reflection, untriaged

Milestone: -

@lewing lewing added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' area-NativeAOT-coreclr and removed area-System.Reflection untriaged New issue has not been triaged by the area owner labels May 10, 2022
@lewing
Copy link
Member Author

lewing commented May 10, 2022

seen in #69128
and #69126

@lewing
Copy link
Member Author

lewing commented May 10, 2022

cc @agocke

@lewing
Copy link
Member Author

lewing commented May 10, 2022

Looks like a result of #67575

@lewing
Copy link
Member Author

lewing commented May 10, 2022

actually the problem started in #69057

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label May 10, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label May 10, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jun 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-NativeAOT-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
Projects
None yet
1 participant