Bug 58687 - Xamarin.UITest.XDB.Exceptions.DeviceAgentException : Failed to launch DeviceAgent
Summary: Xamarin.UITest.XDB.Exceptions.DeviceAgentException : Failed to launch DeviceA...
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2017-08-10 06:38 UTC by Dávid Kaya
Modified: 2017-08-10 16:38 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Dávid Kaya 2017-08-10 06:38:12 UTC

I get following error in some test scenarios. However it is not always the same test scenario, it is really non-deterministic.

iOS Simulator 10.3.1
macOS 10.12
Xamarin SDKs all updated to last version

10-Aug-2017 08:22:33	7) Error : RegressionTests.Features.JobListFeature(iOS).UserTriesToSwitchFolders
10-Aug-2017 08:22:33	Xamarin.UITest.XDB.Exceptions.DeviceAgentException : Failed to launch DeviceAgent
10-Aug-2017 08:22:33	
10-Aug-2017 08:22:33	ExitCode: 65
10-Aug-2017 08:22:33	
10-Aug-2017 08:22:33	
10-Aug-2017 08:22:33	    IDEDerivedDataPathOverride = /var/folders/lw/133nv8fd1tv8kq8gn6f5c_780000gn/T/xdb/logs/2017.08.10.082121/DerivedData
10-Aug-2017 08:22:33	    IDETestRunSpecificationPath = /var/folders/lw/133nv8fd1tv8kq8gn6f5c_780000gn/T/xdb/logs/2017.08.10.082121/DeviceAgent-simulator.xctestrun
10-Aug-2017 08:22:33	                SimDevice: SimDevice : iPad Retina (2379A240-C66D-4BA7-98F1-91B509973B97) : state={ Shutdown } deviceType={ SimDeviceType : com.apple.CoreSimulator.SimDeviceType.iPad-Retina } runtime={ SimRuntime : 10.2 (14C89) - com.apple.CoreSimulator.SimRuntime.iOS-10-2 }
10-Aug-2017 08:22:33	                SimDevice: SimDevice : RegressionTests (956D14FC-6F8C-4289-93BA-FAE330DA66AF) : state={ Booted } deviceType={ SimDeviceType : com.apple.CoreSimulator.SimDeviceType.iPhone-5s } runtime={ SimRuntime : 10.3.1 (14E8301) - com.apple.CoreSimulator.SimRuntime.iOS-10-3 }
10-Aug-2017 08:22:33	** TEST EXECUTE FAILED **

Any idea where is the problem?


Comment 1 Dávid Kaya 2017-08-10 06:50:03 UTC
Xamarin.TestCloud.Agent version 0.20.6
Xamarin.UITest version
Comment 2 John Miller [MSFT] 2017-08-10 16:38:57 UTC
Hi David,

Thanks for reporting this issue. It looks like this could be related to UITest instead of Xamarin.iOS. I would suggest using the Support link at the top of https://testcloud.xamarin.com/login to report this issue and work with the team there to get them the information they need to file an issue. There also was a new version of UITest released today that would be good to confirm with: 2.0.10. I'll resolve this issue as downstream as it's not identifiable as an issue in Xamarin.iOS but instead UITest. 

Thank you!