Skip to content

[ci-scan] Test failure: GC/Regressions/Github/Runtime_129681 Crossgen2 exit 255 on osx x64 R2R #132037

Closed

Description

@github-actions

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.allowed list 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

Build Repository Test Pull Request
1549796 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1549622 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1549409 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1548849 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1547969 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1547769 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1547568 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1547208 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1546439 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1546230 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1546082 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1546038 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1546024 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1545892 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1545742 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1545710 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1545681 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1545624 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1545609 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
1545482 dotnet/runtime GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
3 20 20

Activity

  1. dotnet-policy-service commented on Aug 8, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @anicka-net, @dotnet/gc
    See info in area-owners.md if you want to be subscribed.

  2. jkotas commented on Aug 8, 2026

    @jkotas
    Member

    New test introduced by #131947

  3. github-actions commented on Aug 9, 2026

    @github-actions
    ContributorAuthor

    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 checked leg (pipeline runtime-coreclr outerloop, definition 108), the GC/Regressions/Github/Runtime_129681 test 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:

    Running CrossGen2:  crossgen2 @...Runtime_129681.dll.rsp
    Crossgen2 failed with exitcode: 255
    Test Harness Exitcode is : 1
    

    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-layout points 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

    • Likely author: none identified with sufficient confidence
    • Area owners (area-GC-coreclr): @anicka-net, @dotnet/gc
    • The Crossgen2/R2R abort likely also needs CodeGen eyes (area-CodeGen-coreclr): @JulieLeeMSFT, @dotnet/jit-contrib

    A fix would likely involve capturing the Crossgen2 stderr/assert from the failing osx-x64 R2R composite compilation of Runtime_129681.dll and 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:

    • awmgmcpg

    To allow these domains, add them to the network.allowed list in your workflow frontmatter:

    network:
      allowed:
        - defaults
        - "awmgmcpg"

    See Network Configuration for more information.

    Generated by CI Outer-Loop Failure Fixer · 206.5 AIC · ⌖ 15.4 AIC · ⊞ 17.1K · ◷

  4. added a commit that references this issue on Aug 12, 2026
    89c45f7
  5. locked and limited conversation to collaborators on Sep 12, 2026
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

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions