Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
v-wenyuxu opened this issue Nov 25, 2024 · 5 comments
Assignees
Labels
arch-arm64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes os-linux Linux OS (any supported distro)
Milestone

Comments

@v-wenyuxu
Copy link

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

Failed tests:

net10.0-linux-Release-arm64-jitstress2_jitstressregs0x80-(Ubuntu.2004.Arm64.Open)Ubuntu.2004.Armarch.Open@mcr.microsoft.com/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)Ubuntu.2004.Armarch.Open@mcr.microsoft.com/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
@v-wenyuxu v-wenyuxu added arch-arm64 blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes os-linux Linux OS (any supported distro) labels Nov 25, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Nov 25, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Nov 25, 2024
@jeffschwMSFT jeffschwMSFT added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Nov 25, 2024
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@amanasifkhalid amanasifkhalid added this to the 10.0.0 milestone Nov 25, 2024
@amanasifkhalid amanasifkhalid removed untriaged New issue has not been triaged by the area owner needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Nov 25, 2024
@amanasifkhalid
Copy link
Member

cc @dotnet/jit-contrib (not sure if this is a codegen issue yet, though it failed in a JitStress pipeline)

@v-wenyuxu
Copy link
Author

Failed in: runtime-coreclr libraries-jitstress 20241124.1

Failed tests:

net10.0-linux-Release-arm64-jitstress1-(Ubuntu.2004.Arm64.Open)Ubuntu.2004.Armarch.Open@mcr.microsoft.com/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-jitstress1-Windows.11.Arm64.Open
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyLoopLoadsLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyCollectionDependenciesLoadLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyDependenciesLoadLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazily
net10.0-linux-Release-arm-jitstress1-(Debian.12.Arm32.Open)Ubuntu.2004.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-12-helix-arm32v7
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyLoopLoadsLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyCollectionDependenciesLoadLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazilyLazyDependenciesLoadLazily
    - Tests.Integration.DelayLoadingTests.PartTypeLoadedLazily
net10.0-windows-Release-x86-jitstress1-Windows.10.Amd64.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.GetCastedExportedValue[T](Export export) in /_/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/ExportServices.cs:line 134
   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

@JulieLeeMSFT
Copy link
Member

@jakobbotsch, PTAL.

@amanasifkhalid
Copy link
Member

This hasn't repro'd in about a week -- I suspect the underlying issue has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-arm64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes os-linux Linux OS (any supported distro)
Projects
None yet
Development

No branches or pull requests

5 participants