Skip to content

[ci-scan] Build break: Mono minifullaot AOT compile of JIT.Generics fails with Recursive type definition detected #132767

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1564198
Build error leg or test failing: linux-x64 Release AllSubsets_Mono_MiniFullAot_RuntimeTests minifullaot-AOT compile CoreCLR tests (JIT/Generics/JIT.Generics/JIT.Generics.dll)

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 runtime-extra-platforms pipeline (def 154) fails in the linux-x64 Release AllSubsets_Mono_MiniFullAot_RuntimeTests minifullaot leg during the AOT compile CoreCLR tests step. The Mono AOT compiler cannot compile JIT/Generics/JIT.Generics/JIT.Generics.dll, emitting a large batch of methodspec load failures rooted in a recursive generic type definition, then failing the AOT step:

EXEC : Failed to load methodspec 0x2b000070 due to Could not find method 'VerifyA0A1NotInlinedGenericStatic' due to a type load error : Recursive type definition detected JitTest_Generics_Coverage_chaos65204782cs.A0A1`1 assembly:.../JIT/Generics/JIT.Generics/JIT.Generics.dll type:A0A1`1 member:(null). [/__w/1/s/src/mono/msbuild/aot-compile.proj]
...
src/mono/msbuild/aot-compile.proj(19,9): error MSB3077: The command "... corerun ... JIT.Generics.dll" exited with return value 0, but errors were detected during execution. ExitCode was set to -1.

Reproduces in both the source build #1564198 (2026-08-24) and the later build #1566157 (2026-08-25). First build it occurred: persistent across the scanned window; true origin may predate 2026-08-08.

Related area tracker: #118472 (Mono cannot handle certain legal self-recursive type loads involving static fields).

Error Message

{
  "ErrorMessage": "Could not find method 'VerifyA0A1NotInlinedGenericStatic' due to a type load error : Recursive type definition detected JitTest_Generics_Coverage_chaos65204782cs.A0A1",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)

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

Tracking: #118472


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.

Generated by CI Outer-Loop Failure Scanner · opus48 · 619 AIC · ⌖ 11 AIC · ⊞ 20.7K ·

Report

Build Repository Step Name Console log Pull Request
1574096 dotnet/runtime AOT compile CoreCLR tests Log
1574051 dotnet/runtime AOT compile CoreCLR tests Log
1573862 dotnet/runtime AOT compile CoreCLR tests Log
1573602 dotnet/runtime AOT compile CoreCLR tests Log
1573540 dotnet/runtime AOT compile CoreCLR tests Log
1573426 dotnet/runtime AOT compile CoreCLR tests Log #130050
1573117 dotnet/runtime AOT compile CoreCLR tests Log
1572439 dotnet/runtime AOT compile CoreCLR tests Log #132887
1572010 dotnet/runtime AOT compile CoreCLR tests Log
1571812 dotnet/runtime AOT compile CoreCLR tests Log
1571246 dotnet/runtime AOT compile CoreCLR tests Log
1569903 dotnet/runtime AOT compile CoreCLR tests Log
1569716 dotnet/runtime AOT compile CoreCLR tests Log
1569119 dotnet/runtime AOT compile CoreCLR tests Log
1567956 dotnet/runtime AOT compile CoreCLR tests Log
1567845 dotnet/runtime AOT compile CoreCLR tests Log
1567484 dotnet/runtime AOT compile CoreCLR tests Log
1563837 dotnet/runtime AOT compile CoreCLR tests Log

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
3 17 18

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions