Appium Unknown error

Hi,
I have several test packs that I am running for my native iOS app, every so often i am getting a very odd failure where it would appear that appium fails to relaunch the app.
Here is the stack trace:

[XCUITest] UnknownError: An unknown server-side error occurred while processing the command. Original error: Failed     to launch *XXXXXX* application
08:53:52     at errorFromCode (../../../lib/mjsonwp/errors.js:398:10)
08:53:52     at XCUITestDriver.callee$0$0$ (../../../lib/commands/proxy-helper.js:22:11)
08:53:52     at tryCatch (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
08:53:52     at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
08:53:52     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
08:53:52     at GeneratorFunctionPrototype.invoke (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
08:53:52  { UnknownError: An unknown server-side error occurred while processing the command. Original error: Failed to launch *XXXXXX* application
08:53:52     at errorFromCode (../../../lib/mjsonwp/errors.js:398:10)
08:53:52     at XCUITestDriver.callee$0$0$ (../../../lib/commands/proxy-helper.js:22:11)
08:53:52     at tryCatch (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
08:53:52     at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
08:53:52     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
08:53:52     at GeneratorFunctionPrototype.invoke (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) jsonwpCode: 13 }
08:53:52 Failure in before hook:Hooks.setup()
08:53:52 Message: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Failed to launch *XXXXXX* application (WARNING: The server did not provide any stacktrace information)
08:53:52 Command duration or timeout: 392.67 seconds
08:53:52 Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09'
08:53:52 System info: host: 'Appium.local', ip: '192.168.50.170', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.1', java.version: '1.8.0_102'
08:53:52 Driver info: io.appium.java_client.ios.IOSDriver
08:53:52 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
08:53:52 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
08:53:52 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
08:53:52 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
08:53:52 	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
08:53:52 	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
08:53:52 	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
08:53:52 	at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
08:53:52 	at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
08:53:52 	at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
08:53:52 	at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
08:53:52 	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
08:53:52 	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:144)
08:53:52 	at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:36)
08:53:52 	at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:114)
08:53:52 	at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:132)
08:53:52 	at io.appium.java_client.ios.IOSDriver.<init>(IOSDriver.java:82)
08:53:52 	at *XXXXXX*.appium.utils.AppUtils.createNewDriver(AppUtils.java:88)
08:53:52 	at *XXXXXX*.utils.AppUtils.resetDriver(AppUtils.java:71)
08:53:52 	at *XXXXXX*.stepdefs.Hooks.setup(Hooks.java:30)
08:53:52 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
08:53:52 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
08:53:52 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
08:53:52 	at java.lang.reflect.Method.invoke(Method.java:498)
08:53:52 	at cucumber.runtime.Utils$1.call(Utils.java:37)
08:53:52 	at cucumber.runtime.Timeout.timeout(Timeout.java:13)
08:53:52 	at cucumber.runtime.Utils.invoke(Utils.java:31)
08:53:52 	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
08:53:52 	at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:223)
08:53:52 	at cucumber.runtime.Runtime.runHooks(Runtime.java:211)
08:53:52 	at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:201)
08:53:52 	at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:40)
08:53:52 	at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91)
08:53:52 	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
08:53:52 	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
08:53:52 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
08:53:52 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
08:53:52 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
08:53:52 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
08:53:52 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
08:53:52 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
08:53:52 	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
08:53:52 	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93)
08:53:52 	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37)
08:53:52 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
08:53:52 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
08:53:52 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
08:53:52 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
08:53:52 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
08:53:52 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
08:53:52 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
08:53:52 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
08:53:52 	at cucumber.api.junit.Cucumber.run(Cucumber.java:98)
08:53:52 	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
08:53:52 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
08:53:52 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
08:53:52 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
08:53:52 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
08:53:52 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
08:53:52 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
08:53:52 
08:53:52       org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Failed to launch *XXXXXX* application (WARNING: The server did not provide any stacktrace information)
08:53:52       Command duration or timeout: 392.67 seconds
08:53:52       Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09'
08:53:52       System info: host: 'Appium.local', ip: '192.168.50.170', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.1', java.version: '1.8.0_102'
08:53:52       Driver info: io.appium.java_client.ios.IOSDriver
08:53:52       	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
08:53:52       	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
08:53:52       	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
08:53:52       	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
08:53:52       	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
08:53:52       	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
08:53:52       	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
08:53:52       	at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
08:53:52       	at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
08:53:52       	at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
08:53:52       	at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
08:53:52       	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
08:53:52       	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:144)
08:53:52       	at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:36)
08:53:52       	at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:114)
08:53:52       	at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:132)
08:53:52       	at io.appium.java_client.ios.IOSDriver.<init>(IOSDriver.java:82)
08:53:52       	at *XXXXXX*.utils.AppUtils.createNewDriver(AppUtils.java:88)
08:53:52       	at *XXXXXX*.utils.AppUtils.resetDriver(AppUtils.java:71)
08:53:52       	at *XXXXXX*.stepdefs.Hooks.setup(Hooks.java:30)
08:53:52       	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
08:53:52       	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
08:53:52       	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
08:53:52       	at java.lang.reflect.Method.invoke(Method.java:498)
08:53:52       	at cucumber.runtime.Utils$1.call(Utils.java:37)
08:53:52       	at cucumber.runtime.Timeout.timeout(Timeout.java:13)
08:53:52       	at cucumber.runtime.Utils.invoke(Utils.java:31)
08:53:52       	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
08:53:52       	at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:223)
08:53:52       	at cucumber.runtime.Runtime.runHooks(Runtime.java:211)
08:53:52       	at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:201)
08:53:52       	at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:40)
08:53:52       	at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91)
08:53:52       	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
08:53:52       	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
08:53:52       	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
08:53:52       	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
08:53:52       	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
08:53:52       	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
08:53:52       	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
08:53:52       	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
08:53:52       	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
08:53:52       	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93)
08:53:52       	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37)
08:53:52       	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
08:53:52       	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
08:53:52       	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
08:53:52       	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
08:53:52       	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
08:53:52       	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
08:53:52       	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
08:53:52       	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
08:53:52       	at cucumber.api.junit.Cucumber.run(Cucumber.java:98)
08:53:52       	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
08:53:52       	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
08:53:52       	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
08:53:52       	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
08:53:52       	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
08:53:52       	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
08:53:52       	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

I will post the appium log in a second too, just waiting for it to finish the last of the tests.
I know this only happens when i am running a series of tests, if i run them individually or a small group of them, then its fine. Its almost as if the driver is timing out and then failing to get a hook back into the simulator.

BTW: ios 10, iphone 6 simulator and appium 1.6.3

And here is the log:

2016-12-16 08:51:48:920 - debug: [WebDriverAgent] Sim: Dec 16 08:51:48 Appium CoreSimulatorBridge[5776]: Launch attempt #0 for bundle 'com.apple.test.WebDriverAgentRunner-Runner', have been trying to launch for 0 seconds. Modern launch services = YES
    2016-12-16 08:51:48:920 - debug: [WebDriverAgent] Sim: Dec 16 08:51:48 Appium CoreSimulatorBridge[5776]: Got LSBundleProxy for 'com.apple.test.WebDriverAgentRunner-Runner', sequenceNumber 348, cacheGUID 349A4EF3-4CD8-4013-88F7-58B7B2116CCC
    2016-12-16 08:51:48:921 - debug: [WebDriverAgent] Sim: Dec 16 08:51:48 Appium CoreSimulatorBridge[5776]: [Common] [FBSSystemService][0x318a] Sending request to open "com.apple.test.WebDriverAgentRunner-Runner"
    2016-12-16 08:51:48:944 - debug: [WebDriverAgent] Sim: Dec 16 08:51:48 Appium CoreSimulatorBridge[5776]: [Common] [FBSSystemService][0x318a] Request successful: <FBSProcessHandle: 0x7fa133f20920; XCTRunner:14833; valid: YES>
    2016-12-16 08:51:48:947 - debug: [WebDriverAgent] Sim: Dec 16 08:51:48 Appium CoreSimulatorBridge[5776]: Launch successful for 'com.apple.test.WebDriverAgentRunner-Runner'
    2016-12-16 08:51:49:039 - debug: [WebDriverAgent] Sim: Dec 16 08:51:49 Appium XCTRunner[14833]: assertion failed: 16B2555 14A345: libxpc.dylib + 62597 [37A9DF49-35C1-3D93-B854-B35CACF0100F]: 0x7d
    2016-12-16 08:51:49:158 - debug: [WebDriverAgent] Sim: Dec 16 08:51:49 Appium XCTRunner[14833]: Running tests...
    2016-12-16 08:51:49:956 - debug: [WebDriverAgent] Sim: Dec 16 08:51:49 Appium XCTRunner[14833]: Continuing to run tests in the background with task ID 1
    2016-12-16 08:51:50:572 - debug: [WebDriverAgent] Sim: Dec 16 08:51:50 Appium XCTRunner[14833]: Built at Dec 14 2016 23:59:30
    2016-12-16 08:51:50:585 - info: [XCUITest] Detected that WebDriverAgent is running at url 'http://192.168.50.170:8100'
    2016-12-16 08:51:50:585 - debug: [WebDriverAgent] Sim: Dec 16 08:51:50 Appium XCTRunner[14833]: ServerURLHere->http://192.168.50.170:8100<-ServerURLHere
    2016-12-16 08:51:50:585 - info: [XCUITest] WebDriverAgent started at url 'http://192.168.50.170:8100'
    2016-12-16 08:51:50:586 - debug: [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"*App*","arguments":[],"environment":{},"shouldWaitForQuiescence":true}}
    2016-12-16 08:52:51:186 - debug: [WebDriverAgent] Sim: Dec 16 08:52:51 Appium XCTRunner[14833]: Enqueue Failure: UI Testing Failure - App accessibility isn't loaded /Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 35 1
    2016-12-16 08:53:51:227 - debug: [WebDriverAgent] Sim: Dec 16 08:53:51 Appium XCTRunner[14833]: Enqueue Failure: UI Testing Failure - '<XCUIApplicationImpl: 0x6080002245a0 *App*>' App state is still not running active, state = XCApplicationStateNotRunning /Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 35 1
    2016-12-16 08:53:52:410 - debug: [JSONWP Proxy] Got response with status 200: {"value":"Failed to launch *App* application","sessionId":"AE6D1BAD-D724-4981-B290-200BDC36976B","status":13}
    2016-12-16 08:53:52:411 - debug: [XCUITest] Unable to start WebDriverAgent session: An unknown server-side error occurred while processing the command. Original error: Failed to launch *App* application
    2016-12-16 08:53:52:426 - error: [XCUITest] UnknownError: An unknown server-side error occurred while processing the command. Original error: Failed to launch *App* application
    at errorFromCode (../../../lib/mjsonwp/errors.js:398:10)
    at XCUITestDriver.callee$0$0$ (../../../lib/commands/proxy-helper.js:22:11)
    at tryCatch (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
    at GeneratorFunctionPrototype.invoke (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
     { UnknownError: An unknown server-side error occurred while processing the command. Original error: Failed to launch *App* application
    at errorFromCode (../../../lib/mjsonwp/errors.js:398:10)
    at XCUITestDriver.callee$0$0$ (../../../lib/commands/proxy-helper.js:22:11)
    at tryCatch (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
    at GeneratorFunctionPrototype.invoke (/Users/jenkins/workspace/mobile_appium_tests-pack-4/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) jsonwpCode: 13 }
    2016-12-16 08:53:52:426 - debug: [JSONWP Proxy] Proxying [DELETE /session/a37080fb-8dc1-46cd-9b14-6241ea6f7239] to [DELETE http://localhost:8100/session/AE6D1BAD-D724-4981-B290-200BDC36976B] with no body
    2016-12-16 08:53:52:463 - debug: [JSONWP Proxy] Got response with status 200: "{\n  \"value\" : {\n\n  },\n  \"sessionId\" : \"8976E02A-9BEC-4B86-9796-6BFB79DAACDD\",\n  \"status\" : 0\n}"
    2016-12-16 08:53:52:463 - info: [XCUITest] Shutting down sub-processes
    2016-12-16 08:53:52:463 - info: [XCUITest] Shutting down xcodebuild process (pid 14780)
    2016-12-16 08:53:52:477 - info: [XCUITest] xcodebuild exited with code 'null' and signal 'SIGTERM'
    2016-12-16 08:53:52:478 - info: [XCUITest] Shutting down Logger process (pid 14792)
    2016-12-16 08:53:52:479 - info: [XCUITest] Simulator log exited with code 'null'
    2016-12-16 08:53:52:480 - debug: [XCUITest] Reset not set, not ending sim
    2016-12-16 08:53:52:480 - debug: [iOSLog] Stopping iOS log capture
    2016-12-16 08:53:52:483 - info: [HTTP] <-- POST /wd/hub/session 500 392655 ms - 187 
    2016-12-16 08:53:52:693 - info: [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/jenkins/workspace/mobile_appium_tests-pack-4/*App*.app","noReset":true,"platformVersion":"10.0","automationName":"XCUITest","autoDismissAlerts":false,"platformName":"iOS","deviceName":"iPhone 6s","fullReset":false,"autoAcceptAlerts":false}}
    2016-12-16 08:53:52:694 - debug: [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/jenkins/workspace/mobile_appium_tests-pack-4/*App*.app","noReset":true,"platformVersion":"10.0","automationName":"XCUITest","autoDismissAlerts":false,"platformName":"iOS","deviceName":"iPhone 6s","fullReset":false,"autoAcceptAlerts":false},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]

Can you just paste the complete logs as a gist file ?

https://gist.github.com/Reedyuk/15b8859b7be8896bd8e7977035acad9d

https://gist.github.com/Reedyuk/4ae1c02c2c4946b3bf959ae3f9b11e52

Can you share desired capabilities also

Go through this link also https://github.com/appium/appium/issues/6597 once…

Here is the capabilities:

capabilities.setCapability(PLATFORM_VERSION, platformVersion);
capabilities.setCapability(PLATFORM_NAME, platformName);
capabilities.setCapability(DEVICE_NAME, deviceName);
capabilities.setCapability(AUTOMATION_NAME, instrumentation);
capabilities.setCapability(AUTO_ACCEPT_ALERTS, false);
capabilities.setCapability(AUTO_DISMISS_ALERTS, false);
capabilities.setCapability(APP, new File(applicationName).getAbsolutePath());
capabilities.setCapability(NO_RESET, true);
capabilities.setCapability(FULL_RESET, false);

And the values are:

device.name=iPhone 6s
platform.version=10.0
platform.name=iOS
automation.instrumentation=XCUITest

I also looked through that long thread, i saw that one person had the same problem but nothing was mentioned after that.
In that thread, it seemed there was alot of noise from lots of different problems people were having.
Anyway, any thoughts on the cause?