Skip to content

[ci-scan] Test failure: TSAmbiguities.CollapsedInterfaces throws contracting-interface TypeLoadException #137173

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1663861
Build error leg or test failing: coreclr Pri1 Runtime Tests Run windows x64 checked-Loader/classloader/TSAmbiguities/CollapsedInterfaces/HelloWorld/HelloWorld.cmd
Pipeline: runtime-interpreter, definition 316, main.
Also affected: Windows arm64, interpreter modes 2 and 3 and their no-tiered-compilation variants.
Queues: windows.amd64.open.rt and windows.11.arm64.open.
First build it occurred: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1640547 (finished 2026-10-19; earliest verified occurrence in the sampled window, not a proven introducing build).
Follow-up build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1667699 (finished 2026-11-06), same TypeLoadException.

KBE authoring guidance (ci-failure-scan)
  • Error Details is for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.
  • Build Analysis parses only the single JSON block under Error Message.
  • ErrorMessage is a case-sensitive ordinal String.Contains substring copied verbatim from the failing log.
  • Set BuildRetry to true only for a clear infrastructure retry case. ExcludeConsoleLog disables Helix console-log scanning.

Error Details

The CollapsedInterfaces test throws TypeLoadException when loading A(int, int): its interface set contracts for some instantiations. Eight source work items contain this failure across the Windows interpreter configurations.

The exact exception was verified in five distinct builds: 1640547, 1652591, 1656023, source 1663861, and follow-up 1667699. Ten prior build inventories and representative Loader consoles were inspected. Missing older blobs and differing representative configurations are not treated as proof that every other sampled build passed this test. The occurrence count is a verified lower bound.

This is distinct from the SameMethodImpl/Override test's exception about Print2 overriding a method that has already been overridden. No product fix is established here.

Unhandled exception. System.TypeLoadException: The type 'A`2' in assembly 'HelloWorld, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' has a contracting interface set for some instantiations
   at HelloWorld.Test_A_int_int()
Expected: 100
Actual: -532462766
END EXECUTION - FAILED
Failed test: Loader/classloader/TSAmbiguities/CollapsedInterfaces/HelloWorld/HelloWorld.cmd

Error Message

{
  "ErrorMessage": "Unhandled exception. System.TypeLoadException: The type 'A`2' in assembly 'HelloWorld, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' has a contracting interface set for some instantiations",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)

Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 2 hits in failure.log

The exact exception matches twice in the representative saved source console (raw output and the wrapper's repeated exception), and also matches the follow-up console. Passing/skipped negative checks are empty. Multiple occurrences within one build count once for stability.


Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.

Note

Generated by GitHub Copilot.

Generated by CI Outer-Loop Failure Scanner · copilot · gpt61 · ~285 AIC · ⌖ ~15 AIC · ⊞ 33.3K · ◷

Report

Build Repository Test Pull Request
1699176 dotnet/runtime OutOfProcessTest.Loader/classloader/TSAmbiguities/CollapsedInterfaces/HelloWorld/HelloWorld.cmd
1695024 dotnet/runtime OutOfProcessTest.Loader/binding/tracing/BinderTracingTest.ResolutionFlow/BinderTracingTest.ResolutionFlow.cmd
1692376 dotnet/runtime OutOfProcessTest.Loader/binding/tracing/BinderTracingTest.ResolutionFlow/BinderTracingTest.ResolutionFlow.cmd #137928
1692118 dotnet/runtime OutOfProcessTest.Loader/binding/tracing/BinderTracingTest.ResolutionFlow/BinderTracingTest.ResolutionFlow.cmd
1691567 dotnet/runtime OutOfProcessTest.Loader/binding/tracing/BinderTracingTest.ResolutionFlow/BinderTracingTest.ResolutionFlow.cmd #137928
1690529 dotnet/runtime OutOfProcessTest.Loader/binding/tracing/BinderTracingTest.ResolutionFlow/BinderTracingTest.ResolutionFlow.cmd #137928
1687897 dotnet/runtime OutOfProcessTest.Loader/binding/tracing/BinderTracingTest.ResolutionFlow/BinderTracingTest.ResolutionFlow.cmd
1683345 dotnet/runtime OutOfProcessTest.Loader/classloader/TSAmbiguities/CollapsedInterfaces/HelloWorld/HelloWorld.cmd
1679601 dotnet/runtime OutOfProcessTest.Loader/binding/tracing/BinderTracingTest.ResolutionFlow/BinderTracingTest.ResolutionFlow.cmd
1675351 dotnet/runtime OutOfProcessTest.Loader/binding/tracing/BinderTracingTest.ResolutionFlow/BinderTracingTest.ResolutionFlow.cmd
1670961 dotnet/runtime OutOfProcessTest.Loader/classloader/TSAmbiguities/CollapsedInterfaces/HelloWorld/HelloWorld.cmd

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 6 11

Activity

  1. added
    blocking-clean-ci
    Known Build Error
    on Nov 9, 2026
  2. added
    untriaged
    on Nov 9, 2026
  3. dotnet-policy-service commented on Nov 9, 2026

    @dotnet-policy-service
    Contributor

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

  4. janvorli commented on Nov 9, 2026

    @janvorli
    Member

    This should be fixed by #136163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build Erroragentic-workflowsarea-CodeGen-Interpreter-coreclrblocking-clean-ciuntriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions