I’m getting "The local appium server has not been started. The given Node.js executable", when I'm running AppiumParallelTest with an iOS physical device

Hi all,

I try to run AppiumParallelTests with iOS physical device and I’m getting same error like described here:
Getting ” The local appium server has not been started. The given Node.js executable” error on running my appium code

When im using Android emulator its working fine, but when I connect an iPhone (physical device) I get same error like above. I was looking into Appium forum and on other sides already as well but no one was able to help me. I also installed appium from scratch with “npm install -g [email protected]” which is running through terminal fine:
info: Welcome to Appium v1.4.13 (REV c75d8adcb66a75818a542fe1891a34260c21f76a)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: Console LogLevel: debug
It would be really nice if someone could help me. If you need further information from my side please let me know.

Full error log:
Adding iOS devices
No Device Connected
{c91d518fd28e4422cf9ecb25874aa23aa1127aba=true}
[TestNG] Running:
/Users/mkreische/Library/Caches/IntelliJIdea15/temp-testng-customsuite.xml
Parallel Thread is::Thread_0
/Users/mkreische/Tools/MMA/mx-mobile-testing
Not taking ExtendReporting
/usr/local/lib/node_modules/appium/bin
/usr/local/lib/node_modules/appium/bin/ios-webkit-debug-proxy-launcher.js -c c91d518fd28e4422cf9ecb25874aa23aa1127aba:58290 -d
WebKit Proxy is started on device c91d518fd28e4422cf9ecb25874aa23aa1127aba and with port number 58290 and in thread 1
Process ID’s:{1=13840}


Starting Appium Server to handle IOS::c91d518fd28e4422cf9ecb25874aa23aa1127aba


io.appium.java_client.service.local.AppiumServerHasNotBeenStartedLocallyException: The local appium server has not been started. The given Node.js executable: /usr/local/bin/node Arguments: [/usr/local/lib/node_modules/appium/bin/appium.js, --port, 58323, --address, 127.0.0.1, --log, /Users/mkreische/Tools/MMA/mx-mobile-testing/logs/appiumlogs/c91d518fd28e4422cf9ecb25874aa23aa1127aba__LoginPhoneScreenTest.txt, --log-level, debug, --webkit-debug-proxy-port, 58290, --tmp, /Users/mkreische/Tools/MMA/mx-mobile-testing/target/tmp_58323, --session-override]
Process output: usage: appium.js [-h] [-v] [–shell]
[–localizable-strings-dir LOCALIZABLESTRINGSDIR] [–app APP]
[–ipa IPA] [-U UDID] [-a ADDRESS] [-p PORT]
[-ca CALLBACKADDRESS] [-cp CALLBACKPORT] [-bp BOOTSTRAPPORT]
[-k] [-r BACKENDRETRIES] [–session-override] [–full-reset]
[–no-reset] [-l] [-lt LAUNCHTIMEOUT] [-g LOG]
[–log-level {info,info:debug,info:info,info:warn,info:error,warn,warn:debug,warn:info,warn:warn,warn:error,error,error:debug,error:info,error:warn,error:error,debug,debug:debug,debug:info,debug:warn,debug:error}]
[–log-timestamp] [–local-timezone] [–log-no-colors]
[-G WEBHOOK] [–native-instruments-lib]
[–app-pkg ANDROIDPACKAGE] [–app-activity ANDROIDACTIVITY]
[–app-wait-package ppium.js:A NeDrRrOoIrDW:A IUTnPrAeCcKoAgGnEi]z
e d a r g u m e n t s : - - w e[b-k-iatp-pd-ewbauigt–parcotxiyv-iptoyr tANDROID W5A8I2T9A0C.T IVITY]
[–android-coverage ANDROIDCOVERAGE] [–avd AVD]
[–avd-args AVDARGS]
[–device-ready-timeout ANDROIDDEVICEREADYTIMEOUT] [–safari]
[–device-name DEVICENAME] [–platform-name PLATFORMNAME]
[–platform-version PLATFORMVERSION]
[–automation-name AUTOMATIONNAME]
[–browser-name BROWSERNAME] [–default-device]
[–force-iphone] [–force-ipad] [–language LANGUAGE]
[–locale LOCALE] [–calendar-format CALENDARFORMAT]
[–orientation ORIENTATION]
[–tracetemplate AUTOMATIONTRACETEMPLATEPATH]
[–instruments INSTRUMENTSPATH] [–show-sim-log]
[–show-ios-log] [–nodeconfig NODECONFIG] [-ra ROBOTADDRESS]
[-rp ROBOTPORT] [–selendroid-port SELENDROIDPORT]
[–chromedriver-port CHROMEDRIVERPORT]
[–chromedriver-executable CHROMEDRIVEREXECUTABLE]
[–use-keystore] [–keystore-path KEYSTOREPATH]
[–keystore-password KEYSTOREPASSWORD] [–key-alias KEYALIAS]
[–key-password KEYPASSWORD] [–show-config]
[–no-perms-check] [–command-timeout DEFAULTCOMMANDTIMEOUT]
[–keep-keychains] [–strict-caps] [–isolate-sim-device]
[–tmp TMPDIR] [–trace-dir TRACEDIR]
[–intent-action INTENTACTION]
[–intent-category INTENTCATEGORY]
[–intent-flags INTENTFLAGS]
[–intent-args OPTIONALINTENTARGUMENTS]
[–dont-stop-app-on-reset] [–debug-log-spacing]
[–suppress-adb-kill-server] [–async-trace]

at io.appium.java_client.service.local.AppiumDriverLocalService.start(AppiumDriverLocalService.java:151)
at com.groupon.appium.manager.AppiumManager.appiumServerForIOS(AppiumManager.java:73)
at com.groupon.appium.manager.AppiumParallelTest.startAppiumServer(AppiumParallelTest.java:125)
at com.groupon.merchant.appium.tests.AbstractTest.beforeClass(AbstractTest.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
at org.testng.SuiteRunner.run(SuiteRunner.java:254)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:122)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

Caused by: org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out waiting for [http://127.0.0.1:58323/wd/hub/status] to be available after 120005 ms
at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:107)
at io.appium.java_client.service.local.AppiumDriverLocalService.ping(AppiumDriverLocalService.java:113)
at io.appium.java_client.service.local.AppiumDriverLocalService.start(AppiumDriverLocalService.java:139)
… 31 more
Caused by: com.google.common.util.concurrent.UncheckedTimeoutException: java.util.concurrent.TimeoutException
at com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:143)
at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:80)
… 33 more
Caused by: java.util.concurrent.TimeoutException
at java.util.concurrent.FutureTask.get(FutureTask.java:205)
at com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:130)
… 34 more

Thx in advanced and best regards,
Martin

How about starting the appium at 127.0.0.1 using below command:
appium --address 127.0.0.1

Hi Maesiva,

Thx for quick reply. Unfortunately Appium starting with “appium --address 127.0.0.1” couldn’t solve the problem. Also I already starting the appium programmatically here with 127.0.0.1:

public AppiumServiceBuilder appiumServerForIOS(String deviceID, String methodName, String webKitPort) throws Exception {
System.out.println(“\n");
System.out.println(“Starting Appium Server to handle IOS::” + deviceID + “\n”);
System.out.println("
\n”);
File classPathRoot = new File(System.getProperty(“user.dir”));
int port = this.ap.getPort();
AppiumServiceBuilder builder = (new AppiumServiceBuilder())
.usingDriverExecutable(new File(Settings.NODE))
.withAppiumJS(new File(Settings.APPIUM_JS_PATH))
.withArgument(GeneralServerFlag.LOG_LEVEL, “info”)
.withLogFile(new File(System.getProperty(“user.dir”) + “/logs/appiumlogs/” + deviceID.replaceAll("\W", “") + “__” + methodName + “.txt”))
.withArgument(this.webKitProxy, webKitPort)
.withArgument(GeneralServerFlag.LOG_LEVEL, “debug”)
.withArgument(GeneralServerFlag.TEMP_DIRECTORY, (new File(String.valueOf(classPathRoot))).getAbsolutePath() + “/target/” + "tmp
” + port)
.withArgument(GeneralServerFlag.SESSION_OVERRIDE)
.usingAnyFreePort()
.withIPAddress(“127.0.0.1”);
this.appiumDriverLocalService = (AppiumDriverLocalService)builder.build();
this.appiumDriverLocalService.start();
return builder;
}

Which provides me the output here:
org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out waiting for [http://127.0.0.1:36626/wd/hub/status] to be available after 120004 ms
at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:107)
at io.appium.java_client.service.local.AppiumDriverLocalService.ping(AppiumDriverLocalService.java:113)
at io.appium.java_client.service.local.AppiumDriverLocalService.start(AppiumDriverLocalService.java:139)
… 31 more

Hallo,

Can someone help pls. I still have this issue from above :frowning:

Best,
Martin

@Martin

Below i have implemented for parallel execution of iOS real devices.

Can you try launching appium for iOS parallel execution using the below method, i would recommend use webkitproxy and startappium server method tied to same thread. Thanks let me know is this works

 public void startiOSWebKitProxy(){
			//Webkit Proxy command			
			CommandLine iOSProxyCommand = new CommandLine("ios_webkit_debug_proxy");
			iOSProxyCommand.addArgument("-c");
			iOSProxyCommand.addArgument(deviceName+":"+debugProxy);//provide proxy 27753,27754
			iOSProxyCommand.addArgument("-F");

			DefaultExecuteResultHandler iOSProxyresultHandler = new DefaultExecuteResultHandler();
			DefaultExecutor iOSProxyexecutor = new DefaultExecutor();
			iOSProxyexecutor.setExitValue(1);
			try {
				iOSProxyexecutor.execute(iOSProxyCommand, iOSProxyresultHandler);
				Thread.sleep(5000);
			} catch (IOException e) {
				e.printStackTrace();
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}

 /**Start Appium Server
 * @param deviceName 
 * @throws Exception **/
public synchronized int startAppiumServer() throws Exception{
	DefaultExecutor executor = new DefaultExecutor();
        CommandLine command = new CommandLine("appium");
		command.addArgument("--udid");
		command.addArgument(deviceName);//add your UDID
		command.addArgument("--address", false);
		command.addArgument("127.0.0.1");
		command.addArgument("--port", false);//generate the port during runtime
		command.addArgument(port);
			command.addArgument("--webkit-debug-proxy-port");
			command.addArgument(debugProxy);//27753,27754 
			command.addArgument("--safari",true);
		command.addArgument("--tmp");
		command.addArgument("/tmp/appium-"+port);
		command.addArgument("--full-reset", true);
		command.addArgument("--log-level", false);
		//command.addArgument("debug");
		command.addArgument("error");
		command.addArgument("--log", false);
		Timestamp currentTimestamp = new java.sql.Timestamp(Calendar.getInstance().getTime().getTime());
		command.addArgument(logPath+currentTimestamp.toString().replace(" ", "")+".log");//Provide logpath
		DefaultExecuteResultHandler resultHandler = new DefaultExecuteResultHandler();
		executor.setExitValue(1);
		try {
			executor.execute(command, resultHandler);
			Thread.sleep(5000);
		} catch (IOException e) {
			System.out.println("Unable to Launch Appium Server: ");
			e.printStackTrace();
		} catch (InterruptedException e) {
			System.out.println("Unable to Launch Appium Server: ");
			e.printStackTrace();
		}
	} else {
		Assert.fail("Starting appium is not supporting the current OS.");
	}	
}

Hi Sethu,

I’m really really appreciated for your answer. At the moment I’m a little bit busy with some other stuff. I hope i can try it out tomorrow or the day after. And of course I will let you know if its working or not.

Thx in advanced,
Martin

1 Like

Hi Sethu,

unfortunately it wasn’t working :-(. I tried a lot but always get errors with .addArgument(); when I copied your method into my class. Not sure if i imported the the correct class.
import com.sun.tools.javac.main.CommandLine;
I’m also get errors with .setExitValue() when I imported
import org.apache.tools.ant.helper.DefaultExecutor;

Also my “startAppiumServer()” looks different to yours.

public synchronized AppiumServiceBuilder startAppiumServer(String methodName) throws Exception {
this.device_udid = getNextAvailableDeviceId();
if(this.device_udid == null) {
System.out.println(“No devices are free to run test or Failed to run test”);
return null;
} else {
if(System.getProperty(“os.name”).toLowerCase().contains(“mac”)) {
if(iosDevice.checkiOSDevice(this.device_udid)) {
iosDevice.setIOSWebKitProxyPorts(this.device_udid);
this.category = iosDevice.getDeviceName(this.device_udid).replace(" “, “");
} else if(!iosDevice.checkiOSDevice(this.device_udid)) {
this.category = androidDevice.getDeviceModel(this.device_udid);
System.out.println(this.category);
}
} else {
this.category = androidDevice.getDeviceModel(this.device_udid);
}
if(Settings.FRAMEWORK.equalsIgnoreCase(“testng”)) {
this.parent = ExtentTestManager.startTest(methodName, “Mobile Appium Test”, this.category + "
” + this.device_udid.replaceAll(”\W", “"));
this.parentContext.put(Long.valueOf(Thread.currentThread().getId()), this.parent);
ExtentTestManager.getTest().log(LogStatus.INFO, “AppiumServerLogs”, “<a href=” + System.getProperty(“user.dir”) + “/logs/appiumlogs/” + this.device_udid.replaceAll("\W", "
”) + “__” + methodName + “.txt” + “>Logs”);
}
if(System.getProperty(“os.name”).toLowerCase().contains(“mac”)) {
if(iosDevice.checkiOSDevice(this.device_udid)) {
String webKitPort = iosDevice.startIOSWebKit(this.device_udid);
return this.appiumMan.appiumServerForIOS(this.device_udid, methodName, webKitPort);
} else {
return !iosDevice.checkiOSDevice(this.device_udid)?this.appiumMan.appiumServerForAndroid(this.device_udid, methodName):null;
}
} else {
return this.appiumMan.appiumServerForAndroid(this.device_udid, methodName);
}
}
}

Not sure if i have that knowledge to change the “startAppiumServer()” in right way. Would be nice if you can have a look on my “startAppiumServer()” method. Maybe you know better what the problem is. If not then thx for your help nevertheless. :slight_smile:

Best,
Martin

@Martin i am sure you have cloned the project from https://github.com/saikrishna321/AppiumTestDistribution

@saikrishna321 this guy is the one who developed the framewrok which you are using it. Probably he is the right person to pinpoint your issue

@Martin i need more info on how your running the tests and which version of AppiumTestDistribution your using ? I can help you get parallel iOS runs on devices…

Pls provide the config.properties file as well

Hi Saikrishna,

first thx for your reply too. In meanwhile I got few steps further. It looks like the Appium can recognize my physical iOS device. At least I get:

[ThreadUtil] Starting executor timeOut:2147483647ms workers:1 threadPoolSize:1
**************** Device ************* c91d518fd28e4422cf9ecb25874aa23aa1127aba
/usr/local/lib/node_modules/appium/build/lib
/usr/local/lib/node_modules/appium/bin/ios-webkit-debug-proxy-launcher.js -c c91d518fd28e4422cf9ecb25874aa23aa1127aba:50874 -d
WebKit Proxy is started on device c91d518fd28e4422cf9ecb25874aa23aa1127aba and with port number 50874 and in thread 12
Process ID’s:{12=3798}


Starting Appium Server to handle IOS::c91d518fd28e4422cf9ecb25874aa23aa1127aba


[Appium] Welcome to Appium v1.5.3 (REV 8ecfab8a598be15e7aa66e334b0ff92700943d1d)
[Appium] Non-default server args:
[Appium] address: ‘127.0.0.1’
[Appium] port: 50939
[Appium] sessionOverride: true
[Appium] log: ‘/Users/mkreische/Tools/MMA/AppiumParallelExecution/AppiumTestDistribution/target/appiumlogs/c91d518fd28e4422cf9ecb25874aa23aa1127aba__HomePageTest6.txt’
[Appium] tmpDir: ‘/Users/mkreische/Tools/MMA/AppiumParallelExecution/AppiumTestDistribution/target/tmp_50939’
[Appium] webkitDebugProxyPort: 50874
[Appium] Appium REST http interface listener started on 127.0.0.1:50939
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[HTTP] <-- GET /wd/hub/status 200 14 ms - 121
Before Class called12
com.test.ios.HomePageTest6

when I run “Runner.class” file.

What i try to do is to run one single test case on my physical ios device which is not really working well. What I try to do is following:

1.) I changed testing.xml to run HomePageTest6.class
<classes> <class name="com.test.ios.HomePageTest6"/> <!-- <class name="com.test.site.HomePageTest3"/> <class name="com.test.site.HomePageTest2"/> --> </classes>

2.) I added a simple System.ou.println() in HomePageTest6.class just to get an put on console in order to see if the test case is running or not.
public class HomePageTest6 extends UserBaseTest { @Test(enabled = true) public void testMethodTwelve_12() throws Exception { System.out.println("Bin in HomePageTest6"); … }

3.) I changed Runner.class to grep „HomePageTest6“ only for testing IOS test cases:
public class Runner{ @Test public static void testApp() throws Exception { ParallelThread parallelThread = new ParallelThread(); List<String> tests = new ArrayList<>(); //tests.add("HomePageTest1"); tests.add("HomePageTest6"); //tests.add("LoginTest"); parallelThread.runner("com.test.ios",tests); //parallelThread.runner("com.appium.webtest",tests); //Assert.assertFalse(AppiumParallelTest.buildStatus()); System.out.println("Bin in Runner"); } }

Now, when I’m running the Runner.class, I get testapp() methode with successful output, but the HomePageTest6.class got skipped:

SKIPPED: testMethodTwelve_12 on [HomePageTest6 passed=0 failed=0 skipped=0]

When I google it, I get threads where someone is saying that something is wrong with @BeforeMethod, @AfterMethod and @AfterClass. Which is true. I get some FAILED CONFIGURATION messages in out put as well, which you can find here:

************** ClosingAppiumSession **************** 12
FAILED CONFIGURATION: @BeforeMethod startApp(public void com.test.ios.HomePageTest6.testMethodTwelve_12() throws java.lang.Exception)
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not find a connected Android device. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 21.65 seconds
Build info: version: ‘2.53.1’, revision: ‘a36b8b1cd5757287168e54b817830adce9b0158d’, time: ‘2016-06-30 19:26:09’
System info: host: ‘deber1alp00016.group.on’, ip: ‘10.130.97.182’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.6’, java.version: ‘1.8.0_73’
Driver info: io.appium.java_client.android.AndroidDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132)
at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:92)
at com.appium.manager.AppiumParallelTest.startingServerInstance(AppiumParallelTest.java:293)
at com.appium.manager.AppiumParallelTest.startAppiumServerInParallel(AppiumParallelTest.java:246)
at com.test.site.UserBaseTest.startApp(UserBaseTest.java:24)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:589)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterMethod killServer([TestResult name=testMethodTwelve_12 on [HomePageTest6 passed=0 failed=0 skipped=0] status=SKIP method=HomePageTest6.testMethodTwelve_12()[pri:0, instance:[HomePageTest6 passed=0 failed=0 skipped=0]] output={null}])
java.lang.NullPointerException
at com.test.site.UserBaseTest.killServer(UserBaseTest.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:707)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterClass afterClass
java.lang.NullPointerException
at com.appium.manager.AppiumParallelTest.killAppiumServer(AppiumParallelTest.java:538)
at com.test.site.UserBaseTest.afterClass(UserBaseTest.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:232)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:115)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterClass killAppiumServer
java.lang.NullPointerException
at com.appium.manager.AppiumParallelTest.killAppiumServer(AppiumParallelTest.java:538)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:232)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:115)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

SKIPPED: testMethodTwelve_12 on [HomePageTest6 passed=0 failed=0 skipped=0]

===============================================
TestNG Test0
Tests run: 1, Failures: 0, Skips: 1
Configuration Failures: 4, Skips: 0

===============================================
TestNG Forum
Total tests run: 1, Failures: 0, Skips: 1
Configuration Failures: 4, Skips: 0

[TestNG] Time taken by org.testng.reporters.jq.Main@78aab498: 20 ms
[TestNG] Time taken by org.testng.reporters.XMLReporter@5e316c74: 4 ms
[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@670002: 2 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@6193932a: 6 ms
[TestNG] Time taken by org.testng.reporters.EmailableReporter2@1e802ef9: 5 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 4 ms
Finally complete


|_ | ___ ___ | | / | ___ _ __ ___ _ __ | | ___ | | ___ __| |
| | / _ / || | | | / _ \ | ’ _ \ | '_ \ | | / _ \| __| / _ \ / _ |
| | | /_ | | | |
| (
) || | | | | || |
) || || /| | | /| (| |
|
| _
||
/ _| _| _/ || || ||| .__/ || _| __| _| _,|
|_|

Writing the Test Results into JSON
Bin in Runner

===============================================
Default Suite
Total tests run: 1, Failures: 0, Skips: 0

**

Now to your general questions:

**
I cloned your project from here: https://github.com/saikrishna321/AppiumTestDistribution
Which i got from here: http://saikrishna321.github.io/AppiumTestDistribution/ (not really sure which AppiumTestDistribution this is)

Also I changed Runner.class, AppiumParallelTest.class like you described here: https://github.com/saikrishna321/AppiumTestDistribution/wiki/Configure-tests-for-TestNG with configuration for testing with TestNG.

My config.properties file looks following:
APP_ACTIVITY=com.android2.calculator3.Calculator
APP_ACTIVITY=com.google.android.launcher.GEL
RUNNER=parallel
APPIUM_JS_PATH=/usr/local/lib/node_modules/appium/build/lib/main.js
BROWSER_TYPE=chrome
APP_TYPE=NA
BUNDLE_ID=com.tesco.grocery
IOS_APP_PATH=/Users/mkreische/Tools/MMA/iOS/build/Debug-iphonesimulator/redemption.app
ANDROID_APP_PATH=/Users/mkreische/Tools/MMA/android/build/apk/redemption-4.7.apk
FRAMEWORK=testng
MONGODB_SERVER=ADDRESS_OF_THE_SERVER
MONGODB_PORT=PORT_NUMBER

My appium version is 1.5.3
deber1alp00016:AppiumTestDistribution mkreische$ appium -v
1.5.3

I change also my APPIUM_JS_PATH to use 1.5.X appium version as you can see in my config.properties file
APPIUM_JS_PATH=/usr/local/lib/node_modules/appium/build/lib/main.js

If you need more information than pls let me know. I know its a bit confusing what i did. But i tried to explain best what i coould :-).

There is another general question which I have for you. I got a bit confused with regards to using *.app and *.ipa files with iIs simulator and iOS physical device. Is that true that *.app files can only be installed on an Simualtor and *.ipa files onyl working on physical devices?

Thx for helping me in advanced and
Best,
Martin

@Martin
this line says there are no Android devices connected ? R u trying to run on both android and iOS or only iOS device

Use the below version

    <dependency>
        <groupId>com.github.saikrishna321</groupId>
        <artifactId>AppiumTestDistribution</artifactId>
        <version>a98e7c425a</version>
    </dependency>

make sure your BaseTest looks like the below

https://github.com/saikrishna321/PageObjectPatternAppium/blob/master/src/test/java/com/appium/config/UserBaseTest.java

@saikrishna321

At the moment i have only an iOS physical device connected. Thought it’s not necessary to have an Android device connected as well when I try to run test cases on IOS only. But i will connect an Android device too. The dependency I will update as well like you said. And also the UserBaseTest.class. I will let you know asap what the outcome is.

There is another general question which I have for you. I got a bit confused with regards to using *.app and *.ipa files with iIs simulator and iOS physical device. Is that true that *.app files can only be installed on an Simualtor and *.ipa files onyl working on physical devices?

Best,
Martin

With the latest version you don’t need android device connected, that issue has been fixed.

Your understanding on .app and .ipa is correct

@saikrishna321

I just tried your “UserBaseTest.java” which you posted here. But i get an error when I copied with

package com.appium.config;

Before it was package com.test.site;.
Should i keep with package com.test.site; ?

Other question. Can you send me pls the whole pom.xml file? Not sure if i have to delete other dependencies when i put the new AppiumTestDistribution versiojn into it. Cause there was no AppiumTestDistribution dependency in pom.xml file before. :slight_smile:

Please refer this project for sample

@saikrishna321

Sorry for late response. I was moved to another project last days. I will try it asap and will let you know what the outcome is. Thx for the project link.

Best,
Martin

@saikrishna321

I got the UserBaseTest.java running with settings above. Also with package com.appium.config;.

Unfortunately the case that test case “testMethodTwelve_12” became skipped still exist :-(. When I chossed package com.appium.config; intelij was asking me about Destination Directory. I took the last one … /src/test/java/com/appium/config. Maybe that was my mistake?
Do you know by chance what I still make wrong? If you need more information pls let me know again. I would really need that iOS physical device is working :-).

Best and thx in advanced,
Martin

Were you able to run the sample test project ?

@saikrishna321

Hi Saikrishna,

Thx for reply. I got some steps further but unfortunately I wasnt able to run the sample test project complete successful which you posted above. When I connect a physical ios device and run the Runner.class. I get a successful message but all tests are skipped. Belove is the log file. Maybe you know what the problem is?

No Device Connected
c91d518fd28e4422cf9ecb25874aa23aa1127aba


… TestNG 6.9.10 by Cédric Beust ([email protected])

[TestNG] Running:
Command line suite

[ThreadUtil] Starting executor timeOut:2147483647ms workers:1 threadPoolSize:1
***Devicec91d518fd28e4422cf9ecb25874aa23aa1127aba
/usr/local/lib/node_modules/appium/build/lib
/usr/local/lib/node_modules/appium/bin/ios-webkit-debug-proxy-launcher.js -c c91d518fd28e4422cf9ecb25874aa23aa1127aba:59115 -d
WebKit Proxy is started on device c91d518fd28e4422cf9ecb25874aa23aa1127aba and with port number 59115 and in thread 12
Process ID’s:{12=12510}


Starting Appium Server to handle IOS::c91d518fd28e4422cf9ecb25874aa23aa1127aba


[Appium] Welcome to Appium v1.5.3 (REV 8ecfab8a598be15e7aa66e334b0ff92700943d1d)
[Appium] Non-default server args:
[Appium] port: 59180
[Appium] sessionOverride: true
[Appium] log: ‘/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/appiumlogs/c91d518fd28e4422cf9ecb25874aa23aa1127aba__AddCommentTest.txt’
[Appium] tmpDir: ‘/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59180’
[Appium] webkitDebugProxyPort: 59115
[Appium] Appium REST http interface listener started on 0.0.0.0:59180
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[HTTP] <-- GET /wd/hub/status 200 14 ms - 121
***DeviceAddCommentTest
_


Starting Appium Server to handle Android Device::AddCommentTest


[Appium] Welcome to Appium v1.5.3 (REV 8ecfab8a598be15e7aa66e334b0ff92700943d1d)
[Appium] Non-default server args:
[Appium] port: 59228
[Appium] bootstrapPort: 59230
[Appium] sessionOverride: true
[Appium] log: ‘/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/appiumlogs/AddCommentTest__AddCommentTest.txt’
[Appium] loglevel: ‘info’
[Appium] selendroidPort: 59231
[Appium] chromeDriverPort: 59229
[Appium] suppressAdbKillServer: true
[Appium] Appium REST http interface listener started on 0.0.0.0:59228
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[HTTP] <-- GET /wd/hub/status 200 16 ms - 121
Setting Android Desired Capabilities:
No Device Connected
java.lang.NullPointerException
at com.appium.manager.AppiumParallelTest.checkSelendroid(AppiumParallelTest.java:336)
at com.appium.manager.AppiumParallelTest.androidNative(AppiumParallelTest.java:591)
at com.appium.manager.AppiumParallelTest.startingServerInstance(AppiumParallelTest.java:289)
at com.appium.manager.AppiumParallelTest.startAppiumServerInParallel(AppiumParallelTest.java:240)
at com.appium.config.UserBaseTest.startApp(UserBaseTest.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:589)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Android API Level::0
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“appActivity”:“com.android2.calculator3.Calculator”,“appPackage”:“com.groupon.redemption.internal”,“app”:null,“platformVersion”:“5.X”,“automationName”:“Selendroid”,“browserName”:"",“udid”:“AddCommentTest”,“platformName”:“Android”,“deviceName”:“Android”}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“appActivity”:"com.androi…
[Appium] Creating new SelendroidDriver session
[Appium] Capabilities:
[Appium] appActivity: ‘com.android2.calculator3.Calculator’
[Appium] appPackage: ‘com.groupon.redemption.internal’
[Appium] app: null
[Appium] platformVersion: ‘5.X’
[Appium] automationName: ‘Selendroid’
[Appium] browserName: ‘’
[Appium] udid: ‘AddCommentTest’
[Appium] platformName: ‘Android’
[Appium] deviceName: ‘Android’
[BaseDriver] Session created with session id: 7276f376-7d5a-4982-ae3d-f0d46728e8fd
[Selendroid] Error: Could not find app apk at ‘undefined’
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at SelendroidDriver.checkAppPresent$ (lib/driver.js:242:14)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
[Error: Could not find app apk at ‘undefined’]
[MJSONWP] Encountered internal error running command: Error: Could not find app apk at ‘undefined’
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at SelendroidDriver.checkAppPresent$ (lib/driver.js:242:14)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
[HTTP] <-- POST /wd/hub/session 500 45 ms - 174
**************ClosingAppiumSession****************12
***Devicec91d518fd28e4422cf9ecb25874aa23aa1127aba
/usr/local/lib/node_modules/appium/build/lib
/usr/local/lib/node_modules/appium/bin/ios-webkit-debug-proxy-launcher.js -c c91d518fd28e4422cf9ecb25874aa23aa1127aba:59328 -d
WebKit Proxy is started on device c91d518fd28e4422cf9ecb25874aa23aa1127aba and with port number 59328 and in thread 12
Process ID’s:{12=12538}


Starting Appium Server to handle IOS::c91d518fd28e4422cf9ecb25874aa23aa1127aba


[Appium] Welcome to Appium v1.5.3 (REV 8ecfab8a598be15e7aa66e334b0ff92700943d1d)
[Appium] Non-default server args:
[Appium] port: 59329
[Appium] sessionOverride: true
[Appium] log: ‘/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/appiumlogs/c91d518fd28e4422cf9ecb25874aa23aa1127aba__LoginTest.txt’
[Appium] tmpDir: ‘/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59329’
[Appium] webkitDebugProxyPort: 59328
[Appium] Appium REST http interface listener started on 0.0.0.0:59329
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[HTTP] <-- GET /wd/hub/status 200 17 ms - 121
Setting iOS Desired Capabilities:
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:null,“platformVersion”:“9.0”,“bundleId”:“com.tesco.grocery”,“udid”:“c91d518fd28e4422cf9ecb25874aa23aa1127aba”,“platformName”:“iOS”,“deviceName”:“iPhone”,“autoAcceptAlerts”:true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:null,“platformVersi…
[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] app: null
[Appium] platformVersion: ‘9.0’
[Appium] bundleId: ‘com.tesco.grocery’
[Appium] udid: ‘c91d518fd28e4422cf9ecb25874aa23aa1127aba’
[Appium] platformName: ‘iOS’
[Appium] deviceName: ‘iPhone’
[Appium] autoAcceptAlerts: true
[BaseDriver] Session created with session id: 21ed7f0c-78a1-4e48-8892-2c3353129c46
[debug] [iOS] Not auto-detecting udid.
[debug] [iOS] Removing any remaining instruments sockets
[debug] [iOS] Cleaned up instruments socket /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59329/instruments_sock
[debug] [iOS] Localizable.strings is not currently supported when using real devices.
[debug] [iOS] Creating instruments
[debug] [UIAuto] Preparing bootstrap code
[debug] [UIAuto] Dynamic bootstrap dir: /Users/mkreische/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {“nodePath”:”/usr/local/bin/node",“commandProxyClientPath”:"/usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js",“instrumentsSock”:"/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59329/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:true,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}

[debug] [UIAuto] Dynamic bootstrap path: /Users/mkreische/Library/Application Support/appium/bootstrap/bootstrap-48e110e52668550a.js
[debug] [UIAuto] Creating or overwriting dynamic bootstrap: /Users/mkreische/Library/Application Support/appium/bootstrap/bootstrap-48e110e52668550a.js
[debug] [iOS] Running ios real device reset flow
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’
[debug] [iOS] Creating iDevice object with udid c91d518fd28e4422cf9ecb25874aa23aa1127aba
[debug] [iOS] App is not installed. Will try to install.
[debug] [iOS] Real device specified but no ipa or app path, assuming bundle ID is on device
[debug] [iOS] Starting UIAutoClient, and launching Instruments.
[debug] [UIAuto] Instruments socket server started at /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59329/instruments_sock
[Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
[Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
[Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
[MJSONWP] Encountered internal error running command: Error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
at getAutomationTraceTemplatePathWithoutRetry$ (lib/xcode.js:172:9)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
[HTTP] <-- POST /wd/hub/session 500 1042 ms - 513
Setting iOS Desired Capabilities:
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:null,“platformVersion”:“9.0”,“bundleId”:“com.tesco.grocery”,“udid”:“c91d518fd28e4422cf9ecb25874aa23aa1127aba”,“platformName”:“iOS”,“deviceName”:“iPhone”,“autoAcceptAlerts”:true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:null,“platformVersi…
[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] app: null
[Appium] platformVersion: ‘9.0’
[Appium] bundleId: ‘com.tesco.grocery’
[Appium] udid: ‘c91d518fd28e4422cf9ecb25874aa23aa1127aba’
[Appium] platformName: ‘iOS’
[Appium] deviceName: ‘iPhone’
[Appium] autoAcceptAlerts: true
[BaseDriver] Session created with session id: 04e75e6c-516b-43f5-bf9c-d251fc07f40c
[debug] [iOS] Not auto-detecting udid.
[debug] [iOS] Removing any remaining instruments sockets
[debug] [iOS] Cleaned up instruments socket /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59329/instruments_sock
[debug] [iOS] Localizable.strings is not currently supported when using real devices.
[debug] [iOS] Creating instruments
[debug] [UIAuto] Preparing bootstrap code
[debug] [UIAuto] Dynamic bootstrap dir: /Users/mkreische/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {“nodePath”:”/usr/local/bin/node",“commandProxyClientPath”:"/usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js",“instrumentsSock”:"/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59329/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:true,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}

[debug] [UIAuto] Dynamic bootstrap path: /Users/mkreische/Library/Application Support/appium/bootstrap/bootstrap-48e110e52668550a.js
[debug] [UIAuto] Reusing dynamic bootstrap: /Users/mkreische/Library/Application Support/appium/bootstrap/bootstrap-48e110e52668550a.js
[debug] [iOS] Running ios real device reset flow
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’
[debug] [iOS] Creating iDevice object with udid c91d518fd28e4422cf9ecb25874aa23aa1127aba
[debug] [iOS] App is not installed. Will try to install.
[debug] [iOS] Real device specified but no ipa or app path, assuming bundle ID is on device
[debug] [iOS] Starting UIAutoClient, and launching Instruments.
[MJSONWP] Encountered internal error running command: Error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
at getAutomationTraceTemplatePathWithoutRetry$ (lib/xcode.js:172:9)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
[HTTP] <-- POST /wd/hub/session 500 1135 ms - 513
[debug] [UIAuto] Instruments socket server started at /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59329/instruments_sock
Error: listen EADDRINUSE /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59329/instruments_sock
at Object.exports._errnoException (util.js:907:11)
at exports._exceptionWithHostPort (util.js:930:20)
at Server._listen2 (net.js:1237:19)
at listen (net.js:1286:10)
at Server.listen (net.js:1376:5)
at UIAutoClient.start$ (lib/uiauto-client.js:145:23)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
Setting iOS Desired Capabilities:
**************ClosingAppiumSession****************12
***Devicec91d518fd28e4422cf9ecb25874aa23aa1127aba
/usr/local/lib/node_modules/appium/build/lib
/usr/local/lib/node_modules/appium/bin/ios-webkit-debug-proxy-launcher.js -c c91d518fd28e4422cf9ecb25874aa23aa1127aba:59345 -d
WebKit Proxy is started on device c91d518fd28e4422cf9ecb25874aa23aa1127aba and with port number 59345 and in thread 12
Process ID’s:{12=12562}


Starting Appium Server to handle IOS::c91d518fd28e4422cf9ecb25874aa23aa1127aba


[Appium] Welcome to Appium v1.5.3 (REV 8ecfab8a598be15e7aa66e334b0ff92700943d1d)
[Appium] Non-default server args:
[Appium] port: 59347
[Appium] sessionOverride: true
[Appium] log: ‘/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/appiumlogs/c91d518fd28e4422cf9ecb25874aa23aa1127aba__MultiLoginTest.txt’
[Appium] tmpDir: ‘/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59347’
[Appium] webkitDebugProxyPort: 59345
[Appium] Appium REST http interface listener started on 0.0.0.0:59347
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[HTTP] <-- GET /wd/hub/status 200 17 ms - 121
Setting iOS Desired Capabilities:
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:null,“platformVersion”:“9.0”,“bundleId”:“com.tesco.grocery”,“udid”:“c91d518fd28e4422cf9ecb25874aa23aa1127aba”,“platformName”:“iOS”,“deviceName”:“iPhone”,“autoAcceptAlerts”:true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:null,“platformVersi…
[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] app: null
[Appium] platformVersion: ‘9.0’
[Appium] bundleId: ‘com.tesco.grocery’
[Appium] udid: ‘c91d518fd28e4422cf9ecb25874aa23aa1127aba’
[Appium] platformName: ‘iOS’
[Appium] deviceName: ‘iPhone’
[Appium] autoAcceptAlerts: true
[BaseDriver] Session created with session id: 40b93577-9832-4234-a387-a64185ee3ae0
[debug] [iOS] Not auto-detecting udid.
[debug] [iOS] Removing any remaining instruments sockets
[debug] [iOS] Cleaned up instruments socket /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59347/instruments_sock
[debug] [iOS] Localizable.strings is not currently supported when using real devices.
[debug] [iOS] Creating instruments
[debug] [UIAuto] Preparing bootstrap code
[debug] [UIAuto] Dynamic bootstrap dir: /Users/mkreische/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {“nodePath”:”/usr/local/bin/node",“commandProxyClientPath”:"/usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js",“instrumentsSock”:"/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59347/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:true,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}

[debug] [UIAuto] Dynamic bootstrap path: /Users/mkreische/Library/Application Support/appium/bootstrap/bootstrap-ec0bd3fb0c9f7014.js
[debug] [UIAuto] Creating or overwriting dynamic bootstrap: /Users/mkreische/Library/Application Support/appium/bootstrap/bootstrap-ec0bd3fb0c9f7014.js
[debug] [iOS] Running ios real device reset flow
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’
[debug] [iOS] Creating iDevice object with udid c91d518fd28e4422cf9ecb25874aa23aa1127aba
[debug] [iOS] App is not installed. Will try to install.
[debug] [iOS] Real device specified but no ipa or app path, assuming bundle ID is on device
[debug] [iOS] Starting UIAutoClient, and launching Instruments.
[debug] [UIAuto] Instruments socket server started at /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59347/instruments_sock
[Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
[Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
[Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
[MJSONWP] Encountered internal error running command: Error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
at getAutomationTraceTemplatePathWithoutRetry$ (lib/xcode.js:172:9)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
[HTTP] <-- POST /wd/hub/session 500 1199 ms - 513
**************ClosingAppiumSession****************12
***Devicec91d518fd28e4422cf9ecb25874aa23aa1127aba
/usr/local/lib/node_modules/appium/build/lib
/usr/local/lib/node_modules/appium/bin/ios-webkit-debug-proxy-launcher.js -c c91d518fd28e4422cf9ecb25874aa23aa1127aba:59362 -d
WebKit Proxy is started on device c91d518fd28e4422cf9ecb25874aa23aa1127aba and with port number 59362 and in thread 12
Process ID’s:{12=12578}


Starting Appium Server to handle IOS::c91d518fd28e4422cf9ecb25874aa23aa1127aba


[Appium] Welcome to Appium v1.5.3 (REV 8ecfab8a598be15e7aa66e334b0ff92700943d1d)
[Appium] Non-default server args:
[Appium] port: 59363
[Appium] sessionOverride: true
[Appium] log: ‘/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/appiumlogs/c91d518fd28e4422cf9ecb25874aa23aa1127aba__WebTest.txt’
[Appium] tmpDir: ‘/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59363’
[Appium] webkitDebugProxyPort: 59362
[Appium] Appium REST http interface listener started on 0.0.0.0:59363
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[HTTP] <-- GET /wd/hub/status 200 18 ms - 121
Setting iOS Desired Capabilities:
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:null,“platformVersion”:“9.0”,“bundleId”:“com.tesco.grocery”,“udid”:“c91d518fd28e4422cf9ecb25874aa23aa1127aba”,“platformName”:“iOS”,“deviceName”:“iPhone”,“autoAcceptAlerts”:true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:null,“platformVersi…
[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] app: null
[Appium] platformVersion: ‘9.0’
[Appium] bundleId: ‘com.tesco.grocery’
[Appium] udid: ‘c91d518fd28e4422cf9ecb25874aa23aa1127aba’
[Appium] platformName: ‘iOS’
[Appium] deviceName: ‘iPhone’
[Appium] autoAcceptAlerts: true
[BaseDriver] Session created with session id: f81f30e4-4627-4130-a71e-0210dd0dd6b6
[debug] [iOS] Not auto-detecting udid.
[debug] [iOS] Removing any remaining instruments sockets
[debug] [iOS] Cleaned up instruments socket /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59363/instruments_sock
[debug] [iOS] Localizable.strings is not currently supported when using real devices.
[debug] [iOS] Creating instruments
[debug] [UIAuto] Preparing bootstrap code
[debug] [UIAuto] Dynamic bootstrap dir: /Users/mkreische/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {“nodePath”:”/usr/local/bin/node",“commandProxyClientPath”:"/usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js",“instrumentsSock”:"/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59363/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:true,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}

[debug] [UIAuto] Dynamic bootstrap path: /Users/mkreische/Library/Application Support/appium/bootstrap/bootstrap-496a8532602a7251.js
[debug] [UIAuto] Creating or overwriting dynamic bootstrap: /Users/mkreische/Library/Application Support/appium/bootstrap/bootstrap-496a8532602a7251.js
[debug] [iOS] Running ios real device reset flow
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’
[debug] [iOS] Creating iDevice object with udid c91d518fd28e4422cf9ecb25874aa23aa1127aba
[debug] [iOS] App is not installed. Will try to install.
[debug] [iOS] Real device specified but no ipa or app path, assuming bundle ID is on device
[debug] [iOS] Starting UIAutoClient, and launching Instruments.
[debug] [UIAuto] Instruments socket server started at /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59363/instruments_sock
[Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
[Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
[Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
[MJSONWP] Encountered internal error running command: Error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
at getAutomationTraceTemplatePathWithoutRetry$ (lib/xcode.js:172:9)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
[HTTP] <-- POST /wd/hub/session 500 849 ms - 513
**************ClosingAppiumSession****************12
***Devicec91d518fd28e4422cf9ecb25874aa23aa1127aba
/usr/local/lib/node_modules/appium/build/lib
/usr/local/lib/node_modules/appium/bin/ios-webkit-debug-proxy-launcher.js -c c91d518fd28e4422cf9ecb25874aa23aa1127aba:59378 -d
WebKit Proxy is started on device c91d518fd28e4422cf9ecb25874aa23aa1127aba and with port number 59378 and in thread 12
Process ID’s:{12=12594}


Starting Appium Server to handle IOS::c91d518fd28e4422cf9ecb25874aa23aa1127aba


[Appium] Welcome to Appium v1.5.3 (REV 8ecfab8a598be15e7aa66e334b0ff92700943d1d)
[Appium] Non-default server args:
[Appium] port: 59380
[Appium] sessionOverride: true
[Appium] log: ‘/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/appiumlogs/c91d518fd28e4422cf9ecb25874aa23aa1127aba__WritePostTest.txt’
[Appium] tmpDir: ‘/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59380’
[Appium] webkitDebugProxyPort: 59378
[Appium] Appium REST http interface listener started on 0.0.0.0:59380
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[HTTP] <-- GET /wd/hub/status 200 15 ms - 121
Setting iOS Desired Capabilities:
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:null,“platformVersion”:“9.0”,“bundleId”:“com.tesco.grocery”,“udid”:“c91d518fd28e4422cf9ecb25874aa23aa1127aba”,“platformName”:“iOS”,“deviceName”:“iPhone”,“autoAcceptAlerts”:true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:null,“platformVersi…
[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] app: null
[Appium] platformVersion: ‘9.0’
[Appium] bundleId: ‘com.tesco.grocery’
[Appium] udid: ‘c91d518fd28e4422cf9ecb25874aa23aa1127aba’
[Appium] platformName: ‘iOS’
[Appium] deviceName: ‘iPhone’
[Appium] autoAcceptAlerts: true
[BaseDriver] Session created with session id: 26476e52-f89e-4126-9c8e-c0375aee178c
[debug] [iOS] Not auto-detecting udid.
[debug] [iOS] Removing any remaining instruments sockets
[debug] [iOS] Cleaned up instruments socket /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59380/instruments_sock
[debug] [iOS] Localizable.strings is not currently supported when using real devices.
[debug] [iOS] Creating instruments
[debug] [UIAuto] Preparing bootstrap code
[debug] [UIAuto] Dynamic bootstrap dir: /Users/mkreische/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {“nodePath”:”/usr/local/bin/node",“commandProxyClientPath”:"/usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js",“instrumentsSock”:"/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59380/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:true,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}

[debug] [UIAuto] Dynamic bootstrap path: /Users/mkreische/Library/Application Support/appium/bootstrap/bootstrap-d5a2278bae071f66.js
[debug] [UIAuto] Creating or overwriting dynamic bootstrap: /Users/mkreische/Library/Application Support/appium/bootstrap/bootstrap-d5a2278bae071f66.js
[debug] [iOS] Running ios real device reset flow
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’
[debug] [iOS] Creating iDevice object with udid c91d518fd28e4422cf9ecb25874aa23aa1127aba
[debug] [iOS] App is not installed. Will try to install.
[debug] [iOS] Real device specified but no ipa or app path, assuming bundle ID is on device
[debug] [iOS] Starting UIAutoClient, and launching Instruments.
[debug] [UIAuto] Instruments socket server started at /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59380/instruments_sock
[Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
[Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
[Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
[MJSONWP] Encountered internal error running command: Error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
at getAutomationTraceTemplatePathWithoutRetry$ (lib/xcode.js:172:9)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
[HTTP] <-- POST /wd/hub/session 500 1129 ms - 513
Setting iOS Desired Capabilities:
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:null,“platformVersion”:“9.0”,“bundleId”:“com.tesco.grocery”,“udid”:“c91d518fd28e4422cf9ecb25874aa23aa1127aba”,“platformName”:“iOS”,“deviceName”:“iPhone”,“autoAcceptAlerts”:true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:null,“platformVersi…
[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] app: null
[Appium] platformVersion: ‘9.0’
[Appium] bundleId: ‘com.tesco.grocery’
[Appium] udid: ‘c91d518fd28e4422cf9ecb25874aa23aa1127aba’
[Appium] platformName: ‘iOS’
[Appium] deviceName: ‘iPhone’
[Appium] autoAcceptAlerts: true
[BaseDriver] Session created with session id: bf44dce9-fc19-45d5-a2d9-36ad84ace934
[debug] [iOS] Not auto-detecting udid.
[debug] [iOS] Removing any remaining instruments sockets
[debug] [iOS] Cleaned up instruments socket /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59380/instruments_sock
[debug] [iOS] Localizable.strings is not currently supported when using real devices.
[debug] [iOS] Creating instruments
[debug] [UIAuto] Preparing bootstrap code
[debug] [UIAuto] Dynamic bootstrap dir: /Users/mkreische/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {“nodePath”:”/usr/local/bin/node",“commandProxyClientPath”:"/usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js",“instrumentsSock”:"/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59380/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:true,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}

[debug] [UIAuto] Dynamic bootstrap path: /Users/mkreische/Library/Application Support/appium/bootstrap/bootstrap-d5a2278bae071f66.js
[debug] [UIAuto] Reusing dynamic bootstrap: /Users/mkreische/Library/Application Support/appium/bootstrap/bootstrap-d5a2278bae071f66.js
[debug] [iOS] Running ios real device reset flow
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’
[debug] [iOS] Creating iDevice object with udid c91d518fd28e4422cf9ecb25874aa23aa1127aba
[debug] [iOS] App is not installed. Will try to install.
[debug] [iOS] Real device specified but no ipa or app path, assuming bundle ID is on device
[debug] [iOS] Starting UIAutoClient, and launching Instruments.
[MJSONWP] Encountered internal error running command: Error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
at getAutomationTraceTemplatePathWithoutRetry$ (lib/xcode.js:172:9)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
[HTTP] <-- POST /wd/hub/session 500 1085 ms - 513
[debug] [UIAuto] Instruments socket server started at /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59380/instruments_sock
Error: listen EADDRINUSE /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59380/instruments_sock
at Object.exports._errnoException (util.js:907:11)
at exports._exceptionWithHostPort (util.js:930:20)
at Server._listen2 (net.js:1237:19)
at listen (net.js:1286:10)
at Server.listen (net.js:1376:5)
at UIAutoClient.start$ (lib/uiauto-client.js:145:23)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
**************ClosingAppiumSession****************12
***Devicec91d518fd28e4422cf9ecb25874aa23aa1127aba
/usr/local/lib/node_modules/appium/build/lib
/usr/local/lib/node_modules/appium/bin/ios-webkit-debug-proxy-launcher.js -c c91d518fd28e4422cf9ecb25874aa23aa1127aba:59432 -d
WebKit Proxy is started on device c91d518fd28e4422cf9ecb25874aa23aa1127aba and with port number 59432 and in thread 12
Process ID’s:{12=12616}


Starting Appium Server to handle IOS::c91d518fd28e4422cf9ecb25874aa23aa1127aba


[Appium] Welcome to Appium v1.5.3 (REV 8ecfab8a598be15e7aa66e334b0ff92700943d1d)
[Appium] Non-default server args:
[Appium] port: 59433
[Appium] sessionOverride: true
[Appium] log: ‘/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/appiumlogs/c91d518fd28e4422cf9ecb25874aa23aa1127aba__WritePostTest1.txt’
[Appium] tmpDir: ‘/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59433’
[Appium] webkitDebugProxyPort: 59432
[Appium] Appium REST http interface listener started on 0.0.0.0:59433
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[HTTP] <-- GET /wd/hub/status 200 17 ms - 121
Setting iOS Desired Capabilities:
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:null,“platformVersion”:“9.0”,“bundleId”:“com.tesco.grocery”,“udid”:“c91d518fd28e4422cf9ecb25874aa23aa1127aba”,“platformName”:“iOS”,“deviceName”:“iPhone”,“autoAcceptAlerts”:true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:null,“platformVersi…
[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] app: null
[Appium] platformVersion: ‘9.0’
[Appium] bundleId: ‘com.tesco.grocery’
[Appium] udid: ‘c91d518fd28e4422cf9ecb25874aa23aa1127aba’
[Appium] platformName: ‘iOS’
[Appium] deviceName: ‘iPhone’
[Appium] autoAcceptAlerts: true
[BaseDriver] Session created with session id: 879a452f-742e-4a51-be23-963013c606d5
[debug] [iOS] Not auto-detecting udid.
[debug] [iOS] Removing any remaining instruments sockets
[debug] [iOS] Cleaned up instruments socket /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59433/instruments_sock
[debug] [iOS] Localizable.strings is not currently supported when using real devices.
[debug] [iOS] Creating instruments
[debug] [UIAuto] Preparing bootstrap code
[debug] [UIAuto] Dynamic bootstrap dir: /Users/mkreische/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {“nodePath”:”/usr/local/bin/node",“commandProxyClientPath”:"/usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js",“instrumentsSock”:"/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59433/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:true,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}

[debug] [UIAuto] Dynamic bootstrap path: /Users/mkreische/Library/Application Support/appium/bootstrap/bootstrap-7f30286de542b9ab.js
[debug] [UIAuto] Creating or overwriting dynamic bootstrap: /Users/mkreische/Library/Application Support/appium/bootstrap/bootstrap-7f30286de542b9ab.js
[debug] [iOS] Running ios real device reset flow
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’
[debug] [iOS] Creating iDevice object with udid c91d518fd28e4422cf9ecb25874aa23aa1127aba
[debug] [iOS] App is not installed. Will try to install.
[debug] [iOS] Real device specified but no ipa or app path, assuming bundle ID is on device
[debug] [iOS] Starting UIAutoClient, and launching Instruments.
[debug] [UIAuto] Instruments socket server started at /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59433/instruments_sock
[Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
[Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
[Xcode] Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
[MJSONWP] Encountered internal error running command: Error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
at getAutomationTraceTemplatePathWithoutRetry$ (lib/xcode.js:172:9)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
[HTTP] <-- POST /wd/hub/session 500 963 ms - 513
Setting iOS Desired Capabilities:
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:null,“platformVersion”:“9.0”,“bundleId”:“com.tesco.grocery”,“udid”:“c91d518fd28e4422cf9ecb25874aa23aa1127aba”,“platformName”:“iOS”,“deviceName”:“iPhone”,“autoAcceptAlerts”:true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:null,“platformVersi…
[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] app: null
[Appium] platformVersion: ‘9.0’
[Appium] bundleId: ‘com.tesco.grocery’
[Appium] udid: ‘c91d518fd28e4422cf9ecb25874aa23aa1127aba’
[Appium] platformName: ‘iOS’
[Appium] deviceName: ‘iPhone’
[Appium] autoAcceptAlerts: true
[BaseDriver] Session created with session id: be629eb2-c36d-4fb3-bac5-4b333d5214bf
[debug] [iOS] Not auto-detecting udid.
[debug] [iOS] Removing any remaining instruments sockets
[debug] [iOS] Cleaned up instruments socket /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59433/instruments_sock
[debug] [iOS] Localizable.strings is not currently supported when using real devices.
[debug] [iOS] Creating instruments
[debug] [UIAuto] Preparing bootstrap code
[debug] [UIAuto] Dynamic bootstrap dir: /Users/mkreische/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {“nodePath”:”/usr/local/bin/node",“commandProxyClientPath”:"/usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js",“instrumentsSock”:"/Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59433/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:true,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}

[debug] [UIAuto] Dynamic bootstrap path: /Users/mkreische/Library/Application Support/appium/bootstrap/bootstrap-7f30286de542b9ab.js
[debug] [UIAuto] Reusing dynamic bootstrap: /Users/mkreische/Library/Application Support/appium/bootstrap/bootstrap-7f30286de542b9ab.js
[debug] [iOS] Running ios real device reset flow
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’
[debug] [iOS] Creating iDevice object with udid c91d518fd28e4422cf9ecb25874aa23aa1127aba
[debug] [iOS] App is not installed. Will try to install.
[debug] [iOS] Real device specified but no ipa or app path, assuming bundle ID is on device
[debug] [iOS] Starting UIAutoClient, and launching Instruments.
[MJSONWP] Encountered internal error running command: Error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
at getAutomationTraceTemplatePathWithoutRetry$ (lib/xcode.js:172:9)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
[HTTP] <-- POST /wd/hub/session 500 840 ms - 513
[debug] [UIAuto] Instruments socket server started at /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59433/instruments_sock
Error: listen EADDRINUSE /Users/mkreische/Tools/MMA/AppiumParallelExecution/PageObjectPatternAppium/target/tmp_59433/instruments_sock
at Object.exports._errnoException (util.js:907:11)
at exports._exceptionWithHostPort (util.js:930:20)
at Server._listen2 (net.js:1237:19)
at listen (net.js:1286:10)
at Server.listen (net.js:1376:5)
at UIAutoClient.start$ (lib/uiauto-client.js:145:23)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
**************ClosingAppiumSession****************12
FAILED CONFIGURATION: @BeforeMethod startApp(public void com.appium.tests.AddCommentTest.addComment() throws java.lang.InterruptedException)
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not find app apk at ‘undefined’ (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 184 milliseconds
Build info: version: ‘2.53.1’, revision: ‘a36b8b1cd5757287168e54b817830adce9b0158d’, time: ‘2016-06-30 19:26:09’
System info: host: ‘deber1alp00016.group.on’, ip: ‘10.130.97.182’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.6’, java.version: ‘1.8.0_73’
Driver info: io.appium.java_client.android.AndroidDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132)
at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:92)
at com.appium.manager.AppiumParallelTest.startingServerInstance(AppiumParallelTest.java:289)
at com.appium.manager.AppiumParallelTest.startAppiumServerInParallel(AppiumParallelTest.java:240)
at com.appium.config.UserBaseTest.startApp(UserBaseTest.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:589)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterMethod killServer([TestResult name=addComment on [AddCommentTest passed=0 failed=0 skipped=0] status=SKIP method=AddCommentTest.addComment()[pri:0, instance:[AddCommentTest passed=0 failed=0 skipped=0]] output={null}])
java.lang.NullPointerException
at com.appium.config.UserBaseTest.killServer(UserBaseTest.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:707)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterClass killAppiumServer
java.lang.NullPointerException
at com.appium.manager.AppiumParallelTest.killAppiumServer(AppiumParallelTest.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:232)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:115)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @BeforeMethod startApp(public void com.appium.tests.LoginTest.logOutTest() throws java.lang.InterruptedException)
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 1.07 seconds
Build info: version: ‘2.53.1’, revision: ‘a36b8b1cd5757287168e54b817830adce9b0158d’, time: ‘2016-06-30 19:26:09’
System info: host: ‘deber1alp00016.group.on’, ip: ‘10.130.97.182’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.6’, java.version: ‘1.8.0_73’
Driver info: io.appium.java_client.ios.IOSDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132)
at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:82)
at com.appium.manager.AppiumParallelTest.startingServerInstance(AppiumParallelTest.java:287)
at com.appium.manager.AppiumParallelTest.startAppiumServerInParallel(AppiumParallelTest.java:240)
at com.appium.config.UserBaseTest.startApp(UserBaseTest.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:589)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterMethod killServer([TestResult name=logOutTest on [LoginTest passed=0 failed=0 skipped=0] status=SKIP method=LoginTest.logOutTest()[pri:0, instance:[LoginTest passed=0 failed=0 skipped=0]] output={null}])
java.lang.NullPointerException
at com.appium.config.UserBaseTest.killServer(UserBaseTest.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:707)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @BeforeMethod startApp(public void com.appium.tests.LoginTest.loginWithInValidUser() throws java.lang.InterruptedException)
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 1.14 seconds
Build info: version: ‘2.53.1’, revision: ‘a36b8b1cd5757287168e54b817830adce9b0158d’, time: ‘2016-06-30 19:26:09’
System info: host: ‘deber1alp00016.group.on’, ip: ‘10.130.97.182’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.6’, java.version: ‘1.8.0_73’
Driver info: io.appium.java_client.ios.IOSDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132)
at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:82)
at com.appium.manager.AppiumParallelTest.startingServerInstance(AppiumParallelTest.java:287)
at com.appium.manager.AppiumParallelTest.startAppiumServerInParallel(AppiumParallelTest.java:240)
at com.appium.config.UserBaseTest.startApp(UserBaseTest.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:589)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterMethod killServer([TestResult name=loginWithInValidUser on [LoginTest passed=0 failed=0 skipped=0] status=SKIP method=LoginTest.loginWithInValidUser()[pri:0, instance:[LoginTest passed=0 failed=0 skipped=0]] output={null}])
java.lang.NullPointerException
at com.appium.config.UserBaseTest.killServer(UserBaseTest.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:707)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @BeforeMethod startApp(public void com.appium.tests.LoginTest.loginWithValidUser() throws java.lang.InterruptedException)
org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: ‘2.53.1’, revision: ‘a36b8b1cd5757287168e54b817830adce9b0158d’, time: ‘2016-06-30 19:26:09’
System info: host: ‘deber1alp00016.group.on’, ip: ‘10.130.97.182’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.6’, java.version: ‘1.8.0_73’
Driver info: driver.version: IOSDriver
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:665)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132)
at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:82)
at com.appium.manager.AppiumParallelTest.startingServerInstance(AppiumParallelTest.java:287)
at com.appium.manager.AppiumParallelTest.startAppiumServerInParallel(AppiumParallelTest.java:240)
at com.appium.config.UserBaseTest.startApp(UserBaseTest.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:589)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.openqa.selenium.WebDriverException: org.apache.http.conn.HttpHostConnectException: Connect to 0.0.0.0:59329 [/0.0.0.0] failed: Connection refused
Build info: version: ‘2.53.1’, revision: ‘a36b8b1cd5757287168e54b817830adce9b0158d’, time: ‘2016-06-30 19:26:09’
System info: host: ‘deber1alp00016.group.on’, ip: ‘10.130.97.182’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.6’, java.version: ‘1.8.0_73’
Driver info: driver.version: IOSDriver
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:84)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)
… 35 more
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to 0.0.0.0:59329 [/0.0.0.0] failed: Connection refused
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:158)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
at org.openqa.selenium.remote.internal.ApacheHttpClient.fallBackExecute(ApacheHttpClient.java:144)
at org.openqa.selenium.remote.internal.ApacheHttpClient.execute(ApacheHttpClient.java:90)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:69)
… 36 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:204)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)
… 49 more

FAILED CONFIGURATION: @AfterMethod killServer([TestResult name=loginWithValidUser on [LoginTest passed=0 failed=0 skipped=0] status=SKIP method=LoginTest.loginWithValidUser()[pri:0, instance:[LoginTest passed=0 failed=0 skipped=0]] output={null}])
java.lang.NullPointerException
at com.appium.config.UserBaseTest.killServer(UserBaseTest.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:707)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterClass killAppiumServer
java.lang.NullPointerException
at com.appium.manager.AppiumParallelTest.killAppiumServer(AppiumParallelTest.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:232)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:115)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @BeforeMethod startApp(public void com.appium.tests.MultiLoginTest.loginWithValidUser() throws java.lang.InterruptedException)
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 1.22 seconds
Build info: version: ‘2.53.1’, revision: ‘a36b8b1cd5757287168e54b817830adce9b0158d’, time: ‘2016-06-30 19:26:09’
System info: host: ‘deber1alp00016.group.on’, ip: ‘10.130.97.182’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.6’, java.version: ‘1.8.0_73’
Driver info: io.appium.java_client.ios.IOSDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132)
at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:82)
at com.appium.manager.AppiumParallelTest.startingServerInstance(AppiumParallelTest.java:287)
at com.appium.manager.AppiumParallelTest.startAppiumServerInParallel(AppiumParallelTest.java:240)
at com.appium.config.UserBaseTest.startApp(UserBaseTest.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:589)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterMethod killServer([TestResult name=loginWithValidUser on [MultiLoginTest passed=0 failed=0 skipped=0] status=SKIP method=MultiLoginTest.loginWithValidUser()[pri:0, instance:[MultiLoginTest passed=0 failed=0 skipped=0]] output={null}])
java.lang.NullPointerException
at com.appium.config.UserBaseTest.killServer(UserBaseTest.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:707)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterClass killAppiumServer
java.lang.NullPointerException
at com.appium.manager.AppiumParallelTest.killAppiumServer(AppiumParallelTest.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:232)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:115)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @BeforeMethod startApp(public void com.appium.tests.WebTest.webTest() throws java.lang.InterruptedException)
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 867 milliseconds
Build info: version: ‘2.53.1’, revision: ‘a36b8b1cd5757287168e54b817830adce9b0158d’, time: ‘2016-06-30 19:26:09’
System info: host: ‘deber1alp00016.group.on’, ip: ‘10.130.97.182’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.6’, java.version: ‘1.8.0_73’
Driver info: io.appium.java_client.ios.IOSDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132)
at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:82)
at com.appium.manager.AppiumParallelTest.startingServerInstance(AppiumParallelTest.java:287)
at com.appium.manager.AppiumParallelTest.startAppiumServerInParallel(AppiumParallelTest.java:240)
at com.appium.config.UserBaseTest.startApp(UserBaseTest.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:589)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterMethod killServer([TestResult name=webTest on [WebTest passed=0 failed=0 skipped=0] status=SKIP method=WebTest.webTest()[pri:0, instance:[WebTest passed=0 failed=0 skipped=0]] output={null}])
java.lang.NullPointerException
at com.appium.config.UserBaseTest.killServer(UserBaseTest.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:707)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterClass killAppiumServer
java.lang.NullPointerException
at com.appium.manager.AppiumParallelTest.killAppiumServer(AppiumParallelTest.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:232)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:115)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @BeforeMethod startApp(public void com.appium.tests.WritePostTest.deleteTheCreatedPost())
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 1.15 seconds
Build info: version: ‘2.53.1’, revision: ‘a36b8b1cd5757287168e54b817830adce9b0158d’, time: ‘2016-06-30 19:26:09’
System info: host: ‘deber1alp00016.group.on’, ip: ‘10.130.97.182’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.6’, java.version: ‘1.8.0_73’
Driver info: io.appium.java_client.ios.IOSDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132)
at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:82)
at com.appium.manager.AppiumParallelTest.startingServerInstance(AppiumParallelTest.java:287)
at com.appium.manager.AppiumParallelTest.startAppiumServerInParallel(AppiumParallelTest.java:240)
at com.appium.config.UserBaseTest.startApp(UserBaseTest.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:589)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterMethod killServer([TestResult name=deleteTheCreatedPost on [WritePostTest passed=0 failed=0 skipped=0] status=SKIP method=WritePostTest.deleteTheCreatedPost()[pri:0, instance:[WritePostTest passed=0 failed=0 skipped=0]] output={null}])
java.lang.NullPointerException
at com.appium.config.UserBaseTest.killServer(UserBaseTest.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:707)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @BeforeMethod startApp(public void com.appium.tests.WritePostTest.writePost() throws java.lang.InterruptedException)
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 1.09 seconds
Build info: version: ‘2.53.1’, revision: ‘a36b8b1cd5757287168e54b817830adce9b0158d’, time: ‘2016-06-30 19:26:09’
System info: host: ‘deber1alp00016.group.on’, ip: ‘10.130.97.182’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.6’, java.version: ‘1.8.0_73’
Driver info: io.appium.java_client.ios.IOSDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132)
at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:82)
at com.appium.manager.AppiumParallelTest.startingServerInstance(AppiumParallelTest.java:287)
at com.appium.manager.AppiumParallelTest.startAppiumServerInParallel(AppiumParallelTest.java:240)
at com.appium.config.UserBaseTest.startApp(UserBaseTest.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:589)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterMethod killServer([TestResult name=writePost on [WritePostTest passed=0 failed=0 skipped=0] status=SKIP method=WritePostTest.writePost()[pri:0, instance:[WritePostTest passed=0 failed=0 skipped=0]] output={null}])
java.lang.NullPointerException
at com.appium.config.UserBaseTest.killServer(UserBaseTest.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:707)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterClass killAppiumServer
java.lang.NullPointerException
at com.appium.manager.AppiumParallelTest.killAppiumServer(AppiumParallelTest.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:232)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:115)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @BeforeMethod startApp(public void com.appium.tests.WritePostTest1.deleteTheCreatedPost_1())
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 983 milliseconds
Build info: version: ‘2.53.1’, revision: ‘a36b8b1cd5757287168e54b817830adce9b0158d’, time: ‘2016-06-30 19:26:09’
System info: host: ‘deber1alp00016.group.on’, ip: ‘10.130.97.182’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.6’, java.version: ‘1.8.0_73’
Driver info: io.appium.java_client.ios.IOSDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132)
at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:82)
at com.appium.manager.AppiumParallelTest.startingServerInstance(AppiumParallelTest.java:287)
at com.appium.manager.AppiumParallelTest.startAppiumServerInParallel(AppiumParallelTest.java:240)
at com.appium.config.UserBaseTest.startApp(UserBaseTest.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:589)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterMethod killServer([TestResult name=deleteTheCreatedPost_1 on [WritePostTest1 passed=0 failed=0 skipped=0] status=SKIP method=WritePostTest1.deleteTheCreatedPost_1()[pri:0, instance:[WritePostTest1 passed=0 failed=0 skipped=0]] output={null}])
java.lang.NullPointerException
at com.appium.config.UserBaseTest.killServer(UserBaseTest.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:707)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @BeforeMethod startApp(public void com.appium.tests.WritePostTest1.writePost_1() throws java.lang.InterruptedException)
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 848 milliseconds
Build info: version: ‘2.53.1’, revision: ‘a36b8b1cd5757287168e54b817830adce9b0158d’, time: ‘2016-06-30 19:26:09’
System info: host: ‘deber1alp00016.group.on’, ip: ‘10.130.97.182’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.6’, java.version: ‘1.8.0_73’
Driver info: io.appium.java_client.ios.IOSDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132)
at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:82)
at com.appium.manager.AppiumParallelTest.startingServerInstance(AppiumParallelTest.java:287)
at com.appium.manager.AppiumParallelTest.startAppiumServerInParallel(AppiumParallelTest.java:240)
at com.appium.config.UserBaseTest.startApp(UserBaseTest.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:589)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterMethod killServer([TestResult name=writePost_1 on [WritePostTest1 passed=0 failed=0 skipped=0] status=SKIP method=WritePostTest1.writePost_1()[pri:0, instance:[WritePostTest1 passed=0 failed=0 skipped=0]] output={null}])
java.lang.NullPointerException
at com.appium.config.UserBaseTest.killServer(UserBaseTest.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:707)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILED CONFIGURATION: @AfterClass killAppiumServer
java.lang.NullPointerException
at com.appium.manager.AppiumParallelTest.killAppiumServer(AppiumParallelTest.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:232)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:115)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:400)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

SKIPPED CONFIGURATION: @AfterClass afterClass
SKIPPED CONFIGURATION: @BeforeClass beforeClass
SKIPPED CONFIGURATION: @AfterClass afterClass
SKIPPED CONFIGURATION: @BeforeClass beforeClass
SKIPPED CONFIGURATION: @AfterClass afterClass
SKIPPED CONFIGURATION: @BeforeClass beforeClass
SKIPPED CONFIGURATION: @AfterClass afterClass
SKIPPED CONFIGURATION: @BeforeClass beforeClass
SKIPPED CONFIGURATION: @AfterClass afterClass
SKIPPED CONFIGURATION: @BeforeClass beforeClass
SKIPPED CONFIGURATION: @AfterClass afterClass
SKIPPED: addComment on [AddCommentTest passed=0 failed=0 skipped=0]
SKIPPED: logOutTest on [LoginTest passed=0 failed=0 skipped=0]
SKIPPED: loginWithInValidUser on [LoginTest passed=0 failed=0 skipped=0]
SKIPPED: loginWithValidUser on [LoginTest passed=0 failed=0 skipped=0]
SKIPPED: loginWithValidUser on [MultiLoginTest passed=0 failed=0 skipped=0]
SKIPPED: webTest on [WebTest passed=0 failed=0 skipped=0]
SKIPPED: deleteTheCreatedPost on [WritePostTest passed=0 failed=0 skipped=0]
SKIPPED: writePost on [WritePostTest passed=0 failed=0 skipped=0]
SKIPPED: deleteTheCreatedPost_1 on [WritePostTest1 passed=0 failed=0 skipped=0]
SKIPPED: writePost_1 on [WritePostTest1 passed=0 failed=0 skipped=0]

===============================================
TestNG Test0
Tests run: 10, Failures: 0, Skips: 10
Configuration Failures: 26, Skips: 11

===============================================
TestNG Forum
Total tests run: 10, Failures: 0, Skips: 10
Configuration Failures: 26, Skips: 11

[TestNG] Time taken by org.testng.reporters.EmailableReporter2@6af93788: 14 ms
[TestNG] Time taken by org.testng.reporters.jq.Main@78e117e3: 26 ms
[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@7880cdf3: 11 ms
[TestNG] Time taken by org.testng.reporters.XMLReporter@47d90b9e: 13 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@65466a6a: 9 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 4 ms
Finally complete

Can the reason be for failing the different config-properies is? I added the ios path into it.

APP_PACKAGE=com.groupon.redemption.internal
APP_ACTIVITY=com.android2.calculator3.Calculator
RUNNER=parallel
APPIUM_JS_PATH=/usr/local/lib/node_modules/appium/build/lib/main.js
BROWSER_TYPE=chrome
APP_TYPE=NA
BUNDLE_ID=com.tesco.grocery
APP_PATH=/Users/mkreische/Tools/MMA/iOS/build/Debug-iphonesimulator/redemption.ipa
FRAMEWORK=testng
MONGODB_SERVER=ADDRESS_OF_THE_SERVER
MONGODB_PORT=PORT_NUMBER

Best and thx in advanced,
Martin

PS: Sorry for the big log file which i posted above. I know its not nice to have such big log file in the thread. But I dont have any idea which row in log file is really importand for my issue.

@Martin i’m guessing you have given the debug ipa file and also pls make sure you have changed the BUNDLE_ID=“yourappbundleID”

make sure its the below attribute

IOS_APP_PATH=path to your IPA file

if your running against ANDROID then it should be

ANDROID_APP_PATH=

If you still don’t get it working, pls upload a sample project will take a look at it …