iOS.Device/Simulator.LibraryMode.Test: failed to determine exit code - RETURN_CODE_NOT_SET
Assessment
This issue has not been assessed yet.
Description
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1064265
Build error leg or test failing: iOS.Device.LibraryMode.Test.WorkItemExecution
Pull request: https://github.com/dotnet/runtime/pull/116504
[23:52:22] dbug: Running /private/tmp/helix/working/A5960990/p/microsoft.dotnet.xharness.cli/10.0.0-prerelease.25255.1/tools/net8.0/any/../../../runtimes/any/native/mlaunch/bin/mlaunch --sdkroot /Applications/Xcode_14.3.app -setenv=RUN_END_TAG=f0d070bd-624b-4ed1-b1b6-c3824eda5753 --disable-memory-limits --devname 00008030-000C18310E85402E --launchdevbundleid net.dot.iOS.Device.LibraryMode.Test --wait-for-exit -v -v -v -v -v
[23:52:25] dbug: Process mlaunch exited with 0
[23:52:30] dbug: Killing process tree of 84026...
[23:52:30] dbug: Pids to kill: 84026
[23:52:30] dbug: Failed to determine the exit code from /tmp/helix/working/A5960990/w/A9C008E7/uploads/net.dot.iOS.Device.LibraryMode.Test.log
[23:52:30] dbug: Failed to determine the exit code from /tmp/helix/working/A5960990/w/A9C008E7/uploads/device-DNCENGOSX121-20250610_235221.log
[23:52:30] fail: Application has finished but XHarness failed to determine its exit code!
[23:52:30] info: Uninstalling the application 'net.dot.iOS.Device.LibraryMode.Test' from 'DNCENGOSX121'
[23:52:30] dbug:
[23:52:30] dbug: Running /private/tmp/helix/working/A5960990/p/microsoft.dotnet.xharness.cli/10.0.0-prerelease.25255.1/tools/net8.0/any/../../../runtimes/any/native/mlaunch/bin/mlaunch --sdkroot /Applications/Xcode_14.3.app --uninstalldevbundleid net.dot.iOS.Device.LibraryMode.Test --devname 00008030-000C18310E85402E -v -v -v -v -v
[23:52:31] dbug: Using Xcode 14.3 found in /Applications/Xcode_14.3.app
[23:52:31] dbug: Xamarin.Hosting: Device discovery started
[23:52:31] dbug: Xamarin.Hosting: Device discovery event: Connected (00008030-000C18310E85402E)
[23:52:31] dbug: Xamarin.Hosting: Connected to DNCENGOSX121 (00008030-000C18310E85402E) in 00:00:00.0027880
[23:52:31] dbug: Uninstalling application 'net.dot.iOS.Device.LibraryMode.Test' from 'DNCENGOSX121'
[23:52:31] dbug: RemovingApplication: 75%
[23:52:31] dbug: PercentComplete: 50
[23:52:31] dbug: Status: RemovingApplication
[23:52:31] dbug: GeneratingApplicationMap: 95%
[23:52:31] dbug: PercentComplete: 90
[23:52:31] dbug: Status: GeneratingApplicationMap
[23:52:31] dbug: Application 'net.dot.iOS.Device.LibraryMode.Test' uninstalled from 'DNCENGOSX121'
[23:52:32] dbug: Process mlaunch exited with 0
[23:52:32] info: Application 'net.dot.iOS.Device.LibraryMode.Test' was uninstalled successfully
[23:52:32] dbug: Saving diagnostics data to '/tmp/helix/working/A5960990/w/A9C008E7/e/diagnostics.json'
XHarness exit code: 82 (RETURN_CODE_NOT_SET)
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": ["iOS.Device.LibraryMode.Test", "RETURN_CODE_NOT_SET"],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1064265
Error message validated: [iOS.Device.LibraryMode.Test RETURN_CODE_NOT_SET]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/11/2025 9:08:56 PM UTC
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 0 |
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/runtime
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
area-System.Reflection blocking-clean-ci-optional Known Build Error os-mac-os-x untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
area-CodeGen-coreclr untriaged
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
agentic-workflows untriaged
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
area-VM-meta-mono untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
area/docs-content Bug pulumi/docs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
Create parent directories only after the containment check in InstallHelper.TryExtractToDirectory Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PowerShell/PSResourceGet#2056 ·