Skip to content

Test failure: ComInterfaceGenerator.Unit.Tests.ComInterfaceGeneratorOutputShape.EmptyComInterface #112843

@v-wenyuxu

Description

@v-wenyuxu

Failed in: runtime-coreclr libraries-jitstress 20250222.1

Failed tests:

net10.0-windows-Release-x86-disabler2r-Windows.10.Amd64.Open
    - ComInterfaceGenerator.Unit.Tests.ComInterfaceGeneratorOutputShape.EmptyComInterface
net10.0-windows-Release-x86-tailcallstress-Windows.10.Amd64.Open
    - ComInterfaceGenerator.Unit.Tests.ComInterfaceGeneratorOutputShape.EmptyComInterface
net10.0-windows-Release-x86-no_tiered_compilation-Windows.10.Amd64.Open
    - ComInterfaceGenerator.Unit.Tests.ComInterfaceGeneratorOutputShape.EmptyComInterface

Error message:

 Assert.Equal() Failure: Values differ
Expected: 4
Actual:   1

Stack trace:

   at ComInterfaceGenerator.Unit.Tests.ComInterfaceGeneratorOutputShape.GeneratedShapeTest.VerifyFinalCompilation(Compilation compilation) in /_/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ComInterfaceGeneratorOutputShape.cs:line 302
   at Microsoft.Interop.UnitTests.Verifiers.CSharpSourceGeneratorVerifier`1.Test.GetProjectCompilationAsync(Project project, IVerifier verifier, CancellationToken cancellationToken) in /_/src/libraries/System.Runtime.InteropServices/tests/Common/Verifiers/CSharpSourceGeneratorVerifier.cs:line 150
   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 1115
   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.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 203
   at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 172
   at ComInterfaceGenerator.Unit.Tests.ComInterfaceGeneratorOutputShape.VerifyGeneratedTypeShapes(String source, String[] typeNames) in /_/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ComInterfaceGeneratorOutputShape.cs:line 286
   at ComInterfaceGenerator.Unit.Tests.ComInterfaceGeneratorOutputShape.EmptyComInterface() in /_/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ComInterfaceGeneratorOutputShape.cs:line 100
--- End of stack trace from previous location ---

Metadata

Metadata

Assignees

No one assigned

    Labels

    JitStressCLR JIT issues involving JIT internal stress modesarch-x86area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runsneeds-area-labelAn area label is needed to ensure this gets routed to the appropriate area ownersos-windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions