Appium server takes 19 minutes to start session


#1

Anybody know why it takes 19 minutes to run the session?
Any suggestions to reduce the time?
Is this behaviour expected for my environment?

Thank you in advance.

Environment:
iMac (21.5-inch, Late 2012), 2.7 GHz Intel Core i5, 8 GB 1600 MHz DDR3, NVIDIA GeForce GT 640M 512 MB

info AppiumDoctor Appium Doctor v.1.4.3
info AppiumDoctor ### Diagnostic starting ###
info AppiumDoctor :heavy_check_mark: The Node.js binary was found at: /usr/local/bin/node
info AppiumDoctor :heavy_check_mark: Node version is 6.9.1
info AppiumDoctor :heavy_check_mark: Xcode is installed at: /Applications/Xcode.app/Contents/Developer
info AppiumDoctor :heavy_check_mark: Xcode Command Line Tools are installed.
info AppiumDoctor :heavy_check_mark: DevToolsSecurity is enabled.
info AppiumDoctor :heavy_check_mark: The Authorization DB is set up properly.
info AppiumDoctor :heavy_check_mark: Carthage was found at: /usr/local/bin/carthage
info AppiumDoctor :heavy_check_mark: HOME is set to: /Users/Maksym
info AppiumDoctor :heavy_check_mark: ANDROID_HOME is set to: /Users/Maksym/Library/Android/sdk
info AppiumDoctor :heavy_check_mark: JAVA_HOME is set to: /Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home
info AppiumDoctor :heavy_check_mark: adb exists at: /Users/Maksym/Library/Android/sdk/platform-tools/adb
info AppiumDoctor :heavy_check_mark: android exists at: /Users/Maksym/Library/Android/sdk/tools/android
info AppiumDoctor :heavy_check_mark: emulator exists at: /Users/Maksym/Library/Android/sdk/tools/emulator
info AppiumDoctor :heavy_check_mark: Bin directory of $JAVA_HOME is set
info AppiumDoctor ### Diagnostic completed, no fix needed. ###
info AppiumDoctor
info AppiumDoctor Everything looks good, bye!
info AppiumDoctor

Log from Appium server:

The server is running

[Appium] Welcome to Appium v1.8.1
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> GET /wd/hub/sessions
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getSessions() with args: []
[MJSONWP] Responding to client with driver.getSessions() result: []
[HTTP] <-- GET /wd/hub/sessions 200 8 ms - 40
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {“desiredCapabilities”:{“app”:"/Users/Maksym/Library/Developer/Xcode/DerivedData/Gaia-haumtjouswyfdxcabwdnrrxvcmiy/Build/Products/Debug-iphonesimulator/Gaia.app",“automationName”:“XCUITest”,“deviceName”:“iPad Pro (12.9-inch)”,“platformName”:“IOS”,“platformVersion”:“11.4”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:"/Users/Maksym/Library/Developer/Xcode/DerivedData/Gaia-haumtjouswyfdxcabwdnrrxvcmiy/Build/Products/Debug-iphonesimulator/Gaia.app",“automationName”:“XCUITest”,“deviceName”:“iPad Pro (12.9-inch)”,“platformName”:“IOS”,“platformVersion”:“11.4”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true},null,null]
[BaseDriver] Event ‘newSessionRequested’ logged at 1533148574563 (11:36:14 GMT-0700 (PDT))
[Appium] Creating new XCUITestDriver (v2.84.0) session
[Appium] Capabilities:
[Appium] app: /Users/Maksym/Library/Developer/Xcode/DerivedData/Gaia-haumtjouswyfdxcabwdnrrxvcmiy/Build/Products/Debug-iphonesimulator/Gaia.app
[Appium] automationName: XCUITest
[Appium] deviceName: iPad Pro (12.9-inch)
[Appium] platformName: IOS
[Appium] platformVersion: 11.4
[Appium] newCommandTimeout: 0
[Appium] connectHardwareKeyboard: true
[BaseDriver] Creating session with MJSONWP desired capabilities: {“app”:"/Users/Maksym/Libra…
[BaseDriver] Session created with session id: 0c65d833-815a-43e3-b786-066048d4efbe
[XCUITest] Current user: ‘Maksym’
[XCUITest] Xcode version set to ‘9.4.1’ (tools v9.4.1.0.1.1528165917)
[XCUITest] iOS SDK Version set to ‘11.4’
[BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1533148583472 (11:36:23 GMT-0700 (PDT))
[iOSSim] Constructing iOS simulator for Xcode version 9.4.1 with udid ‘79894AB6-1354-44F8-97FB-B470A5D9D001’
[XCUITest] Determining device to run tests on: udid: ‘79894AB6-1354-44F8-97FB-B470A5D9D001’, real device: false
[BaseDriver] Using local app ‘/Users/Maksym/Library/Developer/Xcode/DerivedData/Gaia-haumtjouswyfdxcabwdnrrxvcmiy/Build/Products/Debug-iphonesimulator/Gaia.app’
[BaseDriver] Event ‘appConfigured’ logged at 1533148584856 (11:36:24 GMT-0700 (PDT))
[XCUITest] Checking whether app ‘/Users/Maksym/Library/Developer/Xcode/DerivedData/Gaia-haumtjouswyfdxcabwdnrrxvcmiy/Build/Products/Debug-iphonesimulator/Gaia.app’ is actually present on file system
[XCUITest] App is present
[iOS] Getting bundle ID from app ‘/Users/Maksym/Library/Developer/Xcode/DerivedData/Gaia-haumtjouswyfdxcabwdnrrxvcmiy/Build/Products/Debug-iphonesimulator/Gaia.app’: ‘pro.testing.Gaia’
[BaseDriver] Event ‘resetStarted’ logged at 1533148584875 (11:36:24 GMT-0700 (PDT))
[XCUITest] Not scrubbing third party app in anticipation of uninstall
[BaseDriver] Event ‘resetComplete’ logged at 1533148585005 (11:36:25 GMT-0700 (PDT))
[XCUITest] Continuing without capturing device logs: iOS Simulator with udid 79894AB6-1354-44F8-97FB-B470A5D9D001 is not running
[XCUITest] Setting up simulator
[iOS] No reason to set locale
[iOS] No iOS / app preferences to set
[iOSSim] Matched 1 Simulator cache item for cleanup: /Users/Maksym/Library/Developer/CoreSimulator/Devices/79894AB6-1354-44F8-97FB-B470A5D9D001/data/Library/Caches/com.apple.mobile.installd.staging
[iOSSim] Setting preferences of 79894AB6-1354-44F8-97FB-B470A5D9D001 Simulator to {“ConnectHardwareKeyboard”:true}
[iOSSim] Setting common Simulator preferences to {“ConnectHardwareKeyboard”:true}
[iOSSim] Updated 79894AB6-1354-44F8-97FB-B470A5D9D001 Simulator preferences at ‘/Users/Maksym/Library/Preferences/com.apple.iphonesimulator.plist’ with {“DevicePreferences”:{“79894AB6-1354-44F8-97FB-B470A5D9D001”:{“ConnectHardwareKeyboard”:true}},“ConnectHardwareKeyboard”:true}
[iOSSim] The count of running Simulator UI client instances is 0
[iOSSim] Booting Simulator with UDID 79894AB6-1354-44F8-97FB-B470A5D9D001…
[iOSSim] Starting Simulator UI with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 79894AB6-1354-44F8-97FB-B470A5D9D001 -ConnectHardwareKeyboard 1
[iOSSim] Simulator with UDID 79894AB6-1354-44F8-97FB-B470A5D9D001 booted in 271 seconds
[BaseDriver] Event ‘simStarted’ logged at 1533148856947 (11:40:56 GMT-0700 (PDT))
[XCUITest] Starting log capture for iOS Simulator with udid ‘79894AB6-1354-44F8-97FB-B470A5D9D001’, using ‘xcrun simctl spawn 79894AB6-1354-44F8-97FB-B470A5D9D001 log stream --style compact’
[BaseDriver] Event ‘logCaptureStarted’ logged at 1533148865480 (11:41:05 GMT-0700 (PDT))
[XCUITest] Verifying application platform
[XCUITest] CFBundleSupportedPlatforms: [“iPhoneSimulator”]
[XCUITest] Reset requested. Removing app with id ‘pro.testing.Gaia’ from the device
[XCUITest] Installing ‘/Users/Maksym/Library/Developer/Xcode/DerivedData/Gaia-haumtjouswyfdxcabwdnrrxvcmiy/Build/Products/Debug-iphonesimulator/Gaia.app’ on Simulator with UUID ‘79894AB6-1354-44F8-97FB-B470A5D9D001’…
[XCUITest] The app has been installed successfully.
[BaseDriver] Event ‘appInstalled’ logged at 1533149006862 (11:43:26 GMT-0700 (PDT))
[XCUITest] Using WDA path: ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] WDA is not listening at ‘http://localhost:8100/
[BaseDriver] Event ‘wdaStartAttempted’ logged at 1533149008404 (11:43:28 GMT-0700 (PDT))
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[XCUITest] Killing running processes ‘xcodebuild.*79894AB6-1354-44F8-97FB-B470A5D9D001, iproxy 8100, 79894AB6-1354-44F8-97FB-B470A5D9D001.*XCTRunner’ for the device 79894AB6-1354-44F8-97FB-B470A5D9D001…
[XCUITest] ‘pgrep -nif xcodebuild.*79894AB6-1354-44F8-97FB-B470A5D9D001’ didn’t detect any matching processes. Return code: 1
[XCUITest] ‘pgrep -nif iproxy 8100’ didn’t detect any matching processes. Return code: 1
[XCUITest] ‘pgrep -nif 79894AB6-1354-44F8-97FB-B470A5D9D001.*XCTRunner’ didn’t detect any matching processes. Return code: 1
[XCUITest] Using Xcode 9.4.1, so fixing WDA codebase
[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=79894AB6-1354-44F8-97FB-B470A5D9D001 IPHONEOS_DEPLOYMENT_TARGET=11.4’ in directory ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Output from xcodebuild will not be logged. To change this, use ‘showXcodeLog’ desired capability
[XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Log file for xcodebuild test: /var/folders/lc/hchmqy350cs21gcyy0fz08yc0000gq/T/com.apple.dt.XCTest/IDETestRunSession-D047791B-428C-4BFE-A74F-40ECB41BD11E/WebDriverAgentRunner-1C16268D-3451-4A2D-8BFC-E9DDFB98969A/Session-WebDriverAgentRunner-2018-08-01_114402-YCNBmZ.log
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got response with status 200: “{\n “value” : {\n “state” : “success”,\n “os” : {\n “name” : “iOS”,\n “version” : “11.4”,\n “sdkVersion” : “11.3”\n },\n “ios” : {\n “simulatorVersion” : “11.4”,\n “ip” : “10.0.3.201”\n },\n “build” : {\n “time” : “Jul 19 2018 14:36:06”\n }\n },\n “sessionId” : “758E7165-4FCE-45C4-A703-438A4BE005B6”,\n “status” : 0\n}”
[XCUITest] WebDriverAgent running on ip ‘10.0.3.201’
[XCUITest] WebDriverAgent successfully started after 72365ms
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1533149083051 (11:44:43 GMT-0700 (PDT))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“pro.testing.Gaia”,“arguments”:[],“environment”:{},“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
[HTTP] <-- POST /wd/hub/session - - ms - -
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {“desiredCapabilities”:{“app”:"/Users/Maksym/Library/Developer/Xcode/DerivedData/Gaia-haumtjouswyfdxcabwdnrrxvcmiy/Build/Products/Debug-iphonesimulator/Gaia.app",“automationName”:“XCUITest”,“deviceName”:“iPad Pro (12.9-inch)”,“platformName”:“IOS”,“platformVersion”:“11.4”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:"/Users/Maksym/Library/Developer/Xcode/DerivedData/Gaia-haumtjouswyfdxcabwdnrrxvcmiy/Build/Products/Debug-iphonesimulator/Gaia.app",“automationName”:“XCUITest”,“deviceName”:“iPad Pro (12.9-inch)”,“platformName”:“IOS”,“platformVersion”:“11.4”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true},null,null]
[BaseDriver] Event ‘newSessionRequested’ logged at 1533149174558 (11:46:14 GMT-0700 (PDT))
[Appium] Creating new XCUITestDriver (v2.84.0) session
[Appium] Capabilities:
[Appium] app: /Users/Maksym/Library/Developer/Xcode/DerivedData/Gaia-haumtjouswyfdxcabwdnrrxvcmiy/Build/Products/Debug-iphonesimulator/Gaia.app
[Appium] automationName: XCUITest
[Appium] deviceName: iPad Pro (12.9-inch)
[Appium] platformName: IOS
[Appium] platformVersion: 11.4
[Appium] newCommandTimeout: 0
[Appium] connectHardwareKeyboard: true
[BaseDriver] Creating session with MJSONWP desired capabilities: {“app”:"/Users/Maksym/Libra…
[BaseDriver] Session created with session id: b33b8347-39c7-4c0c-b116-054dd236da7c
[XCUITest] Current user: ‘Maksym’
[XCUITest] Xcode version set to ‘9.4.1’ (tools v9.4.1.0.1.1528165917)
[XCUITest] iOS SDK Version set to ‘11.4’
[BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1533149175241 (11:46:15 GMT-0700 (PDT))
[iOSSim] Constructing iOS simulator for Xcode version 9.4.1 with udid ‘79894AB6-1354-44F8-97FB-B470A5D9D001’
[XCUITest] Determining device to run tests on: udid: ‘79894AB6-1354-44F8-97FB-B470A5D9D001’, real device: false
[BaseDriver] Using local app ‘/Users/Maksym/Library/Developer/Xcode/DerivedData/Gaia-haumtjouswyfdxcabwdnrrxvcmiy/Build/Products/Debug-iphonesimulator/Gaia.app’
[BaseDriver] Event ‘appConfigured’ logged at 1533149176281 (11:46:16 GMT-0700 (PDT))
[XCUITest] Checking whether app ‘/Users/Maksym/Library/Developer/Xcode/DerivedData/Gaia-haumtjouswyfdxcabwdnrrxvcmiy/Build/Products/Debug-iphonesimulator/Gaia.app’ is actually present on file system
[XCUITest] App is present
[iOS] Getting bundle ID from app ‘/Users/Maksym/Library/Developer/Xcode/DerivedData/Gaia-haumtjouswyfdxcabwdnrrxvcmiy/Build/Products/Debug-iphonesimulator/Gaia.app’: ‘pro.testing.Gaia’
[BaseDriver] Event ‘resetStarted’ logged at 1533149176282 (11:46:16 GMT-0700 (PDT))
[XCUITest] Not scrubbing third party app in anticipation of uninstall
[BaseDriver] Event ‘resetComplete’ logged at 1533149176562 (11:46:16 GMT-0700 (PDT))
[XCUITest] Starting log capture for iOS Simulator with udid ‘79894AB6-1354-44F8-97FB-B470A5D9D001’, using ‘xcrun simctl spawn 79894AB6-1354-44F8-97FB-B470A5D9D001 log stream --style compact’
[BaseDriver] Event ‘logCaptureStarted’ logged at 1533149177899 (11:46:17 GMT-0700 (PDT))
[XCUITest] Setting up simulator
[iOS] No reason to set locale
[iOS] No iOS / app preferences to set
[iOSSim] Matched 1 Simulator cache item for cleanup: /Users/Maksym/Library/Developer/CoreSimulator/Devices/79894AB6-1354-44F8-97FB-B470A5D9D001/data/Library/Caches/com.apple.mobile.installd.staging
[iOSSim] Setting preferences of 79894AB6-1354-44F8-97FB-B470A5D9D001 Simulator to {“ConnectHardwareKeyboard”:true}
[iOSSim] Setting common Simulator preferences to {“ConnectHardwareKeyboard”:true}
[iOSSim] Updated 79894AB6-1354-44F8-97FB-B470A5D9D001 Simulator preferences at ‘/Users/Maksym/Library/Preferences/com.apple.iphonesimulator.plist’ with {“DevicePreferences”:{“79894AB6-1354-44F8-97FB-B470A5D9D001”:{“ConnectHardwareKeyboard”:true}},“ConnectHardwareKeyboard”:true}
[iOSSim] The count of running Simulator UI client instances is 1
[iOSSim] Both Simulator with UDID 79894AB6-1354-44F8-97FB-B470A5D9D001 and the UI client are currently running
[BaseDriver] Event ‘simStarted’ logged at 1533149180391 (11:46:20 GMT-0700 (PDT))
[XCUITest] Verifying application platform
[XCUITest] CFBundleSupportedPlatforms: [“iPhoneSimulator”]
[XCUITest] Reset requested. Removing app with id ‘pro.testing.Gaia’ from the device
[XCUITest] Installing ‘/Users/Maksym/Library/Developer/Xcode/DerivedData/Gaia-haumtjouswyfdxcabwdnrrxvcmiy/Build/Products/Debug-iphonesimulator/Gaia.app’ on Simulator with UUID ‘79894AB6-1354-44F8-97FB-B470A5D9D001’…
[XCUITest] The app has been installed successfully.
[BaseDriver] Event ‘appInstalled’ logged at 1533149194340 (11:46:34 GMT-0700 (PDT))
[JSONWP Proxy] Got response with status 200: {“value”:{“sessionId”:“D0A27F0B-7E24-422A-91FE-EB21E593B60C”,“capabilities”:{“device”:“ipad”,“browserName”:null,“sdkVersion”:“11.4”,“CFBundleIdentifier”:null}},“sessionId”:“D0A27F0B-7E24-422A-91FE-EB21E593B60C”,“status”:0}
[BaseDriver] Event ‘wdaSessionStarted’ logged at 1533149409011 (11:50:09 GMT-0700 (PDT))
[BaseDriver] Event ‘wdaStarted’ logged at 1533149409012 (11:50:09 GMT-0700 (PDT))
[XCUITest] Using WDA path: ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[XCUITest] Skipping setting of the initial display orientation. Set the “orientation” capability to either “LANDSCAPE” or “PORTRAIT”, if this is an undesired behavior.
[BaseDriver] Event ‘orientationSet’ logged at 1533149409105 (11:50:09 GMT-0700 (PDT))
[Appium] New XCUITestDriver session created successfully, session 0c65d833-815a-43e3-b786-066048d4efbe added to master session list
[BaseDriver] Event ‘newSessionStarted’ logged at 1533149409107 (11:50:09 GMT-0700 (PDT))
[MJSONWP] Responding to client with driver.createSession() result: {“webStorageEnabled”:false,“locationContextEnabled”:false,“browserName”:"",“platform”:“MAC”,“javascriptEnabled”:true,“databaseEnabled”:false,“takesScreenshot”:true,“networkConnectionEnabled”:false,“app”:"/Users/Maksym/Library/Developer/Xcode/DerivedData/Gaia-haumtjouswyfdxcabwdnrrxvcmiy/Build/Products/Debug-iphonesimulator/Gaia.app",“automationName”:“XCUITest”,“deviceName”:“iPad Pro (12.9-inch)”,“platformName”:“IOS”,“platformVersion”:“11.4”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true,“udid”:“79894AB6-1354-44F8-97FB-B470A5D9D001”}
[XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got response with status 200: “{\n “value” : {\n “state” : “success”,\n “os” : {\n “name” : “iOS”,\n “version” : “11.4”,\n “sdkVersion” : “11.3”\n },\n “ios” : {\n “simulatorVersion” : “11.4”,\n “ip” : “10.0.3.201”\n },\n “build” : {\n “time” : “Jul 19 2018 14:36:06”\n }\n },\n “sessionId” : “D0A27F0B-7E24-422A-91FE-EB21E593B60C”,\n “status” : 0\n}”
[XCUITest] Will reuse previously cached WDA instance at ‘http://localhost:8100/’. Set the wdaLocalPort capability to a value different from 8100 if this is an undesired behavior.
[BaseDriver] Event ‘wdaStartAttempted’ logged at 1533149409482 (11:50:09 GMT-0700 (PDT))
[XCUITest] Using provided WebdriverAgent at ‘http://localhost:8100/
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1533149409483 (11:50:09 GMT-0700 (PDT))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got response with status 200: “{\n “value” : {\n “state” : “success”,\n “os” : {\n “name” : “iOS”,\n “version” : “11.4”,\n “sdkVersion” : “11.3”\n },\n “ios” : {\n “simulatorVersion” : “11.4”,\n “ip” : “10.0.3.201”\n },\n “build” : {\n “time” : “Jul 19 2018 14:36:06”\n }\n },\n “sessionId” : “D0A27F0B-7E24-422A-91FE-EB21E593B60C”,\n “status” : 0\n}”
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“pro.testing.Gaia”,“arguments”:[],“environment”:{},“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
[Xcode] objc[24671]: Class VCWeakObjectHolder is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AVConference.framework/Frameworks/ViceroyTrace.framework/ViceroyTrace (0x1211b84d0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AVConference.framework/AVConference (0x11fdb6e38). One of the two will be used. Which one is undefined.
[Xcode] 2018-08-01 11:44:30.810322-0700 WebDriverAgentRunner-Runner[24671:1075494] [ApplicationLifecycle] Windows were created before application initialzation completed. This may result in incorrect visual appearance.
[Xcode] 2018-08-01 11:44:30.826975-0700 WebDriverAgentRunner-Runner[24671:1075494] +[CATransaction synchronize] called within transaction
[Xcode] 2018-08-01 11:44:31.178547-0700 WebDriverAgentRunner-Runner[24671:1075494] Running tests…
[Xcode] 2018-08-01 11:44:40.443468-0700 WebDriverAgentRunner-Runner[24671:1075494] Continuing to run tests in the background with task ID 1
[Xcode] Test Suite ‘All tests’ started at 2018-08-01 11:44:42.183
[Xcode] Test Suite ‘WebDriverAgentLib.framework’ started at 2018-08-01 11:44:42.185
[Xcode] Test Suite ‘WebDriverAgentLib.framework’ passed at 2018-08-01 11:44:42.185.
[Xcode] Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.001) seconds
[Xcode] Test Suite ‘WebDriverAgentRunner.xctest’ started at 2018-08-01 11:44:42.186
[Xcode] Test Suite ‘UITestingUITests’ started at 2018-08-01 11:44:42.186
[Xcode] Test Case ‘-[UITestingUITests testRunner]’ started.
[Xcode] t = 0.05s Start Test at 2018-08-01 11:44:42.280
[Xcode] t = 0.05s Set Up
[Xcode] 2018-08-01 11:44:42.380916-0700 WebDriverAgentRunner-Runner[24671:1075494] Built at Jul 19 2018 14:36:02
[Xcode] 2018-08-01 11:44:42.633997-0700 WebDriverAgentRunner-Runner[24671:1075494] ServerURLHere->http://10.0.3.201:8100<-ServerURLHere
[Xcode] t = 0.83s Open pro.testing.Gaia
[Xcode] t = 0.83s Launch pro.testing.Gaia
[Xcode] t = 4.23s Wait for accessibility to load
[Xcode] t = 4.46s Wait for pro.testing.Gaia to idle
[Xcode] t = 64.51s App event loop idle notification not received, will attempt to continue.
[Xcode] t = 64.51s App animations complete notification not received, will attempt to continue.
[Xcode] 2018-08-01 11:46:53.882344-0700 WebDriverAgentRunner-Runner[24671:1075494] Enqueue Failure: Failure fetching attributes for element Device system-wide element: Error Domain=com.apple.XCTestErrorDomain Code=-999 “Timeout waiting for fulfillment of promise for ‘Fetching attributes for element Device system-wide element’.” UserInfo={NSLocalizedDescription=Timeout waiting for fulfillment of promise for ‘Fetching attributes for element Device system-wide element’.} /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2018-08-01 11:46:53.882998-0700 WebDriverAgentRunner-Runner[24671:1075494] Enqueue Failure: Failure to determine system application: (null) /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2018-08-01 11:47:58.888876-0700 WebDriverAgentRunner-Runner[24671:1075494] Enqueue Failure: Failure fetching attributes for element (null): Error Domain=com.apple.XCTestErrorDomain Code=-999 “Timeout waiting for fulfillment of promise for ‘Fetching attributes for element (null)’.” UserInfo={NSLocalizedDescription=Timeout waiting for fulfillment of promise for ‘Fetching attributes for element (null)’.} /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2018-08-01 11:47:58.889460-0700 WebDriverAgentRunner-Runner[24671:1075494] Enqueue Failure: Failure getting list of active applications: (null) /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2018-08-01 11:49:04.003514-0700 WebDriverAgentRunner-Runner[24671:1075494] Enqueue Failure: Failure fetching attributes for element Device system-wide element: Error Domain=com.apple.XCTestErrorDomain Code=-999 “Timeout waiting for fulfillment of promise for ‘Fetching attributes for element Device system-wide element’.” UserInfo={NSLocalizedDescription=Timeout waiting for fulfillment of promise for ‘Fetching attributes for element Device system-wide element’.} /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2018-08-01 11:49:04.004181-0700 WebDriverAgentRunner-Runner[24671:1075494] Enqueue Failure: Failure to determine system application: (null) /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2018-08-01 11:50:09.006059-0700 WebDriverAgentRunner-Runner[24671:1075494] Enqueue Failure: Failure fetching attributes for element (null): Error Domain=com.apple.XCTestErrorDomain Code=-999 “Timeout waiting for fulfillment of promise for ‘Fetching attributes for element (null)’.” UserInfo={NSLocalizedDescription=Timeout waiting for fulfillment of promise for ‘Fetching attributes for element (null)’.} /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2018-08-01 11:50:09.006991-0700 WebDriverAgentRunner-Runner[24671:1075494] Enqueue Failure: Failure getting list of active applications: (null) /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] t = 326.77s Unable to monitor animations
[Xcode] t = 326.77s Unable to monitor event loop
[Xcode] t = 327.36s Open pro.testing.Gaia
[Xcode] t = 327.36s Launch pro.testing.Gaia
[Xcode] t = 327.80s Wait for accessibility to load
[Xcode] t = 328.02s Wait for pro.testing.Gaia to idle
[Xcode] t = 388.02s App event loop idle notification not received, will attempt to continue.
[Xcode] t = 388.02s App animations complete notification not received, will attempt to continue.
[Xcode] 2018-08-01 11:52:16.264622-0700 WebDriverAgentRunner-Runner[24671:1075494] Enqueue Failure: Failure fetching attributes for element Device system-wide element: Error Domain=com.apple.XCTestErrorDomain Code=-999 “Timeout waiting for fulfillment of promise for ‘Fetching attributes for element Device system-wide element’.” UserInfo={NSLocalizedDescription=Timeout waiting for fulfillment of promise for ‘Fetching attributes for element Device system-wide element’.} /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2018-08-01 11:52:16.265081-0700 WebDriverAgentRunner-Runner[24671:1075494] Enqueue Failure: Failure to determine system application: (null) /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2018-08-01 11:53:21.267993-0700 WebDriverAgentRunner-Runner[24671:1075494] Enqueue Failure: Failure fetching attributes for element (null): Error Domain=com.apple.XCTestErrorDomain Code=-999 “Timeout waiting for fulfillment of promise for ‘Fetching attributes for element (null)’.” UserInfo={NSLocalizedDescription=Timeout waiting for fulf
[JSONWP Proxy] Got response with status 200: {“value”:{“sessionId”:“6BE0B2D0-856E-4484-8BD5-0350204DD038”,“capabilities”:{“device”:“ipad”,“browserName”:null,“sdkVersion”:“11.4”,“CFBundleIdentifier”:null}},“sessionId”:“6BE0B2D0-856E-4484-8BD5-0350204DD038”,“status”:0}
[BaseDriver] Event ‘wdaSessionStarted’ logged at 1533149731387 (11:55:31 GMT-0700 (PDT))
[BaseDriver] Event ‘wdaStarted’ logged at 1533149731387 (11:55:31 GMT-0700 (PDT))
[XCUITest] Skipping setting of the initial display orientation. Set the “orientation” capability to either “LANDSCAPE” or “PORTRAIT”, if this is an undesired behavior.
[BaseDriver] Event ‘orientationSet’ logged at 1533149731388 (11:55:31 GMT-0700 (PDT))
[Appium] New XCUITestDriver session created successfully, session b33b8347-39c7-4c0c-b116-054dd236da7c added to master session list
[BaseDriver] Event ‘newSessionStarted’ logged at 1533149731388 (11:55:31 GMT-0700 (PDT))
[MJSONWP] Responding to client with driver.createSession() result: {“webStorageEnabled”:false,“locationContextEnabled”:false,“browserName”:"",“platform”:“MAC”,“javascriptEnabled”:true,“databaseEnabled”:false,“takesScreenshot”:true,“networkConnectionEnabled”:false,“app”:"/Users/Maksym/Library/Developer/Xcode/DerivedData/Gaia-haumtjouswyfdxcabwdnrrxvcmiy/Build/Products/Debug-iphonesimulator/Gaia.app",“automationName”:“XCUITest”,“deviceName”:“iPad Pro (12.9-inch)”,“platformName”:“IOS”,“platformVersion”:“11.4”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true,“udid”:“79894AB6-1354-44F8-97FB-B470A5D9D001”}
[HTTP] <-- POST /wd/hub/session 200 556853 ms - 616
[HTTP]
[HTTP] --> POST /wd/hub/session/b33b8347-39c7-4c0c-b116-054dd236da7c/context
[HTTP] {“name”:“NATIVE_APP”}
[MJSONWP] Calling AppiumDriver.setContext() with args: [“NATIVE_APP”,“b33b8347-39c7-4c0c-b116-054dd236da7c”]
[XCUITest] Executing command ‘setContext’
[iOS] Attempting to set context to ‘NATIVE_APP’
[MJSONWP] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/b33b8347-39c7-4c0c-b116-054dd236da7c/context 200 6 ms - 76
[HTTP]
[HTTP] --> GET /wd/hub/session/b33b8347-39c7-4c0c-b116-054dd236da7c/source
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getPageSource() with args: [“b33b8347-39c7-4c0c-b116-054dd236da7c”]
[XCUITest] Executing command ‘getPageSource’
[JSONWP Proxy] Proxying [GET /source] to [GET http://localhost:8100/session/6BE0B2D0-856E-4484-8BD5-0350204DD038/source] with no body
[Xcode] illment of promise for ‘Fetching attributes for element (null)’.} /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2018-08-01 11:53:21.268556-0700 WebDriverAgentRunner-Runner[24671:1075494] Enqueue Failure: Failure getting list of active applications: (null) /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2018-08-01 11:54:26.379932-0700 WebDriverAgentRunner-Runner[24671:1075494] Enqueue Failure: Failure fetching attributes for element Device system-wide element: Error Domain=com.apple.XCTestErrorDomain Code=-999 “Timeout waiting for fulfillment of promise for ‘Fetching attributes for element Device system-wide element’.” UserInfo={NSLocalizedDescription=Timeout waiting for fulfillment of promise for ‘Fetching attributes for element Device system-wide element’.} /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2018-08-01 11:54:26.380974-0700 WebDriverAgentRunner-Runner[24671:1075494] Enqueue Failure: Failure to determine system application: (null) /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2018-08-01 11:55:31.383724-0700 WebDriverAgentRunner-Runner[24671:1075494] Enqueue Failure: Failure fetching attributes for element (null): Error Domain=com.apple.XCTestErrorDomain Code=-999 “Timeout waiting for fulfillment of promise for ‘Fetching attributes for element (null)’.” UserInfo={NSLocalizedDescription=Timeout waiting for fulfillment of promise for ‘Fetching attributes for element (null)’.} /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2018-08-01 11:55:31.384469-0700 WebDriverAgentRunner-Runner[24671:1075494] Enqueue Failure: Failure getting list of active applications: (null) /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] t = 649.15s Unable to monitor event loop
[Xcode] t = 649.15s Unable to monitor animations
[Xcode] t = 649.92s Find the Application “com.apple.springboard” 0x60c0002c7460
[Xcode] t = 649.94s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] 2018-08-01 11:55:32.347236-0700 WebDriverAgentRunner-Runner[24671:1075494] Using singleton test manager
[Xcode] t = 651.92s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 651.92s Get all elements bound by accessibility element for: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 651.92s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 651.97s Find: Descendants matching type Any
[Xcode] t = 651.97s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 651.98s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.02s Find: Descendants matching type Any
[Xcode] t = 652.02s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.02s Find: Identity Binding
[Xcode] t = 652.02s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.03s Find: Descendants matching type Any
[Xcode] t = 652.03s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.03s Find: Identity Binding
[Xcode] t = 652.03s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.08s Find: Descendants matching type Any
[Xcode] t = 652.08s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.08s Find: Identity Binding
[Xcode] t = 652.08s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.08s Find: Descendants matching type Any
[Xcode] t = 652.08s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.09s Find: Identity Binding
[Xcode] t = 652.09s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.13s Find: Descendants matching type Any
[Xcode] t = 652.13s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.14s Find: Identity Binding
[Xcode] t = 652.14s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.14s Find: Descendants matching type Any
[Xcode] t = 652.14s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR iden
[Xcode] tifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.14s Find: Identity Binding
[Xcode] t = 652.15s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.19s Find: Descendants matching type Any
[Xcode] t = 652.19s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.19s Find: Identity Binding
[Xcode] t = 652.20s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.20s Find: Descendants matching type Any
[Xcode] t = 652.20s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.20s Find: Identity Binding
[Xcode] t = 652.20s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.25s Find: Descendants matching type Any
[Xcode] t = 652.25s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.25s Find: Identity Binding
[Xcode] t = 652.25s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.25s Find: Descendants matching type Any
[Xcode] t = 652.26s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.26s Find: Identity Binding
[Xcode] t = 652.26s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.30s Find: Descendants matching type Any
[Xcode] t = 652.30s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.31s Find: Identity Binding
[Xcode] t = 652.31s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.31s Find: Descendants matching type Any
[Xcode] t = 652.31s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.31s Find: Identity Binding
[Xcode] t = 652.31s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.36s Find: Descendants matching type Any
[Xcode] t = 652.36s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.36s Find: Identity Binding
[Xcode] t = 652.37s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.37s Find: Descendants matching type Any
[Xcode] t = 652.37s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.37s Find: Identity Binding
[Xcode] t = 652.37s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.42s Find: Descendants matching type Any
[Xcode] t = 652.42s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.42s Find: Identity Binding
[Xcode] t = 652.42s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.42s Find: Descendants matching type Any
[Xcode] t = 652.42s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.43s Find: Identity Binding
[Xcode] t = 652.43s Find the Window
[Xcode] t = 652.43s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.47s Find: Descendants matching type Any
[Xcode] t = 652.47s Find: Elements matching predicate ‘wdUID IN {“0F000000-0000-0000-A15F-000000000000”, “10000000-0000-0000-A15F-000000000000”, “11000000-0000-0000-A15F-000000000000”, “12000000-0000-0000-A15F-000000000000”, “13000000-0000-0000-A15F-000000000000”, “14000000-0000-0000-A15F-000000000000”, “15000000-0000-0000-A15F-000000000000”, “0E000000-0000-0000-A15F-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode] t = 652.48s Find: Identity Binding
[Xcode] 2018-08-01 11:55:34.714369-0700 WebDriverAgentRunner-Runner[24671:1075494] Using singleton test manager
[Xcode] t = 652.56s Find the Window
[Xcode] t = 652.56s Snapshot accessibility hierarchy for app with pid 24481
[Xcode] t = 652.60s Find: Desc
[JSONWP Proxy] Got response with status 200: "{\n “value” : "\n\n \n \n \n \n <\/XCUIElementTypeOther>\n <\/XCUIElementTyp…
[MJSONWP] Responding to client with driver.getPageSource() result: "\n \n \n \n \n \n \n \n \n …
[HTTP] <-- GET /wd/hub/session/b33b8347-39c7-4c0c-b116-054dd236da7c/source 200 4831 ms - 23869
[HTTP]
[HTTP] --> GET /wd/hub/session/b33b8347-39c7-4c0c-b116-054dd236da7c/screenshot
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getScreenshot() with args: [“b33b8347-39c7-4c0c-b116-054dd236da7c”]
[XCUITest] Executing command ‘getScreenshot’
[XCUITest] Taking screenshot with WDA
[JSONWP Proxy] Proxying [GET /screenshot] to [GET http://localhost:8100/session/6BE0B2D0-856E-4484-8BD5-0350204DD038/screenshot] with no body
[JSONWP Proxy] Got response with status 200: "{\n “value” : "iVBORw0KGgoAAAANSUhEUgAACAAAAAqsCAIAAADEhITbAAAAAXNSR0IArs4c6QAA\r\nABxpRE9UAAAAAgAAAAAAAAVWAAAAKAAABVYAAAVWAAPShGm2m+4AAEAASURBVHgB\r\n7N1ndxzXmfb75wOdtc6MLRJEbHQOCAxAZ4BUsmyPZUkMYpBkURYzidChcugA0vM8\r\na50vea5djURKnpnDw+TWn6vcbjSqu\/b+NfTmvnbd+39l27McCCCAAAIIIIAAAggg\r\ngAACCCCAAAIIIIAAAgggMGUC\/2vK5sN0EEAAAQQQQAABBBBAAAEEEEAAAQQQQAAB\r\nBBBAQAIEANwAgQACCCCAAAIIIIAAAggggAACCCCAAAIIIIDAFAoQAEzhl0q0hQAC\r\nCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAQABAAIIIIAAAggggAACCCCAAAIIIIAA\r\nAggggAACUyhAADCFXyq5FgIIIIAAAggggAACCCCAAAIIIIAAAggggAACBAAEAAgg\r\ngAACCCCAAAIIIIAAAggggAACCCCAAAIITKEAAcAUfqnkWggggAACCCCAAAIIIIAA\r\nAggggAACCCCAAAIIEAAQACCAAAIIIIAAAggggAACCCCAAAIIIIAAAgggMIUCBABT\r\n+KWSayGAAAIIIIAAAggggAACCCCAAAIIIIAAAgggQABAAIAAAggggAACCCCAAAII\r\nIIAAAggggAACCCCAwBQKEABM4ZdKroUAAggggAACCCCAAAIIIIAAAggggAACCCCA\r\nAAEAAQACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAlMoQAAwhV8quRYCCCCAAAII\r\nIIAAAggggAACCCCAAAIIIIAAAgQABAAIIIAAAggggAACCCCAAAIIIIAAAggggAAC\r\nCEyhAAHAFH6p5FoII…
[MJSONWP] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAACAAAAAqsCAIAAADEhITbAAAAAXNSR0IArs4c6QAA\r\nABxpRE9UAAAAAgAAAAAAAAVWAAAAKAAABVYAAAVWAAPShGm2m+4AAEAASURBVHgB\r\n7N1ndxzXmfb75wOdtc6MLRJEbHQOCAxAZ4BUsmyPZUkMYpBkURYzidChcugA0vM8\r\na50vea5djURKnpnDw+TWn6vcbjSqu/b+NfTmvnbd+39l27McCCCAAAIIIIAAAggg\r\ngAACCCCAAAIIIIAAAgggMGUC/2vK5sN0EEAAAQQQQAABBBBAAAEEEEAAAQQQQAAB\r\nBBBAQAIEANwAgQACCCCAAAIIIIAAAggggAACCCCAAAIIIIDAFAoQAEzhl0q0hQAC\r\nCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAQABAAIIIIAAAggggAACCCCAAAIIIIAA\r\nAggggAACUyhAADCFXyq5FgIIIIAAAggggAACCCCAAAIIIIAAAggggAACBAAEAAgg\r\ngAACCCCAAAIIIIAAAggggAACCCCAAAIITKEAAcAUfqnkWggggAACCCCAAAIIIIAA\r\nAggggAACCCCAAAIIEAAQACCAAAIIIIAAAggggAACCCCAAAIIIIAAAgggMIUCBABT\r\n+KWSayGAAAIIIIAAAggggAACCCCAAAIIIIAAAgggQABAAIAAAggggAACCCCAAAII\r\nIIAAAggggAACCCCAwBQKEABM4ZdKroUAAggggAACCCCAAAIIIIAAAggggAACCCCA\r\nAAEAAQACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAlMoQAAwhV8quRYCCCCAAAII\r\nIIAAAggggAACCCCAAAIIIIAAAgQABAAIIIAAAggggAACCCCAAAIIIIAAAggggAAC\r\nCEyhAAHAFH6p5FoIIIAAAggggAACCCCAAAIIIIAAAggggAACCBAAEAAggAACCCCA\r\n…
[HTTP] <-- GET /wd/hub/session/b33b8347-39c7-4c0c-b116-054dd236da7c/screenshot 200 568 ms - 705926
[HTTP]
[HTTP] --> GET /wd/hub/session/b33b8347-39c7-4c0c-b116-054dd236da7c/window/current/size
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getWindowSize() with args: [“current”,“b33b8347-39c7-4c0c-b116-054dd236da7c”]
[XCUITest] Executing command ‘getWindowSize’
[JSONWP Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/6BE0B2D0-856E-4484-8BD5-0350204DD038/window/size] with no body
[JSONWP Proxy] Got response with status 200: “{\n “value” : {\n “width” : 1024,\n “height” : 1366\n },\n “sessionId” : “6BE0B2D0-856E-4484-8BD5-0350204DD038”,\n “status” : 0\n}”
[MJSONWP] Responding to client with driver.getWindowSize() result: {“width”:1024,“height”:1366}
[HTTP] <-- GET /wd/hub/session/b33b8347-39c7-4c0c-b116-054dd236da7c/window/current/size 200 111 ms - 100
[HTTP]


#2

did you have any Solution about this?, I’ve the same Issue!


#3

work around that helped for me: capabilities.setCapability(“useNewWDA”, true)