Skip to content

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

@lewing

Description

@lewing

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions