Skip to content

Instantly share code, notes, and snippets.

@mohanngs
Created October 17, 2016 12:46
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 mohanngs/28afdf8cb1dc5484c69ff9c22dc4a47c to your computer and use it in GitHub Desktop.
Save mohanngs/28afdf8cb1dc5484c69ff9c22dc4a47c to your computer and use it in GitHub Desktop.
appium &
[2] 4068
Sanchas-MacBook-Pro:~ sancha$ [Appium] Welcome to Appium v1.6.0-beta1 (REV 66cda616d1f2a2f5cb6bcece7be9ff29f5d6f863)
[HTTP] Could not start REST http interface listener. The requested port may already be in use. Please make sure there is no other instance of this server running already.
Error: listen EADDRINUSE 0.0.0.0:4723
at Object.exports._errnoException (util.js:907:11)
at exports._exceptionWithHostPort (util.js:930:20)
at Server._listen2 (net.js:1250:14)
at listen (net.js:1286:10)
at net.js:1395:9
at nextTickCallbackWith3Args (node.js:453:9)
at process._tickCallback (node.js:359:17)
[HTTP]-->POST/wd/hub/session{"desiredCapabilities":{"app":
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":
[Appium] Requested iOS support with version >= 10, using XCUITest driver instead of UIAutomation-based driver, since the latter is unsupported on iOS 10 and up.
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] app:
[Appium] platformVersion: '10'
[Appium] automationName: 'Appium'
[Appium] bundleId:
[Appium] browserName: ''
[Appium] deviceOrientation: 'portrait'
[Appium] platformName: 'iOS'
[Appium] udid: '81a8fe1a82947253aa5ef08e6a056728777d53ea'
[Appium] deviceName:
[debug] [XCUITest] XCUITestDriver version: 2.0.27
[BaseDriver] The following capabilities were provided, but are not recognized by appium: deviceOrientation.
[BaseDriver] Session created with session id: 3cdff397-4fe1-4e96-8cd3-2a16515e4db0
[debug] [XCUITest] Xcode version set to '8.0'
[debug] [XCUITest] iOS SDK Version set to '10.0'
[debug] [XCUITest] Available devices: 81a8fe1a82947253aa5ef08e6a056728777d53ea
[debug] [XCUITest] Creating iDevice object with udid 81a8fe1a82947253aa5ef08e6a056728777d53ea
[XCUITest] Determining device to run tests on: udid: '81a8fe1a82947253aa5ef08e6a056728777d53ea', real device: true
[BaseDriver] Using local app
[debug] [XCUITest] Checking whether app is actually 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] Stdout from app isInstalled check: [....] Waiting for iOS device to be connected
[....] Using iPhone 5s (Global/CDMA) 'Lokesh’s iPhone' (81a8fe1a82947253aa5ef08e6a056728777d53ea).
true
[debug] [XCUITest] App is installed.
[debug] [XCUITest] Full reset not requested. No need to install.
[XCUITest] Using default agent: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
[XCUITest] Using default bootstrap: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Beginning test with command '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/bin/run-xcodebuild.sh --project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj --scheme WebDriverAgentRunner --destination id=81a8fe1a82947253aa5ef08e6a056728777d53ea' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Waiting for WebDriverAgent to start on device
[debug] [XCUITest] Log file for xcodebuild test: /DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/877A8E82-C7C3-4845-B4CB-19823A1CF716/Session-WebDriverAgentRunner-2016-10-17_014320-rdxfRS.log
[Xcode] 2016-10-17 01:43:24.346 xcodebuild[4081:55647] Error Domain=IDETestOperationsObserverErrorDomain Code=3 "Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/sancha/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/877A8E82-C7C3-4845-B4CB-19823A1CF716/Session-WebDriverAgentRunner-2016-10-17_014320-rdxfRS.log" UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/sancha/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/877A8E82-C7C3-4845-B4CB-19823A1CF716/Session-WebDriverAgentRunner-2016-10-17_014320-rdxfRS.log}
[Xcode] Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.0'
[Xcode]
[Xcode]
Testing failed:
Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.0'
** TEST FAILED **
The following build commands failed:
Check dependencies
(1 failure)
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[debug] [XCUITest] xcodebuild failure warrants retry. Retrying...
[XCUITest] Shutting down WebDriverAgent
[XCUITest] System log exited with code '0'
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Beginning test with command '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/bin/run-xcodebuild.sh --project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj --scheme WebDriverAgentRunner --destination id=81a8fe1a82947253aa5ef08e6a056728777d53ea' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Waiting for WebDriverAgent to start on device
[debug] [XCUITest] Log file for xcodebuild test:Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/778B79B6-2067-424E-A99A-5FE20077B859/Session-WebDriverAgentRunner-2016-10-17_014329-CgAS3h.log
[Xcode] 2016-10-17 01:43:33.949 xcodebuild[4317:56151] Error Domain=IDETestOperationsObserverErrorDomain Code=3 "Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/sancha/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/778B79B6-2067-424E-A99A-5FE20077B859/Session-WebDriverAgentRunner-2016-10-17_014329-CgAS3h.log" UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/sancha/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/778B79B6-2067-424E-A99A-5FE20077B859/Session-WebDriverAgentRunner-2016-10-17_014329-CgAS3h.log}
[Xcode] Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.0'
[Xcode] Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.0'
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.0'
[Xcode]
Testing failed:
[Xcode] Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.0'
** TEST FAILED **
The following build commands failed:
Check dependencies
(1 failure)
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[XCUITest] Error: xcodebuild failed with code 65
at SubProcess.<anonymous> (lib/webdriveragent.js:294:25)
at emitTwo (events.js:87:13)
at SubProcess.emit (events.js:172:7)
at ChildProcess.<anonymous> (lib/teen_process.js:191:14)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
[Error: xcodebuild failed with code 65]
[debug] [XCUITest] Running ios real device reset flow
[debug] [XCUITest] Resetting simulator
[debug] [iOSLog] Stopping iOS log capture
[MJSONWP] Encountered internal error running command: Error: xcodebuild failed with code 65
at SubProcess.<anonymous> (lib/webdriveragent.js:294:25)
at emitTwo (events.js:87:13)
at SubProcess.emit (events.js:172:7)
at ChildProcess.<anonymous> (lib/teen_process.js:191:14)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
[HTTP]<-- POST /wd/hub/session 50031650 ms - 167
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [XCUITest] Waiting for WebDriverAgent ser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment