Skip to content

[CI triage] NativeAOT external-command SIGINT test exits 137 instead of 130 on macOS #57338

Todo

Description

@mmitche

Describe the bug

Failure

The NativeAOT CLI test for graceful handling of two Ctrl+C signals failed on macOS arm64: the CLI exited with code 137 instead of the expected 130. This blocked the Mac arm64 build for #57197; a manual green Build Analysis override is not evidence that the test recovered.

Steps to reproduce

See the historical failed result. No local reproduction is established. The test starts an external shell command, waits for its readiness marker, sends SIGINT twice, then checks the CLI's exit code.

Expected behavior

AotIntegrationTests.AotExternalCommand_WaitsForSecondSigIntBeforeExitingQuietly keeps the external command running after the first SIGINT and exits quietly with code 130 after the second.

Actual behavior

FluentAssertions.Execution.AssertionFailedException: Expected value to be 130, but found 137 (difference of 7).

The retained stack identifies the exit-code assertion, not a startup failure or elapsed-time assertion.

Is this a regression?

Unknown. Individual test recovery, hidden stage/job attempts and the initiating termination event could not be verified.

Are there any workarounds?

None verified. The PR used a manual Build Analysis override; that does not remediate this failure.

dotnet --info output

Unavailable from the retained evidence.

IDE version

N/A (CI test).

Other details

Possible cause

Unresolved. Exit 137 is consistent with forced termination, but the retained result does not identify which process or service initiated it. A shutdown race, exit-code propagation problem or external termination are hypotheses, not established causes. The current test still checks 130; this differs from the Linux timing/marker signatures tracked in #57321, so they are not assumed to share a cause.

Affected builds and PRs

PR PR target branch Build(s) Notes
dotnet/sdk#57197 main 1693631 failed test NativeAOT CLI, Mac_arm64; Build Mac arm64 job. Final PR head 396f262d5e11a515d58f9296c00f6d5dd6960610. Attempt number unavailable.

Decision: unresolved, no prototype. Changing the expected exit code or signal timing would weaken the contract without identifying the terminating actor. The useful next evidence is the original process output and job timeline; Azure DevOps failed DNS on both passes, and matching macOS NativeAOT infrastructure is unavailable locally. Recurrence and retry delay are not quantified; no developer-time estimate is claimed.

Produced by an automated Copilot triage run for [2026-11-21T17:02:25Z, 2026-11-24T17:02:25Z).

Activity

  1. added
    untriaged
    on Nov 24, 2026
  2. locked and limited conversation to collaborators on Nov 24, 2026
  3. unlocked this conversation on Nov 24, 2026
  4. added
    Area-dotnet AOT
    needs team triage
    and removed
    untriaged
    on Nov 24, 2026
  5. github-actions commented on Nov 24, 2026

    @github-actions
    Contributor

    🎯 Agentic Issue Triage

    Triage Assessment:

    • 🏷️ Labels: Area-dotnet AOT Items that are part of the dotnet CLI AOT-ification effort Bug Test Debt needs team triage Requires a full team discussion
    • 💻 Assignment: none | @dotnet/dotnet-cli
    • 🟨 Confidence: medium - Area is clear, but CODEOWNERS has no matching section, so default team routing was used.

    Similar issues: #57321 (potentially related)

    ➡️ Summary: The NativeAOT CLI SIGINT test exited 137 instead of 130 on macOS arm64 in CI. Collect the original process output and job timeline to identify what terminated it.

    Generated by 🏷️ Issue Triage for #57338 · copilot · auto (Claude Sonnet 5.5) · ~15 AIC · ⌖ ~2 AIC · ⊞ 15.5K · ◷

  6. removed
    needs team triage
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area-dotnet AOTBugTest Debt

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions