Skip to content

[CI] iOS 27 simulator launch intermittently returns HE0042 with no process handle #26516

Open

Description

@dalexsoto

Failure signature

An iOS 27 simulator boots and the app installs successfully, but simctl launch then returns NSPOSIX error 3 without a process handle:

Simulator device failed to launch <bundle-id>.
Application launch for '<bundle-id>' did not return a process handle nor launch error.
No such process
error HE0042: Could not launch the app ... simctl returned exit code 3

The harness classifies the configuration as LaunchFailure; no test assertion runs.

Confirmed occurrences

PR / head Azure run, job, and configuration Worker
#26504 / a41bc2537248a8a21a9095e59fce1419b14b6888 15159098 attempt 1 — linker_ios / link all / iOS simulator Debug AcesShared 22
#26514 / 18a39779782fb35e5ae7a7ad5bf779a023c59e00 15168255 attempt 1 — introspection / iOS 27 simulator Debug AcesShared 52

Total: 2 confirmed occurrences across 2 distinct monitored PRs.

First observed failure: 2026-08-31T23:37:40Z. Latest observed failure: 2026-09-01T15:14:33Z.

Classification

Genuinely flaky CoreSimulator launch failure. Evidence:

Investigation performed

  • Inspected Azure timelines and Run tests task logs for both builds.
  • Downloaded and inspected [xcode27.0] main into xcode27.0 #26514's TestSummary and full HTML/xharness report.
  • Verified successful simulator boot, app installation, and the exact failing simctl launch invocation.
  • Searched all open and closed issues separately by HE0042, simctl returned exit code 3, did not return a process handle, introspection, and Xcode 27 terms.
  • Closed issue simctl returned exit code 3 #18602 has similar surface text but a different root cause: a user project specified the device RID ios-arm64 while targeting a simulator. It is not canonical for this CI signature.

Retry status and workaround

Retrying the affected simulator job is the current workaround. No source, API binding, or suppression-file change is indicated.

Azure logs and artifacts are retention-limited.

Activity

  1. added
    ci-postmortem
    on Sep 1, 2026
  2. added this to the Future milestone on Sep 1, 2026
  3. dalexsoto commented on Sep 1, 2026

    @dalexsoto
    MemberAuthor

    Retry status for PR #26514 @ 18a39779782fb35e5ae7a7ad5bf779a023c59e00:

    • Build 15168255 completed failed with the iOS 27 introspection HE0042/no-process-handle occurrence as its only failed job.
    • After refreshing the unchanged head, conflict-free mergeability, terminal run, active checks, and retry counters, the monitor submitted an Azure DevOps failed-jobs retry for simulator_tests.
    • Azure accepted simulator stage attempt 2 (9489f610-d11a-5d2a-c711-e01bb5093db3) and queued only the introspection job (56850695-09ae-5157-9194-575d0b5f0ed0).

    Retry usage is 1 PR-lifetime / 1 current-head request. The canonical count remains 2 occurrences across 2 distinct monitored PRs pending the retry outcome.

    Issue-specific checklist: none; the issue body has no Additional info to collect section.

  4. dalexsoto commented on Sep 1, 2026

    @dalexsoto
    MemberAuthor

    Terminal retry outcome for PR #26514 @ 18a39779782fb35e5ae7a7ad5bf779a023c59e00:

    • Azure build 15168255, simulator stage attempt 2, reran only introspection on AcesShared 156.
    • The job succeeded, the HE0042 / no-process-handle launch failure did not recur, and the build completed successfully at 2026-09-01T17:55:10Z.
    • GitHub now reports every check successful or skipped, and PR [xcode27.0] main into xcode27.0 #26514 has merged.
    • Classification remains a genuinely flaky CoreSimulator launch failure. The canonical count remains 2 confirmed failure occurrences across 2 distinct monitored PRs.
    • Retry usage is 1 PR-lifetime / 1 current-head request.

    Issue-specific checklist: none; the issue body has no Additional info to collect section.

  5. dalexsoto commented on Sep 10, 2026

    @dalexsoto
    MemberAuthor

    New recurrence: PR #26591

    PR #26591, head 6b6f634e4c8a20b5fb9a6640c78d9dffaa0fb0fa, reproduced this exact signature in xamarin-macios-sim-pr-tests run 15269330, attempt 4, T: linker_ios / Run tests.

    • Configuration: link all / iOS simulator / Debug, iPhone 14 with iOS 27.0.
    • Evidence: the app built successfully with zero build errors; the binlog confirms RuntimeIdentifier=iossimulator-arm64 and _SdkIsSimulator=true. Simulator preparation and app installation succeeded, but launch then failed:
    NSPOSIXErrorDomain, code=3
    Application launch for 'com.xamarin.linkall' did not return a process handle nor launch error.
    HE0042: simctl returned exit code 3
    
    • Artifacts: TestSummary-simulator_testslinker_ios-4 and HtmlReport-simulator_testslinker_ios-4; the launch log is under tests/link-all/38/. Stdout/stderr are empty and no test log was produced.
    • Classification: genuinely flaky CoreSimulator launch failure, matching the existing build/install-success then no-process-handle signature. This is distinct from the three-minute listener timeout and device-RID misconfiguration candidates.
    • Counts: this adds one occurrence and one PR: 3 confirmed occurrences across 3 distinct monitored PRs ([AutomaticAssessmentConfiguration] Update bindings up to Xcode 27.0 Beta 6i #26504, [xcode27.0] main into xcode27.0 #26514, [xcode27.0] Update baseline to Xcode 27.0 RC 1 #26591).
    • Retry decision: no retry requested by this monitor. The parent run remains active, this job also contains a separate unresolved NU1900 restore failure, and exact accepted-request budget grouping remains uncertified. Prior successful retries remain the documented workaround, subject to all normal gates.
    • Issue-specific checklist: none; the refreshed issue body has no Additional info to collect section.

    No source or suppression-file changes were made. Azure diagnostic retention is limited.

  6. dalexsoto commented on Sep 15, 2026

    @dalexsoto
    MemberAuthor

    New exact no-process-handle recurrence: PR #26620

    • PR/head: #26620 / 526265d228cf37fe87de1ca558843e0f4ea5c3fa.
    • Run/attempt: xamarin-macios-sim-pr-tests 15335417, attempt 1.
    • Job/task: T: linker_ios -> Run tests, log 2607; task finished 2026-09-15 20:49:30 UTC, job at 20:51:45 UTC.
    • Configuration: link sdk / iOS simulator / Debug, iOS 27, net11.0-ios. The exact app's binlog/property trace and installed bundle path confirm iossimulator-arm64, not a device RID. Build succeeded with zero errors and installation succeeded.

    The original launch log then reports:

    NSPOSIXErrorDomain, code=3
    Application launch for 'com.xamarin.linksdk' did not return a process handle nor launch error.
    HE0042: simctl returned exit code 3
    

    mlaunch exited 1. Stdout/stderr are empty and no real NUnit test began; no completed test result or test-app fault stack is available. A separate tccd SIGTERM-timeout incident is not treated as the app cause.

    Classification: genuinely flaky CoreSimulator launch failure, matching the existing exact signature and documented unchanged retry recoveries. Counts: 4 confirmed failure occurrences across 4 distinct monitored PRs (#26504, #26514, #26591, #26620).

    The same job's separate link-all PID-returned / three-minute listener timeout with SpringBoard RBSAssertion/PosterUI SIGABRT matches #26227, not this no-handle signature. Those records and counts are not combined.

    Actions: no retry while the parent pipeline is active or before fresh head/mergeability and complete request-accounting gates. No Rolf source or suppression change was made.

    Issue-specific diagnostics: the freshly read issue body has no Additional info to collect section. Exact configuration, build/install results, launch error and exit were collected; unavailable test-result/app-stack evidence is attributed above.

    Artifacts: TestSummary-simulator_testslinker_ios-1 and HtmlReport-simulator_testslinker_ios-1 in run 15335417, original launch entry under tests/link-sdk/26/. Azure logs/artifacts are retention-limited.

  7. dalexsoto commented on Sep 15, 2026

    @dalexsoto
    MemberAuthor

    Authorized failed-job retry started for PR #26620

    For #26620, unchanged head 526265d228cf37fe87de1ca558843e0f4ea5c3fa, Azure accepted one failed-jobs request on existing run 15335417.

    • Verified scope: T: linker_ios, job/stage attempt 2, started 2026-09-15 22:48:22 UTC, now running. forceRetryAllJobs=false; no successful test job or Windows stage was requested.
    • Evidence: the failed job contained exactly the documented no-process-handle failure here and the separately diagnosed SpringBoard RBSAssertion/PosterUI launch-timeout pattern in [CI] iOS 27 SpringBoard RBSAssertion crash causes app launch timeout #26227. Builds and installs succeeded; both signatures have documented unchanged-retry recoveries.
    • Gates/accounting: all four retained runs and their attempt histories were refreshed and terminal; alternate source/head-ref histories were empty, and the automatically chained API-scan run was not counted as a retry. Current head, non-draft eligibility, label and conflict-free mergeability were refreshed. Both budgets were atomically reserved before the Azure CLI request.
    • Usage: 1/25 PR-lifetime request and 1/10 current-head request. No equivalent retry was active.

    This is a retry status update, not another failure. The no-process-handle count remains 4 confirmed failure occurrences across 4 distinct monitored PRs. #26227 records/counts remain separate; no update to its unreconciled historical totals is implied.

    Issue-specific diagnostics: the freshly read body has no Additional info to collect section. Attempt-1 evidence and unavailable actual-test/app-stack data remain attributed to those failures; attempt-2 recovery is not claimed yet.

    No Rolf source, worktree, commit, push, test-ignore or suppression changes were made. The retry remains under monitoring until terminal.

  8. dalexsoto commented on Sep 16, 2026

    @dalexsoto
    MemberAuthor

    Exact no-handle recovery; a separate SpringBoard variation failed

    For #26620, unchanged head 526265d228cf37fe87de1ca558843e0f4ea5c3fa, run 15335417, linker_ios attempt 2 cleared the exact original no-process-handle failure:

    • link sdk / iOS simulator / Debug connected to the test listener, executed 132 passed / 7 skipped / 0 failed tests, and exited via mlaunch with 0. Original retry XML: tests/link-sdk/26/test-ios-20260915_162449.xml.
    • The separate original link all configuration also connected and passed (88 passed / 10 skipped / 0 failed, exit 0). Its deliberately ignored Pasteboard_ImagesTest is not counted as executed/recovered.

    The job nevertheless failed because a different trimmode link / iOS simulator / Debug configuration hit the separately tracked #26227 pattern: app PID returned, no listener connection within 180 seconds, and an exact SpringBoard RBSAssertion/PosterUI SIGABRT stack. This is not another HE0042/no-handle occurrence. The no-handle total remains 4 confirmed failures across 4 distinct monitored PRs; #26227 totals are not changed here.

    After independently verifying that new failure, terminal runs, unchanged conflict-free head, complete current run/attempt history and budgets, the monitor submitted one further failed-jobs-only Azure CLI request. Azure verified only linker_ios job/stage attempt 3, started 2026-09-16 00:18:17 UTC, now running.

    Retry usage: 2/25 lifetime and 2/10 current head. Success/failure outcomes did not reset the counters. No source, worktree, test-ignore or suppression changes were made.

    Issue-specific diagnostics: the refreshed body has no Additional info to collect section. Actual connection, original XML leaf results and exit evidence verify recovery; missing diagnostics from attempt 1 are not fabricated from later runs. Artifacts are retention-limited.

  9. dalexsoto commented on Sep 16, 2026

    @dalexsoto
    MemberAuthor

    Final retry succeeded; PR #26620 merged

    On unchanged head 526265d228cf37fe87de1ca558843e0f4ea5c3fa, run 15335417, T: linker_ios, attempt 3 succeeded at 2026-09-16 01:18:31 UTC. The full simulator run succeeded at 01:22:22 UTC, and #26620 merged at 01:22:37 UTC; this monitor did not perform the merge.

    Original attempt-3 NUnit XML and connection/exit logs verify actual execution of all previously failing configurations:

    • link sdk / iOS simulator / Debug: 132 passed, 7 skipped, zero failed; the original no-process-handle failure remains cleared.
    • link all / iOS simulator / Debug (PrepareAssemblies): 88 passed, 10 skipped, zero failed.
    • trimmode link / iOS simulator / Debug: 134 passed, 3 skipped, zero failed, clearing attempt 2's separate SpringBoard timeout.

    Each connected to the test listener and exited through mlaunch with 0. The job summary reports all 31 configurations passed. The intentionally ignored Pasteboard test is not counted as executed or fixed.

    Accounting: no-handle counts remain 4 confirmed failures across 4 distinct monitored PRs. Retry usage remains 2/25 PR-lifetime and 2/10 current-head requests; successful completion does not reset either counter. #26227's separate historical occurrence-count reconciliation remains unchanged.

    Diagnostics/checklist: the refreshed issue body has no Additional info to collect section. Exact configuration results, original XML and terminal job/run outcomes were collected. Missing original failed-app diagnostics were not invented from passing runs. Evidence is in TestSummary-simulator_testslinker_ios-3 and HtmlReport-simulator_testslinker_ios-3; Azure retention is limited.

    No Rolf source, worktree, commit, push, test-ignore or suppression changes were made by this monitor.

  10. dalexsoto commented on Sep 16, 2026

    @dalexsoto
    MemberAuthor

    New exact no-process-handle recurrence: PR #26629

    • PR/head: #26629 / 834907e86ef7c18ef8307bd085dece6d1966da8f.
    • Pipeline/run/attempt: xamarin-macios-sim-pr-tests (21922), 15340937 / attempt 1.
    • Job/task: T: linker_ios / Run tests, task log 2550.
    • Configuration: link-sdk / iOS 27 simulator / Debug, execution 26. Exact executable-project evaluations confirm net11.0-ios, iossimulator-arm64, simulator targeting and UseMonoRuntime=false; dependency-project properties were not substituted.

    Build and installation succeeded, but simctl launch returned NSPOSIXErrorDomain 3, no process handle, and HE0042:

    Application launch for 'com.xamarin.linksdk' did not return a process handle nor launch error.
    

    simctl exited 3, mlaunch exited 1, and no test-app PID, protocol connection or actual NUnit test was observed. Those launcher exits are not an inferred test-app exit code. Empty stdout/stderr and the absent linked TestLog are retained as unavailable result evidence.

    Classification: exact known genuinely flaky CoreSimulator no-handle signature. An earlier SimLaunchHost.arm64 helper incident is not the test app and is not counted as another failure or proven cause. The separate don't-link Release FBS-error-5/SpringBoard failure belongs to #26227, not this signature.

    Counts: 5 confirmed failure occurrences across 5 distinct monitored PRs (#26504, #26514, #26591, #26620, #26629). No retry or source change has been submitted by this monitor for #26629; the parent run was still active at the latest refresh, and full retry gates remain required.

    Diagnostics/checklist: the refreshed body has no Additional info to collect section. Correct-attempt summary/run logs, exact app-project configuration, build/install sequence and error phase were collected. Actual failed NUnit case IDs, completed test logs and raw test-app exit are unavailable because the app/test never started. Worker/machine identifiers and IPs are not published without independent permission.

    Evidence: TestSummary-simulator_testslinker_ios-1, HtmlReport-simulator_testslinker_ios-1, original member under tests/link-sdk/26/ in run 15340937. Artifacts are retention-limited.

  11. dalexsoto commented on Sep 16, 2026

    @dalexsoto
    MemberAuthor

    Exact unchanged-head recovery: PR #26629, external attempt 2

    PR #26629, head 834907e86ef7c18ef8307bd085dece6d1966da8f, recovered its original link-sdk Debug no-process-handle failure in run 15340937, T: linker_ios, job/stage attempt 2.

    The job succeeded at 2026-09-16 11:55:51 UTC. Original XML tests/link-sdk/26/test-ios-20260916_043543.xml records 132 Runnable/Passed cases, 7 skipped, zero failed. The app connected and mlaunch exited 0. Exact app-project properties confirm Debug / net11.0-ios / iossimulator-arm64 / CoreCLR; the final SelectRegistrar output is trimmable-static. The successful configuration was located by its actual execution/result links, not a reused HTML section ID.

    The linker summary reports all 31 configurations passed. This is real execution recovery, not a skipped-test or aggregate-green inference. The separate monotouch_ios retry/earlier unresolved timeout remains separate; no whole-PR recovery is asserted here.

    Counts remain 5 failure occurrences across 5 distinct monitored PRs. This external retry was not submitted by the monitor, and its success does not reset or infer accepted-request/lifetime counters. No source, registrar, timeout or test-ignore changes were made.

    Diagnostics/checklist: the refreshed issue body has no Additional info to collect section. Correct-attempt XML, exact app properties, protocol connection, process exit and job/task identity were collected. The original failed attempt's actual NUnit case, completed TestLog and raw test-app exit remain unavailable because it never started; passing-attempt data is not substituted for them. Worker/machine identifiers and IPs remain withheld without independent publication permission.

    Evidence is in TestSummary-simulator_testslinker_ios-2 and HtmlReport-simulator_testslinker_ios-2 under run 15340937 artifacts, subject to retention.

  12. dalexsoto commented on Sep 25, 2026

    @dalexsoto
    MemberAuthor

    Exact CoreSimulator no-process-handle recurrence: PR #26576

    The per-execution HtmlReport-simulator_testslinker_ios-2 includes a SimLaunchHost.arm64 SIGSEGV at 11:54:10 UTC, before the successful simulator boot and before this failed launch request; it is a helper incident, not proven causal and not a second failure occurrence. Classification: known genuinely flaky CoreSimulator no-handle launch signature. Counts: 6 confirmed occurrences across 6 distinct monitored PRs.

    Issue-specific diagnostics: The refreshed issue body has no Additional info to collect section. For #26576, the exact configuration, install/launch sequence, code-3 error, task/run/attempt, empty app stdout/stderr, missing test XML and helper-incident timing were collected. Real NUnit case IDs/results, test-app PID/exit or app stack and a Helix work item are unavailable because launch failed before test connection (direct Azure simulator job); worker identity and machine IP are withheld. Azure artifacts are retention-limited.

    Retry/actions: The externally started simulator stage attempt 2 has a failed linker job while other jobs remain active. No monitor retry or Rolf source change was made; exact all-actor accepted-request counts are uncertified, and the separate API-diff build timeout remains unresolved.

    AI-assisted CI monitoring update.

  13. dalexsoto commented on Sep 27, 2026

    @dalexsoto
    MemberAuthor

    #26715: exact iOS 27 no-process-handle launch recurrence

    #26715, head ea08a4399fa448478ff8c20ee77d37c5936e0509: Azure simulator run 15478228 / T: linker_ios / Run tests (pipeline 21922, initial stage/job/task attempt 1, job 3f6ef66d-5190-5708-a885-35d26e0e0d89, task b9f07791-45f9-584d-6ecc-bf5dae611e17, log 2619). Correct-run TestSummary-simulator_testslinker_ios-1 reports 1 failed dont link/iOS - simulator/Debug variation, 30 passing; HtmlReport execution 14 has no NUnit result for that failed variation.

    At 2026-09-27 01:01:27 UTC, simctl launch returned 3, NSPOSIXErrorDomain 3 / “No such process”: app launch returned no process handle nor launch error, and mlaunch reported HE0042. The test listener never connected and stdout/stderr were empty. A same-execution SimLaunchHost.arm64 SIGSEGV captured 01:01:04 UTC, before simulator boot and the 01:01:23 app-launch command; its later report time does not prove causation. A later SpringBoard incident is not the same-launch RBSAssertion signature in #26227. This is the exact intermittent CoreSimulator signature in #26516, not a test assertion or connected redirect stall.

    Genuinely flaky launch; 7 confirmed occurrences across 7 distinct monitored PRs. The parent run remains in progress. No monitor retry: exact all-actor lifetime/head retry totals are uncertified and the original run is active. The Rolf-authored source branch was not edited. The refreshed issue body has no Additional info to collect checklist, so no issue-specific diagnostic item is outstanding. Direct Azure CI, without a Helix item; artifacts are retention-limited. Prior passing retries do not prove a permanent fix.

    AI-assisted CI monitoring update.

  14. dalexsoto commented on Sep 27, 2026

    @dalexsoto
    MemberAuthor

    #26715 external attempt 2: failed iOS linker launch is reexecuting

    #26715, unchanged head ea08a4399fa448478ff8c20ee77d37c5936e0509: Azure simulator run 15478228 (pipeline 21922) has Simulator tests stage attempt 2 (9489f610-d11a-5d2a-c711-e01bb5093db3), started 2026-09-27 03:03:51 UTC. The observed reexecutions are T: linker_ios job attempt 2 (cbf672f2-7589-563b-1f88-070ffc5b72f6, started 03:03:57 UTC) and independent T: monotouch_ios job attempt 2 (a82441db-bb83-5a9b-9451-a8501e963a31, started 03:03:51 UTC). Both remain in progress; no new failed task or verified pass. Requested retry payload and actor are unknown.

    The initial T: linker_ios/Run tests attempt-1 HE0042 / NSPOSIXErrorDomain 3 / no-process-handle dont link Debug execution 14 remains a confirmed genuinely flaky #26516 launch failure. The sibling iOS job has a separate connected NSUrlSession redirect stall tracked on #26221. This retry start is not another occurrence or a fix: #26516 remains 7 confirmed occurrences across 7 distinct monitored PRs. At least one external accepted request is observed on this head and four PR-lifetime, but exact all-actor 25-lifetime/10-head budgets are uncertified. Downstream publishing is not counted separately. No monitor retry or Rolf source edit occurred. The issue body has no Additional info to collect checklist. Direct Azure CI, no Helix work item; artifacts are retention-limited.

    AI-assisted CI monitoring update.

  15. dalexsoto commented on Sep 27, 2026

    @dalexsoto
    MemberAuthor

    #26715: exact failed iOS linker launch passed on external attempt 2

    #26715, unchanged head ea08a4399fa448478ff8c20ee77d37c5936e0509: Azure simulator run 15478228 / Simulator tests stage attempt 2 / T: linker_ios job attempt 2 / Run tests (pipeline 21922, job cbf672f2-7589-563b-1f88-070ffc5b72f6, task 5892f1f7-b9a6-51b2-485e-028997729844 task-record attempt 1, log 3133). The job completed succeeded at 2026-09-27 04:06:59 UTC. Correct-attempt TestSummary-simulator_testslinker_ios-2 reports all 31 configurations passed. HtmlReport-simulator_testslinker_ios-2 proves the exact dont link/iOS - simulator/Debug execution 14, which failed to launch with HE0042 / NSPOSIXErrorDomain code 3 on attempt 1, now launched, connected at 03:47:18 UTC, and passed all 9/9 NUnit cases; its run log says “Test run succeeded” at 03:47:20 UTC. This is a bounded same-head retry pass, not a permanent source fix.

    The sibling T: monotouch_ios job attempt 2 is still in progress after a distinct connected NSUrlSession redirect stall tracked on #26221; the simulator stage and parent run have no terminal outcome yet. This result is not another failure occurrence: #26516 remains 7 confirmed occurrences across 7 distinct monitored PRs. The external accepted-request actor/payload and exact all-actor 25-lifetime/10-head counts remain uncertified (observable lower bounds: four PR-lifetime, one current-head). No monitor retry or Rolf source edit occurred. The refreshed issue body has no Additional info to collect checklist. Direct Azure CI without a Helix item; artifacts are retention-limited.

    AI-assisted CI monitoring update.

  16. dalexsoto commented on Sep 27, 2026

    @dalexsoto
    MemberAuthor

    #26576: no-process-handle launch recurred on external attempt 3

    #26576, head 8d0e5341d42599017ab1bee4a8c0e2390945f060: Azure run 15447692, Simulator tests attempt 3, T: linker_ios job and Run tests task failed link sdk/iOS - simulator/Debug, execution 26 (2026-09-27 21:07 UTC). TestSummary: 1 failed / 30 passed. Its HtmlReport launcher log says HE0042, simctl exit 3, NSPOSIXErrorDomain code 3, and "did not return a process handle nor launch error." No NUnit assertion ran.

    Signature/classification: launch-failure|iOS27-simulator|HE0042|NSPOSIXErrorDomain-3|no-process-handle - genuinely flaky iOS 27 simulator launch, matching the previously recorded attempt 2 on this PR. Totals: 7 distinct monitored PRs, 8 confirmed occurrences; this is a new attempt/job/configuration, not a new distinct PR. External stage attempt 3 still has another job running; the monitor submitted no retry, and exact all-actor retry budgets remain uncertified. No source workaround is established.

    Additional info to collect: The refreshed issue body requests none for this occurrence; no items are unavailable or not permitted. Diagnostic source: TestSummary-simulator_testslinker_ios-3 and HtmlReport-simulator_testslinker_ios-3 (Azure artifacts have limited retention).

  17. dalexsoto commented on Sep 27, 2026

    @dalexsoto
    MemberAuthor

    #26576: external simulator attempt 3 and parent run finished failed

    #26576, unchanged head 8d0e5341d42599017ab1bee4a8c0e2390945f060: Azure simulator run 15447692 reached terminal failed at 2026-09-27 22:58:22 UTC. The Simulator tests stage attempt 3 failed at 22:53:45 UTC. Its T: linker_ios / Run tests still failed link sdk/iOS - simulator/Debug, execution 26 with HE0042 / NSPOSIXErrorDomain code 3, no app process handle before a test connection. This is the terminal outcome of the occurrence already reported here, not another failure occurrence.

    Signature/classification: launch-failure|iOS27-simulator|HE0042|NSPOSIXErrorDomain-3|no-process-handle - genuinely flaky simulator launch. The other failed test job in this run has a different launch cause (#26227 SpringBoard RBSAssertion/PosterUI); the previously stalled #26221 redirect configuration passed on this retry but did not make the stage green. Totals: 7 distinct monitored PRs, 8 confirmed failure records; unchanged by this terminal update. The monitor made no retry or source edit, the external accepted-request actor/budget remains uncertified, and no source workaround is established.

    Additional info to collect: The refreshed issue body requests none for the original occurrence or terminal retry outcome; no items are unavailable or not permitted. Source: Azure run/job/task timeline, previously linked TestSummary and HtmlReport artifacts (limited retention).

  18. dalexsoto commented on Sep 30, 2026

    @dalexsoto
    MemberAuthor

    New PR reproduces exact HE0042 / no-process-handle launch failure

    #26742, head 22eae5c77a5f5e4c70b4fb553aa437015c0568c0: xamarin-macios-sim-pr-tests run 15516807 / Simulator tests / T: linker_ios / Run tests, definition 21922, stage/job attempt 1, task-record attempt 1, log 2320. TestSummary-simulator_testslinker_ios-1: 1 failed / 20 passed; failed link all / iOS 27 simulator / Debug, execution 38: LaunchFailure.

    The project built and installed, then the exact execution run log in HtmlReport-simulator_testslinker_ios-1 recorded at 2026-09-30 09:34:35 UTC: NSPOSIXErrorDomain 3 / No such process, application launch did not return a process handle nor launch error, and HE0042 / simctl exit 3. No actual NUnit test or test-listener connection was produced. This matches pinned launch-failure|iOS27-simulator|HE0042|NSPOSIXErrorDomain-3|no-process-handle, the known genuinely flaky CoreSimulator startup root, not a source assertion or the separate SpringBoard listener-timeout signature.

    Totals: 9 confirmed occurrences across 8 distinct monitored PRs. This adds one occurrence and the new distinct PR #26742; historical confirmations and later recoveries remain counted. The current parent run is still active; no retry recovery is claimed.

    Issue-specific checklist: the freshly read issue body has no Additional info to collect section. Exact head/run/stage/job/task, configuration, build/install sequence, TestSummary and minimal launcher error chain were collected. Actual failed-app NUnit IDs/results, app PID/exit or app-specific stack are unavailable: the launcher returned no process handle before tests could run. Direct Azure execution has no Helix work-item link. Worker identity/IP are not published without independent permission; artifacts are retention-limited.

    No monitor retry or source edit: the original parent is active, and retained older-head attempts do not establish exact all-actor accepted-request grouping for 25-PR-lifetime / 10-head budgets. The author resolved the old merge conflict externally; Rolf's source branch remains read-only to this monitor.

  19. dalexsoto commented on Sep 30, 2026

    @dalexsoto
    MemberAuthor

    Verified exact #26742 startup recovery and terminal success

    #26742, unchanged head 22eae5c77a5f5e4c70b4fb553aa437015c0568c0, xamarin-macios-sim-pr-tests run 15516807, definition 21922: the originally failed link all / iOS 27 simulator / Debug, execution 38 passed on external T: linker_ios / Run tests stage/job attempt 2 (task-record attempt 1, log 3133). Raw tests/link-all/38/test-ios-20260930_053918.xml: 88 passed / 10 expected skipped / zero failed. This directly verifies nonrecurrence of the attempt-1 HE0042 / NSPOSIX 3 / no-process-handle startup failure.

    Intervening different failure: attempt 2's linker job failed on trimmode link / iOS 27 simulator / Debug, execution 62, not this startup signature. Its actual app crash reports FRONTBOARD 0x8BADF00D, scene-create watchdog, 29.99 seconds, with a main-thread ManualResetEventSlim wait. The exact configuration then passed on external linker stage/job attempt 3 (task-record attempt 1, log 3314): 134 passed / 3 expected skipped / zero failed, while original link-all execution 38 again passed 88 / 10 skipped / zero failed. TestSummary: all 21 configurations passed. The watchdog's underlying blocking cause is not established as a recurring cross-PR root and is not added to this issue's failure count.

    Other original job: T: monotouch_ios / Run tests actually succeeded on job attempt 2 (task-record attempt 1, log 3170), with all 20 configurations passing. Raw execution 120 verifies ConcurrentResponseDisposeAndCancellationDoesNotCrash Passed in 15.156192 seconds, with 3,740 passing NUnit cases / zero failures. This job was retained, not rerun on stage attempt 3. Its original stress-blocking call remains unresolved; the completed redirect suite is not a redirect-stall occurrence.

    Terminal outcome: parent run succeeded at 2026-09-30T15:40:37.106858+00:00; PR #26742 merged at 2026-09-30T15:42:33Z. Exact configurations passed on the unchanged head, not because of a monitor source fix.

    Collected diagnostics: exact head, run, stage/job/task identities and attempts, each actual TestSummary and raw configuration/NUnit result, intervening app watchdog, retained-job semantics and terminal parent/PR outcome. The watchdog's named blocking managed test and original stress app-thread blocking stack are unavailable: the artifacts do not identify them.

    Signature/classification: launch-failure|iOS27-simulator|HE0042|NSPOSIXErrorDomain-3|no-process-handle remains the known genuinely flaky simulator/test root. 9 confirmed failure occurrences across 8 distinct monitored PRs. Passing outcomes do not erase confirmed failures or add new failure records.

    Issue-specific checklist: the freshly read issue body has no Additional info to collect section. Collected values and documented unavailable diagnostics are attributed above to their exact occurrences. No Helix work item applies to these direct Azure jobs; artifacts are retention-limited.

    No monitor retry, source edit, commit or push. All-actor accepted-request 25-lifetime / 10-head counters remain uncertified because retained timelines do not expose request grouping/payloads and complete PR-lifetime manual new-run provenance. Known-root retry workarounds remain subject to both budget and merge gates; no unresolved cause authorizes a retry.

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

    ci-postmortemcopilot

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions