Created
February 8, 2018 00:03
-
-
Save bartonhammond/6f6b506a43a8e0128fd61789ec7b8445 to your computer and use it in GitHub Desktop.
Appium ios log : Error: Unable to launch WebDriverAgent because of xcodebuild failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Appium] Welcome to Appium v1.7.2 (REV 0e9005b71127dc088d693513da4b638e052c77e1) | |
[Appium] Non-default server args: | |
[Appium] address: 192.168.1.8 | |
[Appium] port: 4724 | |
[Appium] nodeconfig: ./ios-config.json | |
[debug] [Appium] Starting auto register thread for grid. Will try to register every 5000 ms. | |
[Appium] Appium REST http interface listener started on 192.168.1.8:4724 | |
[debug] [Appium] Appium successfully registered with the grid on 192.168.1.3:4444 | |
[HTTP] --> GET /wd/hub/status {} | |
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: [] | |
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.7.2","revision":"0e9005b71127dc088d693513da4b638e052c77e1"}} | |
[HTTP] <-- GET /wd/hub/status 200 20 ms - 110 | |
[HTTP] --> GET /wd/hub/status {} | |
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: [] | |
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.7.2","revision":"0e9005b71127dc088d693513da4b638e052c77e1"}} | |
[HTTP] <-- GET /wd/hub/status 200 15 ms - 110 | |
[HTTP] --> GET /wd/hub/status {} | |
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: [] | |
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.7.2","revision":"0e9005b71127dc088d693513da4b638e052c77e1"}} | |
[HTTP] <-- GET /wd/hub/status 200 15 ms - 110 | |
[HTTP] --> GET /wd/hub/status {} | |
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: [] | |
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.7.2","revision":"0e9005b71127dc088d693513da4b638e052c77e1"}} | |
[HTTP] <-- GET /wd/hub/status 200 18 ms - 110 | |
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"automationName":"XCUITest","browserName":"Safari","build":"2018-02-07-17-58","deviceName":"iPad","max_duration":14400,"name":"University of Wisconsin-Continuing Education","platformName":"ios","record_video":"true","udid":"6cab51ed4852049ade8d8d0f808b842bd12f0d0e"},"capabilities":{"desiredCapabilities":{"automationName":"XCUITest","browserName":"Safari","build":"2018-02-07-17-58","deviceName":"iPad","max_duration":14400,"name":"University of Wisconsin-Continuing Education","platformName":"ios","record_video":"true","udid":"6cab51ed4852049ade8d8d0f808b842bd12f0d0e"},"firstMatch":[{"browserName":"Safari","platformName":"ios"}]}} | |
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"automationName":"XCUITest","browserName":"Safari","build":"2018-02-07-17-58","deviceName":"iPad","max_duration":14400,"name":"University of Wisconsin-Continuing Education","platformName":"ios","record_video":"true","udid":"6cab51ed4852049ade8d8d0f808b842bd12f0d0e"},null,{"desiredCapabilities":{"automationName":"XCUITest","browserName":"Safari","build":"2018-02-07-17-58","deviceName":"iPad","max_duration":14400,"name":"University of Wisconsin-Continuing Education","platformName":"ios","record_video":"true","udid":"6cab51ed4852049ade8d8d0f808b842bd12f0d0e"},"firstMatch":[{"browserName":"Safari","platformName":"ios"}]}] | |
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1518047895819 (17:58:15 GMT-0600 (CST)) | |
[Appium] Merged W3C capabilities {"desiredCapabilities":{"automationName":"XCUIT... into desiredCapabilities object {"automationName":"XCUITest","browserName":"Saf... | |
[Appium] Creating new XCUITestDriver (v2.64.0) session | |
[Appium] Capabilities: | |
[Appium] automationName: XCUITest | |
[Appium] browserName: Safari | |
[Appium] build: 2018-02-07-17-58 | |
[Appium] deviceName: iPad | |
[Appium] max_duration: 14400 | |
[Appium] name: University of Wisconsin-Continuing Education | |
[Appium] platformName: ios | |
[Appium] record_video: true | |
[Appium] udid: 6cab51ed4852049ade8d8d0f808b842bd12f0d0e | |
[BaseDriver] The following capabilities were provided, but are not recognized by appium: build, max_duration, name, record_video. | |
[BaseDriver] Session created with session id: b72c37e2-9d8f-4831-82c2-71a09c42e964 | |
[debug] [XCUITest] Current user: 'barton' | |
[debug] [XCUITest] Current version of libimobiledevice: stable 1.2.0 (bottled), HEAD | |
[HTTP] --> GET /wd/hub/status {} | |
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: [] | |
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.7.2","revision":"0e9005b71127dc088d693513da4b638e052c77e1"}} | |
[HTTP] <-- GET /wd/hub/status 200 14 ms - 121 | |
[debug] [XCUITest] Xcode version set to '9.2' (tools v9.2.0.0.1.1510905681) | |
[debug] [XCUITest] iOS SDK Version set to '11.2' | |
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1518047900022 (17:58:20 GMT-0600 (CST)) | |
[debug] [XCUITest] Available devices: 6cab51ed4852049ade8d8d0f808b842bd12f0d0e | |
[debug] [XCUITest] Creating iDevice object with udid '6cab51ed4852049ade8d8d0f808b842bd12f0d0e' | |
[XCUITest] Determining device to run tests on: udid: '6cab51ed4852049ade8d8d0f808b842bd12f0d0e', real device: true | |
[XCUITest] Safari test requested | |
[debug] [BaseDriver] Event 'appConfigured' logged at 1518047900369 (17:58:20 GMT-0600 (CST)) | |
[debug] [BaseDriver] Event 'resetStarted' logged at 1518047900369 (17:58:20 GMT-0600 (CST)) | |
[debug] [XCUITest] Reset: running ios real device reset flow | |
[debug] [BaseDriver] Event 'resetComplete' logged at 1518047900370 (17:58:20 GMT-0600 (CST)) | |
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog | |
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog' | |
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1518047900592 (17:58:20 GMT-0600 (CST)) | |
[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] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body | |
[debug] [XCUITest] WDA is not listening at 'http://localhost:8100/' | |
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1518047900725 (17:58:20 GMT-0600 (CST)) | |
[XCUITest] Launching WebDriverAgent on the device | |
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage' | |
[debug] [XCUITest] Killing running processes 'xcodebuild.*6cab51ed4852049ade8d8d0f808b842bd12f0d0e, iproxy 8100' for the device 6cab51ed4852049ade8d8d0f808b842bd12f0d0e... | |
[debug] [XCUITest] 'pgrep -nif xcodebuild.*6cab51ed4852049ade8d8d0f808b842bd12f0d0e' didn't detect any matching processes. Return code: 1 | |
[debug] [XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1 | |
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB | |
[HTTP] --> GET /wd/hub/status {} | |
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: [] | |
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.7.2","revision":"0e9005b71127dc088d693513da4b638e052c77e1"}} | |
[HTTP] <-- GET /wd/hub/status 200 15 ms - 121 | |
[debug] [XCUITest] Using Xcode 9.2, so fixing WDA codebase | |
[XCUITest] Cannot parse major and minor version numbers from platformVersion "null". Will build for the default platform instead | |
[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=6cab51ed4852049ade8d8d0f808b842bd12f0d0e' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' | |
[debug] [XCUITest] Output from xcodebuild will not be logged. To see xcode logging, use 'showXcodeLog' desired capability | |
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body | |
[debug] [XCUITest] Log file for xcodebuild test: /var/folders/pm/qwz697zx1gs4fm3mxhmkcqfh0000gn/T/com.apple.dt.XCTest/IDETestRunSession-748EE4C8-0C34-45A7-9D74-8A0E91033AE8/WebDriverAgentRunner-35D0B276-06AA-468A-A20A-B7DF3A5F15ED/Session-WebDriverAgentRunner-2018-02-07_175828-lYYijS.log | |
[Xcode] 2018-02-07 17:58:28.735 xcodebuild[13727:144005] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/barton/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fa98336b690 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} | |
[Xcode] | |
[Xcode] 2018-02-07 17:58:28.735 xcodebuild[13727:144005] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "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} | |
[Xcode] | |
[Xcode] ** TEST EXECUTE FAILED ** | |
[Xcode] | |
[Xcode] | |
[XCUITest] xcodebuild exited with code '65' and signal 'null' | |
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1518047908760 (17:58:28 GMT-0600 (CST)) | |
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". 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 | |
[XCUITest] Shutting down iproxy process (pid 13724) | |
[debug] [XCUITest] iproxy exited with code 'null' | |
[debug] [XCUITest] Removing WDA application from device | |
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". 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. | |
at XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13) | |
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at <anonymous> | |
Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". 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. | |
at XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13) | |
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at <anonymous> | |
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on. | |
[debug] [iOSLog] Stopping iOS log capture | |
[MJSONWP] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". 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. | |
at XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13) | |
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at <anonymous> | |
[HTTP] <-- POST /wd/hub/session 500 13251 ms - 470 | |
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"automationName":"XCUITest","browserName":"Safari","build":"2018-02-07-17-58","deviceName":"iPad","max_duration":14400,"name":"University of Wisconsin-Continuing Education","platformName":"ios","record_video":"true","udid":"6cab51ed4852049ade8d8d0f808b842bd12f0d0e"},"capabilities":{"desiredCapabilities":{"automationName":"XCUITest","browserName":"Safari","build":"2018-02-07-17-58","deviceName":"iPad","max_duration":14400,"name":"University of Wisconsin-Continuing Education","platformName":"ios","record_video":"true","udid":"6cab51ed4852049ade8d8d0f808b842bd12f0d0e"},"firstMatch":[{"browserName":"Safari","platformName":"ios"}]}} | |
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"automationName":"XCUITest","browserName":"Safari","build":"2018-02-07-17-58","deviceName":"iPad","max_duration":14400,"name":"University of Wisconsin-Continuing Education","platformName":"ios","record_video":"true","udid":"6cab51ed4852049ade8d8d0f808b842bd12f0d0e"},null,{"desiredCapabilities":{"automationName":"XCUITest","browserName":"Safari","build":"2018-02-07-17-58","deviceName":"iPad","max_duration":14400,"name":"University of Wisconsin-Continuing Education","platformName":"ios","record_video":"true","udid":"6cab51ed4852049ade8d8d0f808b842bd12f0d0e"},"firstMatch":[{"browserName":"Safari","platformName":"ios"}]}] | |
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1518047909095 (17:58:29 GMT-0600 (CST)) | |
[Appium] Merged W3C capabilities {"desiredCapabilities":{"automationName":"XCUIT... into desiredCapabilities object {"automationName":"XCUITest","browserName":"Saf... | |
[Appium] Creating new XCUITestDriver (v2.64.0) session | |
[Appium] Capabilities: | |
[Appium] automationName: XCUITest | |
[Appium] browserName: Safari | |
[Appium] build: 2018-02-07-17-58 | |
[Appium] deviceName: iPad | |
[Appium] max_duration: 14400 | |
[Appium] name: University of Wisconsin-Continuing Education | |
[Appium] platformName: ios | |
[Appium] record_video: true | |
[Appium] udid: 6cab51ed4852049ade8d8d0f808b842bd12f0d0e | |
[BaseDriver] The following capabilities were provided, but are not recognized by appium: build, max_duration, name, record_video. | |
[BaseDriver] Session created with session id: f0d13afd-8fb5-4945-9ea5-ef480de76306 | |
[debug] [XCUITest] Current user: 'barton' | |
[HTTP] --> GET /wd/hub/status {} | |
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: [] | |
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.7.2","revision":"0e9005b71127dc088d693513da4b638e052c77e1"}} | |
[HTTP] <-- GET /wd/hub/status 200 16 ms - 121 | |
[debug] [XCUITest] Current version of libimobiledevice: stable 1.2.0 (bottled), HEAD | |
[debug] [XCUITest] Xcode version set to '9.2' (tools v9.2.0.0.1.1510905681) | |
[debug] [XCUITest] iOS SDK Version set to '11.2' | |
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1518047910142 (17:58:30 GMT-0600 (CST)) | |
[debug] [XCUITest] Available devices: 6cab51ed4852049ade8d8d0f808b842bd12f0d0e | |
[debug] [XCUITest] Creating iDevice object with udid '6cab51ed4852049ade8d8d0f808b842bd12f0d0e' | |
[XCUITest] Determining device to run tests on: udid: '6cab51ed4852049ade8d8d0f808b842bd12f0d0e', real device: true | |
[XCUITest] Safari test requested | |
[debug] [BaseDriver] Event 'appConfigured' logged at 1518047910278 (17:58:30 GMT-0600 (CST)) | |
[debug] [BaseDriver] Event 'resetStarted' logged at 1518047910278 (17:58:30 GMT-0600 (CST)) | |
[debug] [XCUITest] Reset: running ios real device reset flow | |
[debug] [BaseDriver] Event 'resetComplete' logged at 1518047910279 (17:58:30 GMT-0600 (CST)) | |
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog | |
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog' | |
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1518047910503 (17:58:30 GMT-0600 (CST)) | |
[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] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body | |
[debug] [XCUITest] WDA is not listening at 'http://localhost:8100/' | |
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1518047910600 (17:58:30 GMT-0600 (CST)) | |
[XCUITest] Launching WebDriverAgent on the device | |
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage' | |
[debug] [XCUITest] Killing running processes 'xcodebuild.*6cab51ed4852049ade8d8d0f808b842bd12f0d0e, iproxy 8100' for the device 6cab51ed4852049ade8d8d0f808b842bd12f0d0e... | |
[debug] [XCUITest] 'pgrep -nif xcodebuild.*6cab51ed4852049ade8d8d0f808b842bd12f0d0e' didn't detect any matching processes. Return code: 1 | |
[debug] [XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1 | |
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB | |
[HTTP] --> GET /wd/hub/status {} | |
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: [] | |
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.7.2","revision":"0e9005b71127dc088d693513da4b638e052c77e1"}} | |
[HTTP] <-- GET /wd/hub/status 200 16 ms - 121 | |
[debug] [XCUITest] Using Xcode 9.2, so fixing WDA codebase | |
[XCUITest] Cannot parse major and minor version numbers from platformVersion "null". Will build for the default platform instead | |
[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=6cab51ed4852049ade8d8d0f808b842bd12f0d0e' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' | |
[debug] [XCUITest] Output from xcodebuild will not be logged. To see xcode logging, use 'showXcodeLog' desired capability | |
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body | |
[debug] [XCUITest] Log file for xcodebuild test: /var/folders/pm/qwz697zx1gs4fm3mxhmkcqfh0000gn/T/com.apple.dt.XCTest/IDETestRunSession-17E72ECF-4CC4-4A73-889F-3AAC927A01DC/WebDriverAgentRunner-6BA5F15C-F1D4-44A5-9956-3E9B27628DAB/Session-WebDriverAgentRunner-2018-02-07_175837-1jt11j.log | |
[Xcode] 2018-02-07 17:58:37.762 xcodebuild[13929:144572] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/barton/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7f974ff1afd0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} | |
[Xcode] | |
[Xcode] 2018-02-07 17:58:37.762 xcodebuild[13929:144572] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "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} | |
[Xcode] | |
[Xcode] ** TEST EXECUTE FAILED ** | |
[Xcode] | |
[Xcode] | |
[XCUITest] xcodebuild exited with code '65' and signal 'null' | |
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1518047917793 (17:58:37 GMT-0600 (CST)) | |
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". 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 | |
[XCUITest] Shutting down iproxy process (pid 13926) | |
[debug] [XCUITest] iproxy exited with code 'null' | |
[debug] [XCUITest] Removing WDA application from device | |
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". 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. | |
at XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13) | |
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at <anonymous> | |
Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". 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. | |
at XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13) | |
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at <anonymous> | |
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on. | |
[debug] [iOSLog] Stopping iOS log capture | |
[MJSONWP] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". 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. | |
at XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13) | |
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at <anonymous> | |
[HTTP] <-- POST /wd/hub/session 500 8946 ms - 470 | |
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"automationName":"XCUITest","browserName":"Safari","build":"2018-02-07-17-58","deviceName":"iPad","max_duration":14400,"name":"University of Wisconsin-Continuing Education","platformName":"ios","record_video":"true","udid":"6cab51ed4852049ade8d8d0f808b842bd12f0d0e"},"capabilities":{"desiredCapabilities":{"automationName":"XCUITest","browserName":"Safari","build":"2018-02-07-17-58","deviceName":"iPad","max_duration":14400,"name":"University of Wisconsin-Continuing Education","platformName":"ios","record_video":"true","udid":"6cab51ed4852049ade8d8d0f808b842bd12f0d0e"},"firstMatch":[{"browserName":"Safari","platformName":"ios"}]}} | |
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"automationName":"XCUITest","browserName":"Safari","build":"2018-02-07-17-58","deviceName":"iPad","max_duration":14400,"name":"University of Wisconsin-Continuing Education","platformName":"ios","record_video":"true","udid":"6cab51ed4852049ade8d8d0f808b842bd12f0d0e"},null,{"desiredCapabilities":{"automationName":"XCUITest","browserName":"Safari","build":"2018-02-07-17-58","deviceName":"iPad","max_duration":14400,"name":"University of Wisconsin-Continuing Education","platformName":"ios","record_video":"true","udid":"6cab51ed4852049ade8d8d0f808b842bd12f0d0e"},"firstMatch":[{"browserName":"Safari","platformName":"ios"}]}] | |
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1518047918056 (17:58:38 GMT-0600 (CST)) | |
[Appium] Merged W3C capabilities {"desiredCapabilities":{"automationName":"XCUIT... into desiredCapabilities object {"automationName":"XCUITest","browserName":"Saf... | |
[Appium] Creating new XCUITestDriver (v2.64.0) session | |
[Appium] Capabilities: | |
[Appium] automationName: XCUITest | |
[Appium] browserName: Safari | |
[Appium] build: 2018-02-07-17-58 | |
[Appium] deviceName: iPad | |
[Appium] max_duration: 14400 | |
[Appium] name: University of Wisconsin-Continuing Education | |
[Appium] platformName: ios | |
[Appium] record_video: true | |
[Appium] udid: 6cab51ed4852049ade8d8d0f808b842bd12f0d0e | |
[BaseDriver] The following capabilities were provided, but are not recognized by appium: build, max_duration, name, record_video. | |
[BaseDriver] Session created with session id: 4e8bc755-2d18-46ef-b783-681963546002 | |
[debug] [XCUITest] Current user: 'barton' | |
[debug] [XCUITest] Current version of libimobiledevice: stable 1.2.0 (bottled), HEAD | |
[debug] [XCUITest] Xcode version set to '9.2' (tools v9.2.0.0.1.1510905681) | |
[debug] [XCUITest] iOS SDK Version set to '11.2' | |
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1518047919131 (17:58:39 GMT-0600 (CST)) | |
[debug] [XCUITest] Available devices: 6cab51ed4852049ade8d8d0f808b842bd12f0d0e | |
[debug] [XCUITest] Creating iDevice object with udid '6cab51ed4852049ade8d8d0f808b842bd12f0d0e' | |
[XCUITest] Determining device to run tests on: udid: '6cab51ed4852049ade8d8d0f808b842bd12f0d0e', real device: true | |
[XCUITest] Safari test requested | |
[debug] [BaseDriver] Event 'appConfigured' logged at 1518047919279 (17:58:39 GMT-0600 (CST)) | |
[debug] [BaseDriver] Event 'resetStarted' logged at 1518047919279 (17:58:39 GMT-0600 (CST)) | |
[debug] [XCUITest] Reset: running ios real device reset flow | |
[debug] [BaseDriver] Event 'resetComplete' logged at 1518047919280 (17:58:39 GMT-0600 (CST)) | |
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog | |
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog' | |
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1518047919508 (17:58:39 GMT-0600 (CST)) | |
[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] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body | |
[debug] [XCUITest] WDA is not listening at 'http://localhost:8100/' | |
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1518047919578 (17:58:39 GMT-0600 (CST)) | |
[XCUITest] Launching WebDriverAgent on the device | |
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage' | |
[debug] [XCUITest] Killing running processes 'xcodebuild.*6cab51ed4852049ade8d8d0f808b842bd12f0d0e, iproxy 8100' for the device 6cab51ed4852049ade8d8d0f808b842bd12f0d0e... | |
[debug] [XCUITest] 'pgrep -nif xcodebuild.*6cab51ed4852049ade8d8d0f808b842bd12f0d0e' didn't detect any matching processes. Return code: 1 | |
[debug] [XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1 | |
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB | |
[HTTP] --> GET /wd/hub/status {} | |
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: [] | |
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.7.2","revision":"0e9005b71127dc088d693513da4b638e052c77e1"}} | |
[HTTP] <-- GET /wd/hub/status 200 15 ms - 121 | |
[debug] [XCUITest] Using Xcode 9.2, so fixing WDA codebase | |
[XCUITest] Cannot parse major and minor version numbers from platformVersion "null". Will build for the default platform instead | |
[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=6cab51ed4852049ade8d8d0f808b842bd12f0d0e' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' | |
[debug] [XCUITest] Output from xcodebuild will not be logged. To see xcode logging, use 'showXcodeLog' desired capability | |
[HTTP] --> GET /wd/hub/status {} | |
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: [] | |
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.7.2","revision":"0e9005b71127dc088d693513da4b638e052c77e1"}} | |
[HTTP] <-- GET /wd/hub/status 200 18 ms - 121 | |
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body | |
[debug] [XCUITest] Log file for xcodebuild test: /var/folders/pm/qwz697zx1gs4fm3mxhmkcqfh0000gn/T/com.apple.dt.XCTest/IDETestRunSession-6790713C-C885-4582-A9C7-CF4DF54FD3F3/WebDriverAgentRunner-E7F2950E-F2BD-41CF-A294-78B99C0EA39B/Session-WebDriverAgentRunner-2018-02-07_175846-tMTp0x.log | |
[Xcode] 2018-02-07 17:58:46.826 xcodebuild[14130:145106] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/barton/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fef1b82d440 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} | |
[Xcode] | |
[Xcode] 2018-02-07 17:58:46.826 xcodebuild[14130:145106] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "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} | |
[Xcode] | |
[Xcode] ** TEST EXECUTE FAILED ** | |
[Xcode] | |
[Xcode] | |
[XCUITest] xcodebuild exited with code '65' and signal 'null' | |
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1518047926845 (17:58:46 GMT-0600 (CST)) | |
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". 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 | |
[XCUITest] Shutting down iproxy process (pid 14127) | |
[debug] [XCUITest] iproxy exited with code 'null' | |
[debug] [XCUITest] Removing WDA application from device | |
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". 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. | |
at XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13) | |
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at <anonymous> | |
Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". 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. | |
at XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13) | |
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at <anonymous> | |
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on. | |
[debug] [iOSLog] Stopping iOS log capture | |
[MJSONWP] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". 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. | |
at XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13) | |
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at <anonymous> | |
[HTTP] <-- POST /wd/hub/session 500 9045 ms - 470 | |
[HTTP] --> GET /wd/hub/status {} | |
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: [] | |
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.7.2","revision":"0e9005b71127dc088d693513da4b638e052c77e1"}} | |
[HTTP] <-- GET /wd/hub/status 200 15 ms - 121 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment