Skip to content

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

@elinor-fung

Description

@elinor-fung

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: #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

Build Definition Test Pull Request
1088919 dotnet/runtime iOS.Device.LibraryMode.Test.WorkItemExecution #117441

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 1

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarea-Infrastructure-monoblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'disabled-testThe test is disabled in source code against the issueos-iosApple iOS

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions