Skip to content

Instantly share code, notes, and snippets.

@jayczech23
Last active February 6, 2017 20:41
Show Gist options
  • Save jayczech23/fb014a6c7a53239c8f42fba32ea359bb to your computer and use it in GitHub Desktop.
Save jayczech23/fb014a6c7a53239c8f42fba32ea359bb to your computer and use it in GitHub Desktop.
Appium Logs when trying to run test
[HTTP] --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"iPhone 6","udid":"889f82039dce7c9d45173dd8547b08363e74dcd2","app":"/Users/ueff/Desktop/iOSBuilds/iPhone6FMBuild.ipa","noReset":true,"appium-version":"1.0","platformVersion":"10.2","platformName":"iOS","automationName":"XCUITest","bundleId":"com.att.fleetmode.ios"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"iPhone 6","udid":"889f82039dce7c9d45173dd8547b08363e74dcd2","app":"/Users/ueff/Desktop/iOSBuilds/iPhone6FMBuild.ipa","noReset":true,"appium-version":"1.0","platformVersion":"10.2","platformName":"iOS","automationName":"XCUITest","bundleId":"com.att.fleetmode.ios"},{},null,null,null]
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] deviceName: 'iPhone 6'
[Appium] udid: '889f82039dce7c9d45173dd8547b08363e74dcd2'
[Appium] app: '/Users/ueff/Desktop/iOSBuilds/iPhone6FMBuild.ipa'
[Appium] noReset: true
[Appium] appium-version: '1.0'
[Appium] platformVersion: '10.2'
[Appium] platformName: 'iOS'
[Appium] automationName: 'XCUITest'
[Appium] bundleId: 'com.att.fleetmode.ios'
[debug] [XCUITest] XCUITestDriver version: 2.5.3
[BaseDriver] The following capabilities were provided, but are not recognized by appium: appium-version.
[BaseDriver] Session created with session id: cc08f6d2-d84a-4121-8c1c-f981da4a55be
[debug] [XCUITest] Xcode version set to '8.2.1'
[debug] [XCUITest] iOS SDK Version set to '10.2'
[debug] [XCUITest] Available devices: 889f82039dce7c9d45173dd8547b08363e74dcd2
[debug] [XCUITest] Creating iDevice object with udid 889f82039dce7c9d45173dd8547b08363e74dcd2
[XCUITest] Determining device to run tests on: udid: '889f82039dce7c9d45173dd8547b08363e74dcd2', real device: true
[BaseDriver] Using local app '/Users/ueff/Desktop/iOSBuilds/iPhone6FMBuild.ipa'
[debug] [BaseDriver] Copying local zip to tmp dir
[debug] [BaseDriver] Unzipping /var/folders/m1/2q7fwhhn1rl2yhk3fb5xfyj80000gn/T/201716-10033-8wi42s.0ldo1ug14i/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/m1/2q7fwhhn1rl2yhk3fb5xfyj80000gn/T/201716-10033-8wi42s.0ldo1ug14i/appium-app.zip
[BaseDriver] Unzipped local app to '/var/folders/m1/2q7fwhhn1rl2yhk3fb5xfyj80000gn/T/201716-10033-8wi42s.0ldo1ug14i/Payload/FleetMode.app'
[debug] [XCUITest] Checking whether app '/var/folders/m1/2q7fwhhn1rl2yhk3fb5xfyj80000gn/T/201716-10033-8wi42s.0ldo1ug14i/Payload/FleetMode.app' is actually present
[debug] [XCUITest] App is present
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'
[XCUITest] Setting up real device
[debug] [XCUITest] App is already installed.
[debug] [XCUITest] Full reset not requested. No need to install.
[XCUITest] Using WDA path: '/Users/ueff/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Users/ueff/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Killing hanging processes
[debug] [XCUITest] iproxy exited with code 'null'
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/ueff/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=889f82039dce7c9d45173dd8547b08363e74dcd2 -configuration Debug' in directory '/Users/ueff/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [XCUITest] Log file for xcodebuild test: /Users/ueff/Library/Developer/Xcode/DerivedData/WebDriverAgent-gqjvlaqaqtgrzrfbjevmbvrvtqqq/Logs/Test/0EEE78D4-015B-4B62-AFEB-536302194CC1/Session-WebDriverAgentRunner-2017-02-06_153918-HyeTtI.log
[Xcode] 2017-02-06 15:39:18.717 xcodebuild[22626:167523] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/ueff/Library/Developer/Xcode/DerivedData/WebDriverAgent-gqjvlaqaqtgrzrfbjevmbvrvtqqq/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fe8af39c5a0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[Xcode] 2017-02-06 15:39:18.717 xcodebuild[22626:167523] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
[Xcode] ** TEST EXECUTE FAILED **
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[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 22621)
[debug] [XCUITest] iproxy exited with code 'null'
[debug] [XCUITest] Removing WDA application from device
[XCUITest] Using WDA path: '/Users/ueff/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Users/ueff/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Killing hanging processes
[debug] [XCUITest] WebDriverAgent successfully started after 2916ms
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/ueff/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=889f82039dce7c9d45173dd8547b08363e74dcd2 -configuration Debug' in directory '/Users/ueff/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [XCUITest] Log file for xcodebuild test: /Users/ueff/Library/Developer/Xcode/DerivedData/WebDriverAgent-gqjvlaqaqtgrzrfbjevmbvrvtqqq/Logs/Test/0BF0E9D8-66DE-409A-8CEF-CCE6576BB611/Session-WebDriverAgentRunner-2017-02-06_153925-59k8nW.log
[Xcode] 2017-02-06 15:39:25.764 xcodebuild[22660:167708] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/ueff/Library/Developer/Xcode/DerivedData/WebDriverAgent-gqjvlaqaqtgrzrfbjevmbvrvtqqq/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fec86530db0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[Xcode] 2017-02-06 15:39:25.764 xcodebuild[22660:167708] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
[Xcode] ** TEST EXECUTE FAILED **
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[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 22656)
[debug] [XCUITest] iproxy exited with code 'null'
[debug] [XCUITest] Removing WDA application from device
[debug] [XCUITest] WebDriverAgent successfully started after 1576ms
[XCUITest] Using WDA path: '/Users/ueff/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Users/ueff/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Killing hanging processes
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/ueff/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=889f82039dce7c9d45173dd8547b08363e74dcd2 -configuration Debug' in directory '/Users/ueff/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [XCUITest] Log file for xcodebuild test: /Users/ueff/Library/Developer/Xcode/DerivedData/WebDriverAgent-gqjvlaqaqtgrzrfbjevmbvrvtqqq/Logs/Test/66A90C5A-0F29-4110-966A-C4A80CD7EBFD/Session-WebDriverAgentRunner-2017-02-06_153933-YqHhoK.log
[Xcode] 2017-02-06 15:39:33.131 xcodebuild[22693:167866] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/ueff/Library/Developer/Xcode/DerivedData/WebDriverAgent-gqjvlaqaqtgrzrfbjevmbvrvtqqq/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fb5c84d8380 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[Xcode] 2017-02-06 15:39:33.131 xcodebuild[22693:167866] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
[Xcode] ** TEST EXECUTE FAILED **
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[XCUITest] Error: xcodebuild failed with code 65
at SubProcess.<anonymous> (../../lib/webdriveragent.js:246:25)
at emitTwo (events.js:106:13)
at SubProcess.emit (events.js:191:7)
at ChildProcess.<anonymous> (../../lib/teen_process.js:205:14)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
Error: xcodebuild failed with code 65
at SubProcess.<anonymous> (../../lib/webdriveragent.js:246:25)
at emitTwo (events.js:106:13)
at SubProcess.emit (events.js:191:7)
at ChildProcess.<anonymous> (../../lib/teen_process.js:205:14)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
[debug] [JSONWP Proxy] Proxying [DELETE /session/cc08f6d2-d84a-4121-8c1c-f981da4a55be] to [DELETE http://localhost:8100/session/cc08f6d2-d84a-4121-8c1c-f981da4a55be] with no body
[MJSONWP] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: Error: socket hang up
at JWProxy.proxy$ (../../../lib/jsonwp-proxy/proxy.js:127:13)
at tryCatch (/Users/ueff/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/ueff/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/ueff/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Users/ueff/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session 500 23333 ms - 216
[debug] [XCUITest] WebDriverAgent successfully started after 1871ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment