Skip to content

Instantly share code, notes, and snippets.

@shapovalovei
Last active May 10, 2017 02:50
Show Gist options
  • Save shapovalovei/af8e9f9552634d6c4d1ed091b54e4145 to your computer and use it in GitHub Desktop.
Save shapovalovei/af8e9f9552634d6c4d1ed091b54e4145 to your computer and use it in GitHub Desktop.
[HTTP] --> POST /wd/hub/session {"capabilities":{"desiredCapabilities":{"platformVersion":"10.0.1","xcodeOrgId":"Y95G5M3Q84","automationName":"XCUITest","useNewWDA":true,"browserName":"Safari","platformName":"iOS","udid":"599ee8713eddeb9f7f4c9a35ec69dbb8cf53f3c8","deviceName":"iPhone 6 (Jenkins SF)","launchTimeout":500000,"updatedWDABundleId":"com.moovweb.WebDriverAgentRunner","xcodeSigningId":"iPhone Developer","wdaLocalPort":8111},"requiredCapabilities":{}},"desiredCapabilities":{"platformVersion":"10.0.1","xcodeOrgId":"Y95G5M3Q84","automationName":"XCUITest","useNewWDA":true,"browserName":"Safari","platformName":"iOS","udid":"599ee8713eddeb9f7f4c9a35ec69dbb8cf53f3c8","deviceName":"iPhone 6 (Jenkins SF)","launchTimeout":500000,"updatedWDABundleId":"com.moovweb.WebDriverAgentRunner","xcodeSigningId":"iPhone Developer","wdaLocalPort":8111},"requiredCapabilities":{}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformVersion":"10.0.1","xcodeOrgId":"Y95G5M3Q84","automationName":"XCUITest","useNewWDA":true,"browserName":"Safari","platformName":"iOS","udid":"599ee8713eddeb9f7f4c9a35ec69dbb8cf53f3c8","deviceName":"iPhone 6 (Jenkins SF)","launchTimeout":500000,"updatedWDABundleId":"com.moovweb.WebDriverAgentRunner","xcodeSigningId":"iPhone Developer","wdaLocalPort":8111},{},{"desiredCapabilities":{"platformVersion":"10.0.1","xcodeOrgId":"Y95G5M3Q84","automationName":"XCUITest","useNewWDA":true,"browserName":"Safari","platformName":"iOS","udid":"599ee8713eddeb9f7f4c9a35ec69dbb8cf53f3c8","deviceName":"iPhone 6 (Jenkins SF)","launchTimeout":500000,"updatedWDABundleId":"com.moovweb.WebDriverAgentRunner","xcodeSigningId":"iPhone Developer","wdaLocalPort":8111},"requiredCapabilities":{}},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1494381613516 (19:00:13 GMT-0700 (PDT))
[Appium] Creating new XCUITestDriver (v2.27.2) session
[Appium] Capabilities:
[Appium] platformVersion: '10.0.1'
[Appium] xcodeOrgId: 'Y95G5M3Q84'
[Appium] automationName: 'XCUITest'
[Appium] useNewWDA: true
[Appium] browserName: 'Safari'
[Appium] platformName: 'iOS'
[Appium] udid: '599ee8713eddeb9f7f4c9a35ec69dbb8cf53f3c8'
[Appium] deviceName: 'iPhone 6 (Jenkins SF)'
[Appium] launchTimeout: 500000
[Appium] updatedWDABundleId: 'com.moovweb.WebDriverAgentRunner'
[Appium] xcodeSigningId: 'iPhone Developer'
[Appium] wdaLocalPort: 8111
[debug] [XCUITest] XCUITestDriver version: 2.27.2
[BaseDriver] Session created with session id: 2c93b8ba-be05-4e1f-a099-f7a3279a4ba4
[debug] [XCUITest] Xcode version set to '8.3.1' (tools v8.3.0.0.1.1490382677)
[debug] [XCUITest] iOS SDK Version set to '10.3'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1494381613564 (19:00:13 GMT-0700 (PDT))
[debug] [XCUITest] Available devices: 4fb945e0d246834ad39f0a3652efcc22a9ebac93, 599ee8713eddeb9f7f4c9a35ec69dbb8cf53f3c8
[debug] [XCUITest] Creating iDevice object with udid '599ee8713eddeb9f7f4c9a35ec69dbb8cf53f3c8'
[XCUITest] Determining device to run tests on: udid: '599ee8713eddeb9f7f4c9a35ec69dbb8cf53f3c8', real device: true
[XCUITest] Safari test requested
[debug] [BaseDriver] Event 'appConfigured' logged at 1494381613656 (19:00:13 GMT-0700 (PDT))
[debug] [BaseDriver] Event 'resetStarted' logged at 1494381613656 (19:00:13 GMT-0700 (PDT))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1494381613657 (19:00:13 GMT-0700 (PDT))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1494381613907 (19:00:13 GMT-0700 (PDT))
[XCUITest] Setting up real device
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1494381613910 (19:00:13 GMT-0700 (PDT))
[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] Capability 'useNewWDA' set, so uninstalling WDA before proceeding
[debug] [XCUITest] Removing WDA application from device
[debug] [BaseDriver] Event 'wdaUninstalled' logged at 1494381614528 (19:00:14 GMT-0700 (PDT))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Successfully updated '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj' with bundle id 'com.moovweb.WebDriverAgentRunner'
[debug] [XCUITest] Killing hanging processes
[debug] [XCUITest] Generating xcode config file for orgId 'Y95G5M3Q84' and signingId 'iPhone Developer'
[debug] [XCUITest] Writing xcode config file to /var/folders/zt/knp5y0sd3f373g8xvg0mmzc00000gp/T/201749-81513-xcf6bn.nsazoos9k9/appium-temp.xcconfig
[debug] [XCUITest] Using Xcode configuration file: '/var/folders/zt/knp5y0sd3f373g8xvg0mmzc00000gp/T/201749-81513-xcf6bn.nsazoos9k9/appium-temp.xcconfig'
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=599ee8713eddeb9f7f4c9a35ec69dbb8cf53f3c8 -configuration Debug IPHONEOS_DEPLOYMENT_TARGET=10.0 -xcconfig /var/folders/zt/knp5y0sd3f373g8xvg0mmzc00000gp/T/201749-81513-xcf6bn.nsazoos9k9/appium-temp.xcconfig' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will not be logged
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8111 to device port 8100 over USB
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [XCUITest] Log file for xcodebuild test: /Users/qaautomation/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/B4B11389-9D30-4F7A-A478-CE85B5D29CB8/Session-WebDriverAgentRunner-2017-05-09_190025-ts8u5M.log
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[Xcode] 2017-05-09 19:01:02.789 xcodebuild[86355:30879991] Error Domain=IDETestOperationsObserverErrorDomain Code=13 "Failed to background test runner. If you believe this error represents a bug, please attach the log file at /Users/qaautomation/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/B4B11389-9D30-4F7A-A478-CE85B5D29CB8/Session-WebDriverAgentRunner-2017-05-09_190025-ts8u5M.log" UserInfo={NSLocalizedDescription=Failed to background test runner. If you believe this error represents a bug, please attach the log file at /Users/qaautomation/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/B4B11389-9D30-4F7A-A478-CE85B5D29CB8/Session-WebDriverAgentRunner-2017-05-09_190025-ts8u5M.log}
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[Xcode] 2017-05-09 19:00:31.969677 XCTRunner[4654:1056133] Running tests...
[Xcode]
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1494381662848 (19:01:02 GMT-0700 (PDT))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down iproxy process (pid 86347)
[debug] [XCUITest] iproxy exited with code 'null'
[debug] [XCUITest] Successfully reset '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj' with bundle id 'com.facebook.WebDriverAgentRunner'
[debug] [XCUITest] Removing WDA application from device
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1494381673400 (19:01:13 GMT-0700 (PDT))
[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] Capability 'useNewWDA' set, so uninstalling WDA before proceeding
[debug] [XCUITest] Removing WDA application from device
[debug] [BaseDriver] Event 'wdaUninstalled' logged at 1494381673673 (19:01:13 GMT-0700 (PDT))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Successfully updated '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj' with bundle id 'com.moovweb.WebDriverAgentRunner'
[debug] [XCUITest] Killing hanging processes
[debug] [XCUITest] Generating xcode config file for orgId 'Y95G5M3Q84' and signingId 'iPhone Developer'
[debug] [XCUITest] Writing xcode config file to /var/folders/zt/knp5y0sd3f373g8xvg0mmzc00000gp/T/201749-81513-1mzhv89.b00xa5g66r/appium-temp.xcconfig
[debug] [XCUITest] Using Xcode configuration file: '/var/folders/zt/knp5y0sd3f373g8xvg0mmzc00000gp/T/201749-81513-1mzhv89.b00xa5g66r/appium-temp.xcconfig'
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=599ee8713eddeb9f7f4c9a35ec69dbb8cf53f3c8 -configuration Debug IPHONEOS_DEPLOYMENT_TARGET=10.0 -xcconfig /var/folders/zt/knp5y0sd3f373g8xvg0mmzc00000gp/T/201749-81513-1mzhv89.b00xa5g66r/appium-temp.xcconfig' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will not be logged
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8111 to device port 8100 over USB
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8111/status] with no body
[debug] [XCUITest] Log file for xcodebuild test: /Users/qaautomation/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/4CCA84A5-F801-4727-BB9B-E4D551E06ACB/Session-WebDriverAgentRunner-2017-05-09_190120-krrLAN.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment