Skip to content

[ci-scan] Build break: Mono AOT compile of JIT.Generics_ro fails with recursive/invalid generic instantiation on linux-x64 MiniF [Content truncated due to length] #132559

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1558665
Build error leg or test failing: linux-x64 Release AllSubsets_Mono_MiniFullAot_RuntimeTests minifullaot - AOT compile CoreCLR tests (JIT.Generics_ro.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 Mono AOT compile step (aot-compile.proj) fails while precompiling JIT.Generics_ro.dll on the linux-x64 Release AllSubsets_Mono_MiniFullAot_RuntimeTests minifullaot leg of runtime-extra-platforms (definition 154). The corerun-driven AOT pass emits over a thousand Failed to load methodspec errors rooted in recursive/invalid generic instantiations, then the MSBuild Exec reports failure:

EXEC : Failed to load methodspec 0x2b0003fa due to Could not find method 'VerifyA0A1A2A3NotInlinedGenericStatic' due to a type load error : Could not set up parent class, due to: Generic Type Definition failed to init, due to: Could not set up parent class, due to: Generic Type Definition failed to init, due to: Recursive type definition detected JitTest_Generics_Coverage_chaos65204782cs.A0A1`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 "/__w/1/s/artifacts/tests/coreclr/linux.x64.Release/Tests/Core_Root/corerun /__w/1/s/artifacts/tests/coreclr/linux.x64.Release/JIT/Generics/JIT.Generics_ro/JIT.Generics_ro.dll" exited with return value 0, but errors were detected during execution. ExitCode was set to -1.
    1154 Error(s)
Build failed with exit code 1. Check errors above.

The failure is persistent: it reproduces across the entire scanned ~25-build window (all builds failed) and in the follow-up build 1560207. True origin likely predates the scanned window.

Error Message

{
  "ErrorMessage": "JIT/Generics/JIT.Generics_ro/JIT.Generics_ro.dll\" exited with return value 0, but errors were detected during execution. ExitCode was set to -1.",
  "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


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 · 496.5 AIC · ⌖ 18.1 AIC · ⊞ 20.7K ·

Report

Build Repository Step Name Console log Pull Request
1577512 dotnet/runtime AOT compile CoreCLR tests Log
1576725 dotnet/runtime AOT compile CoreCLR tests Log #133011
1576204 dotnet/runtime AOT compile CoreCLR tests Log
1575978 dotnet/runtime AOT compile CoreCLR tests Log
1575514 dotnet/runtime AOT compile CoreCLR tests Log
1574641 dotnet/runtime AOT compile CoreCLR tests Log
1574376 dotnet/runtime AOT compile CoreCLR tests Log
1574239 dotnet/runtime AOT compile CoreCLR tests Log
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
1566865 dotnet/runtime AOT compile CoreCLR tests Log #132744
1566331 dotnet/runtime AOT compile CoreCLR tests Log
1566157 dotnet/runtime AOT compile CoreCLR tests Log
1565612 dotnet/runtime AOT compile CoreCLR tests Log
1564499 dotnet/runtime AOT compile CoreCLR tests Log
1564198 dotnet/runtime AOT compile CoreCLR tests Log
1564078 dotnet/runtime AOT compile CoreCLR tests Log
1563879 dotnet/runtime AOT compile CoreCLR tests Log
1563837 dotnet/runtime AOT compile CoreCLR tests Log
1563727 dotnet/runtime AOT compile CoreCLR tests Log
1563501 dotnet/runtime AOT compile CoreCLR tests Log
1563399 dotnet/runtime AOT compile CoreCLR tests Log
1563009 dotnet/runtime AOT compile CoreCLR tests Log
1562158 dotnet/runtime AOT compile CoreCLR tests Log #132608
1562481 dotnet/runtime AOT compile CoreCLR tests Log #132489
1561887 dotnet/runtime AOT compile CoreCLR tests Log
1561700 dotnet/runtime AOT compile CoreCLR tests Log
1561263 dotnet/runtime AOT compile CoreCLR tests Log
1560409 dotnet/runtime AOT compile CoreCLR tests Log

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
3 23 44

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions