Forum Xamarin Test Cloud (Read Only)

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Failed to execute | Version

Hi,

I am trying for a few days to upload my code for testing and i keep getting this error, i have checked my package versions and i dont have nay duplicates.

Could someone help me?

Thanks

SetUp : System.Exception : Failed to execute: /Volumes/Data/xamarin/pipeline/versions/a8028676d1f64a2bdbaea33351cb3d8bd0144fa6/adt/sdk/platform-tools/adb shell am instrument -e target_package uk.co.wessextech.android.countermark -e main_activity md537c48dfc0ed56dcbb32d52321fbeccfa.MainActivity -e debug false -e test_server_port 37777 -e class sh.calaba.instrumentationbackend.InstrumentationBackend uk.co.wessextech.android.countermark.test/sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner - exit code: 1 /Volumes/Data/xamarin/pipeline/versions/a8028676d1f64a2bdbaea33351cb3d8bd0144fa6/adt/sdk/platform-tools/adb:402: warning: already initialized constant ARGV Parse am instrument -e target_package uk.co.wessextech.android.countermark -e main_activity md537c48dfc0ed56dcbb32d52321fbeccfa.MainActivity -e debug false -e test_server_port 37777 -e class sh.calaba.instrumentationbackend.InstrumentationBackend uk.co.wessextech.android.countermark.test/sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner {:instrumentation=>"uk.co.wessextech.android.countermark.test/sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner", :instrumentation_name=>"sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner", :main_activity=>"md537c48dfc0ed56dcbb32d52321fbeccfa.MainActivity", :class=>"sh.calaba.instrumentationbackend.InstrumentationBackend", :target_package=>"uk.co.wessextech.android.countermark", :package_name=>"uk.co.wessextech.android.countermark.test"} Parse am instrument -e target_package uk.co.wessextech.android.countermark -e main_activity md537c48dfc0ed56dcbb32d52321fbeccfa.MainActivity -e debug false -e test_server_port 37777 -e class sh.calaba.instrumentationbackend.InstrumentationBackend uk.co.wessextech.android.countermark.test/sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner {:instrumentation=>"uk.co.wessextech.android.countermark.test/sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner", :instrumentation_name=>"sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner", :main_activity=>"md537c48dfc0ed56dcbb32d52321fbeccfa.MainActivity", :class=>"sh.calaba.instrumentationbackend.InstrumentationBackend", :target_package=>"uk.co.wessextech.android.countermark", :package_name=>"uk.co.wessextech.android.countermark.test"} /Volumes/Data/xamarin/pipeline/versions/a8028676d1f64a2bdbaea33351cb3d8bd0144fa6/adt/sdk/platform-tools/adb:111:inshel': Error while starting {"message"=>"Waited for Calabash server on 37276. Did not launch.", "device_id"=>"3a689454-b98e-4166-933b-62fddd7932c7", "error_code"=>104}, 503, {"message":"Waited for Calabash server on 37276. Did not launch.","device_id":"3a689454-b98e-4166-933b-62fddd7932c7","error_code":104}. (RuntimeError) from /Volumes/Data/xamarin/pipeline/versions/a8028676d1f64a2bdbaea33351cb3d8bd0144fa6/base_gems/gems/thor-0.18.1/lib/thor/command.rb:27:in run' from /Volumes/Data/xamarin/pipeline/versions/a8028676d1f64a2bdbaea33351cb3d8bd0144fa6/base_gems/gems/thor-0.18.1/lib/thor/invocation.rb:120:ininvoke_command' from /Volumes/Data/xamarin/pipeline/versions/a8028676d1f64a2bdbaea33351cb3d8bd0144fa6/base_gems/gems/thor-0.18.1/lib/thor.rb:363:in dispatch' from /Volumes/Data/xamarin/pipeline/versions/a8028676d1f64a2bdbaea33351cb3d8bd0144fa6/base_gems/gems/thor-0.18.1/lib/thor/base.rb:439:instart' from /Volumes/Data/xamarin/pipeline/versions/a8028676d1f64a2bdbaea33351cb3d8bd0144fa6/adt/sdk/platform-tools/adb:408:in <main>' at Xamarin.UITest.Shared.Processes.ProcessRunner.Run (System.String path, System.String arguments) <0x630ecc8 + 0x001a7> in <filename unknown>:0 at Xamarin.UITest.Shared.Android.Commands.CommandAdbInstrument.Execute (IProcessRunner processRunner, IAndroidSdkTools androidSdkTools) <0x633da68 + 0x001c4> in <filename unknown>:0 at Xamarin.UITest.Shared.Execution.Executor.Execute[TDep1,TDep2] (ICommand2 command) <0x633a580 + 0x00092> in :0
at Xamarin.UITest.Shared.Android.TestCloudAndroidAppLifeCycle.LaunchApp (Xamarin.UITest.Shared.Android.ApkFile appApkFile, Xamarin.UITest.Shared.Android.ApkFile testServerApkFile, Int32 testServerPort) <0x633d640 + 0x00112> in :0
at Xamarin.UITest.Android.AndroidApp..ctor (IAndroidAppConfiguration appConfiguration) <0x6129348 + 0x004f5> in :0
at Xamarin.UITest.Configuration.AndroidAppConfigurator.StartApp (AppDataMode appDataMode) <0x6128898 + 0x00063> in :0
at Countermark_Android_CloudTest.Tests.Setup () <0x61278f0 + 0x0002f> in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0x32bf110 + 0x00093> in :0 `

Sign In or Register to comment.