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: Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions #112837

Closed
v-wenyuxu opened this issue Feb 24, 2025 · 5 comments
Labels
arch-arm32 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)

Comments

@v-wenyuxu
Copy link

Failed in: runtime-coreclr libraries-jitstress-random 20250222.1

Failed tests:

net10.0-linux-Release-arm-jitstress_random_2-(Debian.12.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:debian-12-helix-arm32v7
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions

Error message:

 System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Object reference not set to an instance of an object.))))
---- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Object reference not set to an instance of an object.)))
-------- System.AggregateException : One or more errors occurred. (One or more errors occurred. (Object reference not set to an instance of an object.))
------------ System.AggregateException : One or more errors occurred. (Object reference not set to an instance of an object.)
---------------- System.NullReferenceException : Object reference not set to an instance of an object.

Stack trace:

   at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction`1 action, ParallelOptions options, Boolean stopOnFirstFailure) in /_/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/TaskReplicator.cs:line 158
   at System.Threading.Tasks.Parallel.ForWorker[TLocal,TInt](TInt fromInclusive, TInt toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) in /_/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/Parallel.cs:line 982
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException) in /_/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/Parallel.cs:line 2848
   at System.Threading.Tasks.Parallel.ForWorker[TLocal,TInt](TInt fromInclusive, TInt toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) in /_/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/Parallel.cs:line 1131
   at Roslyn.Utilities.RoslynParallel.For(Int32 fromInclusive, Int32 toExclusive, Action`1 body, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamespaceSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.Symbols.SourceModuleSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.Symbols.SourceAssemblySymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetSourceDeclarationDiagnostics(SyntaxTree syntaxTree, Nullable`1 filterSpanWithinTree, Func`4 locationFilterOpt, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsWithoutFiltering(CompilationStage stage, Boolean includeEarlierStages, BindingDiagnosticBag builder, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, DiagnosticBag diagnostics, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CompileMethods(CommonPEModuleBuilder moduleBuilder, Boolean emittingPdb, Boolean emitMetadataOnly, Boolean emitTestCoverageData, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream metadataPEStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, RebuildData rebuildData, CompilationTestData testData, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, Stream metadataPEStream, RebuildData rebuildData, CancellationToken cancellationToken)
   at Microsoft.Extensions.Logging.Generators.Tests.CompilationHelper.CreateAssemblyImage(Compilation compilation) in /_/src/libraries/Microsoft.Extensions.Logging.Abstractions/tests/Microsoft.Extensions.Logging.Generators.Tests/CompilationHelper.cs:line 48
   at Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions() in /_/src/libraries/Microsoft.Extensions.Logging.Abstractions/tests/Microsoft.Extensions.Logging.Generators.Tests/LoggerMessageGeneratorParserTests.cs:line 1014
   at System.Reflection.MethodBaseInvoker.Interp
@v-wenyuxu v-wenyuxu added arch-arm32 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 Feb 24, 2025
@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 Feb 24, 2025
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Feb 24, 2025
@v-wenyuxu
Copy link
Author

Failed in: runtime-coreclr libraries-jitstress 20250222.1

Failed tests:

net10.0-windows-Release-x86-disabler2r-Windows.10.Amd64.Open
    - ComInterfaceGenerator.Unit.Tests.ComHostingDoesNotSupportGeneratedComInterfaceTests.ComVisibleType_GeneratedComInterface_TransitiveInterface_EnabledHosting_ReportsDiagnostic

Error message:

 System.AggregateException : One or more errors occurred. (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.)
---- System.NullReferenceException : Object reference not set to an instance of an object.
---- System.NullReferenceException : Object reference not set to an instance of an object.
---- System.NullReferenceException : Object reference not set to an instance of an object.

Stack trace:

   at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction`1 action, ParallelOptions options, Boolean stopOnFirstFailure) in /_/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/TaskReplicator.cs:line 158
   at System.Threading.Tasks.Parallel.ForWorker[TLocal,TInt](TInt fromInclusive, TInt toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) in /_/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/Parallel.cs:line 982
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException) in /_/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/Parallel.cs:line 2848
   at System.Threading.Tasks.Parallel.ForWorker[TLocal,TInt](TInt fromInclusive, TInt toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) in /_/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/Parallel.cs:line 1131
   at Roslyn.Utilities.RoslynParallel.For(Int32 fromInclusive, Int32 toExclusive, Action`1 body, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamespaceSymbol.ForceComplete(SourceLocation locationOpt, Predicate`1 filter, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.Symbols.SourceModuleSymbol.ForceComplete(SourceLocation locationOpt, Predicate`1 filter, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.Symbols.SourceAssemblySymbol.ForceComplete(SourceLocation locationOpt, Predicate`1 filter, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetSourceDeclarationDiagnostics(SyntaxTree syntaxTree, Nullable`1 filterSpanWithinTree, Func`4 locationFilterOpt, Predicate`1 symbolFilter, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsWithoutSeverityFiltering(CompilationStage stage, Boolean includeEarlierStages, BindingDiagnosticBag builder, Predicate`1 symbolFilter, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.<GetSortedDiagnosticsAsync>g__GetCompilerDiagnosticsAsync|81_0(AnalyzerTest`1 self, Compilation compilation, ImmutableArray`1 analyzers, AnalyzerOptions analyzerOptions, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 1152
   at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.GetSortedDiagnosticsAsync(Solution solution, ImmutableArray`1 analyzers, ImmutableArray`1 additionalDiagnostics, CompilerDiagnostics compilerDiagnostics, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 1122
   at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.GetSortedDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, ImmutableArray`1 analyzers, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 1090
   at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 449
   at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalys

@v-wenyuxu
Copy link
Author

Failed in: runtime-coreclr libraries-jitstress 20250222.1

Failed tests:

net10.0-windows-Release-x86-disabler2r-Windows.10.Amd64.Open
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesManagedToUnmanagedShape_Missing_ConvertToUnmanagedMethod_TwoManagedTypes_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesManagedToUnmanagedShape_Missing_ConvertToUnmanagedMethod_Marshaller_DifferentDocument_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.DefaultMode_Missing_BothConvertMethods_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesBidirectionalShape_Missing_BothConvertMethods_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesUnmanagedToManagedShape_Missing_ConvertToManagedMethod_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesManagedToUnmanagedShape_Missing_ConvertToUnmanagedMethod_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesManagedToUnmanagedShape_Missing_ConvertToUnmanagedMethod_Marshaller_DifferentProject_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.NativeMarshallingAttributeAnalyzerTests.MarshallerWithNoEntryPointAttributes_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.ShapeBreakingDiagnosticSuppressorTests.StatefulValueMarshallerMethodsThatDoNotUseInstanceState_SuppressesDiagnostic
    - LibraryImportGenerator.UnitTests.ShapeBreakingDiagnosticSuppressorTests.MethodWithShapeMatchingNameButDifferingSignature_DoesNotSuppressDiagnostic
    - LibraryImportGenerator.UnitTests.ShapeBreakingDiagnosticSuppressorTests.StatefulValueMarshallerMethodsForMarshallerInNonNestedMarshaller_DoesNotSuppressDiagnostics
    - LibraryImportGenerator.UnitTests.ShapeBreakingDiagnosticSuppressorTests.StatefulLinearCollectionMarshallerMethodsThatDoNotUseInstanceState_SuppressesDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_AttributeUsage.NullManagedType_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_AttributeUsage.UsingMarshalModeAsFlags_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_AttributeUsage.UsingInvalidMarshalMode_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessLinearCollectionShapeValidation.ModeThatUsesManagedToUnmanagedShape_Missing_AllMethods_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessLinearCollectionShapeValidation.ModeThatUsesBidirectionalShape_NestedGeneric_DoesNotReportDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessLinearCollectionShapeValidation.ModeThatUsesUnmanagedToManagedShape_Missing_AllMethods_ReportsDiagnostic
    - ComInterfaceGenerator.Unit.Tests.ComClassGeneratorDiagnostics.NonPartialContainingTypeWarns
    - ComInterfaceGenerator.Unit.Tests.ComClassGeneratorDiagnostics.ClassThatDoesNotInheritFromGeneratedInterfaceWarns
    - ComInterfaceGenerator.Unit.Tests.ComClassGeneratorDiagnostics.UnsafeCodeNotEnabledWarns
    - ComInterfaceGenerator.Unit.Tests.ComClassGeneratorOutputShape.SingleComClass
    - ComInterfaceGenerator.Unit.Tests.ComClassGeneratorOutputShape.MultipleComClasses
    - ComInterfaceGenerator.Unit.Tests.CompileFails.VerifyNonPartialInterfaceWarns
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.GetIUnknownForObject
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.CastsBetweenComImportAndGeneratedComTypes
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.CreateWrapperOfType
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.SetNullToComImportField
    - ComInterfaceGenerator.Unit.Tests.ConvertToGeneratedComInterfaceTests.Empty_ReportsDiagnostic
    - ComInterfaceGenerator.Unit.Tests.AddGeneratedComClassTests.TypeThatDoesNotImplementGeneratedComInterfaceType_DoesNotReportDiagnostic
    - ComInterfaceGenerator.Unit.Tests.AddGeneratedComClassTests.TypeThatImplementsGeneratedComInterfaceTypeTranstively_ReportsDiagnostic
net10.0-windows-Release-x86-no_tiered_compilation-Windows.10.Amd64.Open
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessLinearCollectionShapeValidation.ModeThatUsesManagedToUnmanagedShape_Missing_AllMethods_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessLinearCollectionShapeValidation.ModeThatUsesBidirectionalShape_NestedGeneric_DoesNotReportDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessLinearCollectionShapeValidation.ModeThatUsesUnmanagedToManagedShape_Missing_AllMethods_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesManagedToUnmanagedShape_Missing_ConvertToUnmanagedMethod_TwoManagedTypes_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesManagedToUnmanagedShape_Missing_ConvertToUnmanagedMethod_Marshaller_DifferentDocument_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.DefaultMode_Missing_BothConvertMethods_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesBidirectionalShape_Missing_BothConvertMethods_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesUnmanagedToManagedShape_Missing_ConvertToManagedMethod_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesManagedToUnmanagedShape_Missing_ConvertToUnmanagedMethod_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesManagedToUnmanagedShape_Missing_ConvertToUnmanagedMethod_Marshaller_DifferentProject_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.NativeMarshallingAttributeAnalyzerTests.MarshallerWithNoEntryPointAttributes_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_AttributeUsage.NullManagedType_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_AttributeUsage.UsingMarshalModeAsFlags_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_AttributeUsage.UsingInvalidMarshalMode_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.ShapeBreakingDiagnosticSuppressorTests.StatefulValueMarshallerMethodsThatDoNotUseInstanceState_SuppressesDiagnostic
    - LibraryImportGenerator.UnitTests.ShapeBreakingDiagnosticSuppressorTests.MethodWithShapeMatchingNameButDifferingSignature_DoesNotSuppressDiagnostic
    - LibraryImportGenerator.UnitTests.ShapeBreakingDiagnosticSuppressorTests.StatefulValueMarshallerMethodsForMarshallerInNonNestedMarshaller_DoesNotSuppressDiagnostics
    - LibraryImportGenerator.UnitTests.ShapeBreakingDiagnosticSuppressorTests.StatefulLinearCollectionMarshallerMethodsThatDoNotUseInstanceState_SuppressesDiagnostic
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.SetNullToComImportField
    - ComInterfaceGenerator.Unit.Tests.CompileFails.VerifyNonPartialInterfaceWarns
    - ComInterfaceGenerator.Unit.Tests.AddGeneratedComClassTests.TypeThatDoesNotImplementGeneratedComInterfaceType_DoesNotReportDiagnostic
    - ComInterfaceGenerator.Unit.Tests.AddGeneratedComClassTests.TypeThatImplementsGeneratedComInterfaceTypeTranstively_ReportsDiagnostic
    - ComInterfaceGenerator.Unit.Tests.AddGeneratedComClassTests.TypeThatImplementsGeneratedComInterfaceType_ReportsDiagnostic
    - ComInterfaceGenerator.Unit.Tests.ConvertToGeneratedComInterfaceTests.Empty_ReportsDiagnostic
    - ComInterfaceGenerator.Unit.Tests.ComClassGeneratorDiagnostics.NonPartialClassWarns
    - ComInterfaceGenerator.Unit.Tests.ComClassGeneratorDiagnostics.NonPartialContainingTypeWarns
    - ComInterfaceGenerator.Unit.Tests.ComClassGeneratorDiagnostics.ClassThatDoesNotInheritFromGeneratedInterfaceWarns
    - ComInterfaceGenerator.Unit.Tests.ComClassGeneratorDiagnostics.UnsafeCodeNotEnabledWarns
net10.0-windows-Release-x86-tailcallstress-Windows.10.Amd64.Open
    - ComInterfaceGenerator.Unit.Tests.ComClassGeneratorDiagnostics.NonPartialContainingTypeWarns
    - ComInterfaceGenerator.Unit.Tests.ComClassGeneratorDiagnostics.ClassThatDoesNotInheritFromGeneratedInterfaceWarns
    - ComInterfaceGenerator.Unit.Tests.ComClassGeneratorDiagnostics.UnsafeCodeNotEnabledWarns
    - ComInterfaceGenerator.Unit.Tests.ComClassGeneratorOutputShape.SingleComClass
    - ComInterfaceGenerator.Unit.Tests.ComClassGeneratorOutputShape.MultipleComClasses
    - ComInterfaceGenerator.Unit.Tests.AddGeneratedComClassTests.TypeThatDoesNotImplementGeneratedComInterfaceType_DoesNotReportDiagnostic
    - ComInterfaceGenerator.Unit.Tests.AddGeneratedComClassTests.TypeThatImplementsGeneratedComInterfaceTypeTranstively_ReportsDiagnostic
    - ComInterfaceGenerator.Unit.Tests.ConvertToGeneratedComInterfaceTests.Empty_ReportsDiagnostic
    - ComInterfaceGenerator.Unit.Tests.ConvertToGeneratedComInterfaceTests.UnsupportedInterfaceTypes_DoesNotReportDiagnostic
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.GetIDispatchForObject
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.GetObjectForIUnknown_ReportsDiagnostic
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.GetTypedObjectForIUnknown
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.GetObjectForIUnknown
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.CreateAggregatedObject
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.GetIUnknownForObject
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.CastsBetweenComImportAndGeneratedComTypes
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.CreateWrapperOfType
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.ReleaseComObject
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.SetNullToComImportField
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.GetComInterfaceForObject
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.SetComObjectData
    - ComInterfaceGenerator.Unit.Tests.RuntimeComApiUsageWithSourceGeneratedComTests.FinalReleaseComObject
    - ComInterfaceGenerator.Unit.Tests.ComHostingDoesNotSupportGeneratedComInterfaceTests.ComVisibleType_GeneratedComInterface_TransitiveInterface_EnabledHosting_ReportsDiagnostic
    - ComInterfaceGenerator.Unit.Tests.ComHostingDoesNotSupportGeneratedComInterfaceTests.ComVisibleType_GeneratedComInterface_NoHosting_DoesNotReportDiagnostic
    - ComInterfaceGenerator.Unit.Tests.CompileFails.VerifyNonPartialInterfaceWarns
    - LibraryImportGenerator.UnitTests.NativeMarshallingAttributeAnalyzerTests.MarshallerWithNoEntryPointAttributes_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.ShapeBreakingDiagnosticSuppressorTests.StatefulValueMarshallerMethodsThatDoNotUseInstanceState_SuppressesDiagnostic
    - LibraryImportGenerator.UnitTests.ShapeBreakingDiagnosticSuppressorTests.MethodWithShapeMatchingNameButDifferingSignature_DoesNotSuppressDiagnostic
    - LibraryImportGenerator.UnitTests.ShapeBreakingDiagnosticSuppressorTests.StatefulValueMarshallerMethodsForMarshallerInNonNestedMarshaller_DoesNotSuppressDiagnostics
    - LibraryImportGenerator.UnitTests.ShapeBreakingDiagnosticSuppressorTests.StatefulLinearCollectionMarshallerMethodsThatDoNotUseInstanceState_SuppressesDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessLinearCollectionShapeValidation.ModeThatUsesManagedToUnmanagedShape_Missing_AllMethods_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessLinearCollectionShapeValidation.ModeThatUsesBidirectionalShape_NestedGeneric_DoesNotReportDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessLinearCollectionShapeValidation.ModeThatUsesUnmanagedToManagedShape_Missing_AllMethods_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_AttributeUsage.NullManagedType_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_AttributeUsage.UsingMarshalModeAsFlags_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_AttributeUsage.UsingInvalidMarshalMode_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesManagedToUnmanagedShape_Missing_ConvertToUnmanagedMethod_TwoManagedTypes_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesManagedToUnmanagedShape_Missing_ConvertToUnmanagedMethod_Marshaller_DifferentDocument_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.DefaultMode_Missing_BothConvertMethods_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesBidirectionalShape_Missing_BothConvertMethods_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesUnmanagedToManagedShape_Missing_ConvertToManagedMethod_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesManagedToUnmanagedShape_Missing_ConvertToUnmanagedMethod_ReportsDiagnostic
    - LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.ModeThatUsesManagedToUnmanagedShape_Missing_ConvertToUnmanagedMethod_Marshaller_DifferentProject_ReportsDiagnostic

Error message:

 System.AggregateException : One or more errors occurred. (Object reference not set to an instance of an object.)
---- System.NullReferenceException : Object reference not set to an instance of an object.

Stack trace:

   at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction`1 action, ParallelOptions options, Boolean stopOnFirstFailure) in /_/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/TaskReplicator.cs:line 158
   at System.Threading.Tasks.Parallel.ForWorker[TLocal,TInt](TInt fromInclusive, TInt toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) in /_/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/Parallel.cs:line 982
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException) in /_/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/Parallel.cs:line 2848
   at System.Threading.Tasks.Parallel.ForWorker[TLocal,TInt](TInt fromInclusive, TInt toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) in /_/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/Parallel.cs:line 1131
   at Roslyn.Utilities.RoslynParallel.For(Int32 fromInclusive, Int32 toExclusive, Action`1 body, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamespaceSymbol.ForceComplete(SourceLocation locationOpt, Predicate`1 filter, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.Symbols.SourceModuleSymbol.ForceComplete(SourceLocation locationOpt, Predicate`1 filter, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.Symbols.SourceAssemblySymbol.ForceComplete(SourceLocation locationOpt, Predicate`1 filter, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetSourceDeclarationDiagnostics(SyntaxTree syntaxTree, Nullable`1 filterSpanWithinTree, Func`4 locationFilterOpt, Predicate`1 symbolFilter, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsWithoutSeverityFiltering(CompilationStage stage, Boolean includeEarlierStages, BindingDiagnosticBag builder, Predicate`1 symbolFilter, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnostics(CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.<GetSortedDiagnosticsAsync>g__GetCompilerDiagnosticsAsync|81_0(AnalyzerTest`1 self, Compilation compilation, ImmutableArray`1 analyzers, AnalyzerOptions analyzerOptions, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 1152
   at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.GetSortedDiagnosticsAsync(Solution solution, ImmutableArray`1 analyzers, ImmutableArray`1 additionalDiagnostics, CompilerDiagnostics compilerDiagnostics, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 1122
   at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.GetSortedDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, ImmutableArray`1 analyzers, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 1090
   at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 449
   at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalys

@jkotas jkotas added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Feb 24, 2025
Copy link
Contributor

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

@v-wenyuxu
Copy link
Author

Failed in: runtime-coreclr libraries-jitstress 20250223.1

Failed tests:

net10.0-windows-Release-x86-disabler2r-Windows.10.Amd64.Open
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.UnsupportedTypes
net10.0-windows-Release-x86-no_tiered_compilation-Windows.10.Amd64.Open
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.UnsupportedTypes
net10.0-windows-Release-x86-tailcallstress-Windows.10.Amd64.Open
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions
    - Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions
    - Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests.ConfigurationBindingGeneratorTests.UnsupportedTypes

Error message:

 System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Object reference not set to an instance of an object.))))
---- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Object reference not set to an instance of an object.)))
-------- System.AggregateException : One or more errors occurred. (One or more errors occurred. (Object reference not set to an instance of an object.))
------------ System.AggregateException : One or more errors occurred. (Object reference not set to an instance of an object.)
---------------- System.NullReferenceException : Object reference not set to an instance of an object.

Stack trace:

    at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction`1 action, ParallelOptions options, Boolean stopOnFirstFailure) in /_/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/TaskReplicator.cs:line 158
   at System.Threading.Tasks.Parallel.ForWorker[TLocal,TInt](TInt fromInclusive, TInt toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) in /_/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/Parallel.cs:line 982
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException) in /_/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/Parallel.cs:line 2848
   at System.Threading.Tasks.Parallel.ForWorker[TLocal,TInt](TInt fromInclusive, TInt toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) in /_/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/Parallel.cs:line 1131
   at Roslyn.Utilities.RoslynParallel.For(Int32 fromInclusive, Int32 toExclusive, Action`1 body, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.Symbols.SourceNamespaceSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.Symbols.SourceModuleSymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.Symbols.SourceAssemblySymbol.ForceComplete(SourceLocation locationOpt, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetSourceDeclarationDiagnostics(SyntaxTree syntaxTree, Nullable`1 filterSpanWithinTree, Func`4 locationFilterOpt, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsWithoutFiltering(CompilationStage stage, Boolean includeEarlierStages, BindingDiagnosticBag builder, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CompileMethods(CommonPEModuleBuilder moduleBuilder, Boolean emittingPdb, Boolean emitMetadataOnly, Boolean emitTestCoverageData, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream metadataPEStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, RebuildData rebuildData, CompilationTestData testData, CancellationToken cancellationToken)
   at Microsoft.CodeAnalysis.Compilation.Emit(Stream peStream, Stream pdbStream, Stream xmlDocumentationStream, Stream win32Resources, IEnumerable`1 manifestResources, EmitOptions options, IMethodSymbol debugEntryPoint, Stream sourceLinkStream, IEnumerable`1 embeddedTexts, Stream metadataPEStream, RebuildData rebuildData, CancellationToken cancellationToken)
   at Microsoft.Extensions.Logging.Generators.Tests.CompilationHelper.CreateAssemblyImage(Compilation compilation) in /_/src/libraries/Microsoft.Extensions.Logging.Abstractions/tests/Microsoft.Extensions.Logging.Generators.Tests/CompilationHelper.cs:line 48
   at Microsoft.Extensions.Logging.Generators.Tests.LoggerMessageGeneratorParserTests.MultipleTypeDefinitions() in /_/src/libraries/Microsoft.Extensions.Logging.Abstractions/tests/Microsoft.Extensions.Logging.Generators.Tests/LoggerMessageGeneratorParserTests.cs:line 1014
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Obj

@amanasifkhalid
Copy link
Member

Should be fixed by #112872.

@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-arm32 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

3 participants