Skip to content

[Arm64] CoreFX tests trigger OutOfMemoryException(s) #10017

@sdmaclea

Description

@sdmaclea

This is the first of reportedly several. I'll try to keep them all in this issue.

xUnit.net console test runner (64-bit .NET Core)
Copyright (C) 2014 Outercurve Foundation.

Discovering: System.Composition.TypedParts.Tests
Discovered:  System.Composition.TypedParts.Tests
Starting:    System.Composition.TypedParts.Tests
   System.Composition.TypedParts.Tests.ReflectionTests.MultiThreadedGetExportsWorkWithImportingConstuctor [FAIL]
      System.AggregateException : One or more errors occurred. (Insufficient memory within specified address space range to continue the execution of the program.)
      ---- System.OutOfMemoryException : Insufficient memory within specified address space range to continue the execution of the program.
      Stack Trace:
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Composition.TypedParts/tests/ReflectionTests.cs(58,0): at System.Composition.TypedParts.Tests.ReflectionTests.MultiThreadedGetExpoOutOfMemoryExceptionrtsWorkWithImportingConstuctor()
         ----- Inner Stack Trace -----
            at System.Runtime.CompilerServices.RuntimeHelpers._CompileMethod(IRuntimeMethodInfo method)
         /home/vmjenkins/workspace/Dotnet/build_and_test/src/mscorlib/src/System/Reflection/Emit/DynamicMethod.cs(374,0): at System.Reflection.Emit.DynamicMethod.CreateDelegate(Type delegateType, Object target)
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/LambdaCompiler.cs(185,0): at System.Linq.Expressions.Compiler.LambdaCompiler.Compile(LambdaExpression lambda)
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/LambdaExpression.cs(206,0): at System.Linq.Expressions.Expression`1.Compile(Boolean preferInterpretation)
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Composition.TypedParts/src/System/Composition/TypedParts/Discovery/DiscoveredPart.cs(167,0): at System.Composition.TypedParts.Discovery.DiscoveredPart.GetActivator(DependencyAccessor definitionAccessor, IEnumerable`1 dependencies)
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Composition.TypedParts/src/System/Composition/TypedParts/Discovery/DiscoveredExport.cs(42,0): at System.Composition.TypedParts.Discovery.DiscoveredExport.<>c__DisplayClass11_0.<GetExportDescriptorPromise>b__1(IEnumerable`1 deps)
         /home/vmjenkins/workspace/Dotnet/build_and_test/src/mscorlib/shared/System/Lazy.cs(324,0): at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
         /home/vmjenkins/workspace/Dotnet/build_and_test/src/mscorlib/shared/OutOfMemoryExceptionSystem/Lazy.cs(408,0): at System.Lazy`1.CreateValue()
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Composition.Hosting/src/System/Composition/Hosting/Core/ExportDescriptorPromise.cs(86,0): at System.Composition.Hosting.Core.ExportDescriptorPromise.GetDescriptor()
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Composition.TypedParts/src/System/Composition/TypedParts/Discovery/DiscoveredPart.cs(155,0): at System.Composition.TypedParts.Discovery.DiscoveredPart.GetActivator(DependencyAccessor definitionAccessor, IEnumerable`1 dependencies)
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Composition.TypedParts/src/System/Composition/TypedParts/Discovery/DiscoveredExport.cs(42,0): at System.Composition.TypedParts.Discovery.DiscoveredExport.<>c__DisplayClass11_0.<GetExportDescriptorPromise>b__1(IEnumerable`1 deps)
         /home/vmjenkins/workspace/Dotnet/build_and_test/src/mscorlib/shared/System/Lazy.cs(324,0): at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
         /home/vmjenkins/workspace/Dotnet/build_and_test/src/mscorlib/shared/System/Lazy.cs(408,0): at System.Lazy`1.CreateValue()
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Composition.Hosting/src/System/Composition/Hosting/Core/ExportDescriptorPromise.cs(86,0): at System.Composition.Hosting.Core.ExportDescriptorPromise.GetDescriptor()
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Linq/src/System/Linq/Select.cs(240,0): at System.Linq.Enumerable.SelectArrayIterator`2.ToArray()
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Composition.Hosting/src/System/Composition/Hosting/Core/ExportDescriptorRegistryUpdate.cs(50,0): at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.Execute(CompositionContract contract)
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Composition.Hosting/src/System/Composition/Hosting/Core/ExportDescriptorRegistry.cs(32,0): at System.Composition.Hosting.Core.ExportDescriptorRegistry.TryGetSingleForExport(CompositionContract exportKey, ExportDescriptor& defaultForExport)
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Composition.Hosting/src/System/Composition/Hosting/Core/LifetimeContext.cs(196,0): at System.Composition.Hosting.Core.LifetimeContext.TryGetExport(CompositionContract contract, Object& export)
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Composition.Runtime/src/System/Composition/CompositionContext.cs(150,0): at System.Composition.CompositionContext.GetExport(CompositionContract contract)
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Composition.Runtime/src/System/Composition/CompositionContext.cs(50,0): at System.Composition.CompositionContext.GetExport[TExport](String contractName)
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Composition.TypedParts/tests/ReflectionTests.cs(78,0): at System.Composition.TypedParts.Tests.ReflectionTests.GetExport()
         /home/vmjenkins/workspace/Dotnet/build_corefx/src/System.Composition.TypedParts/tests/ReflectionTests.cs(67,0): at System.Composition.TypedParts.Tests.ReflectionTests.Run(ManualResetEventSlim evnt, ConcurrentBag`1 errors)
Finished:    System.Composition.TypedParts.Tests

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions