Skip to content

Instantly share code, notes, and snippets.

@mandelmonkey
Created November 17, 2019 00:57
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 mandelmonkey/fa60dbb2f6b860883d582b6b65a2bc3b to your computer and use it in GitHub Desktop.
Save mandelmonkey/fa60dbb2f6b860883d582b6b65a2bc3b to your computer and use it in GitHub Desktop.
[debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[debug] [XCUITest] Capability 'useNewWDA' set to true, so uninstalling WDA before proceeding
[XCUITest] Shutting down sub-processes
[debug] [iOSSim] Building bundle path map
[debug] [iOSSim] The simulator has '' which have 'WebDriverAgentRunner-Runner' as their 'CFBundleName'
[debug] [XCUITest] No WDAs on the device.
[debug] [BaseDriver] Event 'wdaUninstalled' logged at 1573951552281 (00:45:52 GMT+0000 (GMT))
[debug] [XCUITest] Trying to start WebDriverAgent 2 times with 10000ms interval
[debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1573951552284 (00:45:52 GMT+0000 (GMT))
[XCUITest] Launching WebDriverAgent on the device
[WebDriverAgent] Fetching dependencies
[WebDriverAgent] Installing/updating dependencies for platforms 'iOS', 'tvOS'
[debug] [WebDriverAgent] *** Checking out YYCache at "1.1.0"
[debug] [WebDriverAgent] *** Checking out RoutingHTTPServer at "v1.0.2"
[debug] [WebDriverAgent] *** Checking out CocoaAsyncSocket at "7.6.3"
[debug] [WebDriverAgent] *** Cloning YYCache
[debug] [WebDriverAgent] *** Cloning RoutingHTTPServer
[debug] [WebDriverAgent] *** Cloning CocoaAsyncSocket
[debug] [WebDriverAgent] *** Skipped downloading CocoaAsyncSocket.framework binary due to the error:
[debug] [WebDriverAgent] "Maximum number of login attempts exceeded. Please try again later."
[debug] [WebDriverAgent] *** Skipped downloading RoutingHTTPServer.framework binary due to the error:
[debug] [WebDriverAgent] "Maximum number of login attempts exceeded. Please try again later."
[debug] [WebDriverAgent] *** xcodebuild output can be found in /var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/carthage-xcodebuild.VaEzTb.log
[debug] [WebDriverAgent] *** Skipped downloading YYCache.framework binary due to the error:
[debug] [WebDriverAgent] "Maximum number of login attempts exceeded. Please try again later."
[debug] [WebDriverAgent] *** Building scheme "tvOS Framework" in CocoaAsyncSocket.xcodeproj
[debug] [WebDriverAgent] *** Building scheme "iOS Framework" in CocoaAsyncSocket.xcodeproj
[debug] [WebDriverAgent] *** Building scheme "RoutingHTTPServer tvOS" in RoutingHTTPServer.xcodeproj
[debug] [WebDriverAgent] *** Building scheme "RoutingHTTPServer iOS" in RoutingHTTPServer.xcodeproj
[debug] [WebDriverAgent] *** Building scheme "YYCache tvOS" in YYCache.xcodeproj
[debug] [WebDriverAgent] *** Building scheme "YYCache iOS" in YYCache.xcodeproj
[HTTP] <-- POST /wd/hub/session - - ms - -
[HTTP] 
 1) "before all" hook for "Should do a test"
h8
> undefined undefined
> undefined /session undefined
[HTTP] --> DELETE /wd/hub/session
[HTTP] {}
[debug] [HTTP] No route found. Setting content type to 'text/plain'
[HTTP] <-- DELETE /wd/hub/session 404 25 ms - 57
[HTTP] 
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"browserName":"","platformName":"iOS","platformVersion":"12.0","deviceName":"iPhone X","automationName":"XCUITest","useNewWDA":true,"noReset":true,"showXcodeLog":true,"app":"/Users/travis/build/mandelmonkey/travisTest/build/iphone/build/Products/Debug-iphonesimulator/travisTest.app"}}
undefined
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"browserName":"","platformName":"iOS","platformVersion":"12.0","deviceName":"iPhone X","automationName":"XCUITest","useNewWDA":true,"noReset":true,"showXcodeLog":true,"app":"/Users/travis/build/mandelmonkey/travisTest/build/iphone/build/Products/Debug-iphonesimulator/travisTest.app"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1573952024279 (00:53:44 GMT+0000 (GMT))
[Appium] Appium v1.15.1 creating new XCUITestDriver (v2.133.1) session
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {
[debug] [BaseDriver] "browserName": "",
[debug] [BaseDriver] "platformName": "iOS",
[debug] [BaseDriver] "platformVersion": "12.0",
[debug] [BaseDriver] "deviceName": "iPhone X",
[debug] [BaseDriver] "automationName": "XCUITest",
[debug] [BaseDriver] "useNewWDA": true,
[debug] [BaseDriver] "noReset": true,
 2) "after all" hook for "Should do a test"
[debug] [BaseDriver] "showXcodeLog": true,
[debug] [BaseDriver] "app": "/Users/travis/build/mandelmonkey/travisTest/build/iphone/build/Products/Debug-iphonesimulator/travisTest.app"
[debug] [BaseDriver] }
  0 passing (10m)
 2 failing
 1) ios simple
"before all" hook for "Should do a test":
 Error: Timeout of 600000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/travis/build/mandelmonkey/travisTest/test.js)

 2) ios simple
"after all" hook for "Should do a test":
 Error: [quit()] Unexpected data in simpleCallback.
at exports.newError (node_modules/wd/lib/utils.js:152:13)
at PromiseWebdriver.<anonymous> (node_modules/wd/lib/callbacks.js:61:12)
at cb (node_modules/wd/lib/webdriver.js:182:22)
at /Users/travis/build/mandelmonkey/travisTest/node_modules/wd/lib/webdriver.js:196:5
at Request._callback (node_modules/wd/lib/http-utils.js:89:7)
at Request.self.callback (node_modules/request/request.js:185:22)
at Request.<anonymous> (node_modules/request/request.js:1161:10)
at IncomingMessage.<anonymous> (node_modules/request/request.js:1083:12)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)

[BaseDriver] Session created with session id: 861922de-27d6-442a-8ec6-0a11d6225890
[debug] [XCUITest] Current user: 'travis'
[XCUITest] iOS SDK Version set to '13.2'
[iOSSim] Constructing iOS simulator for Xcode version 11.2 with udid '0E3F9429-2E52-4999-92BA-7407C863176C'
[XCUITest] Determining device to run tests on: udid: '0E3F9429-2E52-4999-92BA-7407C863176C', real device: false
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1573952025946 (00:53:45 GMT+0000 (GMT))
[BaseDriver] Using local app '/Users/travis/build/mandelmonkey/travisTest/build/iphone/build/Products/Debug-iphonesimulator/travisTest.app'
[debug] [BaseDriver] Event 'appConfigured' logged at 1573952025950 (00:53:45 GMT+0000 (GMT))
[debug] [XCUITest] Checking whether app '/Users/travis/build/mandelmonkey/travisTest/build/iphone/build/Products/Debug-iphonesimulator/travisTest.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/Users/travis/build/mandelmonkey/travisTest/build/iphone/build/Products/Debug-iphonesimulator/travisTest.app': 'travisTest'
[debug] [BaseDriver] Event 'resetStarted' logged at 1573952025954 (00:53:45 GMT+0000 (GMT))
[debug] [XCUITest] Reset: noReset is on. Leaving simulator as is
[debug] [BaseDriver] Event 'resetComplete' logged at 1573952025955 (00:53:45 GMT+0000 (GMT))
[debug] [IOSSimulatorLog] Starting log capture for iOS Simulator with udid '0E3F9429-2E52-4999-92BA-7407C863176C', using 'xcrun simctl spawn 0E3F9429-2E52-4999-92BA-7407C863176C log stream --style compact'
[debug] [XCUITest] Crash reports root '/Users/travis/Library/Logs/DiagnosticReports' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'lo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment