Skip to content

Instantly share code, notes, and snippets.

@mohammedalhaj
Created September 24, 2019 07:45
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 mohammedalhaj/8f05d7cec3ef0ddac2b561c75965cc73 to your computer and use it in GitHub Desktop.
Save mohammedalhaj/8f05d7cec3ef0ddac2b561c75965cc73 to your computer and use it in GitHub Desktop.
[info] [Appium] Welcome to Appium v1.12.1
[info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"app":"/Users/mohammadalhaj/ios/src/test/resources/Builds/ios.app","platformVersion":"13","automationName":"XCUITest","bundleId":"com.genie9.intellizoolz","autoGrantPermissions":"true","platformName":"iOS","udid":"EEA97C54-8F15-47D7-AC75-0CA7FBE810CF","deviceName":"iPhone 11 pro","autoAcceptAlerts":"true"},"capabilities":{"alwaysMatch":{"appium:app":"/Users/mohammadalhaj/ios/src/test/resources/Builds/ios.app","appium:autoAcceptAlerts":"true","appium:autoGrantPermissions":"true","appium:automationName":"XCUITest","appium:bundleId":"com.genie9.intellizoolz","appium:deviceName":"iPhone 11 pro","platformName":"ios","appium:platformVersion":"13","appium:udid":"EEA97C54-8F15-47D7-AC75-0CA7FBE810CF"},"firstMatch":[{}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/mohammadalhaj/ios/src/test/resources/Builds/ios.app","platformVersion":"13","automationName":"XCUITest","bundleId":"com.genie9.intellizoolz","autoGrantPermissions":"true","platformName":"iOS","udid":"EEA97C54-8F15-47D7-AC75-0CA7FBE810CF","deviceName":"iPhone 11 pro","autoAcceptAlerts":"true"},null,{"alwaysMatch":{"appium:app":"/Users/mohammadalhaj/ios/src/test/resources/Builds/ios.app","appium:autoAcceptAlerts":"true","appium:autoGrantPermissions":"true","appium:automationName":"XCUITest","appium:bundleId":"com.genie9.intellizoolz","appium:deviceName":"iPhone 11 pro","platformName":"ios","appium:platformVersion":"13","appium:udid":"EEA97C54-8F15-47D7-AC75-0CA7FBE810CF"},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1569310504159 (10:35:04 GMT+0300 (EEST))
[info] [Appium] Appium v1.12.1 creating new XCUITestDriver (v2.110.1) session
[info] [Appium] Capabilities:
[info] [Appium] platformName: ios
[info] [Appium] app: /Users/mohammadalhaj/ios/src/test/resources/Builds/ios.app
[info] [Appium] autoAcceptAlerts: true
[info] [Appium] autoGrantPermissions: true
[info] [Appium] automationName: XCUITest
[info] [Appium] bundleId: com.genie9.intellizoolz
[info] [Appium] deviceName: iPhone 11 pro
[info] [Appium] platformVersion: 13
[info] [Appium] udid: EEA97C54-8F15-47D7-AC75-0CA7FBE810CF
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"app":"/Users/mohammadalha... were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa...
[warn] [BaseDriver] Capability 'autoAcceptAlerts' changed from string to boolean. This may cause unexpected behavior
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: autoGrantPermissions.
[info] [BaseDriver] Session created with session id: ea1a649a-93e0-4505-a76f-39f2fc81f6d0[warn] [XCUITest] The 'idevice_id' program is not installed. If you are running a real device test it is necessary. Install with 'brew install libimobiledevice --HEAD'
[debug] [XCUITest] Available devices: [info] [iOSSim] Constructing iOS simulator for Xcode version 11.0 with udid 'EEA97C54-8F15-47D7-AC75-0CA7FBE810CF'
[info] [XCUITest] Determining device to run tests on: udid: 'EEA97C54-8F15-47D7-AC75-0CA7FBE810CF', real device: false
[info] [XCUITest] Xcode version set to '11.0' (tools v10.3.0.0.1.1562985497)[info] [XCUITest] iOS SDK Version set to '13.0'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1569310517471 (10:35:17 GMT+0300 (EEST))
[info] [BaseDriver] Using local app '/Users/mohammadalhaj/ios/src/test/resources/Builds/ios.app'
[debug] [BaseDriver] Event 'appConfigured' logged at 1569310517475 (10:35:17 GMT+0300 (EEST))
[debug] [XCUITest] Checking whether app '/Users/mohammadalhaj/ios/src/test/resources/Builds/ios.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [BaseDriver] Event 'resetStarted' logged at 1569310517476 (10:35:17 GMT+0300 (EEST))
[info] [XCUITest] Not scrubbing third party app in anticipation of uninstall
[debug] [BaseDriver] Event 'resetComplete' logged at 1569310517577 (10:35:17 GMT+0300 (EEST))
[warn] [XCUITest] Continuing without capturing device logs: iOS Simulator with udid EEA97C54-8F15-47D7-AC75-0CA7FBE810CF is not running
[info] [XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOSSim] Setting preferences of EEA97C54-8F15-47D7-AC75-0CA7FBE810CF Simulator to {"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}[debug] [iOSSim] Updated EEA97C54-8F15-47D7-AC75-0CA7FBE810CF Simulator preferences at '/Users/mohammadalhaj/Library/Preferences/com.apple.iphonesimulator.plist' with {"DevicePreferences":{"EEA97C54-8F15-47D7-AC75-0CA7FBE810CF":{"ConnectHardwareKeyboard":false}},"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Got Simulator UI client PID: 389
[info] [iOSSim] Booting Simulator with UDID EEA97C54-8F15-47D7-AC75-0CA7FBE810CF...[info] [iOSSim] Simulator with UDID EEA97C54-8F15-47D7-AC75-0CA7FBE810CF booted in 20 seconds
[debug] [BaseDriver] Event 'simStarted' logged at 1569310538664 (10:35:38 GMT+0300 (EEST))[debug] [XCUITest] Starting log capture for iOS Simulator with udid 'EEA97C54-8F15-47D7-AC75-0CA7FBE810CF', using 'xcrun simctl spawn EEA97C54-8F15-47D7-AC75-0CA7FBE810CF log stream --style compact'[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1569310539294 (10:35:39 GMT+0300 (EEST))
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneSimulator"][debug] [XCUITest] Reset requested. Removing app with id 'com.genie9.intellizoolz' from the device[debug] [XCUITest] Cleaning installd cache to save the disk space
[debug] [XCUITest] Installing '/Users/mohammadalhaj/ios/src/test/resources/Builds/ios.app' on Simulator with UUID 'EEA97C54-8F15-47D7-AC75-0CA7FBE810CF'...[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1569310556282 (10:35:56 GMT+0300 (EEST))
[info] [XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[info] [XCUITest] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/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] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [XCUITest] WDA is not listening at 'http://localhost:8100/'
[debug] [XCUITest] WDA is currently not running. There is nothing to cache
[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 1569310556415 (10:35:56 GMT+0300 (EEST))
[info] [XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Killing running processes 'xcodebuild.*EEA97C54-8F15-47D7-AC75-0CA7FBE810CF, iproxy 8100, EEA97C54-8F15-47D7-AC75-0CA7FBE810CF.*XCTRunner' for the device EEA97C54-8F15-47D7-AC75-0CA7FBE810CF...
[debug] [XCUITest] 'pgrep -nif xcodebuild.*EEA97C54-8F15-47D7-AC75-0CA7FBE810CF' 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] 'pgrep -nif EEA97C54-8F15-47D7-AC75-0CA7FBE810CF.*XCTRunner' didn't detect any matching processes. Return code: 1
[warn] [XCUITest] Cannot parse major and minor version numbers from platformVersion "13". Will build for the default platform instead
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=EEA97C54-8F15-47D7-AC75-0CA7FBE810CF GCC_TREAT_WARNINGS_AS_ERRORS=0' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will not be logged. To change this, use 'showXcodeLog' desired capability[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}[debug] [XCUITest] Log file for xcodebuild test: /Users/mohammadalhaj/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2019.09.24_10-36-00-+0300.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-56E8976D-B47C-41F8-A47B-D243E29870C5/WebDriverAgentRunner-F2CFE3DA-EBCF-414B-B39E-3B5789CD9E1D/Session-WebDriverAgentRunner-2019-09-24_103601-mojNDz.log[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [WD Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"13.0\",\n \"sdkVersion\" : \"13.0\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"13.0\",\n \"ip\" : \"192.168.1.220\"\n },\n \"build\" : {\n \"upgradedAt\" : \"1554217107091\",\n \"time\" : \"Sep 23 2019 16:30:10\",\n \"productBundleIdentifier\" : \"com.facebook.WebDriverAgentRunner\"\n }\n },\n \"sessionId\" : \"576C6FEF-27FA-400F-8B7B-13968DD22E13\",\n \"status\" : 0\n}"
[debug] [XCUITest] WebDriverAgent information:
[debug] [XCUITest] {
[debug] [XCUITest] "state": "success",
[debug] [XCUITest] "os": {
[debug] [XCUITest] "name": "iOS",
[debug] [XCUITest] "version": "13.0",
[debug] [XCUITest] "sdkVersion": "13.0"
[debug] [XCUITest] },
[debug] [XCUITest] "ios": {
[debug] [XCUITest] "simulatorVersion": "13.0",
[debug] [XCUITest] "ip": "192.168.1.220"
[debug] [XCUITest] },
[debug] [XCUITest] "build": {
[debug] [XCUITest] "upgradedAt": "1554217107091",
[debug] [XCUITest] "time": "Sep 23 2019 16:30:10",
[debug] [XCUITest] "productBundleIdentifier": "com.facebook.WebDriverAgentRunner"
[debug] [XCUITest] }
[debug] [XCUITest] }
[debug] [XCUITest] WebDriverAgent successfully started after 14477ms
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1569310570983 (10:36:10 GMT+0300 (EEST))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.genie9.intellizoolz","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"defaultAlertAction":"accept"}}[debug] [WD Proxy] Got response with status 200: {"value":{"sessionId":"56E549C9-60E8-4342-A34E-65A50D465772","capabilities":{"device":"iphone","browserName":" ","sdkVersion":"13.0","CFBundleIdentifier":"com.apple.springboard"}},"sessionId":"56E549C9-60E8-4342-A34E-65A50D465772","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1569310577905 (10:36:17 GMT+0300 (EEST))
[debug] [BaseDriver] Event 'wdaStarted' logged at 1569310577905 (10:36:17 GMT+0300 (EEST))
[info] [XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior.
[debug] [BaseDriver] Event 'orientationSet' logged at 1569310577906 (10:36:17 GMT+0300 (EEST))
[info] [Appium] New XCUITestDriver session created successfully, session ea1a649a-93e0-4505-a76f-39f2fc81f6d0 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1569310577907 (10:36:17 GMT+0300 (EEST))
[debug] [W3C (ea1a649a)] Cached the protocol value 'W3C' for the new session ea1a649a-93e0-4505-a76f-39f2fc81f6d0
[debug] [W3C (ea1a649a)] Responding to client with driver.createSession() result: {"capabilities":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"platformName":"ios","app":"/Users/mohammadalhaj/ios/src/test/resources/Builds/ios.app","autoAcceptAlerts":true,"autoGrantPermissions":"true","automationName":"XCUITest","bundleId":"com.genie9.intellizoolz","deviceName":"iPhone 11 pro","platformVersion":"13","udid":"EEA97C54-8F15-47D7-AC75-0CA7FBE810CF"}}
[info] [HTTP] <-- POST /wd/hub/session 200 73754 ms - 580
[info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/ea1a649a-93e0-4505-a76f-39f2fc81f6d0
[info] [HTTP] {}
[debug] [W3C (ea1a649a)] Calling AppiumDriver.getSession() with args: ["ea1a649a-93e0-4505-a76f-39f2fc81f6d0"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [WD Proxy] Matched '/' to command name 'getSession'
[debug] [WD Proxy] Proxying [GET /] to [GET http://localhost:8100/session/56E549C9-60E8-4342-A34E-65A50D465772] with no body[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [W3C (ea1a649a)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8100
[debug] [W3C (ea1a649a)] at JWProxy.command (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:236:13)
[info] [HTTP] <-- GET /wd/hub/session/ea1a649a-93e0-4505-a76f-39f2fc81f6d0 500 351 ms - 605
[info] [HTTP] 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment