Repository navigation
Description
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1545184
Build error leg or test failing: coreclr Pri1 Runtime Tests Run R2R_CG2 osx x64 checked — GC/Regressions/Github/Runtime_129681/Runtime_129681
Pipeline: runtime-coreclr outerloop (definition 108), branch main. The failure reproduces on the R2R_CG2 osx x64 checked leg and persists into follow-up build 1545348.
Error Details
The GC/Regressions/Github/Runtime_129681 test compiles its assembly with Crossgen2 (R2R composite, --method-layout:random, --verify-type-and-field-layout) before running. On the osx x64 leg targeting osx/x64, Crossgen2 aborts with exit code 255, so the test harness records a non-zero exit and the test fails.
Running test: GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
Running CrossGen2: crossgen2 @...Runtime_129681.dll.rsp
Crossgen2 failed with exitcode: 255
Test Harness Exitcode is : 1
END EXECUTION - FAILED
Error Message
{
"ErrorMessage": [
"Running test: GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd",
"Crossgen2 failed with exitcode: 255"
],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}First build it occurred
The signature is present in source build 1545184 (2026-08-08), the prior build 1544819 (2026-08-07), and follow-up build 1545348 (2026-08-08) — at least three consecutive occurrences.
Duplicate search
Searched open and closed issues/KBEs for Runtime_129681 and Crossgen2 failed with exitcode: 255 on the osx x64 R2R leg: no existing KBE matches. Merged PR #131947 ("Fix AV in gc_heap::init_heap_segment", merged 2026-08-07) is unrelated to this Crossgen2 codegen failure and merged before the follow-up build that still reproduces the signature.
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
This issue was generated by the ci-failure-scan Copilot (AI) automation workflow. Signatures and build references were verified against public AzDO / Helix logs.
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpg
To allow these domains, add them to the
network.allowedlist in your workflow frontmatter:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
Generated by CI Outer-Loop Failure Scanner · 489 AIC · ⌖ 16.4 AIC · ⊞ 18.3K · ◷
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 3 | 20 | 20 |
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
dotnet-policy-service commentedon Aug 8, 2026
Tagging subscribers to this area: @anicka-net, @dotnet/gc
See info in area-owners.md if you want to be subscribed.
jkotas commentedon Aug 8, 2026
New test introduced by #131947
github-actions commentedon Aug 9, 2026
Workflow artifact: ci-fix
Artifact kind: handoff
Linked KBE: #132037
Note
AI/Copilot-generated triage note.
This Known Build Error has no producible automated code change (reason: Crossgen2 R2R codegen failure — must not be auto-fixed), so I could not open even a best-effort PR. Looping in owners so it can be fixed forward rather than muted.
Root cause (best analysis)
On the
R2R_CG2 osx x64 checkedleg (pipelineruntime-coreclr outerloop, definition 108), theGC/Regressions/Github/Runtime_129681test pre-compiles its assembly with Crossgen2 as an R2R composite image (--method-layout:random --verify-type-and-field-layout) before executing. Crossgen2 aborts with exit code 255:Because Crossgen2 fails during ahead-of-time compilation, the test never runs and the harness records a non-zero exit. Exit code 255 from Crossgen2 on the osx/x64 target with
--verify-type-and-field-layoutpoints at a compiler-side abort (assert / unhandled exception in the R2R compilation path), not at the test's own logic. Diagnosing it requires the Crossgen2 stderr/assert output, which is a JIT/R2R-codegen investigation outside the safe automated-fix bounds. Disabling the test is explicitly not an option for this workflow.Evidence
Suggested reviewers / area contacts
area-GC-coreclr):@anicka-net,@dotnet/gcarea-CodeGen-coreclr):@JulieLeeMSFT,@dotnet/jit-contribA fix would likely involve capturing the Crossgen2 stderr/assert from the failing osx-x64 R2R composite compilation of
Runtime_129681.dlland addressing the compiler abort surfaced by--verify-type-and-field-layout.Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpgSee Network Configuration for more information.
Disable Runtime_129681 CrossGen2 testing (dotnet#132126)