Skip to content

System.InvalidOperationException: Failed to copy test results from simulator to host. #6442

Description

@rmarinho

Build

https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1234014

Seems this is failing a test, crash and can t report back


[06:39:41] dbug: Process bash exited with 1
[06:39:41] dbug: Failed to copy results file from simulator. Expected at: /tmp/helix/working/AADF09C7/w/B9890A37/uploads/test-ios-simulator-64-20251217_053944.log
[06:39:41] fail: Application run failed:
                 System.InvalidOperationException: Failed to copy test results from simulator to host.
                    at Microsoft.DotNet.XHarness.Apple.AppTester.RunSimulatorTests(AppBundleInformation appInformation, MlaunchArguments mlaunchArguments, ICrashSnapshotReporter crashReporter, ITestReporter testReporter, IResultFileHandler resultFileHandler, ISimpleListener deviceListener, ISimulatorDevice simulator, ISimulatorDevice companionSimulator, TimeSpan timeout, CancellationToken cancellationToken, RunMode runMode) in /_/src/Microsoft.DotNet.XHarness.Apple/AppOperations/AppTester.cs:line 352
                    at Microsoft.DotNet.XHarness.Apple.AppTester.TestApp(AppBundleInformation appInformation, TestTargetOs target, IDevice device, IDevice companionDevice, TimeSpan timeout, TimeSpan testLaunchTimeout, Boolean signalAppEnd, IEnumerable`1 extraAppArguments, IEnumerable`1 extraEnvVariables, XmlResultJargon xmlResultJargon, String[] skippedMethods, String[] skippedTestClasses, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.XHarness.Apple/AppOperations/AppTester.cs:line 257
                    at Microsoft.DotNet.XHarness.Apple.TestOrchestrator.ExecuteApp(AppBundleInformation appBundleInfo, TestTargetOs target, IDevice device, IDevice companionDevice, TimeSpan timeout, TimeSpan launchTimeout, CommunicationChannel communicationChannel, XmlResultJargon xmlResultJargon, IEnumerable`1 singleMethodFilters, IEnumerable`1 classMethodFilters, IReadOnlyCollection`1 environmentalVariables, IEnumerable`1 passthroughArguments, Boolean signalAppEnd, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.XHarness.Apple/Orchestration/TestOrchestrator.cs:line 237
                    at Microsoft.DotNet.XHarness.Apple.BaseOrchestrator.OrchestrateOperationInternal(TestTargetOs target, String deviceName, Boolean includeWirelessDevices, Boolean resetSimulator, Boolean enableLldb, GetAppBundleInfoFunc getAppBundle, ExecuteMacCatalystAppFunc executeMacCatalystApp, ExecuteAppFunc executeApp, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.XHarness.Apple/Orchestration/BaseOrchestrator.cs:line 309

Build leg reported

Microsoft.Maui.Controls.DeviceTests.WorkItemExecution

Pull Request

N/A

Known issue core information

Fill out the known issue JSON section by following the step by step documentation on how to create a known issue

 {
    "ErrorMessage" : " System.InvalidOperationException: Failed to copy test results from simulator to host.",
    "BuildRetry": false,
    "ErrorPattern": "",
    "ExcludeConsoleLog": false
 }

@dotnet/dnceng

Release Note Category

  • Feature changes/additions
  • Bug fixes
  • Internal Infrastructure Improvements

Release Note Description

Additional information about the issue reported

No response

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1234014
Error message validated: [ System.InvalidOperationException: Failed to copy test results from simulator to host.]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 12/17/2025 2:25:13 PM UTC

Report

Summary

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions