Skip to content

System.Exception: Failed to list devices - tvOS, iOS #125135

Open

Description

@jozkee

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1311394
Build error leg or test failing: System.Runtime.Tests.WorkItemExecution
Pull request: #124906

Error Message

Fill the error message using step by step known issues guidance.

{
"ErrorMessage": "System.Exception: Failed to list devices",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}

Related: #110008 (comment)

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1311394
Error message validated: [System.Exception: Failed to list devices]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 3/3/2026 5:33:14 PM UTC

Report

💡 View the full list of hits in the Build Insights portal

Build Repository Branch Test Pull Request
1698187 dotnet/runtime release/11.0 System.Console.Manual.Tests.WorkItemExecution
1693211 dotnet/runtime release/10.0 System.Runtime.Loader.Tests.WorkItemExecution
1691453 dotnet/runtime main JIT_r.WorkItemExecution
1689358 dotnet/runtime main threading_group1.WorkItemExecution
1684837 dotnet/runtime main reflection.WorkItemExecution
1684677 dotnet/runtime release/11.0 Regression_PdbOnly_r_1.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 4 6

Activity

  1. added
    blocking-clean-ci
    Known Build Error
    on Mar 3, 2026
  2. added
    untriaged
    on Mar 3, 2026
  3. dotnet-policy-service commented on Mar 3, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/runtime-infrastructure
    See info in area-owners.md if you want to be subscribed.

  4. changed the title [-][8.0] System.Exception: Failed to list devices - OSX[/-] [+][8.0] System.Exception: Failed to list devices - tvOS, iOS[/+] on Mar 3, 2026
  5. added
    os-ios
    os-tvos
    on Mar 3, 2026
  6. dotnet-policy-service commented on Mar 3, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'os-ios': @vitek-karas, @kotlarmilos, @steveisok, @akoeplinger
    See info in area-owners.md if you want to be subscribed.

  7. dotnet-policy-service commented on Mar 3, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'os-tvos': @vitek-karas, @kotlarmilos, @steveisok, @akoeplinger
    See info in area-owners.md if you want to be subscribed.

  8. BrzVlad commented on Mar 11, 2026

    @BrzVlad
    Member

    @kotlarmilos Any thoughts on this ?

    [21:43:45] crit: System.Exception: Failed to list devices.
                        at Microsoft.DotNet.XHarness.iOS.Shared.Hardware.HardwareDeviceLoader.LoadDevices(ILog log, Boolean includeLocked, Boolean forceRefresh, Boolean listExtraData, Boolean includeWirelessDevices, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/Hardware/HardwareDeviceLoader.cs:line 104
                        at Microsoft.DotNet.XHarness.Apple.DeviceFinder.FindDevice(TestTargetOs target, String deviceName, ILog log, Boolean includeWirelessDevices, Boolean pairedDevicesOnly, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.XHarness.Apple/DeviceFinder.cs:line 74
                        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 215
                        at Microsoft.DotNet.XHarness.Apple.BaseOrchestrator.OrchestrateOperation(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 96
                        at Microsoft.DotNet.XHarness.Apple.RunOrchestrator.OrchestrateRun(GetAppBundleInfoFunc getAppBundleInfo, TestTargetOs target, String deviceName, TimeSpan timeout, TimeSpan launchTimeout, Int32 expectedExitCode, Boolean includeWirelessDevices, Boolean resetSimulator, Boolean enableLldb, Boolean signalAppEnd, Boolean waitForExit, IReadOnlyCollection`1 environmentalVariables, IEnumerable`1 passthroughArguments, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.XHarness.Apple/Orchestration/RunOrchestrator.cs:line 221
                        at Microsoft.DotNet.XHarness.CLI.Commands.Apple.AppleAppCommand`1.Invoke(ILogger logger) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/Apple/AppleAppCommand.cs:line 68
                        at Microsoft.DotNet.XHarness.CLI.Commands.XHarnessCommand`1.Invoke(IEnumerable`1 arguments) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/XHarnessCommand.cs:line 145
    
  9. added this to the 11.0.0 milestone on Mar 11, 2026
  10. removed
    untriaged
    on Mar 11, 2026
  11. kotlarmilos commented on Mar 13, 2026

    @kotlarmilos
    Member

    Apple mobile queues were upgraded but xharness wasn't yet: #124544

  12. modified the milestones: 11.0.0, Future on Jul 10, 2026
  13. changed the title [-][8.0] System.Exception: Failed to list devices - tvOS, iOS[/-] [+]System.Exception: Failed to list devices - tvOS, iOS[/+] on Jul 17, 2026
  14. vitek-karas commented on Jul 17, 2026

    @vitek-karas
    Member

    Fixed the title - this happening across all branches.

  15. vitek-karas commented on Aug 25, 2026

    @vitek-karas
    Member

    dotnet/xharness#1698 should help - it will automatically retry the device listing on timeouts...

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build Errorarea-Infrastructureblocking-clean-cios-iosos-tvos

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions