Repository navigation
Description
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
github-actions commentedon Nov 24, 2026
🎯 Agentic Issue Triage
Triage Assessment:
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.