This is another one.
(node:2313) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
[Appium] Welcome to Appium v1.6.0
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.6.0"...
[HTTP] <-- GET /wd/hub/status 200 18 ms - 83
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/kiruba-3665/Library/Developer/Xcode/DerivedData/zohoform-apfvajhhubdtpddzzgymxvssgkev/Build/Products/Release-iphoneos/Zoho Forms.app","noReset":true,"bundleId":"com.zoho.zohoform","version":"","deviceName":"Rafi's iPad","fullReset":false,"platform":"iOS","newCommandTimeout":"120","realDeviceLogger":"/usr/local/lib/node_modules/deviceconsole/deviceconsole","platformVersion":"9.3","automationName":"XCUITest","browserName":"","coreSimulator":"/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework","udid":"5a2f5b798b6f9c60278368ef8a60bb8ca937ae46","platformName":"iOS"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/kiruba-3665...
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] app: '/Users/kiruba-3665/Library/Developer/Xcode/DerivedData/zohoform-apfvajhhubdtpddzzgymxvssgkev/Build/Products/Release-iphoneos/Zoho Forms.app'
[Appium] noReset: true
[Appium] bundleId: 'com.zoho.zohoform'
[Appium] version: ''
[Appium] deviceName: 'Rafi\'s iPad'
[Appium] fullReset: false
[Appium] platform: 'iOS'
[Appium] newCommandTimeout: '120'
[Appium] realDeviceLogger: '/usr/local/lib/node_modules/deviceconsole/deviceconsole'
[Appium] platformVersion: '9.3'
[Appium] automationName: 'XCUITest'
[Appium] browserName: ''
[Appium] coreSimulator: '/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework'
[Appium] udid: '5a2f5b798b6f9c60278368ef8a60bb8ca937ae46'
[Appium] platformName: 'iOS'
[debug] [XCUITest] XCUITestDriver version: 2.0.26
[BaseDriver] Capability 'newCommandTimeout' changed from string ('120') to integer (120). This may cause unexpected behavior
[BaseDriver] The following capabilities were provided, but are not recognized by appium: version, platform, coreSimulator.
[BaseDriver] Session created with session id: f549aa23-72b9-4eea-bdd2-1d06c431d314
[debug] [XCUITest] Xcode version set to '8.0'
[debug] [XCUITest] iOS SDK Version set to '10.0'
[debug] [XCUITest] Available devices: 5a2f5b798b6f9c60278368ef8a60bb8ca937ae46
[debug] [XCUITest] Creating iDevice object with udid 5a2f5b798b6f9c60278368ef8a60bb8ca937ae46
[XCUITest] Determining device to run tests on: udid: '5a2f5b798b6f9c60278368ef8a60bb8ca937ae46', real device: true
[BaseDriver] Using local app '/Users/kiruba-3665/Library/Developer/Xcode/DerivedData/zohoform-apfvajhhubdtpddzzgymxvssgkev/Build/Products/Release-iphoneos/Zoho Forms.app'
[debug] [XCUITest] Checking whether app is actually present
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'
[XCUITest] Setting up real device
[debug] [XCUITest] Stdout from app isInstalled check: [....] Waiting for iOS device to be connected
[....] Using iPad 4 (CDMA) 'Rafi's iPad' (5a2f5b798b6f9c60278368ef8a60bb8ca937ae46).
true
[debug] [XCUITest] App is installed.
[debug] [XCUITest] Full reset not requested. No need to install.
[XCUITest] Using default agent: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
[XCUITest] Using default bootstrap: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Beginning test with command '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/bin/run-xcodebuild.sh --project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj --scheme WebDriverAgentRunner --destination id=5a2f5b798b6f9c60278368ef8a60bb8ca937ae46' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Waiting for WebDriverAgent to start on device
[debug] [XCUITest] Log file for xcodebuild test: /Users/kiruba-3665/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/9FD97AC6-B26E-454A-9279-02B3A940D6A6/Session-WebDriverAgentRunner-2016-12-06_233017-85YQTG.log
[Xcode] 2016-12-06 23:30:27.912 xcodebuild[2324:29836] DTDeviceKit: Could not start house arrest service for app identifier com.apple.test.WebDriverAgentRunner-Runner [Error Domain=com.apple.dtdevicekit Code=-402653093 "Too many instances of this service are already running." UserInfo={NSLocalizedFailureReason=Too many instances of this service are already running., com.apple.dtdevicekit.stacktrace=(
0 DTDeviceKitBase 0x00000001184d43cb DTDKCreateNSError + 113
1 DTDeviceKitBase 0x00000001184d4b09 DTDK_AMDErrorToNSError + 791
2 DTDeviceKitBase 0x00000001184e62f5 _70-[DTDKRemoteDeviceConnection startHouseArrestServiceForAppIdentifier:]block_invoke + 100
3 DTDeviceKitBase 0x00000001184e51d1 _48-[DTDKRemoteDeviceConnection futureWithSession:]block_invoke_4 + 22
4 DTDeviceKitBase 0x00000001184d7317 _DTDKExecuteInSessionblock_invoke + 38
5 DTDeviceKitBase 0x00000001184d6940 _DTDKExecuteWithConnectionblock_invoke_2 + 477
6 DTDeviceKitBase 0x00000001184d673c _DTDKExecuteWithConnectionblock_invoke + 107
7 libdispatch.dylib 0x00007fff974c540b dispatchclient_callout + 8
8 libdispatch.dylib 0x00007fff974c69f2 dispatchbarrier_sync_f_invoke + 74
9 DVTFoundation 0x000000010f354bef DVTDispatchBarrierSync + 206
10 DVTFoundation 0x000000010f33159b -[DVTDispatchLock performLockedBlock:] + 116
11 DTDeviceKitBase 0x00000001184d6646 DTDKExecuteWithConnection + 223
12 DTDeviceKitBase 0x00000001184d72a1 DTDKExecuteInSession + 121
13 DTDeviceKitBase 0x00000001184e5108 _48-[DTDKRemoteDeviceConnection futureWithSession:]block_invoke_3 + 117
14 DVTFoundation 0x000000010f353f4b _DVTDispatchAsyncblock_invoke + 827
15 libdispatch.dylib 0x00007fff974d093d dispatchcall_block_and_release + 12
16 libdispatch.dylib 0x00007fff974c540b dispatchclient_callout + 8
17 libdispatch.dylib 0x00007fff974d7bd7 dispatchasync_redirect_invoke + 1733
18 libdispatch.dylib 0x00007fff974c540b dispatchclient_callout + 8
19 libdispatch.dylib 0x00007fff974c929b dispatchroot_queue_drain + 1890
20 libdispatch.dylib 0x00007fff974c8b00 dispatchworker_thread3 + 91
21 libsystem_pthread.dylib 0x00007fff87a5e4de pthreadwqthread + 1129
22 libsystem_pthread.dylib 0x00007fff87a5c341 start_wqthread + 13
), NSLocalizedRecoverySuggestion=Too many instances of this service are already running., NSLocalizedDescription=Too many instances of this service are already running.}]
[debug] [WebDriverAgent] Device: Dec 6 23:30:25 Rafis-iPad XCTRunner[321] : Running tests...
[debug] [WebDriverAgent] Device: Dec 6 23:30:25 Rafis-iPad XCTRunner[321] : Unable to load configuration data from specified path /var/folders/70/h32fgf795yx_hlx478b9_1_rw20c9s/T/com.apple.dt.XCTest/0EE46EC4-D900-494A-B38E-4098D2E03BCB/remote-container/tmp/WebDriverAgentRunner-0EE46EC4-D900-494A-B38E-4098D2E03BCB.xctestconfiguration; error: The file doesn’t exist.
[debug] [WebDriverAgent] Device: Dec 6 23:30:25 Rafis-iPad XCTRunner[321] : Looking for test bundles in /var/containers/Bundle/Application/6A7FB83D-7F24-4B75-A5BA-83678D2AC8A4/WebDriverAgentRunner-Runner.app/PlugIns
[debug] [WebDriverAgent] Device: Dec 6 23:30:25 Rafis-iPad XCTRunner[321] : Found test bundle at /var/containers/Bundle/Application/6A7FB83D-7F24-4B75-A5BA-83678D2AC8A4/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest
[debug] [WebDriverAgent] Device: Dec 6 23:30:25 Rafis-iPad XCTRunner[321] : Looking for configurations in /var/containers/Bundle/Application/6A7FB83D-7F24-4B75-A5BA-83678D2AC8A4/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest
[debug] [WebDriverAgent] Device: Dec 6 23:30:25 Rafis-iPad XCTRunner[321] : No configurations found, creating a default configuration that will run all tests.
[debug] [WebDriverAgent] Device: Dec 6 23:30:25 Rafis-iPad XCTRunner[321] : Built at Dec 6 2016 23:30:20
[XCUITest] Detected that WebDriverAgent is running at url 'http://(null):8100'
[debug] [WebDriverAgent] Device: Dec 6 23:30:25 Rafis-iPad XCTRunner[321] : ServerURLHere->http://(null):8100<-ServerURLHere
[debug] [WebDriverAgent] Device: Dec 6 23:30:25 Rafis-iPad XCTRunner[321] : Listening on USB
[XCUITest] WebDriverAgent started at url 'http://(null):8100'
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bu...
[debug] [WebDriverAgent] Device: Dec 6 23:31:27 Rafis-iPad XCTRunner[321] : Enqueue Failure: UI Testing Failure - Unable to update application state promptly. 0 1
[debug] [WebDriverAgent] Device: Dec 6 23:32:42 Rafis-iPad XCTRunner[321] : Enqueue Failure: UI Testing Failure - App state of (null) is still unknown 0 1
[debug] [WebDriverAgent] Device: Dec 6 23:33:42 Rafis-iPad XCTRunner[321] : Enqueue Failure: UI Testing Failure - App accessibility isn't loaded 0 1
[debug] [iProxy] recv failed: Resource temporarily unavailable
[XCUITest] ProxyRequestError: Could not proxy command to remote server. Original error: Error: ESOCKETTIMEDOUT
at JWProxy.proxy$ (lib/jsonwp-proxy/proxy.js:122:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.prototype.(anonymous function) as throw
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
{ ProxyRequestError: Could not proxy command to remote server. Original error: Error: ESOCKETTIMEDOUT
at JWProxy.proxy$ (lib/jsonwp-proxy/proxy.js:122:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.prototype.(anonymous function) as throw
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
jsonwp:
{ Error: ESOCKETTIMEDOUT
at ClientRequest. (/usr/local/lib/node_modules/appium/node_modules/request/request.js:776:19)
at ClientRequest.g (events.js:292:16)
at emitNone (events.js:86:13)
at ClientRequest.emit (events.js:185:7)
at Socket.socket.once (httpclient.js:565:38)
at Socket.g (events.js:292:16)
at emitNone (events.js:91:20)
at Socket.emit (events.js:185:7)
at Socket._onTimeout (net.js:342:8)
at ontimeout (timers.js:365:14)
at tryOnTimeout (timers.js:237:5)
at Timer.listOnTimeout (timers.js:207:5) code: 'ESOCKETTIMEDOUT', connect: false } }
[JSONWP Proxy] Proxying [DELETE /session/f549aa23-72b9-4eea-bdd2-1d06c431d314] to [DELETE http://localhost:8100/session/f549aa23-72b9-4eea-bdd2-1d06c431d314] with no body
[debug] [iProxy] recv failed: Resource temporarily unavailable
[debug] [iProxy] recv failed: Operation not permitted
[debug] [WebDriverAgent] Device: Dec 6 23:34:43 Rafis-iPad XCTRunner[321] : Enqueue Failure: UI Testing Failure - '' App state is still not running active, state = XCApplicationStateUnknown 0 1
[debug] [WebDriverAgent] Device: Dec 6 23:34:43 Rafis-iPad com.apple.xpc.launchd1 : Service exited due to signal: Abort trap: 6
[debug] [WebDriverAgent] Device: Dec 6 23:34:43 Rafis-iPad XCTRunner[321] : *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSSetM addObject:]: object cannot be nil'
[debug] [WebDriverAgent] Device: *** First throw call stack:
[debug] [WebDriverAgent] Device: (0x2122db0b 0x209eadff 0x21145f01 0x20dbfcbf 0x20dc9e7f 0x20dc2e17 0x20dcb6a1 0x20dcb07b 0x20f5ee0d 0x20f5e9fc)
[debug] [WebDriverAgent] Device: Dec 6 23:34:43 Rafis-iPad diagnosticd[82] : error evaluating process info - pid: 321, puniqueid: 321
[debug] [WebDriverAgent] Device: Dec 6 23:34:43 Rafis-iPad SpringBoard[48] : Unable to get short BSD proc info for 321: No such process
[debug] [WebDriverAgent] Device: Dec 6 23:34:43 Rafis-iPad SpringBoard[48] : Unable to get short BSD proc info for 321: No such process
[debug] [WebDriverAgent] Device: Dec 6 23:34:43 Rafis-iPad SpringBoard[48] : Unable to get short BSD proc info for 321: No such process
[debug] [WebDriverAgent] Device: Dec 6 23:34:43 Rafis-iPad testmanagerd[319] : testmanagerd exiting, idle with no test activity.
[debug] [WebDriverAgent] Device: Dec 6 23:34:43 Rafis-iPad notification_proxy[180] : 0x40081000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
[Xcode] 2016-12-06 23:34:46.781 xcodebuild[2324:29811] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
Testing failed:
Test target WebDriverAgentRunner encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
** TEST FAILED **
[XCUITest] xcodebuild exited with code '1' and signal 'null'
[MJSONWP] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: Error: socket hang up
at JWProxy.proxy$ (lib/jsonwp-proxy/proxy.js:122:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.prototype.(anonymous function) as throw
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session 500 280248 ms - 216
Exception in thread "main" org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: socket hang up (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 280.42 seconds
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
System info: host: 'kiruba-3665', ip: '192.168.0.102', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_77'
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:423)
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 Test.main(Test.java:46)