Skip to content

Test failure: Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyLoopLoadsLazily #110130

@v-wenyuxu

Description

@v-wenyuxu

Failed in: runtime-coreclr libraries-jitstress2-jitstressregs 20241123.1

Failed tests:

net10.0-linux-Release-arm64-jitstress2_jitstressregs0x80-(Ubuntu.2004.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-20.04-helix-arm64v8
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyLoopLoadsLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyCollectionDependenciesLoadLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyDependenciesLoadLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazily
net10.0-linux-Release-arm64-jitstress2_jitstressregs4-(Ubuntu.2004.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-20.04-helix-arm64v8
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyLoopLoadsLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyCollectionDependenciesLoadLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyDependenciesLoadLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazily
net10.0-windows-Release-arm64-jitstress2_jitstressregs0x10-Windows.11.Arm64.Open
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyLoopLoadsLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyCollectionDependenciesLoadLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyDependenciesLoadLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazily
net10.0-windows-Release-arm64-jitstress2_jitstressregs8-Windows.11.Arm64.Open
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyLoopLoadsLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyCollectionDependenciesLoadLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyDependenciesLoadLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazily

Error message:

 System.ComponentModel.Composition.CompositionException : The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

1) Cannot create an instance of type 'Tests.Integration.DelayLoadingTests+LazyLoopImporter' because a constructor could not be selected for construction. Ensure that the type either has a default constructor, or a single constructor marked with the 'System.ComponentModel.Composition.ImportingConstructorAttribute'.

Resulting in: Cannot activate part 'Tests.Integration.DelayLoadingTests+LazyLoopImporter'.
Element: Tests.Integration.DelayLoadingTests+LazyLoopImporter -->  Tests.Integration.DelayLoadingTests+LazyLoopImporter

Resulting in: Cannot get export 'Tests.Integration.DelayLoadingTests+LazyLoopImporter (ContractName="Tests.Integration.DelayLoadingTests+IImporter")' from part 'Tests.Integration.DelayLoadingTests+LazyLoopImporter'.
Element: Tests.Integration.DelayLoadingTests+LazyLoopImporter (ContractName="Tests.Integration.DelayLoadingTests+IImporter")

Stack trace:

   at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition) in /_/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/CompositionServices.cs:line 542
   at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart part, ExportDefinition export, Boolean isSharedPart) in /_/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/CatalogExportProvider.cs:line 525
   at System.ComponentModel.Composition.Primitives.Export.get_Value() in /_/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Primitives/Export.cs:line 204
   at System.ComponentModel.Composition.ExportServices.<>c__DisplayClass10_0`1.<CreateStronglyTypedLazyOfT>b__1() in /_/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/ExportServices.cs:line 109
   at System.Lazy`1.CreateValue() in /_/src/libraries/System.Private.CoreLib/src/System/Lazy.cs:line 413
   at Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyLoopLoadsLazily() in /_/src/libraries/System.ComponentModel.Composition/tests/System/Integration/DelayLoadingTests.cs:line 136
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57

Metadata

Metadata

Assignees

Labels

JitStressCLR JIT issues involving JIT internal stress modesarch-arm64area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runsos-linuxLinux OS (any supported distro)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions