Skip to content

Instantly share code, notes, and snippets.

@aryalakshmi
Created May 10, 2019 06:44
Show Gist options
  • Save aryalakshmi/6de4042f5feedee8e2da120ef96f1ebf to your computer and use it in GitHub Desktop.
Save aryalakshmi/6de4042f5feedee8e2da120ef96f1ebf to your computer and use it in GitHub Desktop.
The server is running
[Appium] Welcome to Appium v1.13.0
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","automationName":"XCUITest","updatedWDABundleId":"com.xyz.abc","noReset":"false","autoWebview":"true","xcodeConfigFile":"/Users/digitalhome/Desktop/.xcconfig","webkitResponseTimeout":"180000","newCommandTimeout":"1200","platformVersion":"12.1.4","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.nokia.wifi"}}
[W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","automationName":"XCUITest","updatedWDABundleId":"com.xyz.abc","noReset":"false","autoWebview":"true","xcodeConfigFile":"/Users/digitalhome/Desktop/.xcconfig","webkitResponseTimeout":"180000","newCommandTimeout":"1200","platformVersion":"12.1.4","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.nokia.wifi"},null,{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]}]
[BaseDriver] Event 'newSessionRequested' logged at 1557470272669 (12:07:52 GMT+0530 (IST))
[Appium] Could not parse W3C capabilities: 'deviceName' can't be blank
[Appium] Trying to fix W3C capabilities by merging them with JSONWP caps
[BaseDriver] The capabilities ["deviceName","wdaStartupRetryInterval","udid","automationName","updatedWDABundleId","noReset","autoWebview","xcodeConfigFile","webkitResponseTimeout","newCommandTimeout","platformVersion","fullReset","shouldUseSingletonTestManager","waitForQuiescence","bundleId"] are not standard capabilities and should have an extension prefix
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[Appium] Appium v1.13.0 creating new XCUITestDriver (v2.113.2) session
[Appium] Capabilities:
[Appium] platformName: iOS
[Appium] deviceName: 'iPhone'
[Appium] wdaStartupRetryInterval: 20000
[Appium] udid: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[Appium] automationName: XCUITest
[Appium] updatedWDABundleId: com.xyz.abc
[Appium] noReset: false
[Appium] autoWebview: true
[Appium] xcodeConfigFile: /Users/digitalhome/Desktop/.xcconfig
[Appium] webkitResponseTimeout: 180000
[Appium] newCommandTimeout: 1200
[Appium] platformVersion: 12.1.4
[Appium] fullReset: false
[Appium] shouldUseSingletonTestManager: false
[Appium] waitForQuiescence: false
[Appium] bundleId: com.nokia.wifi
[BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"deviceName":"'iPhone'","w... were provided
[BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa...
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Capability 'autoWebview' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'waitForQuiescence' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'shouldUseSingletonTestManager' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'newCommandTimeout' changed from string ('1200') to integer (1200). This may cause unexpected behavior
[BaseDriver] Capability 'wdaStartupRetryInterval' changed from string ('20000') to integer (20000). This may cause unexpected behavior
[BaseDriver] Capability 'webkitResponseTimeout' changed from string ('180000') to integer (180000). This may cause unexpected behavior
[BaseDriver] Session created with session id: d8f7d98c-91ac-4d8a-9961-3da4bf3ac080
[XCUITest] Current user: 'digitalhome'
[XCUITest] Available devices: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[XCUITest] Creating iDevice object with udid 'c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35'
[XCUITest] Determining device to run tests on: udid: 'c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35', real device: true
[XCUITest] iOS SDK Version set to '12.2'
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1557470272705 (12:07:52 GMT+0530 (IST))
[BaseDriver] Event 'appConfigured' logged at 1557470272705 (12:07:52 GMT+0530 (IST))
[BaseDriver] Event 'resetStarted' logged at 1557470272705 (12:07:52 GMT+0530 (IST))
[XCUITest] Reset: running ios real device reset flow
[BaseDriver] Event 'resetComplete' logged at 1557470272706 (12:07:52 GMT+0530 (IST))
[iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[iOSLog] Starting iOS device log capture with: 'idevicesyslog'
[XCUITest] Crash reports root '/Users/digitalhome/Library/Logs/CrashReporter/MobileDevice/PT’s iPhone 5s' does not exist. Got nothing to gather.
[BaseDriver] Event 'logCaptureStarted' logged at 1557470272899 (12:07:52 GMT+0530 (IST))
[XCUITest] Setting up real device
[XCUITest] Calling: 'ios-deploy --exists --id c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35 --bundle_id com.nokia.wifi'
[XCUITest] Stdout: '[....] Waiting for iOS device to be connected
[XCUITest] [....] Using c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35 (N53AP, iPhone 5s (Global/CDMA), iphoneos, arm64) a.k.a. 'PT’s iPhone 5s'.
[XCUITest] true
[XCUITest] '
[XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[XCUITest] WDA is not listening at 'http://localhost:8100/'
[XCUITest] WDA is currently not running. There is nothing to cache
[XCUITest] Trying to start WebDriverAgent 1 times with 20000ms interval
[BaseDriver] Event 'wdaStartAttempted' logged at 1557470273398 (12:07:53 GMT+0530 (IST))
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Running WebDriverAgent bootstrap script to install dependencies
[XCUITest] Fetching dependencies
[XCUITest] python: posix_spawn: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: Undefined error: 0
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Running WebDriverAgent bootstrap script to install dependencies
[XCUITest] Fetching dependencies
[XCUITest] python: posix_spawn: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: Undefined error: 0
[BaseDriver] Event 'wdaStartFailed' logged at 1557470273860 (12:07:53 GMT+0530 (IST))
[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: Command 'Scripts/bootstrap.sh -d' exited with code 1. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] Quitting and uninstalling WebDriverAgent
[XCUITest] Shutting down sub-processes
[XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: Command 'Scripts/bootstrap.sh -d' exited with code 1. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:501:15)
[XCUITest] Parsed BUILD_DIR configuration value: '/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products'
[XCUITest] Got derived data root: '/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs'
[XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[iOSLog] Stopping iOS log capture
[BaseDriver] Event 'newSessionStarted' logged at 1557470276093 (12:07:56 GMT+0530 (IST))
[W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: Command 'Scripts/bootstrap.sh -d' exited with code 1. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[W3C] at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:501:15)
[HTTP] <-- POST /wd/hub/session 500 3425 ms - 1332
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","automationName":"XCUITest","updatedWDABundleId":"com.xyz.abc","noReset":"false","autoWebview":"true","xcodeConfigFile":"/Users/digitalhome/Desktop/.xcconfig","webkitResponseTimeout":"180000","newCommandTimeout":"1200","platformVersion":"12.1.4","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.nokia.wifi"}}
[W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","automationName":"XCUITest","updatedWDABundleId":"com.xyz.abc","noReset":"false","autoWebview":"true","xcodeConfigFile":"/Users/digitalhome/Desktop/.xcconfig","webkitResponseTimeout":"180000","newCommandTimeout":"1200","platformVersion":"12.1.4","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.nokia.wifi"},null,{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]}]
[BaseDriver] Event 'newSessionRequested' logged at 1557470276107 (12:07:56 GMT+0530 (IST))
[Appium] Could not parse W3C capabilities: 'deviceName' can't be blank
[Appium] Trying to fix W3C capabilities by merging them with JSONWP caps
[BaseDriver] The capabilities ["deviceName","wdaStartupRetryInterval","udid","automationName","updatedWDABundleId","noReset","autoWebview","xcodeConfigFile","webkitResponseTimeout","newCommandTimeout","platformVersion","fullReset","shouldUseSingletonTestManager","waitForQuiescence","bundleId"] are not standard capabilities and should have an extension prefix
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[Appium] Appium v1.13.0 creating new XCUITestDriver (v2.113.2) session
[Appium] Capabilities:
[Appium] platformName: iOS
[Appium] deviceName: 'iPhone'
[Appium] wdaStartupRetryInterval: 20000
[Appium] udid: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[Appium] automationName: XCUITest
[Appium] updatedWDABundleId: com.xyz.abc
[Appium] noReset: false
[Appium] autoWebview: true
[Appium] xcodeConfigFile: /Users/digitalhome/Desktop/.xcconfig
[Appium] webkitResponseTimeout: 180000
[Appium] newCommandTimeout: 1200
[Appium] platformVersion: 12.1.4
[Appium] fullReset: false
[Appium] shouldUseSingletonTestManager: false
[Appium] waitForQuiescence: false
[Appium] bundleId: com.nokia.wifi
[BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"deviceName":"'iPhone'","w... were provided
[BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa...
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Capability 'autoWebview' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'waitForQuiescence' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'shouldUseSingletonTestManager' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'newCommandTimeout' changed from string ('1200') to integer (1200). This may cause unexpected behavior
[BaseDriver] Capability 'wdaStartupRetryInterval' changed from string ('20000') to integer (20000). This may cause unexpected behavior
[BaseDriver] Capability 'webkitResponseTimeout' changed from string ('180000') to integer (180000). This may cause unexpected behavior
[BaseDriver] Session created with session id: 3282e00b-5112-4437-9bd5-08897a76d444
[XCUITest] Current user: 'digitalhome'
[XCUITest] Available devices: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[XCUITest] Creating iDevice object with udid 'c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35'
[XCUITest] Determining device to run tests on: udid: 'c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35', real device: true
[XCUITest] iOS SDK Version set to '12.2'
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1557470276143 (12:07:56 GMT+0530 (IST))
[BaseDriver] Event 'appConfigured' logged at 1557470276143 (12:07:56 GMT+0530 (IST))
[BaseDriver] Event 'resetStarted' logged at 1557470276143 (12:07:56 GMT+0530 (IST))
[XCUITest] Reset: running ios real device reset flow
[BaseDriver] Event 'resetComplete' logged at 1557470276143 (12:07:56 GMT+0530 (IST))
[iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[iOSLog] Starting iOS device log capture with: 'idevicesyslog'
[XCUITest] Crash reports root '/Users/digitalhome/Library/Logs/CrashReporter/MobileDevice/PT’s iPhone 5s' does not exist. Got nothing to gather.
[BaseDriver] Event 'logCaptureStarted' logged at 1557470276304 (12:07:56 GMT+0530 (IST))
[XCUITest] Setting up real device
[XCUITest] Calling: 'ios-deploy --exists --id c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35 --bundle_id com.nokia.wifi'
[XCUITest] Stdout: '[....] Waiting for iOS device to be connected
[XCUITest] [....] Using c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35 (N53AP, iPhone 5s (Global/CDMA), iphoneos, arm64) a.k.a. 'PT’s iPhone 5s'.
[XCUITest] true
[XCUITest] '
[XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[XCUITest] WDA is not listening at 'http://localhost:8100/'
[XCUITest] WDA is currently not running. There is nothing to cache
[XCUITest] Trying to start WebDriverAgent 1 times with 20000ms interval
[BaseDriver] Event 'wdaStartAttempted' logged at 1557470276803 (12:07:56 GMT+0530 (IST))
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Running WebDriverAgent bootstrap script to install dependencies
[XCUITest] Fetching dependencies
[XCUITest] python: posix_spawn: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: Undefined error: 0
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Running WebDriverAgent bootstrap script to install dependencies
[XCUITest] Fetching dependencies
[XCUITest] python: posix_spawn: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: Undefined error: 0
[BaseDriver] Event 'wdaStartFailed' logged at 1557470277288 (12:07:57 GMT+0530 (IST))
[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: Command 'Scripts/bootstrap.sh -d' exited with code 1. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] Quitting and uninstalling WebDriverAgent
[XCUITest] Shutting down sub-processes
[XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: Command 'Scripts/bootstrap.sh -d' exited with code 1. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:501:15)
[XCUITest] Parsed BUILD_DIR configuration value: '/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products'
[XCUITest] Got derived data root: '/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs'
[XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[iOSLog] Stopping iOS log capture
[BaseDriver] Event 'newSessionStarted' logged at 1557470279460 (12:07:59 GMT+0530 (IST))
[W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: Command 'Scripts/bootstrap.sh -d' exited with code 1. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[W3C] at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:501:15)
[HTTP] <-- POST /wd/hub/session 500 3354 ms - 1332
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","automationName":"XCUITest","updatedWDABundleId":"com.xyz.abc","noReset":"false","autoWebview":"true","xcodeConfigFile":"/Users/digitalhome/Desktop/.xcconfig","webkitResponseTimeout":"180000","newCommandTimeout":"1200","platformVersion":"12.1.4","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.nokia.wifi"}}
[W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","automationName":"XCUITest","updatedWDABundleId":"com.xyz.abc","noReset":"false","autoWebview":"true","xcodeConfigFile":"/Users/digitalhome/Desktop/.xcconfig","webkitResponseTimeout":"180000","newCommandTimeout":"1200","platformVersion":"12.1.4","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.nokia.wifi"},null,{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]}]
[BaseDriver] Event 'newSessionRequested' logged at 1557470279474 (12:07:59 GMT+0530 (IST))
[Appium] Could not parse W3C capabilities: 'deviceName' can't be blank
[Appium] Trying to fix W3C capabilities by merging them with JSONWP caps
[BaseDriver] The capabilities ["deviceName","wdaStartupRetryInterval","udid","automationName","updatedWDABundleId","noReset","autoWebview","xcodeConfigFile","webkitResponseTimeout","newCommandTimeout","platformVersion","fullReset","shouldUseSingletonTestManager","waitForQuiescence","bundleId"] are not standard capabilities and should have an extension prefix
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[Appium] Appium v1.13.0 creating new XCUITestDriver (v2.113.2) session
[Appium] Capabilities:
[Appium] platformName: iOS
[Appium] deviceName: 'iPhone'
[Appium] wdaStartupRetryInterval: 20000
[Appium] udid: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[Appium] automationName: XCUITest
[Appium] updatedWDABundleId: com.xyz.abc
[Appium] noReset: false
[Appium] autoWebview: true
[Appium] xcodeConfigFile: /Users/digitalhome/Desktop/.xcconfig
[Appium] webkitResponseTimeout: 180000
[Appium] newCommandTimeout: 1200
[Appium] platformVersion: 12.1.4
[Appium] fullReset: false
[Appium] shouldUseSingletonTestManager: false
[Appium] waitForQuiescence: false
[Appium] bundleId: com.nokia.wifi
[BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"deviceName":"'iPhone'","w... were provided
[BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa...
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Capability 'autoWebview' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'waitForQuiescence' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'shouldUseSingletonTestManager' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'newCommandTimeout' changed from string ('1200') to integer (1200). This may cause unexpected behavior
[BaseDriver] Capability 'wdaStartupRetryInterval' changed from string ('20000') to integer (20000). This may cause unexpected behavior
[BaseDriver] Capability 'webkitResponseTimeout' changed from string ('180000') to integer (180000). This may cause unexpected behavior
[BaseDriver] Session created with session id: df33c281-3867-4ac8-9bbc-a0e15b9f5e2e
[XCUITest] Current user: 'digitalhome'
[XCUITest] Available devices: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[XCUITest] Creating iDevice object with udid 'c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35'
[XCUITest] Determining device to run tests on: udid: 'c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35', real device: true
[XCUITest] iOS SDK Version set to '12.2'
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1557470279504 (12:07:59 GMT+0530 (IST))
[BaseDriver] Event 'appConfigured' logged at 1557470279504 (12:07:59 GMT+0530 (IST))
[BaseDriver] Event 'resetStarted' logged at 1557470279504 (12:07:59 GMT+0530 (IST))
[XCUITest] Reset: running ios real device reset flow
[BaseDriver] Event 'resetComplete' logged at 1557470279504 (12:07:59 GMT+0530 (IST))
[iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[iOSLog] Starting iOS device log capture with: 'idevicesyslog'
[XCUITest] Crash reports root '/Users/digitalhome/Library/Logs/CrashReporter/MobileDevice/PT’s iPhone 5s' does not exist. Got nothing to gather.
[BaseDriver] Event 'logCaptureStarted' logged at 1557470279676 (12:07:59 GMT+0530 (IST))
[XCUITest] Setting up real device
[XCUITest] Calling: 'ios-deploy --exists --id c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35 --bundle_id com.nokia.wifi'
[XCUITest] Stdout: '[....] Waiting for iOS device to be connected
[XCUITest] [....] Using c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35 (N53AP, iPhone 5s (Global/CDMA), iphoneos, arm64) a.k.a. 'PT’s iPhone 5s'.
[XCUITest] true
[XCUITest] '
[XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[XCUITest] WDA is not listening at 'http://localhost:8100/'
[XCUITest] WDA is currently not running. There is nothing to cache
[XCUITest] Trying to start WebDriverAgent 1 times with 20000ms interval
[BaseDriver] Event 'wdaStartAttempted' logged at 1557470280188 (12:08:00 GMT+0530 (IST))
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Running WebDriverAgent bootstrap script to install dependencies
[XCUITest] Fetching dependencies
[XCUITest] python: posix_spawn: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: Undefined error: 0
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Running WebDriverAgent bootstrap script to install dependencies
[XCUITest] Fetching dependencies
[XCUITest] python: posix_spawn: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: Undefined error: 0
[BaseDriver] Event 'wdaStartFailed' logged at 1557470280697 (12:08:00 GMT+0530 (IST))
[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: Command 'Scripts/bootstrap.sh -d' exited with code 1. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] Quitting and uninstalling WebDriverAgent
[XCUITest] Shutting down sub-processes
[XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: Command 'Scripts/bootstrap.sh -d' exited with code 1. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:501:15)
[XCUITest] Parsed BUILD_DIR configuration value: '/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products'
[XCUITest] Got derived data root: '/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs'
[XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[iOSLog] Stopping iOS log capture
[BaseDriver] Event 'newSessionStarted' logged at 1557470283004 (12:08:03 GMT+0530 (IST))
[W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: Command 'Scripts/bootstrap.sh -d' exited with code 1. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[W3C] at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:501:15)
[HTTP] <-- POST /wd/hub/session 500 3532 ms - 1332
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","automationName":"XCUITest","updatedWDABundleId":"com.xyz.abc","noReset":"false","autoWebview":"true","xcodeConfigFile":"/Users/digitalhome/Desktop/.xcconfig","webkitResponseTimeout":"180000","newCommandTimeout":"1200","platformVersion":"12.1.4","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.nokia.wifi"}}
[W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","automationName":"XCUITest","updatedWDABundleId":"com.xyz.abc","noReset":"false","autoWebview":"true","xcodeConfigFile":"/Users/digitalhome/Desktop/.xcconfig","webkitResponseTimeout":"180000","newCommandTimeout":"1200","platformVersion":"12.1.4","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.nokia.wifi"},null,{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]}]
[BaseDriver] Event 'newSessionRequested' logged at 1557470283018 (12:08:03 GMT+0530 (IST))
[Appium] Could not parse W3C capabilities: 'deviceName' can't be blank
[Appium] Trying to fix W3C capabilities by merging them with JSONWP caps
[BaseDriver] The capabilities ["deviceName","wdaStartupRetryInterval","udid","automationName","updatedWDABundleId","noReset","autoWebview","xcodeConfigFile","webkitResponseTimeout","newCommandTimeout","platformVersion","fullReset","shouldUseSingletonTestManager","waitForQuiescence","bundleId"] are not standard capabilities and should have an extension prefix
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[Appium] Appium v1.13.0 creating new XCUITestDriver (v2.113.2) session
[Appium] Capabilities:
[Appium] platformName: iOS
[Appium] deviceName: 'iPhone'
[Appium] wdaStartupRetryInterval: 20000
[Appium] udid: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[Appium] automationName: XCUITest
[Appium] updatedWDABundleId: com.xyz.abc
[Appium] noReset: false
[Appium] autoWebview: true
[Appium] xcodeConfigFile: /Users/digitalhome/Desktop/.xcconfig
[Appium] webkitResponseTimeout: 180000
[Appium] newCommandTimeout: 1200
[Appium] platformVersion: 12.1.4
[Appium] fullReset: false
[Appium] shouldUseSingletonTestManager: false
[Appium] waitForQuiescence: false
[Appium] bundleId: com.nokia.wifi
[BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"deviceName":"'iPhone'","w... were provided
[BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa...
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Capability 'autoWebview' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'waitForQuiescence' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'shouldUseSingletonTestManager' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'newCommandTimeout' changed from string ('1200') to integer (1200). This may cause unexpected behavior
[BaseDriver] Capability 'wdaStartupRetryInterval' changed from string ('20000') to integer (20000). This may cause unexpected behavior
[BaseDriver] Capability 'webkitResponseTimeout' changed from string ('180000') to integer (180000). This may cause unexpected behavior
[BaseDriver] Session created with session id: 3e7eabfc-4eaf-43b5-94a1-be593b7377d0
[XCUITest] Current user: 'digitalhome'
[XCUITest] Available devices: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[XCUITest] Creating iDevice object with udid 'c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35'
[XCUITest] Determining device to run tests on: udid: 'c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35', real device: true
[XCUITest] iOS SDK Version set to '12.2'
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1557470283053 (12:08:03 GMT+0530 (IST))
[BaseDriver] Event 'appConfigured' logged at 1557470283053 (12:08:03 GMT+0530 (IST))
[BaseDriver] Event 'resetStarted' logged at 1557470283053 (12:08:03 GMT+0530 (IST))
[XCUITest] Reset: running ios real device reset flow
[BaseDriver] Event 'resetComplete' logged at 1557470283053 (12:08:03 GMT+0530 (IST))
[iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[iOSLog] Starting iOS device log capture with: 'idevicesyslog'
[XCUITest] Crash reports root '/Users/digitalhome/Library/Logs/CrashReporter/MobileDevice/PT’s iPhone 5s' does not exist. Got nothing to gather.
[BaseDriver] Event 'logCaptureStarted' logged at 1557470283201 (12:08:03 GMT+0530 (IST))
[XCUITest] Setting up real device
[XCUITest] Calling: 'ios-deploy --exists --id c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35 --bundle_id com.nokia.wifi'
[XCUITest] Stdout: '[....] Waiting for iOS device to be connected
[XCUITest] [....] Using c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35 (N53AP, iPhone 5s (Global/CDMA), iphoneos, arm64) a.k.a. 'PT’s iPhone 5s'.
[XCUITest] true
[XCUITest] '
[XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[XCUITest] WDA is not listening at 'http://localhost:8100/'
[XCUITest] WDA is currently not running. There is nothing to cache
[XCUITest] Trying to start WebDriverAgent 1 times with 20000ms interval
[BaseDriver] Event 'wdaStartAttempted' logged at 1557470283704 (12:08:03 GMT+0530 (IST))
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Running WebDriverAgent bootstrap script to install dependencies
[XCUITest] Fetching dependencies
[XCUITest] python: posix_spawn: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: Undefined error: 0
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Running WebDriverAgent bootstrap script to install dependencies
[XCUITest] Fetching dependencies
[XCUITest] python: posix_spawn: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: Undefined error: 0
[BaseDriver] Event 'wdaStartFailed' logged at 1557470284188 (12:08:04 GMT+0530 (IST))
[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: Command 'Scripts/bootstrap.sh -d' exited with code 1. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] Quitting and uninstalling WebDriverAgent
[XCUITest] Shutting down sub-processes
[XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: Command 'Scripts/bootstrap.sh -d' exited with code 1. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:501:15)
[XCUITest] Parsed BUILD_DIR configuration value: '/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products'
[XCUITest] Got derived data root: '/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs'
[XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[iOSLog] Stopping iOS log capture
[BaseDriver] Event 'newSessionStarted' logged at 1557470286396 (12:08:06 GMT+0530 (IST))
[W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: Command 'Scripts/bootstrap.sh -d' exited with code 1. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[W3C] at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:501:15)
[HTTP] <-- POST /wd/hub/session 500 3379 ms - 1332
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","automationName":"XCUITest","updatedWDABundleId":"com.xyz.abc","noReset":"false","autoWebview":"true","xcodeConfigFile":"/Users/digitalhome/Desktop/.xcconfig","webkitResponseTimeout":"180000","newCommandTimeout":"1200","platformVersion":"12.1.4","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.nokia.wifi"}}
[W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","automationName":"XCUITest","updatedWDABundleId":"com.xyz.abc","noReset":"false","autoWebview":"true","xcodeConfigFile":"/Users/digitalhome/Desktop/.xcconfig","webkitResponseTimeout":"180000","newCommandTimeout":"1200","platformVersion":"12.1.4","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.nokia.wifi"},null,{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]}]
[BaseDriver] Event 'newSessionRequested' logged at 1557470286409 (12:08:06 GMT+0530 (IST))
[Appium] Could not parse W3C capabilities: 'deviceName' can't be blank
[Appium] Trying to fix W3C capabilities by merging them with JSONWP caps
[BaseDriver] The capabilities ["deviceName","wdaStartupRetryInterval","udid","automationName","updatedWDABundleId","noReset","autoWebview","xcodeConfigFile","webkitResponseTimeout","newCommandTimeout","platformVersion","fullReset","shouldUseSingletonTestManager","waitForQuiescence","bundleId"] are not standard capabilities and should have an extension prefix
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[Appium] Appium v1.13.0 creating new XCUITestDriver (v2.113.2) session
[Appium] Capabilities:
[Appium] platformName: iOS
[Appium] deviceName: 'iPhone'
[Appium] wdaStartupRetryInterval: 20000
[Appium] udid: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[Appium] automationName: XCUITest
[Appium] updatedWDABundleId: com.xyz.abc
[Appium] noReset: false
[Appium] autoWebview: true
[Appium] xcodeConfigFile: /Users/digitalhome/Desktop/.xcconfig
[Appium] webkitResponseTimeout: 180000
[Appium] newCommandTimeout: 1200
[Appium] platformVersion: 12.1.4
[Appium] fullReset: false
[Appium] shouldUseSingletonTestManager: false
[Appium] waitForQuiescence: false
[Appium] bundleId: com.nokia.wifi
[BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"deviceName":"'iPhone'","w... were provided
[BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa...
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Capability 'autoWebview' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'waitForQuiescence' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'shouldUseSingletonTestManager' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'newCommandTimeout' changed from string ('1200') to integer (1200). This may cause unexpected behavior
[BaseDriver] Capability 'wdaStartupRetryInterval' changed from string ('20000') to integer (20000). This may cause unexpected behavior
[BaseDriver] Capability 'webkitResponseTimeout' changed from string ('180000') to integer (180000). This may cause unexpected behavior
[BaseDriver] Session created with session id: e903bfd2-bf87-4144-85ba-93a17f7e9793
[XCUITest] Current user: 'digitalhome'
[XCUITest] Available devices: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[XCUITest] Creating iDevice object with udid 'c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35'
[XCUITest] Determining device to run tests on: udid: 'c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35', real device: true
[XCUITest] iOS SDK Version set to '12.2'
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1557470286440 (12:08:06 GMT+0530 (IST))
[BaseDriver] Event 'appConfigured' logged at 1557470286440 (12:08:06 GMT+0530 (IST))
[BaseDriver] Event 'resetStarted' logged at 1557470286440 (12:08:06 GMT+0530 (IST))
[XCUITest] Reset: running ios real device reset flow
[BaseDriver] Event 'resetComplete' logged at 1557470286440 (12:08:06 GMT+0530 (IST))
[iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[iOSLog] Starting iOS device log capture with: 'idevicesyslog'
[XCUITest] Crash reports root '/Users/digitalhome/Library/Logs/CrashReporter/MobileDevice/PT’s iPhone 5s' does not exist. Got nothing to gather.
[BaseDriver] Event 'logCaptureStarted' logged at 1557470286598 (12:08:06 GMT+0530 (IST))
[XCUITest] Setting up real device
[XCUITest] Calling: 'ios-deploy --exists --id c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35 --bundle_id com.nokia.wifi'
[XCUITest] Stdout: '[....] Waiting for iOS device to be connected
[XCUITest] [....] Using c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35 (N53AP, iPhone 5s (Global/CDMA), iphoneos, arm64) a.k.a. 'PT’s iPhone 5s'.
[XCUITest] true
[XCUITest] '
[XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[XCUITest] WDA is not listening at 'http://localhost:8100/'
[XCUITest] WDA is currently not running. There is nothing to cache
[XCUITest] Trying to start WebDriverAgent 1 times with 20000ms interval
[BaseDriver] Event 'wdaStartAttempted' logged at 1557470287096 (12:08:07 GMT+0530 (IST))
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Running WebDriverAgent bootstrap script to install dependencies
[XCUITest] Fetching dependencies
[XCUITest] python: posix_spawn: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: Undefined error: 0
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Running WebDriverAgent bootstrap script to install dependencies
[XCUITest] Fetching dependencies
[XCUITest] python: posix_spawn: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: Undefined error: 0
[BaseDriver] Event 'wdaStartFailed' logged at 1557470287556 (12:08:07 GMT+0530 (IST))
[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: Command 'Scripts/bootstrap.sh -d' exited with code 1. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] Quitting and uninstalling WebDriverAgent
[XCUITest] Shutting down sub-processes
[XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: Command 'Scripts/bootstrap.sh -d' exited with code 1. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:501:15)
[XCUITest] Parsed BUILD_DIR configuration value: '/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products'
[XCUITest] Got derived data root: '/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs'
[XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[iOSLog] Stopping iOS log capture
[BaseDriver] Event 'newSessionStarted' logged at 1557470289911 (12:08:09 GMT+0530 (IST))
[W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: Command 'Scripts/bootstrap.sh -d' exited with code 1. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[W3C] at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:501:15)
[HTTP] <-- POST /wd/hub/session 500 3504 ms - 1332
[HTTP]
@DanielBernal1219
Copy link

Hi I have the same mistake, did you find a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment