Open
Description
When running the following CoreCLR tests on the Mono runtime from the dotnet\runtime repo, we get the error :
System.ExecutionEngineException: Collectible AssemblyLoadContexts are not yet supported by MonoVM
at System.Runtime.Loader.AssemblyLoadContext.InitializeAssemblyLoadContext(IntPtr thisHandlePtr, Boolean representsTPALoadContext, Boolean isCollectible) in /Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyLoadContext.Mono.cs:line 23
at System.Runtime.Loader.AssemblyLoadContext..ctor(Boolean representsTPALoadContext, Boolean isCollectible, String name) in /Users/samarthpatel/Documents/DotNetRunTime/runtime/src/libraries/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyLoadContext.cs:line 94
at System.Runtime.Loader.AssemblyLoadContext..ctor(Boolean isCollectible) in
Tests failing with this issue :
- Interop/ICustomMarshaler/ConflictingNames/MultipleALCs/MultipleALCs.sh
- Loader/ContextualReflection/ContextualReflection/ContextualReflection.sh
Repro : Command to run individual tests : From the dotnet\runtime repo src\mono\netcore run this command - make run-tests-coreclr CoreClrTest="bash ../../artifacts/tests/coreclr/OSX.x64.Debug/Interop/ICustomMarshaler/ConflictingNames/MultipleALCs/MultipleALCs.sh"