Repository navigation
Description
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1574376
Build error leg or test failing: linux-x64 Release AllSubsets_Mono_MiniFullAot_RuntimeTests (minifullaot) — Mono AOT of JIT/Generics/JIT.Generics.dll
Pipeline: runtime-extra-platforms (definition 154), branch main. The Mono MiniFullAOT precompilation step (src/mono/msbuild/aot-compile.proj) fails compiling JIT.Generics.dll: Mono's type loader reports Recursive type definition detected for the self-recursive generic types in JitTest_Generics_Coverage_chaos65204782cs (e.g. A0A1\1, A0A0A0`1), with Field '_sfA00' is an invalid generic instantiation. Hundreds of methodspecs fail to load, and aot-compile.projfails withMSB3077 ... ExitCode was set to -1`, breaking the whole leg. This is a build break — no tests run. Reproduces across source build 1574376 and follow-up build 1575978 (768 occurrences of the signature in the follow-up leg log).
This is the CI manifestation of the Mono self-recursive-static-field limitation tracked in #118472 (area-VM-meta-mono), surfaced here by the JIT.Generics chaos coverage assembly rather than the SelfReferentialStatics test. Related: dotnet/runtime#118472.
Error Details
EXEC : Failed to load methodspec 0x2b000074 due to Could not find method 'VerifyA0A0A0NotInlinedGenericStatic' due to a type load error : ... Field '_sfA00' is an invalid generic instantiation of type JitTest_Generics_Coverage_chaos65204782cs.A0A1A2`1[...] ... [/__w/1/s/src/mono/msbuild/aot-compile.proj]
/__w/1/s/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.
Build FAILED.
Error Message
{
"ErrorMessage": [
"aot-compile.proj",
"Recursive type definition detected JitTest_Generics_Coverage_chaos",
"JIT.Generics.dll"
],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Agentic workflow metadata (ci-failure-scan)
Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 768 hits in failure.log
First build it occurred
Source build 1574376; reproduces in follow-up build 1575978. Fails on the linux-x64 Mono MiniFullAOT RuntimeTests leg.
Duplicate search
Searched open/closed Known Build Error issues for Recursive type definition detected, JIT.Generics, aot-compile.proj, and Mono AOT generics failures. #118472 is a product tracker (area-VM-meta-mono) for the same underlying self-recursive-static limitation but is not a Known Build Error and cites a different test (SelfReferentialStatics). No open Known Build Error tracks this JIT.Generics MiniFullAOT build break, so filing one for Build Analysis to match; cross-linked to #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 to loop in owners — it never disables the test.
Note
Generated by the CI Outer-Loop Failure Scanner agentic workflow.
Generated by CI Outer-Loop Failure Scanner · opus48 · 776.4 AIC · ⌖ 16.1 AIC · ⊞ 20.7K · ◷
Report
| Build | Repository | Step Name | Console log | Pull Request |
|---|---|---|---|---|
| 1582624 | dotnet/runtime | AOT compile CoreCLR tests | Log | |
| 1582425 | dotnet/runtime | AOT compile CoreCLR tests | Log | #132744 |
| 1582322 | dotnet/runtime | AOT compile CoreCLR tests | Log | |
| 1581950 | dotnet/runtime | AOT compile CoreCLR tests | Log | #130050 |
| 1581745 | dotnet/runtime | AOT compile CoreCLR tests | Log | |
| 1580442 | dotnet/runtime | AOT compile CoreCLR tests | Log | |
| 1580178 | dotnet/runtime | AOT compile CoreCLR tests | Log |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 7 |
Activity
steveisok commentedon Sep 1, 2026
Duplicate of #132942
Will be "fixed" by #133039
github-actions commentedon Sep 14, 2026
Workflow artifact: ci-fix
Artifact kind: handoff
Linked KBE: #133009
Note
AI/Copilot-generated triage note.
This Known Build Error has no producible automated code change (reason: Mono type-loader limitation surfaced by a generated test assembly — a product change in Mono, not a small test edit), so I could not open a safe best-effort PR. Looping in owners so it can be fixed forward rather than muted.
Root cause (best analysis)
On
linux-x64 Release AllSubsets_Mono_MiniFullAot_RuntimeTests (minifullaot)(runtime-extra-platforms, def 154), the Mono MiniFullAOT precompile (src/mono/msbuild/aot-compile.proj) fails AOT-compilingJIT/Generics/JIT.Generics.dll: Mono's type loader reportsRecursive type definition detectedfor self-recursive generic types inJitTest_Generics_Coverage_chaos65204782cs(e.g.A0A1`1), withField '_sfA00' is an invalid generic instantiation. Hundreds of methodspecs fail to load andaot-compile.projfailsMSB3077 ... ExitCode was set to -1, breaking the whole leg before tests run. This is the CI manifestation of the known Mono self-recursive-static-field limitation tracked in #118472 (area-VM-meta-mono), here surfaced by the JIT.Generics chaos coverage assembly rather than theSelfReferentialStaticstest. The correct fix is in Mono's generic type/static-field loading (or excluding the pattern from Mono AOT), which is an area-owner product decision — not a non-disabling small diff this workflow can safely make.Evidence
Suggested reviewers / area contacts
area-VM-meta-mono):@vitek-karas,@steveisokA fix likely involves addressing the Mono type-loader
Recursive type definition detectedlimitation (#118472) for self-recursive generic statics so the JIT.Generics chaos assembly can be MiniFullAOT-compiled.Structured data:
{ "artifact_kind": "handoff", "linked_kbe": 133009, "workflow_artifact": "ci-fix" }kotlarmilos commentedon Oct 2, 2026
Closing as a duplicate of #132942, fixed by #133039. No hits since the fix merged.
Note
This comment was drafted with GitHub Copilot.