Open
Description
#115709 updated roslyn in hotreload-utils and we started seeing this test failure in Mono interpreter cases:
Applying metadata update for /datadisks/disk1/work/C07B0A04/w/A82E08EE/e/System.Reflection.Metadata.ApplyUpdate.Test.AddInstanceField.dll, revision 1
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: Field not large enough to fill array (Parameter 'field_handle')
at System.Runtime.CompilerServices.RuntimeHelpers.InitializeArray(Array array, RuntimeFieldHandle fldHandle) in /_/src/mono/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.Mono.cs:line 19
at System.Reflection.Metadata.ApplyUpdate.Test.AddInstanceField..ctor() in /__w/1/s/src/libraries/System.Runtime.Loader/tests/ApplyUpdate/System.Reflection.Metadata.ApplyUpdate.Test.AddInstanceField/AddInstanceField.cs:line 42
at System.Reflection.Metadata.ApplyUpdateTest.<>c.<TestAddInstanceField>b__11_0() in /_/src/libraries/System.Runtime.Loader/tests/ApplyUpdateTest.cs:line 389
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.Mono.cs:line 22
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
--- End of stack trace from previous location ---
at Microsoft.DotNet.RemoteExecutor.Program.Main(String[] args) in /_/src/arcade/src/Microsoft.DotNet.RemoteExecutor/src/Program.cs:line 97
Running test using RemoteExecutor
System.Reflection.Metadata.ApplyUpdateTest.TestAddInstanceField [FAIL]
Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Remote process failed with an unhandled exception.
Stack Trace:
Child exception:
System.ArgumentException: Field not large enough to fill array (Parameter 'field_handle')
/_/src/mono/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.Mono.cs(19,0): at System.Runtime.CompilerServices.RuntimeHelpers.InitializeArray(Array array, RuntimeFieldHandle fldHandle)
/__w/1/s/src/libraries/System.Runtime.Loader/tests/ApplyUpdate/System.Reflection.Metadata.ApplyUpdate.Test.AddInstanceField/AddInstanceField.cs(42,0): at System.Reflection.Metadata.ApplyUpdate.Test.AddInstanceField..ctor()
/_/src/libraries/System.Runtime.Loader/tests/ApplyUpdateTest.cs(389,0): at System.Reflection.Metadata.ApplyUpdateTest.<>c.<TestAddInstanceField>b__11_0()
/_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.Mono.cs(22,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
/_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(57,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Child process:
System.Runtime.Loader.Tests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 System.Reflection.Metadata.ApplyUpdateTest+<>c Void <TestAddInstanceField>b__11_0()
Disabled the test for now to unblock the dependency flow.