Repository navigation
Description
Description
The macOS arm64 SOS Helix launcher fails before starting the test suite because it explicitly requires an installed .NET 11 runtime, which is absent from the Helix dotnet-cli payload.
Both osx-arm64 release SOS and osx-arm64 release SOS_EnumMemory fail with the same diagnostic. This reproduces on main, not just in PR builds.
Reproduction Steps
Run the runtime-diagnostics pipeline's macOS arm64 Release SOS legs with the private .NET 12 runtime and the standard Helix payload.
An existing reproduction is main build 1678980, source refs/heads/main at 364db99436bef34f3dce4368122ca4f88f3277e2. Both legs fail in SOS_osx-arm64_Release-Bin-Net12.
Expected behavior
The SOS launcher and its provisioned runtimes should agree on the harness runtime, allowing the suite to start and test the private runtime.
Actual behavior
The private .NET 12 runtime overlay succeeds. The macOS launcher then searches for an installed Microsoft.NETCore.App version beginning with 11.. It finds none and deliberately exits with code 3 before test discovery, LLDB setup, or SOS assertions.
Helix reports the synthetic SOS_osx-arm64_Release-Bin-Net12.WorkItemExecution failure as BadExit; this is not evidence of a native SOS/runtime crash.
Regression?
The same error occurs in main build 1678980 and PR build 1679245 for #137459, so it is not specific to the Mono browser/WASI CI retirement PR.
The introducing change has not been bisected. The recent .NET 12 testing rollover in dotnet/diagnostics#6230 is relevant context, not a confirmed culprit.
Known Workarounds
No workaround has been validated. Provisioning the runtime required by the launcher or updating the macOS harness selection requires investigation; simply retrying does not address the missing prerequisite.
Configuration
runtime-diagnostics, macOS arm64, Release.- Helix queue:
OSX.26.Arm64.Open. - Both SOS and SOS_EnumMemory variants.
- Work item:
SOS_osx-arm64_Release-Bin-Net12.
Other information
The macOS-specific launcher code explicitly selects .NET 11 and would pass it through --fx-version; the Net12 debuggee shard does not bypass this check.
Main-branch evidence:
- SOS console.
- SOS_EnumMemory console.
- Main build finished at
2026-11-13T04:13:56Z.
The older #134603 concerns a different Windows SOS.UnitTests apphost failure requiring .NET 10; its signature does not cover this macOS launcher error.
Build Information
Build error leg or test failing: SOSTests / osx-arm64 release SOS and SOS_EnumMemory / SOS_osx-arm64_Release-Bin-Net12.WorkItemExecution
KBE authoring guidance (ci-failure-scan)
Error Detailsis for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.- Build Analysis parses only the single JSON block under
Error Message. ErrorMessageis a case-sensitive ordinalString.Containssubstring copied verbatim from the failing log.- Set
BuildRetrytotrueonly for a clear infrastructure retry case.ExcludeConsoleLogdisables Helix console-log scanning.
Error Details
Helix paths are abbreviated below; the diagnostic text is unchanged:
Running SOS shard Net12.
Overlaying private runtime from '<work item>/runtime-override' onto '<payload>/dotnet-cli/shared/Microsoft.NETCore.App/12.0.0-alpha.1.26561.101'.
Microsoft.NETCore.App 11.x was not found under '<payload>/dotnet-cli'.
+ export _commandExitCode=3
+ _commandExitCode=3
Error Message
{
"ErrorMessage": "Microsoft.NETCore.App 11.x was not found under",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)
Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 1 hits in failure.log
Source: interactive CI investigation using the shared KBE format, not a scheduled workflow run. The signature also occurs once in the main SOS_EnumMemory console. Neither log has a matching PASS/SKIP line.
Note
This issue was prepared with GitHub Copilot.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1678980
Error message validated: [Microsoft.NETCore.App 11.x was not found under]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/13/2026 11:14:53 AM UTC
Report
| Build | Repository | Test | Pull Request |
|---|---|---|---|
| 1680181 | dotnet/runtime | SOS_osx-arm64_Release-Bin-Net12.WorkItemExecution | #137365 |
| 1680155 | dotnet/runtime | SOS_osx-arm64_Release-Bin-Net12.WorkItemExecution | #137440 |
| 1679552 | dotnet/runtime | SOS_osx-arm64_Release-Bin-Net12.WorkItemExecution | #137495 |
| 1678980 | dotnet/runtime | SOS_osx-arm64_Release-Bin-Net12.WorkItemExecution |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 4 |
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
dotnet-policy-service commentedon Nov 13, 2026
Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.
Provision the macOS SOS host runtime independently (#6240)