Skip to content

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

@rmarinho

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

Build Definition Test Pull Request
1238709 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1238537 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1238534 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33275
1238445 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33251
1238409 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33251
1238333 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#29924
1238292 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#30242
1238295 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#30067
1238231 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33228
1238226 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33271
1238214 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33074
1238173 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33185
1238170 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1238158 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33086
1238141 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#30400
1238130 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33257
1238128 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33259
1237927 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1237930 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#29755
1237721 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33214
1236576 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33248
1237826 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33262
1237810 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33252
1237798 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#29755
1237793 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#32939
1237785 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1237726 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33113
1237771 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1237735 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1237783 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#27580
1237778 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1237769 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#31840
1237763 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33128
1237757 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1237745 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1237764 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1237731 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#31653
1237733 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#27948
1237740 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1237755 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33045
1237750 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1237710 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1235627 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33219
1237686 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33259
1237574 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#26728
1237577 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#27948
1237638 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#29924
1237552 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#32145
1237533 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33254
1237470 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33251
1237364 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33087
1236709 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33252
1236654 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33151
1236672 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33250
1236643 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1236572 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33246
1236543 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33242
1236598 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1236514 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1236512 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33071
1236467 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33240
1236386 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33157
1236309 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33185
1236306 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1236230 dotnet/maui Microsoft.Maui.MauiBlazorWebView.DeviceTests.WorkItemExecution dotnet/maui#33221
1236194 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33045
1236147 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33157
1236130 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33230
1235446 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33214
1236082 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#30204
1235630 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33150
1235609 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1235565 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33161
1235453 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution
1235493 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33218
1235417 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33215
1235302 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#28983
1235199 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33176
1235175 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33208
1235032 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33177
1235118 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33207
1235088 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#31651
1234785 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33204
1234269 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33177
1234249 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution dotnet/maui#33176
1234014 dotnet/maui Microsoft.Maui.Controls.DeviceTests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
5 83 86

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