[msbuild] Improve how we handle the path to Xcode.#24021
Merged
Azure Pipelines / xamarin-macios-sim-pr-tests
succeeded
May 19, 2026 in 1h 14m 19s
Build #20260518.28 had test failures
Details
- Failed: 2 (0.00%)
- Passed: 242,495 (95.72%)
- Other: 10,830 (4.28%)
- Total: 253,327
Annotations
Check failure on line 10 in Build log
azure-pipelines / xamarin-macios-sim-pr-tests
Build log #L10
The task has timed out.
Check failure on line 10 in Build log
azure-pipelines / xamarin-macios-sim-pr-tests
Build log #L10
The task has timed out.
Check failure on line 1 in App Timeout fsharp Debug on bot
azure-pipelines / xamarin-macios-sim-pr-tests
App Timeout fsharp Debug on bot
fsharp Debug Test run timed out after 15 minute(s) on bot .
Raw output
[12:53:53.0914570] Test log server listening on: 0.0.0.0:64739
[12:53:53.0926470] System log for the 'iPhone 14 (iOS 26.5) - created by XHarness' simulator is: /Users/builder/Library/Logs/CoreSimulator/AA49BF12-7AA3-493D-B579-4A14382DAD82/system.log
[12:53:53.0929720] *** Executing fsharp/iOS in the simulator ***
[12:53:53.0930230] Enabling verbose logging
[12:53:53.0936240] Booting simulator 'iPhone 14 (iOS 26.5) - created by XHarness'
[12:53:53.0944260]
[12:53:53.0944290] Running /Users/builder/azdo/_work/2/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26216.121/packs/Microsoft.iOS.Sdk.net10.0_26.5/26.5.10199-ci.pr.gh24021/tools/bin/mlaunch
[12:53:53.3741900] Using Xcode 26.5 found in /Applications/Xcode_26.5.0.app
[12:53:53.3926730] xcrun simctl list --json --json-output /var/folders/w5/6fqyck4s5t7g34wyzp7ypf0h0000gn/T/tmp2SvvFQ.tmp
[12:53:53.5227290] Xamarin.Hosting: Simulator watchdogs are not disabled for 'iPhone 14 (iOS 26.5) - created by XHarness (AA49BF12-7AA3-493D-B579-4A14382DAD82)'.
[12:53:53.5241070] Xamarin.Hosting: Successfully disabled simulator watchdogs for 'iPhone 14 (iOS 26.5) - created by XHarness (AA49BF12-7AA3-493D-B579-4A14382DAD82)'.
[12:53:53.5284660] Xamarin.Hosting: Launching simulator application 'com.apple.iphonesimulator'
[12:53:53.9309820] Xamarin.Hosting: Ready notification 'com.apple.iphonesimulator.ready' received from the simulator.
[12:53:53.9322170] Xamarin.Hosting: Booting iPhone 14 (iOS 26.5) - created by XHarness...
[12:53:53.9337860] xcrun simctl list --json --json-output /var/folders/w5/6fqyck4s5t7g34wyzp7ypf0h0000gn/T/tmpzpA1ZJ.tmp
[12:53:54.0400100] xcrun simctl boot AA49BF12-7AA3-493D-B579-4A14382DAD82 --disabledJob=com.apple.backboardd
[12:53:54.5568190] xcrun simctl list --json --json-output /var/folders/w5/6fqyck4s5t7g34wyzp7ypf0h0000gn/T/tmpSe68so.tmp
[12:53:59.1911380] Xamarin.Hosting: Booted iPhone 14 (iOS 26.5) - created by XHarness successfully.
[12:53:59.6870610] Process mlaunch exited with 0
[12:53:59.6888960] Simulator 'iPhone 14 (iOS 26.5) - created by XHarness' booted in 6 seconds
[12:53:59.6894080]
[12:53:59.6894120] Running /Applications/Xcode_26.5.0.app/Contents/Developer/usr/bin/simctl
[12:54:00.6445600] Successfully enabled verbose logging
[12:54:00.6464750] Process simctl exited with 0
[12:54:00.6471120]
[12:54:00.6471170] Running /Applications/Xcode_26.5.0.app/Contents/Developer/usr/bin/simctl
[12:54:03.8363010] Process simctl exited with 0
[12:54:03.8364400] Enabled verbose logging
[12:54:03.8377340] Starting test run
[12:54:03.8395400]
[12:54:03.8395470] Running /Users/builder/azdo/_work/2/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26216.121/packs/Microsoft.iOS.Sdk.net10.0_26.5/26.5.10199-ci.pr.gh24021/tools/bin/mlaunch
[12:54:04.0660400] Using Xcode 26.5 found in /Applications/Xcode_26.5.0.app
[12:54:04.0853240] xcrun simctl list --json --json-output /var/folders/w5/6fqyck4s5t7g34wyzp7ypf0h0000gn/T/tmpJln7HB.tmp
[12:54:04.2110760] Xamarin.Hosting: Simulator watchdogs are already disabled for 'iPhone 14 (iOS 26.5) - created by XHarness (AA49BF12-7AA3-493D-B579-4A14382DAD82)'.
[12:54:04.2145800] Xamarin.Hosting: The simulator is running, but the device 'iPhone 14 (iOS 26.5) - created by XHarness' is not booted.
[12:54:04.2152610] Xamarin.Hosting: Booting iPhone 14 (iOS 26.5) - created by XHarness...
[12:54:04.2161150] xcrun simctl list --json --json-output /var/folders/w5/6fqyck4s5t7g34wyzp7ypf0h0000gn/T/tmpId4oR1.tmp
[12:54:04.3063100] xcrun simctl boot AA49BF12-7AA3-493D-B579-4A14382DAD82 --disabledJob=com.apple.backboardd
[12:54:04.6605160] xcrun simctl list --json --json-output /var/folders/w5/6fqyck4s5t7g34wyzp7ypf0h0000gn/T/tmpm9INkt.tmp
[12:54:07.3759980] Xamarin.Hosting: Booted iPhone 14 (iOS 26.5) - created by XHarness successfully.
[12:54:07.3781830] Xamarin.Hosting: No need to boot (already booted): iPhone 14 (iOS 26.5) - created by XHarness
[12:54:07.3781990] Xamarin.Hosting: Installing on iPhone 14 (iOS 26.5) - created by XHarness (AA49BF12-7AA3-493D-B579-4A14382DAD82) by executing 'xcrun simctl install AA49BF12-7AA3-493D-B579-4A14382DAD82 /Users/builder/azdo/_work/2/s/macios/tests/xharness/bin/Debug/tmp-test-dir/fsharp/bin/iPhoneSimulator/Debug/net10.0-ios/iossimulator-arm64/fsharp.app'
[12:56:53.1890020] Killing process 12890 as it was cancelled
[12:56:53.1895630] Test failed to start in 3 minutes
[12:56:53.1963440] Process mlaunch exited with 137
[12:56:53.1982440] Test run failed
[12:56:53.2027170] Could not find pid in mtouch output.
[12:56:53.2066860] Disabling verbose logging
[12:56:53.2073120]
[12:56:53.2073160] Running /Applications/Xcode_26.5.0.app/Contents/Developer/usr/bin/simctl
[12:56:53.7901540] Successfully disabled verbose logging
Check failure on line 1 in App Timeout fsharp Debug on bot
azure-pipelines / xamarin-macios-sim-pr-tests
App Timeout fsharp Debug on bot
fsharp Debug Test run timed out after 15 minute(s) on bot .
Raw output
[12:58:40.7491400] Test log server listening on: 0.0.0.0:64897
[12:58:40.7501240] System log for the 'Apple TV (tvOS 26.5) - created by XHarness' simulator is: /Users/builder/Library/Logs/CoreSimulator/3EA24EE1-802E-4673-BC6E-173A60048784/system.log
[12:58:40.7502370] *** Executing fsharp/iOS in the simulator ***
[12:58:40.7502390] Enabling verbose logging
[12:58:40.7502490] Booting simulator 'Apple TV (tvOS 26.5) - created by XHarness'
[12:58:40.7510500]
[12:58:40.7510530] Running /Users/builder/azdo/_work/2/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26216.121/packs/Microsoft.iOS.Sdk.net10.0_26.5/26.5.10199-ci.pr.gh24021/tools/bin/mlaunch
[12:58:40.9786430] Using Xcode 26.5 found in /Applications/Xcode_26.5.0.app
[12:58:40.9972020] xcrun simctl list --json --json-output /var/folders/w5/6fqyck4s5t7g34wyzp7ypf0h0000gn/T/tmpgU4jtH.tmp
[12:58:41.1258090] Xamarin.Hosting: Simulator watchdogs are not disabled for 'Apple TV (tvOS 26.5) - created by XHarness (3EA24EE1-802E-4673-BC6E-173A60048784)'.
[12:58:41.1271130] Xamarin.Hosting: Successfully disabled simulator watchdogs for 'Apple TV (tvOS 26.5) - created by XHarness (3EA24EE1-802E-4673-BC6E-173A60048784)'.
[12:58:41.1315550] Xamarin.Hosting: Launching simulator application 'com.apple.iphonesimulator'
[12:58:41.3944490] Xamarin.Hosting: Ready notification 'com.apple.iphonesimulator.ready' received from the simulator.
[12:58:41.3958270] Xamarin.Hosting: Booting Apple TV (tvOS 26.5) - created by XHarness...
[12:58:41.3974820] xcrun simctl list --json --json-output /var/folders/w5/6fqyck4s5t7g34wyzp7ypf0h0000gn/T/tmpBWA0dg.tmp
[12:58:41.5082410] xcrun simctl boot 3EA24EE1-802E-4673-BC6E-173A60048784 --disabledJob=com.apple.backboardd
[12:58:42.0385880] xcrun simctl list --json --json-output /var/folders/w5/6fqyck4s5t7g34wyzp7ypf0h0000gn/T/tmpvdjXUj.tmp
[12:58:43.7914080] Xamarin.Hosting: Booted Apple TV (tvOS 26.5) - created by XHarness successfully.
[12:58:44.1276110] Process mlaunch exited with 0
[12:58:44.1276750] Simulator 'Apple TV (tvOS 26.5) - created by XHarness' booted in 3 seconds
[12:58:44.1292200]
[12:58:44.1292260] Running /Applications/Xcode_26.5.0.app/Contents/Developer/usr/bin/simctl
[12:58:44.4653410] Successfully enabled verbose logging
[12:58:44.4696290] Process simctl exited with 0
[12:58:44.4706870]
[12:58:44.4706910] Running /Applications/Xcode_26.5.0.app/Contents/Developer/usr/bin/simctl
[12:58:47.6461430] Process simctl exited with 0
[12:58:47.6462230] Enabled verbose logging
[12:58:47.6466760] Starting test run
[12:58:47.6478140]
[12:58:47.6478190] Running /Users/builder/azdo/_work/2/s/macios/builds/downloads/dotnet-sdk-10.0.300-preview.0.26216.121/packs/Microsoft.iOS.Sdk.net10.0_26.5/26.5.10199-ci.pr.gh24021/tools/bin/mlaunch
[12:58:47.8703260] Using Xcode 26.5 found in /Applications/Xcode_26.5.0.app
[12:58:47.8883400] xcrun simctl list --json --json-output /var/folders/w5/6fqyck4s5t7g34wyzp7ypf0h0000gn/T/tmpla4fZy.tmp
[12:58:48.0171910] Xamarin.Hosting: Simulator watchdogs are already disabled for 'Apple TV (tvOS 26.5) - created by XHarness (3EA24EE1-802E-4673-BC6E-173A60048784)'.
[12:58:48.0207390] Xamarin.Hosting: The simulator is running, but the device 'Apple TV (tvOS 26.5) - created by XHarness' is not booted.
[12:58:48.0213700] Xamarin.Hosting: Booting Apple TV (tvOS 26.5) - created by XHarness...
[12:58:48.0222420] xcrun simctl list --json --json-output /var/folders/w5/6fqyck4s5t7g34wyzp7ypf0h0000gn/T/tmpoyZg3k.tmp
[12:58:48.1155550] xcrun simctl boot 3EA24EE1-802E-4673-BC6E-173A60048784 --disabledJob=com.apple.backboardd
[12:58:48.7170220] xcrun simctl list --json --json-output /var/folders/w5/6fqyck4s5t7g34wyzp7ypf0h0000gn/T/tmpq2A1oj.tmp
[12:58:49.9995480] Xamarin.Hosting: Booted Apple TV (tvOS 26.5) - created by XHarness successfully.
[12:58:50.0060800] Xamarin.Hosting: No need to boot (already booted): Apple TV (tvOS 26.5) - created by XHarness
[12:58:50.0087070] Xamarin.Hosting: Installing on Apple TV (tvOS 26.5) - created by XHarness (3EA24EE1-802E-4673-BC6E-173A60048784) by executing 'xcrun simctl install 3EA24EE1-802E-4673-BC6E-173A60048784 /Users/builder/azdo/_work/2/s/macios/tests/xharness/bin/Debug/tmp-test-dir/fsharp41/bin/iPhoneSimulator/Debug/net10.0-tvos/tvossimulator-arm64/fsharp.app'
[12:58:52.5806630] Xamarin.Hosting: The bundle id com.xamarin.fsharp was successfully installed.
[12:58:52.5825020] Xamarin.Hosting: Successfully created stdout pty for '/Users/builder/azdo/_work/2/s/macios/jenkins-results/tests/fsharp/76/stdout-20260518_125840.log': /dev/ttys000
[12:58:52.5826430] Xamarin.Hosting: Successfully created stderr pty for '/Users/builder/azdo/_work/2/s/macios/jenkins-results/tests/fsharp/76/stderr-20260518_125840.log': /dev/ttys001
[12:58:52.5838890] Xamarin.Hosting: Launching on Apple TV (tvOS 26.5) - created by XHarness (3EA24EE1-802E-4673-BC6E-173A60048784) by executing 'xcrun simctl launch --stdout=/dev/ttys000 --stderr=/dev/ttys001 --terminate-running-process 3EA24EE1-802E-4673-BC6E-173A60048784 com.xamarin.fsharp -connection-mode none -app-arg:-autostart -app-arg:-autoexit -app-arg:-enablenetwork -app-arg:-hostname:127.0.0.1 -app-arg:-transport:Tcp -app-arg:-hostport:64897' with environment:
[12:58:52.5838940] SIMCTL_CHILD_NUNIT_AUTOSTART=true
[12:58:52.5838960] SIMCTL_CHILD_NUNIT_AUTOEXIT=true
[12:58:52.5838980] SIMCTL_CHILD_NUNIT_ENABLE_NETWORK=true
[12:58:52.5838990] SIMCTL_CHILD_NUNIT_ENABLE_XML_OUTPUT=true
[12:58:52.5839010] SIMCTL_CHILD_NUNIT_ENABLE_XML_MODE=wrapped
[12:58:52.5839020] SIMCTL_CHILD_NUNIT_XML_VERSION=nunitv3
[12:58:52.5839040] SIMCTL_CHILD_BUILD_REVISION=azure-devops-acbe197e3ce5282a4b1a6516371da2c583ac6239
[12:58:52.5839050] SIMCTL_CHILD_NUNIT_HOSTNAME=127.0.0.1
[12:58:52.5839070] SIMCTL_CHILD_NUNIT_TRANSPORT=TCP
[12:58:52.5839080] SIMCTL_CHILD_NUNIT_HOSTPORT=64897
[12:58:52.5839100] SIMCTL_CHILD_OS_ACTIVITY_DT_MODE=YES
[12:58:52.5839110] SIMCTL_CHILD_NSUnbufferedIO=YES
[12:58:52.5839130] DEVELOPER_DIR=/Applications/Xcode_26.5.0.app
[12:58:52.5839140] NSUnbufferedIO=YES
[12:58:52.5841640] xcrun simctl launch --stdout=/dev/ttys000 --stderr=/dev/ttys001 --terminate-running-process 3EA24EE1-802E-4673-BC6E-173A60048784 com.xamarin.fsharp -connection-mode none -app-arg:-autostart -app-arg:-autoexit -app-arg:-enablenetwork -app-arg:-hostname:127.0.0.1 -app-arg:-transport:Tcp -app-arg:-hostport:64897
[13:01:40.9009990] Killing process 13537 as it was cancelled
[13:01:40.9010770] Test failed to start in 3 minutes
[13:01:40.9117420] Process mlaunch exited with 137
[13:01:40.9118990] Test run failed
[13:01:40.9125470] Could not find pid in mtouch output.
[13:01:40.9147420] Disabling verbose logging
[13:01:40.9157290]
[13:01:40.9157330] Running /Applications/Xcode_26.5.0.app/Contents/Developer/usr/bin/simctl
[13:01:41.3172840] Successfully disabled verbose logging
Loading