Skip to content

[ci-scan] Test failure: GC/Regressions/Github/Runtime_129681 fails with coreclr_initialize 0x80004005 on osx x64 #132045

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1545348
Build error leg or test failing: coreclr Pri1 Runtime Tests Run osx x64 checked — GC/Regressions/Github/Runtime_129681/Runtime_129681

Pipeline: runtime-coreclr outerloop (definition 108), branch main. The failure reproduces on both osx.15.amd64 machines behind the plain osx x64 checked leg (jobs e2334af3 / 1132d4aa) in source build 1545348 and persists into follow-up build 1545482 (job 31e71870).

This is a distinct failure mode from the Crossgen2 exit-255 signature tracked by #132037 on the R2R_CG2 osx x64 leg: here the plain (non-R2R) osx x64 leg runs the same test but the runtime host aborts during startup with coreclr_initialize failed - Error: 0x80004005. The Crossgen2 failed with exitcode: 255 line from #132037 does not appear in this log.

Error Details

Running test: GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
External disassembler is not available.
BEGIN: coreclr_initialize failed - Error: 0x80004005
END: coreclr_initialize failed - Error: 0x80004005

Return code:      1
...
Expected: 100
Actual: 255
END EXECUTION - FAILED
Test Harness Exitcode is : 1

Error Message

{
  "ErrorMessage": [
    "Running test: GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd",
    "BEGIN: coreclr_initialize failed - Error: 0x80004005"
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

First build it occurred

Observed in source build 1545348 (2026-08-08) on both osx x64 machines and again in follow-up build 1545482 (2026-08-08) — at least two distinct builds.

Duplicate search

Searched open and closed issues/KBEs for Runtime_129681, coreclr_initialize failed, and 0x80004005: the only existing test-specific KBE is #132037, which matches a different signature (Crossgen2 failed with exitcode: 255) on the R2R_CG2 leg and does not match this plain-leg startup failure. Related: #132037. No open or merged PR references this 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 GitHub Copilot agentic workflow.

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 · 719.9 AIC · ⌖ 16.6 AIC · ⊞ 18.3K · ◷

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Activity

  1. VincentBu commented on Aug 10, 2026

    @VincentBu
    Contributor

    Failed in: runtime-coreclr ilasm 20260808.1

    Failed tests:

    coreclr osx x64 Checked ilasmroundtrip @ OSX.15.Amd64.Open
    - GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.cmd
    
    

    Error message:

    External disassembler is not available.
    BEGIN: coreclr_initialize failed - Error: 0x80004005
    END: coreclr_initialize failed - Error: 0x80004005
    
    Return code:      1
    Raw output file:      /tmp/helix/working/B71A099B/w/B05D0957/uploads/Regressions/Github/Runtime_129681/Runtime_129681/output.txt
    Raw output:
    BEGIN EXECUTION
    
    .NET IL Assembler.  Version 11.0.0-ci
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Assembling 'IL-RT/Runtime_129681.il'  to EXE --> 'Runtime_129681.dll'
    Source file is UNICODE
    
    Assembled method Runtime_129681::TestEntryPoint
    Assembled method Runtime_129681::.ctor
    Assembled method __GeneratedMainWrapper::Main
    Assembled method __GeneratedMainWrapper::.ctor
    Creating PE file
    
    Emitting classes:
    Class 1:	Runtime_129681
    Class 2:	__GeneratedMainWrapper
    
    Emitting fields and methods:
    Global 	
    Class 1	Fields: 1;	Methods: 2;	
    Class 2	Methods: 2;	
    Resolving local member refs: 1 -> 1 defs, 0 refs, 0 unresolved
    
    Emitting events and properties:
    Global 	
    Class 1	
    Class 2	
    Resolving local member refs: 0 -> 0 defs, 0 refs, 0 unresolved
    Writing PE file
    Operation completed successfully
    
    .NET IL Assembler.  Version 11.0.0-ci
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Assembling 'IL-RT/Runtime_129681.il'  to EXE --> 'Runtime_129681.dll'
    Source file is UNICODE
    
    Assembled method Runtime_129681::TestEntryPoint
    Assembled method Runtime_129681::.ctor
    Assembled method __GeneratedMainWrapper::Main
    Assembled method __GeneratedMainWrapper::.ctor
    Creating PE file
    
    Emitting classes:
    Class 1:	Runtime_129681
    Class 2:	__GeneratedMainWrapper
    
    Emitting fields and methods:
    Global 	
    Class 1	Fields: 1;	Methods: 2;	
    Class 2	Methods: 2;	
    Resolving local member refs: 1 -> 1 defs, 0 refs, 0 unresolved
    
    Emitting events and properties:
    Global 	
    Class 1	
    Class 2	
    Resolving local member refs: 0 -> 0 defs, 0 refs, 0 unresolved
    Writing PE file
    Operation completed successfully
    
    .NET IL Assembler.  Version 11.0.0-ci
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Assembling 'IL-RT/Runtime_129681.il'  to EXE --> 'Runtime_129681.pdb'
    Source file is UNICODE
    
    Assembled method Runtime_129681::TestEntryPoint
    Assembled method Runtime_129681::.ctor
    Assembled method __GeneratedMainWrapper::Main
    Assembled method __GeneratedMainWrapper::.ctor
    Creating PE file
    
    Emitting classes:
    Class 1:	Runtime_129681
    Class 2:	__GeneratedMainWrapper
    
    Emitting fields and methods:
    Global 	
    Class 1	Fields: 1;	Methods: 2;	
    Class 2	Methods: 2;	
    Resolving local member refs: 1 -> 1 defs, 0 refs, 0 unresolved
    
    Emitting events and properties:
    Global 	
    Class 1	
    Class 2	
    Resolving local member refs: 0 -> 0 defs, 0 refs, 0 unresolved
    Writing PE file
    Writing PDB file: /private/tmp/helix/working/B71A099B/w/B05D0957/e/GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.pdb
    Operation completed successfully
    
    .NET IL Assembler.  Version 11.0.0-ci
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Assembling 'IL-RT/Runtime_129681.il'  to EXE --> 'Runtime_129681.pdb'
    Source file is UNICODE
    
    Assembled method Runtime_129681::TestEntryPoint
    Assembled method Runtime_129681::.ctor
    Assembled method __GeneratedMainWrapper::Main
    Assembled method __GeneratedMainWrapper::.ctor
    Creating PE file
    
    Emitting classes:
    Class 1:	Runtime_129681
    Class 2:	__GeneratedMainWrapper
    
    Emitting fields and methods:
    Global 	
    Class 1	Fields: 1;	Methods: 2;	
    Class 2	Methods: 2;	
    Resolving local member refs: 1 -> 1 defs, 0 refs, 0 unresolved
    
    Emitting events and properties:
    Global 	
    Class 1	
    Class 2	
    Resolving local member refs: 0 -> 0 defs, 0 refs, 0 unresolved
    Writing PE file
    Writing PDB file: /private/tmp/helix/working/B71A099B/w/B05D0957/e/GC/Regressions/Github/Runtime_129681/Runtime_129681/Runtime_129681.pdb
    Operation completed successfully
    
    ILASM RoundTrips
    ILASM RoundTrip for Runtime_129681.dll
    /tmp/helix/working/B71A099B/p/ildasm -raweh -unicode -out=IL-RT/Runtime_129681.il IL-RT/Runtime_129681.dll
    /tmp/helix/working/B71A099B/p/ilasm -output=Runtime_129681.dll -DET IL-RT/
    

    Stack trace:

       at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 135
       at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
       at Program.<<Main>$>g__TestExecutor106|0_107(StreamWriter tempLogSw, StreamWriter statsCsvSw, StreamWriter outOfProcessPlanWriter, <>c__DisplayClass0_0& A_3)
    
  2. dotnet-policy-service commented on Aug 10, 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.

  3. kkokosa commented on Aug 21, 2026

    @kkokosa
    Member

    #132199 stopped this failure by removing DOTNET_GCStress=0xC, but it also removed an essential condition of the #129681 regression test: GCStress implicitly disabled concurrent GC. With concurrent GC enabled, the mark array exists and the bookkeeping-layout path fixed by #131947 is not exercised.

    The test should explicitly set DOTNET_gcConcurrent=0 instead of restoring GCStress. This preserves the intended regression coverage without causing the macOS startup failure.

    /cc: @janvorli could you confirm?

  4. removed
    untriagedNew issue has not been triaged by the area owner
    on Aug 21, 2026
  5. janvorli commented on Aug 21, 2026

    @janvorli
    Member

    This issue seems to be distinct one, not triggered by the GC stress setting. Here the coreclr_initialize fails with general error (0x80004005).

  6. github-actions commented on Sep 14, 2026

    @github-actions
    ContributorAuthor

    Workflow artifact: ci-fix
    Artifact kind: handoff
    Linked KBE: #132045

    Note

    AI/Copilot-generated triage note.

    This Known Build Error has no producible automated code change (reason: non-code/infra runtime-startup failure), 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 plain (non-R2R) osx x64 checked leg of runtime-coreclr outerloop (def 108), GC/Regressions/Github/Runtime_129681 never runs its body: the runtime host aborts during startup with BEGIN: coreclr_initialize failed - Error: 0x80004005 (E_FAIL), the harness records Actual: 255, and the work item fails. Because the failure is in coreclr_initialize before managed code executes, it is a host/runtime startup problem on the osx.15.amd64 queue, not a GC regression in the test itself. This is distinct from the Crossgen2 exit-255 signature tracked by #132037 (that log shows Crossgen2 failed with exitcode: 255, which is absent here).

    Evidence

    Suggested reviewers / area contacts

    • Area owners (area-GC-coreclr): @anicka-net, @dotnet/gc

    A fix likely involves diagnosing why coreclr_initialize returns E_FAIL on the osx.15.amd64 outerloop queue (host/runtime layout or environment on that image), since managed test code never starts.

    Structured data:

    {
      "artifact_kind": "handoff",
      "linked_kbe": 132045,
      "workflow_artifact": "ci-fix"
    }

    Generated by CI Outer-Loop Failure Fixer · opus48 · 444.8 AIC · ⌖ 28.9 AIC · ⊞ 19.6K · ◷

  7. removed
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    on Sep 15, 2026
  8. jeffschwMSFT commented on Sep 15, 2026

    @jeffschwMSFT
    Member

    removing blocking-clean-ci as it has not failed in 30 days

    24-Hour Hit Count 7-Day Hit Count 1-Month Count
    0 0 0

  9. kotlarmilos commented on Oct 2, 2026

    @kotlarmilos
    Member

    Closing, fixed by #131947 and no hits in the last month.

    Note

    This comment was drafted with GitHub Copilot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions