dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.25k stars 4.73k forks source link

AssemblySaveModuleBuilderTests.GetArrayMethodTest fails on 'release mono_interpreter linux x64 Debug' CI leg #98013

Open buyaa-n opened 9 months ago

buyaa-n commented 9 months ago

AssemblySaveModuleBuilderTests.GetArrayMethodTest fails on release mono_interpreter linux x64 Debug CI leg.

Not sure why it is only failing on this CI leg, the failure log doesn't have much info, though looks mono specific:

From log:

System.Reflection.Emit.Tests.AssemblySaveModuleBuilderTests.GetArrayMethodTest [FAIL]
      System.ArrayTypeMismatchException : Attempted to access an element as a type incompatible with the array.
      Stack Trace:
        /_/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(178,0): at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
  Finished:    System.Reflection.Emit.Tests
=== TEST EXECUTION SUMMARY ===
   System.Reflection.Emit.Tests  Total: 1474, Errors: 0, Failed: 1, Skipped: 0, Time: 5.481s
ghost commented 9 months ago

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

Issue Details
AssemblySaveModuleBuilderTests.GetArrayMethodTest fails on `release mono_interpreter linux x64 Debug` CI leg. Not sure why it is only failing on this CI leg, the failure log doesn't have much info, though looks mono specific: From [log](https://[helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-97350-merge-598460e957bf4f2f86/System.Reflection.Emit.Tests/1/console.fea100ba.log?helixlogtype=result](https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-97350-merge-598460e957bf4f2f86/System.Reflection.Emit.Tests/1/console.fea100ba.log?helixlogtype=result)): ```log System.Reflection.Emit.Tests.AssemblySaveModuleBuilderTests.GetArrayMethodTest [FAIL] System.ArrayTypeMismatchException : Attempted to access an element as a type incompatible with the array. Stack Trace: /_/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(178,0): at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) Finished: System.Reflection.Emit.Tests === TEST EXECUTION SUMMARY === System.Reflection.Emit.Tests Total: 1474, Errors: 0, Failed: 1, Skipped: 0, Time: 5.481s ```
Author: buyaa-n
Assignees: -
Labels: `area-System.Reflection`, `untriaged`
Milestone: -
steveharter commented 8 months ago

cc @BrzVlad