iOS.Device/Simulator.LibraryMode.Test: failed to determine exit code - RETURN_CODE_NOT_SET

Open
#116,558 5 comments 1 reaction 2 assignees View on GitHub

@kotlarmilos is already working on this.

Since Jun 18, 2025.

  • #131208 by @copilot-swe-agent — open

Assessment

This issue has not been assessed yet.

Description

area-Infrastructure disabled-test os-ios

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

console log

[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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/runtime

All issues in dotnet/runtime

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.