Skip to content

Instantly share code, notes, and snippets.

@pavanbachu0604
Created April 26, 2018 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pavanbachu0604/b97ebd705ac7a65c32c442af3dbf23a7 to your computer and use it in GitHub Desktop.
Save pavanbachu0604/b97ebd705ac7a65c32c442af3dbf23a7 to your computer and use it in GitHub Desktop.
WNJ0034ALDVSBCF:~ bachupa$ appium -U aff1e7925228dd5060cd1f29fbb440f596bbabf9 -p 4444
[Appium] Welcome to Appium v1.8.0
[Appium] Non-default server args:
[Appium] port: 4444
[Appium] udid: aff1e7925228dd5060cd1f29fbb440f596bbabf9
[Appium] Deprecated server args:
[Appium] -U,--udid => --default-capabilities '{"udid":"aff1e7925228dd5060cd1f29fbb440f596bbabf9"}'
[Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
[Appium] udid: aff1e7925228dd5060cd1f29fbb440f596bbabf9
[Appium] Appium REST http interface listener started on 0.0.0.0:4444
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":[{"desiredCapabilities":{"app":"com.vzw.pos.quote","clearSystemFiles":true,"noReset":true,"newCommandTimeout":"45000","automationName":"XCuiTest","useNewWDA":true,"platformName":"iOS","deviceName":"iPad","iosInstallPause":"10000"}},{"requiredCapabilities":{}}],"desiredCapabilities":{"app":"com.vzw.pos.quote","clearSystemFiles":true,"noReset":true,"newCommandTimeout":"45000","automationName":"XCuiTest","useNewWDA":true,"platformName":"iOS","deviceName":"iPad","iosInstallPause":"10000"},"requiredCapabilities":{}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"com.vzw.pos.quote","clearSystemFiles":true,"noReset":true,"newCommandTimeout":"45000","automationName":"XCuiTest","useNewWDA":true,"platformName":"iOS","deviceName":"iPad","iosInstallPause":"10000"},{},[{"desiredCapabilities":{"app":"com.vzw.pos.quote","clearSystemFiles":true,"noReset":true,"newCommandTimeout":"45000","automationName":"XCuiTest","useNewWDA":true,"platformName":"iOS","deviceName":"iPad","iosInstallPause":"10000"}},{"requiredCapabilities":{}}]]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1524758926354 (12:08:46 GMT-0400 (EDT))
[Appium] Creating new XCUITestDriver (v2.76.2) session
[Appium] Capabilities:
[Appium] udid: aff1e7925228dd5060cd1f29fbb440f596bbabf9
[Appium] app: com.vzw.pos.quote
[Appium] clearSystemFiles: true
[Appium] noReset: true
[Appium] newCommandTimeout: 45000
[Appium] automationName: XCuiTest
[Appium] useNewWDA: true
[Appium] platformName: iOS
[Appium] deviceName: iPad
[Appium] iosInstallPause: 10000
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {"udid":"aff1e7925228dd5060...
[BaseDriver] Capability 'newCommandTimeout' changed from string ('45000') to integer (45000). This may cause unexpected behavior
[BaseDriver] Capability 'iosInstallPause' changed from string ('10000') to integer (10000). This may cause unexpected behavior
[BaseDriver] Session created with session id: 8aa5cc81-b185-4be3-afbf-a1da04fc9026
[debug] [XCUITest] Current user: 'bachupa'
[debug] [XCUITest] Xcode version set to '9.3' (tools v9.3.0.0.1.1521514116)
[debug] [XCUITest] iOS SDK Version set to '11.3'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1524758926515 (12:08:46 GMT-0400 (EDT))
[debug] [XCUITest] Available devices: aff1e7925228dd5060cd1f29fbb440f596bbabf9
[debug] [XCUITest] Creating iDevice object with udid 'aff1e7925228dd5060cd1f29fbb440f596bbabf9'
[XCUITest] Determining device to run tests on: udid: 'aff1e7925228dd5060cd1f29fbb440f596bbabf9', real device: true
[debug] [XCUITest] App is an iOS bundle, will attempt to run as pre-existing
[debug] [BaseDriver] Event 'appConfigured' logged at 1524758926664 (12:08:46 GMT-0400 (EDT))
[debug] [BaseDriver] Event 'resetStarted' logged at 1524758926664 (12:08:46 GMT-0400 (EDT))
[debug] [XCUITest] Reset: fullReset not set. Leaving as is
[debug] [BaseDriver] Event 'resetComplete' logged at 1524758926664 (12:08:46 GMT-0400 (EDT))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'
[debug] [XCUITest] Crash reports root '/Users/bachupa/Library/Logs/CrashReporter/MobileDevice/Bandari, Christopher’s iPad' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1524758926852 (12:08:46 GMT-0400 (EDT))
[XCUITest] Setting up real device
[XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[debug] [XCUITest] Capability 'useNewWDA' set to true, so uninstalling WDA before proceeding
[XCUITest] Shutting down sub-processes
[debug] [XCUITest] Removing WDA application from device
[debug] [BaseDriver] Event 'wdaUninstalled' logged at 1524758927198 (12:08:47 GMT-0400 (EDT))
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1524758927199 (12:08:47 GMT-0400 (EDT))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Running WebDriverAgent bootstrap script to install dependencies
[XCUITest] Fetching dependencies
[XCUITest] *** Checking out RoutingHTTPServer at "v1.0.1"
[XCUITest] *** Checking out YYCache at "1.0.5"
[XCUITest] Failed to check out repository into /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Carthage/Checkouts/RoutingHTTPServer: Could not create working directory (Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “RoutingHTTPServer” in the folder “Checkouts”." UserInfo={NSFilePath=/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Carthage/Checkouts/RoutingHTTPServer, NSUnderlyingError=0x7fcd5e446eb0 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}})
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1524758928218 (12:08:48 GMT-0400 (EDT))
[debug] [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.
[debug] [XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[debug] [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 XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:426:13)
[XCUITest] at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[XCUITest] at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[XCUITest] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[XCUITest] at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[XCUITest] at <anonymous>
[debug] [XCUITest] 'pgrep -nif xcodebuild.*aff1e7925228dd5060cd1f29fbb440f596bbabf9' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Cannot find xcodebuild's process id, so unable to retrieve DerivedData folder path
[XCUITest] No WebDriverAgent derived data available, so unable to clear system files
[debug] [iOSLog] Stopping iOS log capture
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1524758928498 (12:08:48 GMT-0400 (EDT))
[MJSONWP] 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.
[MJSONWP] at XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:426:13)
[MJSONWP] at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[MJSONWP] at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[MJSONWP] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[MJSONWP] at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[MJSONWP] at <anonymous>
[HTTP] <-- POST /wd/hub/session 500 2151 ms - 492
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"com.vzw.pos.quote","clearSystemFiles":true,"noReset":true,"newCommandTimeout":"45000","automationName":"XCuiTest","useNewWDA":true,"platformName":"iOS","deviceName":"iPad","iosInstallPause":"10000"},"requiredCapabilities":{}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"com.vzw.pos.quote","clearSystemFiles":true,"noReset":true,"newCommandTimeout":"45000","automationName":"XCuiTest","useNewWDA":true,"platformName":"iOS","deviceName":"iPad","iosInstallPause":"10000"},{},null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1524758928987 (12:08:48 GMT-0400 (EDT))
[Appium] Creating new XCUITestDriver (v2.76.2) session
[Appium] Capabilities:
[Appium] udid: aff1e7925228dd5060cd1f29fbb440f596bbabf9
[Appium] app: com.vzw.pos.quote
[Appium] clearSystemFiles: true
[Appium] noReset: true
[Appium] newCommandTimeout: 45000
[Appium] automationName: XCuiTest
[Appium] useNewWDA: true
[Appium] platformName: iOS
[Appium] deviceName: iPad
[Appium] iosInstallPause: 10000
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {"udid":"aff1e7925228dd5060...
[BaseDriver] Capability 'newCommandTimeout' changed from string ('45000') to integer (45000). This may cause unexpected behavior
[BaseDriver] Capability 'iosInstallPause' changed from string ('10000') to integer (10000). This may cause unexpected behavior
[BaseDriver] Session created with session id: 3bdf4027-2e26-4992-9017-db0bededa00b
[debug] [XCUITest] Current user: 'bachupa'
[debug] [XCUITest] Xcode version set to '9.3' (tools v9.3.0.0.1.1521514116)
[debug] [XCUITest] iOS SDK Version set to '11.3'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1524758929076 (12:08:49 GMT-0400 (EDT))
[debug] [XCUITest] Available devices: aff1e7925228dd5060cd1f29fbb440f596bbabf9
[debug] [XCUITest] Creating iDevice object with udid 'aff1e7925228dd5060cd1f29fbb440f596bbabf9'
[XCUITest] Determining device to run tests on: udid: 'aff1e7925228dd5060cd1f29fbb440f596bbabf9', real device: true
[debug] [XCUITest] App is an iOS bundle, will attempt to run as pre-existing
[debug] [BaseDriver] Event 'appConfigured' logged at 1524758929211 (12:08:49 GMT-0400 (EDT))
[debug] [BaseDriver] Event 'resetStarted' logged at 1524758929211 (12:08:49 GMT-0400 (EDT))
[debug] [XCUITest] Reset: fullReset not set. Leaving as is
[debug] [BaseDriver] Event 'resetComplete' logged at 1524758929211 (12:08:49 GMT-0400 (EDT))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'
[debug] [XCUITest] Crash reports root '/Users/bachupa/Library/Logs/CrashReporter/MobileDevice/Bandari, Christopher’s iPad' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1524758929392 (12:08:49 GMT-0400 (EDT))
[XCUITest] Setting up real device
[XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[debug] [XCUITest] Capability 'useNewWDA' set to true, so uninstalling WDA before proceeding
[XCUITest] Shutting down sub-processes
[debug] [XCUITest] Removing WDA application from device
[debug] [BaseDriver] Event 'wdaUninstalled' logged at 1524758929716 (12:08:49 GMT-0400 (EDT))
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1524758929716 (12:08:49 GMT-0400 (EDT))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Running WebDriverAgent bootstrap script to install dependencies
[XCUITest] Fetching dependencies
[XCUITest] *** Checking out RoutingHTTPServer at "v1.0.1"
[XCUITest] *** Checking out YYCache at "1.0.5"
[XCUITest] Failed to check out repository into /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Carthage/Checkouts/YYCache: Could not create working directory (Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “YYCache” in the folder “Checkouts”." UserInfo={NSFilePath=/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Carthage/Checkouts/YYCache, NSUnderlyingError=0x7fa81e517650 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}})
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1524758930600 (12:08:50 GMT-0400 (EDT))
[debug] [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.
[debug] [XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[debug] [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 XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:426:13)
[XCUITest] at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[XCUITest] at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[XCUITest] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[XCUITest] at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[XCUITest] at <anonymous>
[debug] [XCUITest] 'pgrep -nif xcodebuild.*aff1e7925228dd5060cd1f29fbb440f596bbabf9' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Cannot find xcodebuild's process id, so unable to retrieve DerivedData folder path
[XCUITest] No WebDriverAgent derived data available, so unable to clear system files
[debug] [iOSLog] Stopping iOS log capture
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1524758930864 (12:08:50 GMT-0400 (EDT))
[MJSONWP] 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.
[MJSONWP] at XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:426:13)
[MJSONWP] at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[MJSONWP] at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[MJSONWP] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[MJSONWP] at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[MJSONWP] at <anonymous>
[HTTP] <-- POST /wd/hub/session 500 1879 ms - 492
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":[{"desiredCapabilities":{"app":"com.vzw.pos.quote","clearSystemFiles":true,"noReset":true,"newCommandTimeout":"45000","automationName":"XCuiTest","useNewWDA":true,"platformName":"iOS","deviceName":"iPad","iosInstallPause":"10000"}},{"requiredCapabilities":{}}]}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [null,null,[{"desiredCapabilities":{"app":"com.vzw.pos.quote","clearSystemFiles":true,"noReset":true,"newCommandTimeout":"45000","automationName":"XCuiTest","useNewWDA":true,"platformName":"iOS","deviceName":"iPad","iosInstallPause":"10000"}},{"requiredCapabilities":{}}]]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1524758930876 (12:08:50 GMT-0400 (EDT))
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1524758930876 (12:08:50 GMT-0400 (EDT))
[debug] [MJSONWP] Responding to client with driver.createSession() result: null
[HTTP] <-- POST /wd/hub/session 200 2 ms - 42
[HTTP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment