Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.0] tvos arm64 mono: Failed to list devices #84394

Closed
carlossanlop opened this issue Apr 6, 2023 · 6 comments
Closed

[7.0] tvos arm64 mono: Failed to list devices #84394

carlossanlop opened this issue Apr 6, 2023 · 6 comments
Labels
arch-arm64 area-VM-meta-mono Known Build Error Use this to report build issues in the .NET Helix tab os-tvos Apple tvOS runtime-mono specific to the Mono runtime
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Apr 6, 2023

Error Blob

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

Reproduction Steps

 [194/195] System.Private.CoreLib.dll -> System.Private.CoreLib.dll.s, System.Private.CoreLib.dll-llvm.o, System.Private.CoreLib.aotdata
  [195/195] System.Runtime.Tests.dll -> System.Runtime.Tests.dll.s, System.Runtime.Tests.dll-llvm.o, System.Runtime.Tests.aotdata
  Running: cmake -S. -BSystem.Runtime.Tests -GXcode -DCMAKE_SYSTEM_NAME=tvOS -DCMAKE_OSX_DEPLOYMENT_TARGET=10.1
  Using working directory: /tmp/helix/working/A1F0094B/w/96A108E7/e/apple_build/AppBundle/
  Exit code: 0
  Running: xcodebuild ONLY_ACTIVE_ARCH=YES CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -arch arm64 -sdk appletvos -configuration Release
  Using working directory: /tmp/helix/working/A1F0094B/w/96A108E7/e/apple_build/AppBundle/System.Runtime.Tests
  Exit code: 0
  
  APP size: 345.9 Mb.
  
  Xcode: /tmp/helix/working/A1F0094B/w/96A108E7/e/apple_build/AppBundle/System.Runtime.Tests/System.Runtime.Tests.xcodeproj
  App: /tmp/helix/working/A1F0094B/w/96A108E7/e/apple_build/AppBundle/System.Runtime.Tests/Release-appletvos/System.Runtime.Tests.app
  App moved to: /private/tmp/helix/working/A1F0094B/w/96A108E7/e/System.Runtime.Tests.app/
Signing /tmp/helix/working/A1F0094B/w/96A108E7/e/System.Runtime.Tests.app
    "/Users/helix-runner/Library/Keychains/signing-certs.keychain-db"
/tmp/helix/working/A1F0094B/w/96A108E7/e/System.Runtime.Tests.app: signed app bundle with Mach-O thin (arm64) [net.dot.System.Runtime.Tests]
[1.0.0-prerelease.22411.1+5ebf69650b9f7b4ecab485be840b3022420f7812] XHarness command issued: apple test --app /tmp/helix/working/A1F0094B/w/96A108E7/e/System.Runtime.Tests.app --output-directory /tmp/helix/working/A1F0094B/w/96A108E7/uploads --target tvos-device --timeout 00:45:00 --xcode /Applications/Xcode_14.1.app -v --launch-timeout 00:05:00 --signal-app-end --
[15:14:06] info: Preparing run for tvos-device
[15:14:06] info: Looking for available tvos-device devices..
[15:14:06] dbug: Looking for available tvos-device devices. Storing logs into list-tvos-device-20230405_151406.log
[15:14:06] 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 103
                    at Microsoft.DotNet.XHarness.Apple.DeviceFinder.FindDevice(TestTargetOs target, String deviceName, ILog log, Boolean includeWirelessDevices, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.XHarness.Apple/DeviceFinder.cs:line 72
                    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.TestOrchestrator.OrchestrateTest(GetAppBundleInfoFunc getAppBundlePath, TestTargetOs target, String deviceName, TimeSpan timeout, TimeSpan launchTimeout, CommunicationChannel communicationChannel, XmlResultJargon xmlResultJargon, IEnumerable`1 singleMethodFilters, IEnumerable`1 classMethodFilters, Boolean includeWirelessDevices, Boolean resetSimulator, Boolean enableLldb, Boolean signalAppEnd, IReadOnlyCollection`1 environmentalVariables, IEnumerable`1 passthroughArguments, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.XHarness.Apple/Orchestration/TestOrchestrator.cs:line 189
                    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
XHarness exit code: 71 (GENERAL_FAILURE)

Report

Summary

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

Known issue validation

Build: 🔎
Result validation: ⚠️ Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: 🔎" line.

@carlossanlop carlossanlop added arch-arm64 blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' area-VM-meta-mono runtime-mono specific to the Mono runtime os-tvos Apple tvOS Known Build Error Use this to report build issues in the .NET Helix tab labels Apr 6, 2023
@carlossanlop carlossanlop added this to the 7.0.x milestone Apr 6, 2023
@ghost
Copy link

ghost commented Apr 6, 2023

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

Issue Details

Error Blob

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

Reproduction Steps

 [194/195] System.Private.CoreLib.dll -> System.Private.CoreLib.dll.s, System.Private.CoreLib.dll-llvm.o, System.Private.CoreLib.aotdata
  [195/195] System.Runtime.Tests.dll -> System.Runtime.Tests.dll.s, System.Runtime.Tests.dll-llvm.o, System.Runtime.Tests.aotdata
  Running: cmake -S. -BSystem.Runtime.Tests -GXcode -DCMAKE_SYSTEM_NAME=tvOS -DCMAKE_OSX_DEPLOYMENT_TARGET=10.1
  Using working directory: /tmp/helix/working/A1F0094B/w/96A108E7/e/apple_build/AppBundle/
  Exit code: 0
  Running: xcodebuild ONLY_ACTIVE_ARCH=YES CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -arch arm64 -sdk appletvos -configuration Release
  Using working directory: /tmp/helix/working/A1F0094B/w/96A108E7/e/apple_build/AppBundle/System.Runtime.Tests
  Exit code: 0
  
  APP size: 345.9 Mb.
  
  Xcode: /tmp/helix/working/A1F0094B/w/96A108E7/e/apple_build/AppBundle/System.Runtime.Tests/System.Runtime.Tests.xcodeproj
  App: /tmp/helix/working/A1F0094B/w/96A108E7/e/apple_build/AppBundle/System.Runtime.Tests/Release-appletvos/System.Runtime.Tests.app
  App moved to: /private/tmp/helix/working/A1F0094B/w/96A108E7/e/System.Runtime.Tests.app/
Signing /tmp/helix/working/A1F0094B/w/96A108E7/e/System.Runtime.Tests.app
    "/Users/helix-runner/Library/Keychains/signing-certs.keychain-db"
/tmp/helix/working/A1F0094B/w/96A108E7/e/System.Runtime.Tests.app: signed app bundle with Mach-O thin (arm64) [net.dot.System.Runtime.Tests]
[1.0.0-prerelease.22411.1+5ebf69650b9f7b4ecab485be840b3022420f7812] XHarness command issued: apple test --app /tmp/helix/working/A1F0094B/w/96A108E7/e/System.Runtime.Tests.app --output-directory /tmp/helix/working/A1F0094B/w/96A108E7/uploads --target tvos-device --timeout 00:45:00 --xcode /Applications/Xcode_14.1.app -v --launch-timeout 00:05:00 --signal-app-end --
[15:14:06] info: Preparing run for tvos-device
[15:14:06] info: Looking for available tvos-device devices..
[15:14:06] dbug: Looking for available tvos-device devices. Storing logs into list-tvos-device-20230405_151406.log
[15:14:06] 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 103
                    at Microsoft.DotNet.XHarness.Apple.DeviceFinder.FindDevice(TestTargetOs target, String deviceName, ILog log, Boolean includeWirelessDevices, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.XHarness.Apple/DeviceFinder.cs:line 72
                    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.TestOrchestrator.OrchestrateTest(GetAppBundleInfoFunc getAppBundlePath, TestTargetOs target, String deviceName, TimeSpan timeout, TimeSpan launchTimeout, CommunicationChannel communicationChannel, XmlResultJargon xmlResultJargon, IEnumerable`1 singleMethodFilters, IEnumerable`1 classMethodFilters, Boolean includeWirelessDevices, Boolean resetSimulator, Boolean enableLldb, Boolean signalAppEnd, IReadOnlyCollection`1 environmentalVariables, IEnumerable`1 passthroughArguments, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.XHarness.Apple/Orchestration/TestOrchestrator.cs:line 189
                    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
XHarness exit code: 71 (GENERAL_FAILURE)
Author: carlossanlop
Assignees: -
Labels:

arch-arm64, blocking-clean-ci, area-VM-meta-mono, runtime-mono, os-tvos, Known Build Error

Milestone: 7.0.x

@carlossanlop carlossanlop added Known Build Error Use this to report build issues in the .NET Helix tab and removed Known Build Error Use this to report build issues in the .NET Helix tab labels Apr 12, 2023
@carlossanlop
Copy link
Member Author

Not sure why it's saying there are zero hits, I'm still seeing this failure. Example:

[20:59:02] info: Preparing run for tvos-device
[20:59:02] info: Looking for available tvos-device devices..
[20:59:03] dbug: Looking for available tvos-device devices. Storing logs into list-tvos-device-20230411_205902.log
[20:59:03] 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 103
                    at Microsoft.DotNet.XHarness.Apple.DeviceFinder.FindDevice(TestTargetOs target, String deviceName, ILog log, Boolean includeWirelessDevices, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.XHarness.Apple/DeviceFinder.cs:line 72
                    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.TestOrchestrator.OrchestrateTest(GetAppBundleInfoFunc getAppBundlePath, TestTargetOs target, String deviceName, TimeSpan timeout, TimeSpan launchTimeout, CommunicationChannel communicationChannel, XmlResultJargon xmlResultJargon, IEnumerable`1 singleMethodFilters, IEnumerable`1 classMethodFilters, Boolean includeWirelessDevices, Boolean resetSimulator, Boolean enableLldb, Boolean signalAppEnd, IReadOnlyCollection`1 environmentalVariables, IEnumerable`1 passthroughArguments, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.XHarness.Apple/Orchestration/TestOrchestrator.cs:line 189
                    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
XHarness exit code: 71 (GENERAL_FAILURE)

@steveisok
Copy link
Member

I think we'll need to bump xcode on these machines.

@build-analysis build-analysis bot removed this from the 7.0.x milestone Nov 15, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Nov 15, 2023
@akoeplinger akoeplinger added this to the 7.0.x milestone Nov 24, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Nov 24, 2023
@jeffschwMSFT jeffschwMSFT removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Mar 18, 2024
@jeffschwMSFT
Copy link
Member

removing blocking-clean-ci as it has not failed in 30 days

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

@vitek-karas
Copy link
Member

Closing as 7.0 only - if we hit it in some other branch, let's create a new issue for it.

@vitek-karas vitek-karas closed this as not planned Won't fix, can't repro, duplicate, stale May 14, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jun 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 area-VM-meta-mono Known Build Error Use this to report build issues in the .NET Helix tab os-tvos Apple tvOS runtime-mono specific to the Mono runtime
Projects
None yet
Development

No branches or pull requests

5 participants