You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[CI] Provisionator XcodeSelect subprocess hangs until the 180-minute job cap #26226
Provision Products & Frameworks installs and expands Xcode successfully, then hangs for roughly 2 hours 53 minutes in an Xcode-selection subprocess until Azure cancels the job at its 180-minute limit.
The last command differs, but both hangs occur in Provisionator's XcodeSelect flow immediately after selecting the newly installed Xcode:
No output for about 2h53m; Azure canceled the job. The build remains active.
First observed: 2026-07-21 21:00 UTC. Latest observed: 2026-07-22 00:21 UTC. Recurrence: 2 jobs across 2 distinct monitored PRs.
Classification and impact
This is CI infrastructure/tooling behavior, not a source regression. Xcode 26.6 downloads at roughly 10-11 MB/s, expands, and reaches the Xcode-selection phase before the child process hangs. The affected jobs never reach the build or tests.
Investigation
Inspected both Azure timelines and complete provisioning task tails.
Confirmed the preceding Xcode download and expansion completed normally.
Correlated the identical 180-minute cancellation timing and XcodeSelect phase.
Searched open and closed dotnet/macios issues using the task name, XcodeSelect, license-check, defaults-read, and AppleSdkRoot signatures; no match was found.
Workaround
Rerun failed jobs after the affected host/process state recovers, subject to conflict and retry-budget gates. Do not retry while an equivalent build is active. Azure task logs have limited retention.
PR #26198 retry update: build 14720520 completed terminal, with no prior retries or equivalent build active. Build_macos_tests attempt 2 was accepted at 00:34 UTC to rerun Build macOS tests. Two separately counted stage requests were accepted for this PR; current budget is 2 lifetime / 2 on this head.
New affected PR: #26188 @ fc3b9163c9b6de1eee35029949ae395174253e51, build 14720595, job xtro. Xcode installed successfully, then Provisionator hung for about 2h53m in defaults read .../maui/Settings.plist AppleSdkRoot until the 180-minute cap.
The signature now affects 3 jobs across 3 monitored PRs. No retry was submitted because retained Azure history for older same-head build 14718729 has no retrievable timeline, leaving retry accounting unresolved.
Final retry outcome: merged PR #26198 build 14720520 build_macos_tests attempt 2 completed successfully. Build macOS tests passed, the overall build succeeded, and the PR merged at 01:43 UTC.
External retry update: attempt 2 requests became active around 05:34 UTC for PR #26188 build 14720595 (simulator_tests, including xtro) and conflict-blocked PR #26214 build 14720423 (build_macos_tests). These rerun the previously recorded XcodeSelect hangs. No retry was initiated by this monitor; #26214 remains CONFLICTING / DIRTY.
External retry outcome: PR #26214 old-head build 14720423 completed canceled after the PR advanced to head 8806526.... The build_macos_tests retry did not produce a retained terminal timeline. This does not change the XcodeSelect-hang diagnosis; the new head has fresh CI running.
Two new XcodeSelect hangs on #26243 @ 3826c3e6088150773f93426463f03ba15d24ffc2, build 14734013 attempt 1:
framework / Provisionator dependencies: worker AcesShared 1; the last command was xcode-select --print-path, followed by about 2h50m without output before the 180-minute cap.
The signature now affects 5 jobs across 4 monitored PRs. A simulator-stage retry request was conclusively rejected because the run state changed after a separate macOS-stage retry was accepted; no simulator attempt was created, so the reservation was released. Simulator retry is deferred until the current stage attempt is terminal.
Retry update for #26243 @ 3826c3e6088150773f93426463f03ba15d24ffc2: build 14734013 first completed its separate build_macos_tests attempt 2 successfully. With the run terminal again, simulator_tests attempt 2 was accepted to rerun the framework and xcframework XcodeSelect hangs and is now in progress.
Reconciled budget is 2 lifetime / 2 current-head requests. The signature count remains 5 jobs across 4 monitored PRs.
Two XcodeSelect hangs were confirmed on newly affected PR #26266, superseded head b9443d00977f6552c9349da26d3c0fc4dbfd534b, build 14748737 attempt 1:
dotnettests_tvos / Provisionator dependencies: worker AcesShared 101; the last command was /usr/bin/arch -arm64 /usr/bin/xcode-select --print-path, which produced no output until the 180-minute cap.
The signature now covers 7 jobs across 5 monitored PRs. No retry was submitted because this run belongs to a superseded PR head; the current head has a separate failed-jobs retry in progress for slow-download failures tracked by #26212.
New XcodeSelect hang on #26272 @ 0e2625ba3f0959ccb6b5945e29bffd013793e3fe: build 14752825 attempt 1 - dotnettests_macos / Provisionator dependencies on AcesShared 11. Xcode installed and codesign verification succeeded, then /usr/bin/arch -arm64 /usr/bin/xcode-select --print-path produced no output until the 180-minute cap.
The signature now covers 8 jobs across 6 monitored PRs. Build 14752825 simulator_tests attempt 2 was accepted to rerun dotnettests_macos and xtro (budget: 1 lifetime / 1 current head).
Final retry outcome for #26272 @ 0e2625ba3f0959ccb6b5945e29bffd013793e3fe: build 14752825 simulator_tests attempt 2 completed successfully. The previously hung dotnettests_macos job passed, xtro passed, publishing succeeded, and the overall build is green. Retry budget usage: 1 lifetime / 1 current head. The recurrence count remains 8 jobs across 6 monitored PRs.
New XcodeSelect hang on #26277 @ 00ea7d601b6f6966be98712c17e71b3f969626c5: build 14753443 attempt 1 — fsharp / Provisionator dependencies on AcesShared 46. Xcode installation and codesign completed, then /usr/bin/arch -arm64 /usr/bin/xcode-select --print-path produced no output until the 180-minute cap.
The signature now covers 9 jobs across 7 monitored PRs. Build 14753443 simulator_tests attempt 2 was accepted to rerun fsharp and cecil (budget: 1 lifetime / 1 current head).
Final retry outcome for #26277 @ 00ea7d601b6f6966be98712c17e71b3f969626c5: build 14753443 simulator_tests attempt 2 completed successfully. The previously hung fsharp job passed, cecil passed, publishing succeeded, and the overall build is green. Retry budget usage: 1 lifetime / 1 current head. The recurrence count remains 9 jobs across 7 monitored PRs.
New XcodeSelect hang on #26285 @ 519c5da35aaa8791a48b23a42c0012ad84c38715: build 14756478 attempt 1 — monotouch_tvos / Provisionator dependencies on AcesShared 18. Xcode 27 beta 4 expansion, installation, and codesign completed; /usr/bin/arch -arm64 /usr/bin/xcode-select --print-path then produced no output until the 180-minute cap.
The signature now covers 10 jobs across 8 monitored PRs. Build 14756478 remains active, so no retry has been submitted yet.
Retry update for #26285 @ 519c5da35aaa8791a48b23a42c0012ad84c38715: build 14756478simulator_tests attempt 2 was accepted using failed-jobs semantics. It is rerunning the monotouch_tvos job affected by the xcode-select --print-path hang together with the separately classified monotouch_ios failure.
A separate mac_26_arm64 attempt 2 was also accepted for the Tahoe network-test failure. Total retry usage is 3 lifetime / 3 current-head requests. The XcodeSelect recurrence count remains 10 jobs across 8 monitored PRs.
Retry outcome for #26285 @ 519c5da35aaa8791a48b23a42c0012ad84c38715: build 14756478simulator_tests attempt 2 has cleared the XcodeSelect-affected monotouch_tvos job, which passed. The request remains active only for the separately classified monotouch_ios marshalling recurrence.
Total retry usage remains 3 lifetime / 3 current-head requests. The XcodeSelect recurrence count remains 10 jobs across 8 monitored PRs.
No output for 4h10m (18:43:55 → 22:53:48 UTC); the task hit its own timeout rather than the 180-minute job cap. Worker VSCXSDKs-MINI-103.Tahoe.arm64
This matches the recorded XcodeSelect hang exactly, including the same defaults read .../maui/Settings.plist AppleSdkRoot variant previously seen on #26214.
Notably, no Xcode download was involved at all — the log contains zero progress lines and reports:
That isolates the hang to the XcodeSelect subprocess itself and rules out slow-download/bandwidth explanations for this occurrence: Xcode was already present, and the very next spawned subprocess never returned. The subprocess is spawned with RedirectStdout, RedirectStderr, which is consistent with a stuck child process whose output is never drained.
Classification: CI infrastructure failure. The PR's only change in this head is a one-line xtro annotation, and the job never reached build or test execution.
Retry outcome: the PR head, mergeability (MERGEABLE, conflict-free) and retry accounting were refreshed first; the build was terminal and no equivalent rerun was active. An Azure DevOps rerun failed jobs request was accepted and created attempt 2 for Build packages, which is now in progress. Retry usage for #26281 is 3 lifetime / 1 current-head request (the 2 earlier lifetime retries were on older heads, builds 14753858 and 14758257).
Issue-specific diagnostic checklist: none — this issue has no Additional info to collect section.
Activity
dalexsoto commentedon Jul 22, 2026
PR #26198 retry update: build 14720520 completed terminal, with no prior retries or equivalent build active. Build_macos_tests attempt 2 was accepted at 00:34 UTC to rerun Build macOS tests. Two separately counted stage requests were accepted for this PR; current budget is 2 lifetime / 2 on this head.
dalexsoto commentedon Jul 22, 2026
New affected PR: #26188 @
fc3b9163c9b6de1eee35029949ae395174253e51, build 14720595, job xtro. Xcode installed successfully, then Provisionator hung for about 2h53m indefaults read .../maui/Settings.plist AppleSdkRootuntil the 180-minute cap.The signature now affects 3 jobs across 3 monitored PRs. No retry was submitted because retained Azure history for older same-head build 14718729 has no retrievable timeline, leaving retry accounting unresolved.
dalexsoto commentedon Jul 22, 2026
Final retry outcome: merged PR #26198 build 14720520 build_macos_tests attempt 2 completed successfully. Build macOS tests passed, the overall build succeeded, and the PR merged at 01:43 UTC.
dalexsoto commentedon Jul 22, 2026
External retry update: attempt 2 requests became active around 05:34 UTC for PR #26188 build 14720595 (simulator_tests, including xtro) and conflict-blocked PR #26214 build 14720423 (build_macos_tests). These rerun the previously recorded XcodeSelect hangs. No retry was initiated by this monitor; #26214 remains
CONFLICTING/DIRTY.dalexsoto commentedon Jul 22, 2026
External retry outcome: PR #26214 old-head build 14720423 completed
canceledafter the PR advanced to head8806526.... The build_macos_tests retry did not produce a retained terminal timeline. This does not change the XcodeSelect-hang diagnosis; the new head has fresh CI running.dalexsoto commentedon Jul 22, 2026
External retry outcome: merged PR #26188 build 14720595 simulator_tests attempt 2 completed successfully. Xtro passed, the overall build succeeded, and the PR merged at 07:24 UTC.
dalexsoto commentedon Jul 22, 2026
Two new XcodeSelect hangs on #26243 @
3826c3e6088150773f93426463f03ba15d24ffc2, build 14734013 attempt 1:AcesShared 1; the last command wasxcode-select --print-path, followed by about 2h50m without output before the 180-minute cap.AcesShared 62; the same command produced no output for about 2h52m before cancellation.The signature now affects 5 jobs across 4 monitored PRs. A simulator-stage retry request was conclusively rejected because the run state changed after a separate macOS-stage retry was accepted; no simulator attempt was created, so the reservation was released. Simulator retry is deferred until the current stage attempt is terminal.
dalexsoto commentedon Jul 22, 2026
Retry update for #26243 @
3826c3e6088150773f93426463f03ba15d24ffc2: build 14734013 first completed its separatebuild_macos_testsattempt 2 successfully. With the run terminal again,simulator_testsattempt 2 was accepted to rerun the framework and xcframework XcodeSelect hangs and is now in progress.Reconciled budget is 2 lifetime / 2 current-head requests. The signature count remains 5 jobs across 4 monitored PRs.
dalexsoto commentedon Jul 23, 2026
Two XcodeSelect hangs were confirmed on newly affected PR #26266, superseded head
b9443d00977f6552c9349da26d3c0fc4dbfd534b, build 14748737 attempt 1:AcesShared 101; the last command was/usr/bin/arch -arm64 /usr/bin/xcode-select --print-path, which produced no output until the 180-minute cap.AcesShared 9; the same command hung until cancellation.The signature now covers 7 jobs across 5 monitored PRs. No retry was submitted because this run belongs to a superseded PR head; the current head has a separate failed-jobs retry in progress for slow-download failures tracked by #26212.
dalexsoto commentedon Jul 24, 2026
New XcodeSelect hang on #26272 @
0e2625ba3f0959ccb6b5945e29bffd013793e3fe: build 14752825 attempt 1 - dotnettests_macos / Provisionator dependencies onAcesShared 11. Xcode installed and codesign verification succeeded, then/usr/bin/arch -arm64 /usr/bin/xcode-select --print-pathproduced no output until the 180-minute cap.The signature now covers 8 jobs across 6 monitored PRs. Build 14752825
simulator_testsattempt 2 was accepted to rerun dotnettests_macos and xtro (budget: 1 lifetime / 1 current head).dalexsoto commentedon Jul 24, 2026
Final retry outcome for #26272 @
0e2625ba3f0959ccb6b5945e29bffd013793e3fe: build 14752825 simulator_tests attempt 2 completed successfully. The previously hung dotnettests_macos job passed, xtro passed, publishing succeeded, and the overall build is green. Retry budget usage: 1 lifetime / 1 current head. The recurrence count remains 8 jobs across 6 monitored PRs.dalexsoto commentedon Jul 24, 2026
New XcodeSelect hang on #26277 @
00ea7d601b6f6966be98712c17e71b3f969626c5: build 14753443 attempt 1 — fsharp / Provisionator dependencies onAcesShared 46. Xcode installation and codesign completed, then/usr/bin/arch -arm64 /usr/bin/xcode-select --print-pathproduced no output until the 180-minute cap.The signature now covers 9 jobs across 7 monitored PRs. Build 14753443 simulator_tests attempt 2 was accepted to rerun fsharp and cecil (budget: 1 lifetime / 1 current head).
dalexsoto commentedon Jul 24, 2026
Final retry outcome for #26277 @
00ea7d601b6f6966be98712c17e71b3f969626c5: build 14753443 simulator_tests attempt 2 completed successfully. The previously hung fsharp job passed, cecil passed, publishing succeeded, and the overall build is green. Retry budget usage: 1 lifetime / 1 current head. The recurrence count remains 9 jobs across 7 monitored PRs.dalexsoto commentedon Jul 24, 2026
New XcodeSelect hang on #26285 @
519c5da35aaa8791a48b23a42c0012ad84c38715: build 14756478 attempt 1 — monotouch_tvos / Provisionator dependencies onAcesShared 18. Xcode 27 beta 4 expansion, installation, and codesign completed;/usr/bin/arch -arm64 /usr/bin/xcode-select --print-paththen produced no output until the 180-minute cap.The signature now covers 10 jobs across 8 monitored PRs. Build 14756478 remains active, so no retry has been submitted yet.
dalexsoto commentedon Jul 24, 2026
Retry update for #26285 @
519c5da35aaa8791a48b23a42c0012ad84c38715: build 14756478simulator_testsattempt 2 was accepted using failed-jobs semantics. It is rerunning themonotouch_tvosjob affected by thexcode-select --print-pathhang together with the separately classifiedmonotouch_iosfailure.A separate
mac_26_arm64attempt 2 was also accepted for the Tahoe network-test failure. Total retry usage is 3 lifetime / 3 current-head requests. The XcodeSelect recurrence count remains 10 jobs across 8 monitored PRs.dalexsoto commentedon Jul 24, 2026
Retry outcome for #26285 @
519c5da35aaa8791a48b23a42c0012ad84c38715: build 14756478simulator_testsattempt 2 has cleared the XcodeSelect-affectedmonotouch_tvosjob, which passed. The request remains active only for the separately classifiedmonotouch_iosmarshalling recurrence.Total retry usage remains 3 lifetime / 3 current-head requests. The XcodeSelect recurrence count remains 10 jobs across 8 monitored PRs.
dalexsoto commentedon Jul 27, 2026
New occurrence on #26281 @
39fa0abc:39fa0abcBuild packages/ Provision Products & Frameworks/usr/bin/arch -arm64 /usr/bin/defaults read /Users/builder/Library/Preferences/maui/Settings.plist AppleSdkRootVSCXSDKs-MINI-103.Tahoe.arm64This matches the recorded
XcodeSelecthang exactly, including the samedefaults read .../maui/Settings.plist AppleSdkRootvariant previously seen on #26214.Notably, no Xcode download was involved at all — the log contains zero progress lines and reports:
That isolates the hang to the
XcodeSelectsubprocess itself and rules out slow-download/bandwidth explanations for this occurrence: Xcode was already present, and the very next spawned subprocess never returned. The subprocess is spawned withRedirectStdout, RedirectStderr, which is consistent with a stuck child process whose output is never drained.Classification: CI infrastructure failure. The PR's only change in this head is a one-line xtro annotation, and the job never reached build or test execution.
Retry outcome: the PR head, mergeability (
MERGEABLE, conflict-free) and retry accounting were refreshed first; the build was terminal and no equivalent rerun was active. An Azure DevOps rerun failed jobs request was accepted and created attempt 2 forBuild packages, which is now in progress. Retry usage for #26281 is 3 lifetime / 1 current-head request (the 2 earlier lifetime retries were on older heads, builds 14753858 and 14758257).Issue-specific diagnostic checklist: none — this issue has no Additional info to collect section.