Skip to content

Instantly share code, notes, and snippets.

@alkaffkhanvrv
Created July 24, 2018 10:53
Show Gist options
  • Save alkaffkhanvrv/3987ca8a8e985f141056ee2b348d7765 to your computer and use it in GitHub Desktop.
Save alkaffkhanvrv/3987ca8a8e985f141056ee2b348d7765 to your computer and use it in GitHub Desktop.
[info] [Appium] Welcome to Appium v1.8.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":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","version":"11.4.1"},"capabilities":{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"XCuiTest","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","version":"11.4.1"},null,{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"XCuiTest","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1532424411054 (14:56:51 GMT+0530 (IST))
[warn] [BaseDriver] The capabilities ["acceptSslCerts","version"] are not standard capabilities and should have an extension prefix
[info] [Appium] Creating new XCUITestDriver (v2.84.0) session
[info] [Appium] Capabilities:
[info] [Appium] acceptSslCerts: true
[info] [Appium] platformName: ios
[info] [Appium] version: 11.4.1
[info] [Appium] app: http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip
[info] [Appium] automationName: XCuiTest
[info] [Appium] clearSystemFiles: true
[info] [Appium] deviceName: iPhone
[info] [Appium] udid: fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:acc... and MJSONWP desired capabilities [object Object] were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:acc...
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: acceptSslCerts, version.
[info] [BaseDriver] Session created with session id: ead81a8f-114b-4083-b932-242c55c707a8[debug] [XCUITest] Xcode version set to '9.4.1' [debug] [XCUITest] iOS SDK Version set to '11.4'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1532424416913 (14:56:56 GMT+0530 (IST))[debug] [XCUITest] Available devices: fd4e4acc104da98ad24fef7fe1bdc650653e866a, fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [XCUITest] Creating iDevice object with udid 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'
[info] [XCUITest] Determining device to run tests on: udid: 'fd4e4acc104da98ad24fef7fe1bdc650653e866a', real device: true
[info] [BaseDriver] Using downloadable app 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'[debug] [BaseDriver] 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip' downloaded to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1jh8qrd.njfs/appium-app.zip'
[debug] [BaseDriver] Downloaded file type 'application/zip'
[info] [BaseDriver] Downloaded the app to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1jh8qrd.njfs/appium-app.zip'
[info] [BaseDriver] Unzipping local app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1jh8qrd.njfs/appium-app.zip'...
[debug] [BaseDriver] Unzipping /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1jh8qrd.njfs/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1jh8qrd.njfs/appium-app.zip[info] [BaseDriver] Unzipped local app to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1jh8qrd.njfs/QA-Beta.app'
[debug] [BaseDriver] Got 'undefined' as 'Last-Modified' HEAD response header value of 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'
[info] [BaseDriver] Skipping 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip' caching, because the HEAD response didn't return any valid Last-Modified headers
[debug] [BaseDriver] Event 'appConfigured' logged at 1532424445397 (14:57:25 GMT+0530 (IST))
[debug] [XCUITest] Checking whether app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1jh8qrd.njfs/QA-Beta.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1jh8qrd.njfs/QA-Beta.app': 'com.vervewireless.iphone.qa.beta'
[debug] [BaseDriver] Event 'resetStarted' logged at 1532424445404 (14:57:25 GMT+0530 (IST))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1532424445406 (14:57:25 GMT+0530 (IST))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'[debug] [XCUITest] Crash reports root '/Users/alkaffkhan/Library/Logs/CrashReporter/MobileDevice/IphoneX' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1532424445943 (14:57:25 GMT+0530 (IST))
[info] [XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"][debug] [XCUITest] Reset requested. Removing app with id 'com.vervewireless.iphone.qa.beta' from the device[debug] [XCUITest] Installing '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1jh8qrd.njfs/QA-Beta.app' on device with UUID 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'...[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1532424481205 (14:58:01 GMT+0530 (IST))
[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] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Killing running processes 'xcodebuild.*fd4e4acc104da98ad24fef7fe1bdc650653e866a, iproxy 8100' for the device fd4e4acc104da98ad24fef7fe1bdc650653e866a...
[debug] [XCUITest] 'pgrep -nif xcodebuild.*fd4e4acc104da98ad24fef7fe1bdc650653e866a' 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] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB[debug] [XCUITest] Using Xcode 9.4.1, so fixing WDA codebase
[warn] [XCUITest] Cannot parse major and minor version numbers from platformVersion "undefined". 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=fd4e4acc104da98ad24fef7fe1bdc650653e866a' 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] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [XCUITest] Log file for xcodebuild test: /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.1.5\"\n },\n \"build\" : {\n \"time\" : \"Jul 23 2018 16:46:34\"\n }\n },\n \"sessionId\" : \"174ECC5C-4A95-42F1-ABD1-3548564B3309\",\n \"status\" : 0\n}"
[debug] [XCUITest] WebDriverAgent running on ip '192.168.1.5'
[debug] [XCUITest] WebDriverAgent successfully started after 13823ms
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1532424500782 (14:58:20 GMT+0530 (IST))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.vervewireless.iphone.qa.beta","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4","capabilities":{"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard"}},"sessionId":"AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1532424502905 (14:58:22 GMT+0530 (IST))[debug] [XCUITest] Cannot find a match for DerivedData folder path from lsof. Trying to access logs
[debug] [BaseDriver] Event 'wdaStarted' logged at 1532424503531 (14:58:23 GMT+0530 (IST))
[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 1532424503536 (14:58:23 GMT+0530 (IST))
[info] [Appium] New XCUITestDriver session created successfully, session ead81a8f-114b-4083-b932-242c55c707a8 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1532424503540 (14:58:23 GMT+0530 (IST))
[debug] [W3C] 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","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a"}}
[info] [HTTP] <-- POST /wd/hub/session 200 92495 ms - 548
[info] [HTTP]
[info] [HTTP] --> GET /wd/hub/session/ead81a8f-114b-4083-b932-242c55c707a8
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["ead81a8f-114b-4083-b932-242c55c707a8"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \" \",\n \"sdkVersion\" : \"11.4.1\",\n \"CFBundleIdentifier\" : \"com.apple.springboard\"\n }\n },\n \"sessionId\" : \"AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4\",\n \"status\" : 0\n}"
[info] [XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4/window/size] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"width\" : 375,\n \"height\" : 812\n },\n \"sessionId\" : \"AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4\",\n \"status\" : 0\n}"
[debug] [W3C] Responding to client with driver.getSession() result: {"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","platformName":"ios","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard","pixelRatio":2,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":750,"height":1624}}
[info] [HTTP] <-- GET /wd/hub/session/ead81a8f-114b-4083-b932-242c55c707a8 200 668 ms - 480
[info] [HTTP]
[info] [HTTP] --> GET /wd/hub/session/ead81a8f-114b-4083-b932-242c55c707a8
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["ead81a8f-114b-4083-b932-242c55c707a8"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \" \",\n \"sdkVersion\" : \"11.4.1\",\n \"CFBundleIdentifier\" : \"com.apple.springboard\"\n }\n },\n \"sessionId\" : \"AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4\",\n \"status\" : 0\n}"
[info] [XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4/window/size] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"width\" : 375,\n \"height\" : 812\n },\n \"sessionId\" : \"AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4\",\n \"status\" : 0\n}"
[debug] [W3C] Responding to client with driver.getSession() result: {"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","platformName":"ios","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard","pixelRatio":2,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":750,"height":1624}}
[info] [HTTP] <-- GET /wd/hub/session/ead81a8f-114b-4083-b932-242c55c707a8 200 434 ms - 480
[info] [HTTP]
[info] [HTTP] --> POST /wd/hub/session/ead81a8f-114b-4083-b932-242c55c707a8/timeouts
[info] [HTTP] {"implicit":20000}
[debug] [W3C] Calling AppiumDriver.timeouts() with args: [{"protocol":"W3C","implicit":20000},"ead81a8f-114b-4083-b932-242c55c707a8"]
[debug] [XCUITest] Executing command 'timeouts'
[debug] [BaseDriver] script: undefined, pageLoad: undefined, implicit: 20000
[debug] [BaseDriver] Set implicit wait to 20000ms
[debug] [W3C] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/ead81a8f-114b-4083-b932-242c55c707a8/timeouts 200 5 ms - 14
[info] [HTTP]
[info] [HTTP] --> DELETE /wd/hub/session/ead81a8f-114b-4083-b932-242c55c707a8
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.deleteSession() with args: ["ead81a8f-114b-4083-b932-242c55c707a8"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1532424504776 (14:58:24 GMT+0530 (IST))
[info] [Appium] Removing session ead81a8f-114b-4083-b932-242c55c707a8 from our master session list
[debug] [JSONWP Proxy] Proxying [DELETE /session/ead81a8f-114b-4083-b932-242c55c707a8] to [DELETE http://localhost:8100/session/AB750DCD-41EE-4DC6-8AD7-1E5B542AFBD4] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n\n },\n \"sessionId\" : \"2E4372C9-72C1-4AE3-9259-7ABE9914D811\",\n \"status\" : 0\n}"
[debug] [XCUITest] Started background XCTest logs cleanup: find -E /private/var/folders -regex '.*/Session-WebDriverAgentRunner.*\.log$|.*/StandardOutputAndStandardError\.txt$' -type f -exec sh -c 'echo "" > "{}"' \;
[info] [XCUITest] Cleaning test logs in '/Users/alkaffkhan/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs' folder
[debug] [iOS] Clearing log files
[debug] [iOS] Deleting '/Users/alkaffkhan/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs'. Freeing 844K.
[debug] [iOS] Finished clearing log files
[debug] [iOSLog] Stopping iOS log capture[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1532424505478 (14:58:25 GMT+0530 (IST))
[debug] [W3C] Received response: null
[debug] [W3C] But deleting session, so not returning
[debug] [W3C] Responding to client with driver.deleteSession() result: null
[info] [HTTP] <-- DELETE /wd/hub/session/ead81a8f-114b-4083-b932-242c55c707a8 200 705 ms - 14
[info] [HTTP] [debug] [XCUITest] Connection to WDA timed out
[debug] [iProxy] recv failed: Operation not permitted[debug] [XCUITest] Connection to WDA timed out
[debug] [iProxy] recv failed: Operation not permitted[info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"capabilities":{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"XCuiTest","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},null,{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"XCuiTest","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1532425033093 (15:07:13 GMT+0530 (IST))
[warn] [BaseDriver] The capabilities ["acceptSslCerts","version"] are not standard capabilities and should have an extension prefix
[info] [Appium] Creating new XCUITestDriver (v2.84.0) session
[info] [Appium] Capabilities:
[info] [Appium] acceptSslCerts: true
[info] [Appium] platformName: ios
[info] [Appium] version: 11.4.1
[info] [Appium] app: http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip
[info] [Appium] automationName: XCuiTest
[info] [Appium] clearSystemFiles: true
[info] [Appium] deviceName: iPhone
[info] [Appium] fullReset: true
[info] [Appium] udid: fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:acc... and MJSONWP desired capabilities [object Object] were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:acc...
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: acceptSslCerts, version.
[info] [BaseDriver] Session created with session id: 4e4f64e9-fadd-4008-8667-6a9987aa6aed
[debug] [XCUITest] Current user: 'alkaffkhan'
[debug] [XCUITest] Xcode version set to '9.4.1'
[debug] [XCUITest] iOS SDK Version set to '11.4'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1532425033302 (15:07:13 GMT+0530 (IST))[debug] [XCUITest] Available devices: fd4e4acc104da98ad24fef7fe1bdc650653e866a, fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [XCUITest] Creating iDevice object with udid 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'
[info] [XCUITest] Determining device to run tests on: udid: 'fd4e4acc104da98ad24fef7fe1bdc650653e866a', real device: true
[info] [BaseDriver] Using downloadable app 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'[debug] [BaseDriver] 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip' downloaded to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-8q24yg.6evlh/appium-app.zip'
[debug] [BaseDriver] Downloaded file type 'application/zip'
[info] [BaseDriver] Downloaded the app to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-8q24yg.6evlh/appium-app.zip'
[info] [BaseDriver] Unzipping local app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-8q24yg.6evlh/appium-app.zip'...
[debug] [BaseDriver] Unzipping /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-8q24yg.6evlh/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-8q24yg.6evlh/appium-app.zip[info] [BaseDriver] Unzipped local app to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-8q24yg.6evlh/QA-Beta.app'
[debug] [BaseDriver] Got 'undefined' as 'Last-Modified' HEAD response header value of 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'
[info] [BaseDriver] Skipping 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip' caching, because the HEAD response didn't return any valid Last-Modified headers
[debug] [BaseDriver] Event 'appConfigured' logged at 1532425058776 (15:07:38 GMT+0530 (IST))
[debug] [XCUITest] Checking whether app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-8q24yg.6evlh/QA-Beta.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-8q24yg.6evlh/QA-Beta.app': 'com.vervewireless.iphone.qa.beta'
[debug] [BaseDriver] Event 'resetStarted' logged at 1532425058786 (15:07:38 GMT+0530 (IST))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [XCUITest] Reset: fullReset requested. Will try to uninstall the app 'com.vervewireless.iphone.qa.beta'.[debug] [XCUITest] Reset: removed 'com.vervewireless.iphone.qa.beta'
[debug] [BaseDriver] Event 'resetComplete' logged at 1532425060624 (15:07:40 GMT+0530 (IST))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'[debug] [XCUITest] Crash reports root '/Users/alkaffkhan/Library/Logs/CrashReporter/MobileDevice/IphoneX' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1532425061584 (15:07:41 GMT+0530 (IST))
[info] [XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"][debug] [XCUITest] Installing '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-8q24yg.6evlh/QA-Beta.app' on device with UUID 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'...[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1532425102610 (15:08:22 GMT+0530 (IST))
[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] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.1.5\"\n },\n \"build\" : {\n \"time\" : \"Jul 23 2018 16:46:34\"\n }\n },\n \"sessionId\" : \"2E4372C9-72C1-4AE3-9259-7ABE9914D811\",\n \"status\" : 0\n}"
[info] [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.
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1532425102770 (15:08:22 GMT+0530 (IST))
[info] [XCUITest] Using provided WebdriverAgent at 'http://localhost:8100/'
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1532425102772 (15:08:22 GMT+0530 (IST))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.1.5\"\n },\n \"build\" : {\n \"time\" : \"Jul 23 2018 16:46:34\"\n }\n },\n \"sessionId\" : \"2E4372C9-72C1-4AE3-9259-7ABE9914D811\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.vervewireless.iphone.qa.beta","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"CC2A2668-2893-432E-9BB5-BFC05D3DCF2C","capabilities":{"device":"iphone","browserName":"QA Beta","sdkVersion":"11.4.1","CFBundleIdentifier":"com.vervewireless.iphone.qa.beta"}},"sessionId":"CC2A2668-2893-432E-9BB5-BFC05D3DCF2C","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1532425104883 (15:08:24 GMT+0530 (IST))[debug] [XCUITest] Cannot find a match for DerivedData folder path from lsof. Trying to access logs
[warn] [XCUITest] Cannot grep on the the xcodebuild log file '/private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log'. Original error: Command 'grep /WebDriverAgentRunner- /private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log' exited with code 1
[warn] [XCUITest] No WebDriverAgent derived data available, so unable to mark system files for cleanup
[debug] [BaseDriver] Event 'wdaStarted' logged at 1532425105626 (15:08:25 GMT+0530 (IST))
[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 1532425105627 (15:08:25 GMT+0530 (IST))
[info] [Appium] New XCUITestDriver session created successfully, session 4e4f64e9-fadd-4008-8667-6a9987aa6aed added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1532425105628 (15:08:25 GMT+0530 (IST))
[debug] [W3C] 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","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a"}}
[info] [HTTP] <-- POST /wd/hub/session 200 72534 ms - 565
[info] [HTTP]
[info] [HTTP] --> GET /wd/hub/session/4e4f64e9-fadd-4008-8667-6a9987aa6aed
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["4e4f64e9-fadd-4008-8667-6a9987aa6aed"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/CC2A2668-2893-432E-9BB5-BFC05D3DCF2C] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"CC2A2668-2893-432E-9BB5-BFC05D3DCF2C\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \"QA Beta\",\n \"sdkVersion\" : \"11.4.1\",\n \"CFBundleIdentifier\" : \"com.vervewireless.iphone.qa.beta\"\n }\n },\n \"sessionId\" : \"CC2A2668-2893-432E-9BB5-BFC05D3DCF2C\",\n \"status\" : 0\n}"
[info] [XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/CC2A2668-2893-432E-9BB5-BFC05D3DCF2C/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"CC2A2668-2893-432E-9BB5-BFC05D3DCF2C\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/CC2A2668-2893-432E-9BB5-BFC05D3DCF2C/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"CC2A2668-2893-432E-9BB5-BFC05D3DCF2C\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/CC2A2668-2893-432E-9BB5-BFC05D3DCF2C/window/size] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"width\" : 375,\n \"height\" : 812\n },\n \"sessionId\" : \"CC2A2668-2893-432E-9BB5-BFC05D3DCF2C\",\n \"status\" : 0\n}"
[debug] [W3C] Responding to client with driver.getSession() result: {"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","platformName":"ios","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"device":"iphone","browserName":"QA Beta","sdkVersion":"11.4.1","CFBundleIdentifier":"com.vervewireless.iphone.qa.beta","pixelRatio":2,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":750,"height":1624}}
[info] [HTTP] <-- GET /wd/hub/session/4e4f64e9-fadd-4008-8667-6a9987aa6aed 200 549 ms - 514
[info] [HTTP]
[info] [HTTP] --> GET /wd/hub/session/4e4f64e9-fadd-4008-8667-6a9987aa6aed
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["4e4f64e9-fadd-4008-8667-6a9987aa6aed"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/CC2A2668-2893-432E-9BB5-BFC05D3DCF2C] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"CC2A2668-2893-432E-9BB5-BFC05D3DCF2C\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \"QA Beta\",\n \"sdkVersion\" : \"11.4.1\",\n \"CFBundleIdentifier\" : \"com.vervewireless.iphone.qa.beta\"\n }\n },\n \"sessionId\" : \"CC2A2668-2893-432E-9BB5-BFC05D3DCF2C\",\n \"status\" : 0\n}"
[info] [XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/CC2A2668-2893-432E-9BB5-BFC05D3DCF2C/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"CC2A2668-2893-432E-9BB5-BFC05D3DCF2C\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/CC2A2668-2893-432E-9BB5-BFC05D3DCF2C/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"CC2A2668-2893-432E-9BB5-BFC05D3DCF2C\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/CC2A2668-2893-432E-9BB5-BFC05D3DCF2C/window/size] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"width\" : 375,\n \"height\" : 812\n },\n \"sessionId\" : \"CC2A2668-2893-432E-9BB5-BFC05D3DCF2C\",\n \"status\" : 0\n}"
[debug] [W3C] Responding to client with driver.getSession() result: {"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","platformName":"ios","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"device":"iphone","browserName":"QA Beta","sdkVersion":"11.4.1","CFBundleIdentifier":"com.vervewireless.iphone.qa.beta","pixelRatio":2,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":750,"height":1624}}
[info] [HTTP] <-- GET /wd/hub/session/4e4f64e9-fadd-4008-8667-6a9987aa6aed 200 671 ms - 514
[info] [HTTP]
[info] [HTTP] --> POST /wd/hub/session/4e4f64e9-fadd-4008-8667-6a9987aa6aed/timeouts
[info] [HTTP] {"implicit":20000}
[debug] [W3C] Calling AppiumDriver.timeouts() with args: [{"protocol":"W3C","implicit":20000},"4e4f64e9-fadd-4008-8667-6a9987aa6aed"]
[debug] [XCUITest] Executing command 'timeouts'
[debug] [BaseDriver] script: undefined, pageLoad: undefined, implicit: 20000
[debug] [BaseDriver] Set implicit wait to 20000ms
[debug] [W3C] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/4e4f64e9-fadd-4008-8667-6a9987aa6aed/timeouts 200 5 ms - 14
[info] [HTTP] [info] [HTTP] --> DELETE /wd/hub/session/4e4f64e9-fadd-4008-8667-6a9987aa6aed
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.deleteSession() with args: ["4e4f64e9-fadd-4008-8667-6a9987aa6aed"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1532425109170 (15:08:29 GMT+0530 (IST))
[info] [Appium] Removing session 4e4f64e9-fadd-4008-8667-6a9987aa6aed from our master session list
[debug] [JSONWP Proxy] Proxying [DELETE /session/4e4f64e9-fadd-4008-8667-6a9987aa6aed] to [DELETE http://localhost:8100/session/CC2A2668-2893-432E-9BB5-BFC05D3DCF2C] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n\n },\n \"sessionId\" : \"F5AE989C-5C74-4A37-BB55-EAA13D691715\",\n \"status\" : 0\n}"
[debug] [XCUITest] Cannot find a match for DerivedData folder path from lsof. Trying to access logs
[warn] [XCUITest] Cannot grep on the the xcodebuild log file '/private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log'. Original error: Command 'grep /WebDriverAgentRunner- /private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log' exited with code 1
[warn] [XCUITest] No WebDriverAgent derived data available, so unable to clear system files
[debug] [iOSLog] Stopping iOS log capture[debug] [XCUITest] Connection to WDA timed out
[debug] [iProxy] recv failed: Operation not permitted[info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"noReset":false,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"capabilities":{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"noReset":false,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"XCuiTest","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"appium:noReset":false,"platformName":"ios","appium:udid":"fd4e4acc104da9
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"noReset":false,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},null,{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"noReset":false,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"XCuiTest","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"appium:noReset":false,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1532425237401 (15:10:37 GMT+0530 (IST))
[warn] [BaseDriver] The capabilities ["acceptSslCerts","version"] are not standard capabilities and should have an extension prefix
[info] [Appium] Creating new XCUITestDriver (v2.84.0) session
[info] [Appium] Capabilities:
[info] [Appium] acceptSslCerts: true
[info] [Appium] platformName: ios
[info] [Appium] version: 11.4.1
[info] [Appium] app: http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip
[info] [Appium] automationName: XCuiTest
[info] [Appium] clearSystemFiles: true
[info] [Appium] deviceName: iPhone
[info] [Appium] fullReset: true
[info] [Appium] noReset: false
[info] [Appium] udid: fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:acc... and MJSONWP desired capabilities [object Object] were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:acc...
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: acceptSslCerts, version.
[info] [BaseDriver] Session created with session id: 13cfa1b5-fd32-4a95-95f2-b2ca4da1ef4e
[debug] [XCUITest] Current user: 'alkaffkhan'
[debug] [XCUITest] Xcode version set to '9.4.1'
[debug] [XCUITest] iOS SDK Version set to '11.4'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1532425237617 (15:10:37 GMT+0530 (IST))[debug] [XCUITest] Available devices: fd4e4acc104da98ad24fef7fe1bdc650653e866a, fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [XCUITest] Creating iDevice object with udid 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'
[info] [XCUITest] Determining device to run tests on: udid: 'fd4e4acc104da98ad24fef7fe1bdc650653e866a', real device: true
[info] [BaseDriver] Using downloadable app 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'[debug] [BaseDriver] 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip' downloaded to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-523anc.50aaq/appium-app.zip'
[debug] [BaseDriver] Downloaded file type 'application/zip'
[info] [BaseDriver] Downloaded the app to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-523anc.50aaq/appium-app.zip'
[info] [BaseDriver] Unzipping local app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-523anc.50aaq/appium-app.zip'...
[debug] [BaseDriver] Unzipping /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-523anc.50aaq/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-523anc.50aaq/appium-app.zip[info] [BaseDriver] Unzipped local app to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-523anc.50aaq/QA-Beta.app'
[debug] [BaseDriver] Got 'undefined' as 'Last-Modified' HEAD response header value of 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'
[info] [BaseDriver] Skipping 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip' caching, because the HEAD response didn't return any valid Last-Modified headers
[debug] [BaseDriver] Event 'appConfigured' logged at 1532425266985 (15:11:06 GMT+0530 (IST))
[debug] [XCUITest] Checking whether app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-523anc.50aaq/QA-Beta.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-523anc.50aaq/QA-Beta.app': 'com.vervewireless.iphone.qa.beta'
[debug] [BaseDriver] Event 'resetStarted' logged at 1532425266991 (15:11:06 GMT+0530 (IST))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [XCUITest] Reset: fullReset requested. Will try to uninstall the app 'com.vervewireless.iphone.qa.beta'.[debug] [XCUITest] Reset: removed 'com.vervewireless.iphone.qa.beta'
[debug] [BaseDriver] Event 'resetComplete' logged at 1532425270757 (15:11:10 GMT+0530 (IST))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'[debug] [XCUITest] Crash reports root '/Users/alkaffkhan/Library/Logs/CrashReporter/MobileDevice/IphoneX' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1532425272727 (15:11:12 GMT+0530 (IST))
[info] [XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"][debug] [XCUITest] Installing '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-523anc.50aaq/QA-Beta.app' on device with UUID 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'...[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1532425308826 (15:11:48 GMT+0530 (IST))
[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] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.1.5\"\n },\n \"build\" : {\n \"time\" : \"Jul 23 2018 16:46:34\"\n }\n },\n \"sessionId\" : \"F5AE989C-5C74-4A37-BB55-EAA13D691715\",\n \"status\" : 0\n}"
[info] [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.
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1532425309158 (15:11:49 GMT+0530 (IST))
[info] [XCUITest] Using provided WebdriverAgent at 'http://localhost:8100/'
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1532425309159 (15:11:49 GMT+0530 (IST))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.1.5\"\n },\n \"build\" : {\n \"time\" : \"Jul 23 2018 16:46:34\"\n }\n },\n \"sessionId\" : \"F5AE989C-5C74-4A37-BB55-EAA13D691715\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.vervewireless.iphone.qa.beta","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"63FDD39E-6593-42F0-B3A2-877A3F9168AE","capabilities":{"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard"}},"sessionId":"63FDD39E-6593-42F0-B3A2-877A3F9168AE","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1532425311298 (15:11:51 GMT+0530 (IST))[debug] [XCUITest] Cannot find a match for DerivedData folder path from lsof. Trying to access logs
[warn] [XCUITest] Cannot grep on the the xcodebuild log file '/private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log'. Original error: Command 'grep /WebDriverAgentRunner- /private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log' exited with code 1
[warn] [XCUITest] No WebDriverAgent derived data available, so unable to mark system files for cleanup
[debug] [BaseDriver] Event 'wdaStarted' logged at 1532425311943 (15:11:51 GMT+0530 (IST))
[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 1532425311944 (15:11:51 GMT+0530 (IST))
[info] [Appium] New XCUITestDriver session created successfully, session 13cfa1b5-fd32-4a95-95f2-b2ca4da1ef4e added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1532425311945 (15:11:51 GMT+0530 (IST))
[debug] [W3C] 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","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"noReset":false,"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a"}}
[info] [HTTP] <-- POST /wd/hub/session 200 74544 ms - 581
[info] [HTTP]
[info] [HTTP] --> GET /wd/hub/session/13cfa1b5-fd32-4a95-95f2-b2ca4da1ef4e
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["13cfa1b5-fd32-4a95-95f2-b2ca4da1ef4e"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/63FDD39E-6593-42F0-B3A2-877A3F9168AE] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"63FDD39E-6593-42F0-B3A2-877A3F9168AE\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \" \",\n \"sdkVersion\" : \"11.4.1\",\n \"CFBundleIdentifier\" : \"com.apple.springboard\"\n }\n },\n \"sessionId\" : \"63FDD39E-6593-42F0-B3A2-877A3F9168AE\",\n \"status\" : 0\n}"
[info] [XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/63FDD39E-6593-42F0-B3A2-877A3F9168AE/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"63FDD39E-6593-42F0-B3A2-877A3F9168AE\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/63FDD39E-6593-42F0-B3A2-877A3F9168AE/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"63FDD39E-6593-42F0-B3A2-877A3F9168AE\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/63FDD39E-6593-42F0-B3A2-877A3F9168AE/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"63FDD39E-6593-42F0-B3A2-877A3F9168AE\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/63FDD39E-6593-42F0-B3A2-877A3F9168AE/window/size] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"width\" : 375,\n \"height\" : 812\n },\n \"sessionId\" : \"63FDD39E-6593-42F0-B3A2-877A3F9168AE\",\n \"status\" : 0\n}"
[debug] [W3C] Responding to client with driver.getSession() result: {"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","platformName":"ios","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"noReset":false,"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard","pixelRatio":2,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":750,"height":1624}}
[info] [HTTP] <-- GET /wd/hub/session/13cfa1b5-fd32-4a95-95f2-b2ca4da1ef4e 200 820 ms - 513
[info] [HTTP]
[info] [HTTP] --> GET /wd/hub/session/13cfa1b5-fd32-4a95-95f2-b2ca4da1ef4e
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["13cfa1b5-fd32-4a95-95f2-b2ca4da1ef4e"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/63FDD39E-6593-42F0-B3A2-877A3F9168AE] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"63FDD39E-6593-42F0-B3A2-877A3F9168AE\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \" \",\n \"sdkVersion\" : \"11.4.1\",\n \"CFBundleIdentifier\" : \"com.apple.springboard\"\n }\n },\n \"sessionId\" : \"63FDD39E-6593-42F0-B3A2-877A3F9168AE\",\n \"status\" : 0\n}"
[info] [XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/63FDD39E-6593-42F0-B3A2-877A3F9168AE/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"63FDD39E-6593-42F0-B3A2-877A3F9168AE\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/63FDD39E-6593-42F0-B3A2-877A3F9168AE/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"63FDD39E-6593-42F0-B3A2-877A3F9168AE\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/63FDD39E-6593-42F0-B3A2-877A3F9168AE/window/size] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"width\" : 375,\n \"height\" : 812\n },\n \"sessionId\" : \"63FDD39E-6593-42F0-B3A2-877A3F9168AE\",\n \"status\" : 0\n}"
[debug] [W3C] Responding to client with driver.getSession() result: {"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","platformName":"ios","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"noReset":false,"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard","pixelRatio":2,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":750,"height":1624}}
[info] [HTTP] <-- GET /wd/hub/session/13cfa1b5-fd32-4a95-95f2-b2ca4da1ef4e 200 394 ms - 513
[info] [HTTP]
[info] [HTTP] --> POST /wd/hub/session/13cfa1b5-fd32-4a95-95f2-b2ca4da1ef4e/timeouts
[info] [HTTP] {"implicit":20000}
[debug] [W3C] Calling AppiumDriver.timeouts() with args: [{"protocol":"W3C","implicit":20000},"13cfa1b5-fd32-4a95-95f2-b2ca4da1ef4e"]
[debug] [XCUITest] Executing command 'timeouts'
[debug] [BaseDriver] script: undefined, pageLoad: undefined, implicit: 20000
[debug] [BaseDriver] Set implicit wait to 20000ms
[debug] [W3C] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/13cfa1b5-fd32-4a95-95f2-b2ca4da1ef4e/timeouts 200 6 ms - 14
[info] [HTTP] [info] [HTTP] --> DELETE /wd/hub/session/13cfa1b5-fd32-4a95-95f2-b2ca4da1ef4e
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.deleteSession() with args: ["13cfa1b5-fd32-4a95-95f2-b2ca4da1ef4e"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1532425315625 (15:11:55 GMT+0530 (IST))
[info] [Appium] Removing session 13cfa1b5-fd32-4a95-95f2-b2ca4da1ef4e from our master session list
[debug] [JSONWP Proxy] Proxying [DELETE /session/13cfa1b5-fd32-4a95-95f2-b2ca4da1ef4e] to [DELETE http://localhost:8100/session/63FDD39E-6593-42F0-B3A2-877A3F9168AE] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n\n },\n \"sessionId\" : \"CE3D0820-7712-4A2C-89FA-B82DC0127F78\",\n \"status\" : 0\n}"
[debug] [XCUITest] Cannot find a match for DerivedData folder path from lsof. Trying to access logs
[warn] [XCUITest] Cannot grep on the the xcodebuild log file '/private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log'. Original error: Command 'grep /WebDriverAgentRunner- /private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log' exited with code 1
[warn] [XCUITest] No WebDriverAgent derived data available, so unable to clear system files
[debug] [iOSLog] Stopping iOS log capture
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1532425316145 (15:11:56 GMT+0530 (IST))
[debug] [W3C] Received response: null
[debug] [W3C] But deleting session, so not returning
[debug] [W3C] Responding to client with driver.deleteSession() result: null
[info] [HTTP] <-- DELETE /wd/hub/session/13cfa1b5-fd32-4a95-95f2-b2ca4da1ef4e 200 523 ms - 14
[info] [HTTP] [debug] [XCUITest] Connection to WDA timed out
[debug] [iProxy] recv failed: Operation not permitted[info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"capabilities":{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"XCuiTest","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},null,{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"XCuiTest","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1532425843919 (15:20:43 GMT+0530 (IST))
[warn] [BaseDriver] The capabilities ["acceptSslCerts","version"] are not standard capabilities and should have an extension prefix
[info] [Appium] Creating new XCUITestDriver (v2.84.0) session
[info] [Appium] Capabilities:
[info] [Appium] acceptSslCerts: true
[info] [Appium] platformName: ios
[info] [Appium] version: 11.4.1
[info] [Appium] app: http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip
[info] [Appium] automationName: XCuiTest
[info] [Appium] clearSystemFiles: true
[info] [Appium] deviceName: iPhone
[info] [Appium] fullReset: true
[info] [Appium] udid: fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:acc... and MJSONWP desired capabilities [object Object] were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:acc...
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: acceptSslCerts, version.
[info] [BaseDriver] Session created with session id: 6454c94a-61aa-42a6-9602-a363ea99ca7e
[debug] [XCUITest] Current user: 'alkaffkhan'[debug] [XCUITest] Available devices: fd4e4acc104da98ad24fef7fe1bdc650653e866a, fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [XCUITest] Creating iDevice object with udid 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'
[info] [XCUITest] Determining device to run tests on: udid: 'fd4e4acc104da98ad24fef7fe1bdc650653e866a', real device: true
[info] [BaseDriver] Using downloadable app 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'[debug] [BaseDriver] 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip' downloaded to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1o17r9i.9nw4j/appium-app.zip'
[debug] [BaseDriver] Downloaded file type 'application/zip'
[info] [BaseDriver] Downloaded the app to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1o17r9i.9nw4j/appium-app.zip'
[info] [BaseDriver] Unzipping local app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1o17r9i.9nw4j/appium-app.zip'...
[debug] [BaseDriver] Unzipping /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1o17r9i.9nw4j/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1o17r9i.9nw4j/appium-app.zip[info] [BaseDriver] Unzipped local app to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1o17r9i.9nw4j/QA-Beta.app'
[debug] [BaseDriver] Got 'undefined' as 'Last-Modified' HEAD response header value of 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'
[info] [BaseDriver] Skipping 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip' caching, because the HEAD response didn't return any valid Last-Modified headers
[debug] [BaseDriver] Event 'appConfigured' logged at 1532425868115 (15:21:08 GMT+0530 (IST))
[debug] [XCUITest] Checking whether app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1o17r9i.9nw4j/QA-Beta.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1o17r9i.9nw4j/QA-Beta.app': 'com.vervewireless.iphone.qa.beta'
[debug] [BaseDriver] Event 'resetStarted' logged at 1532425868122 (15:21:08 GMT+0530 (IST))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [XCUITest] Reset: fullReset requested. Will try to uninstall the app 'com.vervewireless.iphone.qa.beta'.[debug] [XCUITest] Reset: removed 'com.vervewireless.iphone.qa.beta'
[debug] [BaseDriver] Event 'resetComplete' logged at 1532425870371 (15:21:10 GMT+0530 (IST))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'[debug] [XCUITest] Crash reports root '/Users/alkaffkhan/Library/Logs/CrashReporter/MobileDevice/IphoneX' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1532425871112 (15:21:11 GMT+0530 (IST))
[info] [XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"][debug] [XCUITest] Installing '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1o17r9i.9nw4j/QA-Beta.app' on device with UUID 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'...[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1532425923059 (15:22:03 GMT+0530 (IST))
[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] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.1.5\"\n },\n \"build\" : {\n \"time\" : \"Jul 23 2018 16:46:34\"\n }\n },\n \"sessionId\" : \"CE3D0820-7712-4A2C-89FA-B82DC0127F78\",\n \"status\" : 0\n}"
[info] [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.
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1532425923232 (15:22:03 GMT+0530 (IST))
[info] [XCUITest] Using provided WebdriverAgent at 'http://localhost:8100/'
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1532425923234 (15:22:03 GMT+0530 (IST))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.1.5\"\n },\n \"build\" : {\n \"time\" : \"Jul 23 2018 16:46:34\"\n }\n },\n \"sessionId\" : \"CE3D0820-7712-4A2C-89FA-B82DC0127F78\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.vervewireless.iphone.qa.beta","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"198ED2F1-9304-492C-9CE1-E648777A7B56","capabilities":{"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard"}},"sessionId":"198ED2F1-9304-492C-9CE1-E648777A7B56","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1532425925382 (15:22:05 GMT+0530 (IST))[debug] [XCUITest] Cannot find a match for DerivedData folder path from lsof. Trying to access logs
[warn] [XCUITest] Cannot grep on the the xcodebuild log file '/private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log'. Original error: Command 'grep /WebDriverAgentRunner- /private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log' exited with code 1
[warn] [XCUITest] No WebDriverAgent derived data available, so unable to mark system files for cleanup
[debug] [BaseDriver] Event 'wdaStarted' logged at 1532425926014 (15:22:06 GMT+0530 (IST))
[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 1532425926014 (15:22:06 GMT+0530 (IST))
[info] [Appium] New XCUITestDriver session created successfully, session 6454c94a-61aa-42a6-9602-a363ea99ca7e added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1532425926016 (15:22:06 GMT+0530 (IST))
[debug] [W3C] 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","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a"}}
[info] [HTTP] <-- POST /wd/hub/session 200 82097 ms - 565
[info] [HTTP]
[info] [HTTP] --> GET /wd/hub/session/6454c94a-61aa-42a6-9602-a363ea99ca7e
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["6454c94a-61aa-42a6-9602-a363ea99ca7e"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/198ED2F1-9304-492C-9CE1-E648777A7B56] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"198ED2F1-9304-492C-9CE1-E648777A7B56\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \" \",\n \"sdkVersion\" : \"11.4.1\",\n \"CFBundleIdentifier\" : \"com.apple.springboard\"\n }\n },\n \"sessionId\" : \"198ED2F1-9304-492C-9CE1-E648777A7B56\",\n \"status\" : 0\n}"
[info] [XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/198ED2F1-9304-492C-9CE1-E648777A7B56/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"198ED2F1-9304-492C-9CE1-E648777A7B56\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/198ED2F1-9304-492C-9CE1-E648777A7B56/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"198ED2F1-9304-492C-9CE1-E648777A7B56\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/198ED2F1-9304-492C-9CE1-E648777A7B56/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"198ED2F1-9304-492C-9CE1-E648777A7B56\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/198ED2F1-9304-492C-9CE1-E648777A7B56/window/size] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"width\" : 375,\n \"height\" : 812\n },\n \"sessionId\" : \"198ED2F1-9304-492C-9CE1-E648777A7B56\",\n \"status\" : 0\n}"
[debug] [W3C] Responding to client with driver.getSession() result: {"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","platformName":"ios","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard","pixelRatio":2,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":750,"height":1624}}
[info] [HTTP] <-- GET /wd/hub/session/6454c94a-61aa-42a6-9602-a363ea99ca7e 200 557 ms - 497
[info] [HTTP]
[info] [HTTP] --> GET /wd/hub/session/6454c94a-61aa-42a6-9602-a363ea99ca7e
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["6454c94a-61aa-42a6-9602-a363ea99ca7e"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/198ED2F1-9304-492C-9CE1-E648777A7B56] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"198ED2F1-9304-492C-9CE1-E648777A7B56\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \" \",\n \"sdkVersion\" : \"11.4.1\",\n \"CFBundleIdentifier\" : \"com.apple.springboard\"\n }\n },\n \"sessionId\" : \"198ED2F1-9304-492C-9CE1-E648777A7B56\",\n \"status\" : 0\n}"
[info] [XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/198ED2F1-9304-492C-9CE1-E648777A7B56/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"198ED2F1-9304-492C-9CE1-E648777A7B56\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/198ED2F1-9304-492C-9CE1-E648777A7B56/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"198ED2F1-9304-492C-9CE1-E648777A7B56\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/198ED2F1-9304-492C-9CE1-E648777A7B56/window/size] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"width\" : 375,\n \"height\" : 812\n },\n \"sessionId\" : \"198ED2F1-9304-492C-9CE1-E648777A7B56\",\n \"status\" : 0\n}"
[debug] [W3C] Responding to client with driver.getSession() result: {"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","platformName":"ios","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard","pixelRatio":2,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":750,"height":1624}}
[info] [HTTP] <-- GET /wd/hub/session/6454c94a-61aa-42a6-9602-a363ea99ca7e 200 467 ms - 497
[info] [HTTP]
[info] [HTTP] --> POST /wd/hub/session/6454c94a-61aa-42a6-9602-a363ea99ca7e/timeouts
[info] [HTTP] {"implicit":20000}
[debug] [W3C] Calling AppiumDriver.timeouts() with args: [{"protocol":"W3C","implicit":20000},"6454c94a-61aa-42a6-9602-a363ea99ca7e"]
[debug] [XCUITest] Executing command 'timeouts'
[debug] [BaseDriver] script: undefined, pageLoad: undefined, implicit: 20000
[debug] [BaseDriver] Set implicit wait to 20000ms
[debug] [W3C] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/6454c94a-61aa-42a6-9602-a363ea99ca7e/timeouts 200 5 ms - 14
[info] [HTTP] [info] [HTTP] --> DELETE /wd/hub/session/6454c94a-61aa-42a6-9602-a363ea99ca7e
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.deleteSession() with args: ["6454c94a-61aa-42a6-9602-a363ea99ca7e"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1532425929361 (15:22:09 GMT+0530 (IST))
[info] [Appium] Removing session 6454c94a-61aa-42a6-9602-a363ea99ca7e from our master session list
[debug] [JSONWP Proxy] Proxying [DELETE /session/6454c94a-61aa-42a6-9602-a363ea99ca7e] to [DELETE http://localhost:8100/session/198ED2F1-9304-492C-9CE1-E648777A7B56] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n\n },\n \"sessionId\" : \"40B77C97-2346-405C-82A3-DC6670D3DF9A\",\n \"status\" : 0\n}"
[debug] [XCUITest] Cannot find a match for DerivedData folder path from lsof. Trying to access logs[warn] [XCUITest] Cannot grep on the the xcodebuild log file '/private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log'. Original error: Command 'grep /WebDriverAgentRunner- /private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log' exited with code 1
[warn] [XCUITest] No WebDriverAgent derived data available, so unable to clear system files
[debug] [iOSLog] Stopping iOS log capture
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1532425929890 (15:22:09 GMT+0530 (IST))
[debug] [W3C] Received response: null
[debug] [W3C] But deleting session, so not returning
[debug] [W3C] Responding to client with driver.deleteSession() result: null
[info] [HTTP] <-- DELETE /wd/hub/session/6454c94a-61aa-42a6-9602-a363ea99ca7e 200 530 ms - 14
[info] [HTTP] [debug] [XCUITest] Connection to WDA timed out
[debug] [iProxy] recv failed: Operation not permitted[info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"capabilities":{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"XCuiTest","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},null,{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"XCuiTest","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1532426480808 (15:31:20 GMT+0530 (IST))
[warn] [BaseDriver] The capabilities ["acceptSslCerts","version"] are not standard capabilities and should have an extension prefix
[info] [Appium] Creating new XCUITestDriver (v2.84.0) session
[info] [Appium] Capabilities:
[info] [Appium] acceptSslCerts: true
[info] [Appium] platformName: ios
[info] [Appium] version: 11.4.1
[info] [Appium] app: http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip
[info] [Appium] automationName: XCuiTest
[info] [Appium] clearSystemFiles: true
[info] [Appium] deviceName: iPhone
[info] [Appium] fullReset: true
[info] [Appium] udid: fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:acc... and MJSONWP desired capabilities [object Object] were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:acc...
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: acceptSslCerts, version.
[info] [BaseDriver] Session created with session id: aa0db2e0-fd75-4439-89af-9090163faef8
[debug] [XCUITest] Current user: 'alkaffkhan'[debug] [XCUITest] Available devices: fd4e4acc104da98ad24fef7fe1bdc650653e866a, fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [XCUITest] Creating iDevice object with udid 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'
[info] [XCUITest] Determining device to run tests on: udid: 'fd4e4acc104da98ad24fef7fe1bdc650653e866a', real device: true
[info] [BaseDriver] Using downloadable app 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'[debug] [BaseDriver] 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip' downloaded to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1wskk94.bift/appium-app.zip'
[debug] [BaseDriver] Downloaded file type 'application/zip'
[info] [BaseDriver] Downloaded the app to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1wskk94.bift/appium-app.zip'
[info] [BaseDriver] Unzipping local app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1wskk94.bift/appium-app.zip'...
[debug] [BaseDriver] Unzipping /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1wskk94.bift/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1wskk94.bift/appium-app.zip[info] [BaseDriver] Unzipped local app to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1wskk94.bift/QA-Beta.app'
[debug] [BaseDriver] Got 'undefined' as 'Last-Modified' HEAD response header value of 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'
[info] [BaseDriver] Skipping 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip' caching, because the HEAD response didn't return any valid Last-Modified headers
[debug] [BaseDriver] Event 'appConfigured' logged at 1532426501267 (15:31:41 GMT+0530 (IST))
[debug] [XCUITest] Checking whether app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1wskk94.bift/QA-Beta.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1wskk94.bift/QA-Beta.app': 'com.vervewireless.iphone.qa.beta'
[debug] [BaseDriver] Event 'resetStarted' logged at 1532426501275 (15:31:41 GMT+0530 (IST))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [XCUITest] Reset: fullReset requested. Will try to uninstall the app 'com.vervewireless.iphone.qa.beta'.[debug] [XCUITest] Reset: removed 'com.vervewireless.iphone.qa.beta'
[debug] [BaseDriver] Event 'resetComplete' logged at 1532426503920 (15:31:43 GMT+0530 (IST))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'[debug] [XCUITest] Crash reports root '/Users/alkaffkhan/Library/Logs/CrashReporter/MobileDevice/IphoneX' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1532426504585 (15:31:44 GMT+0530 (IST))
[info] [XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"][debug] [XCUITest] Installing '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1wskk94.bift/QA-Beta.app' on device with UUID 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'...[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1532426611325 (15:33:31 GMT+0530 (IST))
[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] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.1.5\"\n },\n \"build\" : {\n \"time\" : \"Jul 23 2018 16:46:34\"\n }\n },\n \"sessionId\" : \"40B77C97-2346-405C-82A3-DC6670D3DF9A\",\n \"status\" : 0\n}"
[info] [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.
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1532426611484 (15:33:31 GMT+0530 (IST))
[info] [XCUITest] Using provided WebdriverAgent at 'http://localhost:8100/'
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1532426611485 (15:33:31 GMT+0530 (IST))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.1.5\"\n },\n \"build\" : {\n \"time\" : \"Jul 23 2018 16:46:34\"\n }\n },\n \"sessionId\" : \"40B77C97-2346-405C-82A3-DC6670D3DF9A\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.vervewireless.iphone.qa.beta","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"1E04E187-9AC3-458A-8B33-ECDB08ABDF0A","capabilities":{"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard"}},"sessionId":"1E04E187-9AC3-458A-8B33-ECDB08ABDF0A","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1532426613944 (15:33:33 GMT+0530 (IST))[debug] [XCUITest] Cannot find a match for DerivedData folder path from lsof. Trying to access logs
[warn] [XCUITest] Cannot grep on the the xcodebuild log file '/private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log'. Original error: Command 'grep /WebDriverAgentRunner- /private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log' exited with code 1
[warn] [XCUITest] No WebDriverAgent derived data available, so unable to mark system files for cleanup
[debug] [BaseDriver] Event 'wdaStarted' logged at 1532426614648 (15:33:34 GMT+0530 (IST))
[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 1532426614649 (15:33:34 GMT+0530 (IST))
[info] [Appium] New XCUITestDriver session created successfully, session aa0db2e0-fd75-4439-89af-9090163faef8 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1532426614651 (15:33:34 GMT+0530 (IST))
[debug] [W3C] 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","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a"}}
[info] [HTTP] <-- POST /wd/hub/session 200 133842 ms - 565
[info] [HTTP]
[info] [HTTP] --> GET /wd/hub/session/aa0db2e0-fd75-4439-89af-9090163faef8
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["aa0db2e0-fd75-4439-89af-9090163faef8"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/1E04E187-9AC3-458A-8B33-ECDB08ABDF0A] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"1E04E187-9AC3-458A-8B33-ECDB08ABDF0A\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \" \",\n \"sdkVersion\" : \"11.4.1\",\n \"CFBundleIdentifier\" : \"com.apple.springboard\"\n }\n },\n \"sessionId\" : \"1E04E187-9AC3-458A-8B33-ECDB08ABDF0A\",\n \"status\" : 0\n}"
[info] [XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/1E04E187-9AC3-458A-8B33-ECDB08ABDF0A/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"1E04E187-9AC3-458A-8B33-ECDB08ABDF0A\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/1E04E187-9AC3-458A-8B33-ECDB08ABDF0A/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"1E04E187-9AC3-458A-8B33-ECDB08ABDF0A\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/1E04E187-9AC3-458A-8B33-ECDB08ABDF0A/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"width\" : 375,\n \"height\" : 812\n },\n \"sessionId\" : \"1E04E187-9AC3-458A-8B33-ECDB08ABDF0A\",\n \"status\" : 0\n}"
[debug] [W3C] Responding to client with driver.getSession() result: {"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","platformName":"ios","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard","pixelRatio":2,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":750,"height":1624}}
[info] [HTTP] <-- GET /wd/hub/session/aa0db2e0-fd75-4439-89af-9090163faef8 200 1052 ms - 497
[info] [HTTP]
[info] [HTTP] --> GET /wd/hub/session/aa0db2e0-fd75-4439-89af-9090163faef8
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["aa0db2e0-fd75-4439-89af-9090163faef8"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/1E04E187-9AC3-458A-8B33-ECDB08ABDF0A] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"1E04E187-9AC3-458A-8B33-ECDB08ABDF0A\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \" \",\n \"sdkVersion\" : \"11.4.1\",\n \"CFBundleIdentifier\" : \"com.apple.springboard\"\n }\n },\n \"sessionId\" : \"1E04E187-9AC3-458A-8B33-ECDB08ABDF0A\",\n \"status\" : 0\n}"
[info] [XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/1E04E187-9AC3-458A-8B33-ECDB08ABDF0A/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"1E04E187-9AC3-458A-8B33-ECDB08ABDF0A\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/1E04E187-9AC3-458A-8B33-ECDB08ABDF0A/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"width\" : 375,\n \"height\" : 812\n },\n \"sessionId\" : \"1E04E187-9AC3-458A-8B33-ECDB08ABDF0A\",\n \"status\" : 0\n}"
[debug] [W3C] Responding to client with driver.getSession() result: {"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","platformName":"ios","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard","pixelRatio":2,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":750,"height":1624}}
[info] [HTTP] <-- GET /wd/hub/session/aa0db2e0-fd75-4439-89af-9090163faef8 200 685 ms - 497
[info] [HTTP]
[info] [HTTP] --> POST /wd/hub/session/aa0db2e0-fd75-4439-89af-9090163faef8/timeouts
[info] [HTTP] {"implicit":20000}
[debug] [W3C] Calling AppiumDriver.timeouts() with args: [{"protocol":"W3C","implicit":20000},"aa0db2e0-fd75-4439-89af-9090163faef8"]
[debug] [XCUITest] Executing command 'timeouts'
[debug] [BaseDriver] script: undefined, pageLoad: undefined, implicit: 20000
[debug] [BaseDriver] Set implicit wait to 20000ms
[debug] [W3C] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/aa0db2e0-fd75-4439-89af-9090163faef8/timeouts 200 6 ms - 14
[info] [HTTP] [info] [HTTP] --> DELETE /wd/hub/session/aa0db2e0-fd75-4439-89af-9090163faef8
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.deleteSession() with args: ["aa0db2e0-fd75-4439-89af-9090163faef8"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1532426618738 (15:33:38 GMT+0530 (IST))
[info] [Appium] Removing session aa0db2e0-fd75-4439-89af-9090163faef8 from our master session list
[debug] [JSONWP Proxy] Proxying [DELETE /session/aa0db2e0-fd75-4439-89af-9090163faef8] to [DELETE http://localhost:8100/session/1E04E187-9AC3-458A-8B33-ECDB08ABDF0A] with no body[debug] [XCUITest] Cannot find a match for DerivedData folder path from lsof. Trying to access logs
[warn] [XCUITest] Cannot grep on the the xcodebuild log file '/private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log'. Original error: Command 'grep /WebDriverAgentRunner- /private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log' exited with code 1
[warn] [XCUITest] No WebDriverAgent derived data available, so unable to clear system files
[debug] [iOSLog] Stopping iOS log capture[debug] [XCUITest] Connection to WDA timed out
[debug] [iProxy] recv failed: Operation not permitted[info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"capabilities":{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},null,{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1532428329153 (16:02:09 GMT+0530 (IST))
[warn] [BaseDriver] The capabilities ["acceptSslCerts","version"] are not standard capabilities and should have an extension prefix
[info] [Appium] Creating new IosDriver (v2.4.4) session
[info] [Appium] Capabilities:
[info] [Appium] acceptSslCerts: true
[info] [Appium] platformName: ios
[info] [Appium] version: 11.4.1
[info] [Appium] app: http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip
[info] [Appium] clearSystemFiles: true
[info] [Appium] deviceName: iPhone
[info] [Appium] fullReset: true
[info] [Appium] udid: fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:acc... and MJSONWP desired capabilities [object Object] were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:acc...
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: acceptSslCerts, version.
[info] [BaseDriver] Session created with session id: 61cc15fb-9f9f-4d7f-a474-2007ab641704
[debug] [iOS] Xcode version set to 9.4.1
[error] [iOS] SessionNotCreatedError: A new session could not be created. Details: Appium's IosDriver does not support Xcode version 9.4.1. Apple has deprecated UIAutomation. Use the "XCUITest" automationName capability instead.
[error] [iOS] at IosDriver.createSession$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-ios-driver/lib/driver.js:129:28)
[error] [iOS] at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[error] [iOS] at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[error] [iOS] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[error] [iOS] at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[error] [iOS] at <anonymous>
[error] [iOS] at process._tickCallback (internal/process/next_tick.js:188:7)
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1532428329211 (16:02:09 GMT+0530 (IST))
[info] [HTTP] <-- POST /wd/hub/session 500 62 ms - 1418
[info] [HTTP] [info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"capabilities":{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"XCuiTest","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},null,{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"XCuiTest","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1532428367919 (16:02:47 GMT+0530 (IST))
[warn] [BaseDriver] The capabilities ["acceptSslCerts","version"] are not standard capabilities and should have an extension prefix
[info] [Appium] Creating new XCUITestDriver (v2.84.0) session
[info] [Appium] Capabilities:
[info] [Appium] acceptSslCerts: true
[info] [Appium] platformName: ios
[info] [Appium] version: 11.4.1
[info] [Appium] app: http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip
[info] [Appium] automationName: XCuiTest
[info] [Appium] clearSystemFiles: true
[info] [Appium] deviceName: iPhone
[info] [Appium] fullReset: true
[info] [Appium] udid: fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:acc... and MJSONWP desired capabilities [object Object] were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:acc...
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: acceptSslCerts, version.
[info] [BaseDriver] Session created with session id: 5961f16f-7784-41c4-b230-0161bb5150be
[debug] [XCUITest] Current user: 'alkaffkhan'[debug] [XCUITest] Available devices: fd4e4acc104da98ad24fef7fe1bdc650653e866a, fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [XCUITest] Creating iDevice object with udid 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'
[info] [XCUITest] Determining device to run tests on: udid: 'fd4e4acc104da98ad24fef7fe1bdc650653e866a', real device: true
[info] [BaseDriver] Using downloadable app 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'[debug] [XCUITest] Available devices: fd4e4acc104da98ad24fef7fe1bdc650653e866a, fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [XCUITest] Creating iDevice object with udid 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'
[info] [XCUITest] Determining device to run tests on: udid: 'fd4e4acc104da98ad24fef7fe1bdc650653e866a', real device: true
[info] [BaseDriver] Using downloadable app 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'[debug] [BaseDriver] 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip' downloaded to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-ttc3t1.mijg/appium-app.zip'
[debug] [BaseDriver] Downloaded file type 'application/zip'
[info] [BaseDriver] Downloaded the app to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-ttc3t1.mijg/appium-app.zip'
[info] [BaseDriver] Unzipping local app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-ttc3t1.mijg/appium-app.zip'...
[debug] [BaseDriver] Unzipping /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-ttc3t1.mijg/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-ttc3t1.mijg/appium-app.zip[info] [BaseDriver] Unzipped local app to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-ttc3t1.mijg/QA-Beta.app'
[debug] [BaseDriver] Got 'undefined' as 'Last-Modified' HEAD response header value of 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'
[info] [BaseDriver] Skipping 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip' caching, because the HEAD response didn't return any valid Last-Modified headers
[debug] [BaseDriver] Event 'appConfigured' logged at 1532428386384 (16:03:06 GMT+0530 (IST))
[debug] [XCUITest] Checking whether app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-ttc3t1.mijg/QA-Beta.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-ttc3t1.mijg/QA-Beta.app': 'com.vervewireless.iphone.qa.beta'
[debug] [BaseDriver] Event 'resetStarted' logged at 1532428386395 (16:03:06 GMT+0530 (IST))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [XCUITest] Reset: fullReset requested. Will try to uninstall the app 'com.vervewireless.iphone.qa.beta'.[debug] [XCUITest] Reset: removed 'com.vervewireless.iphone.qa.beta'
[debug] [BaseDriver] Event 'resetComplete' logged at 1532428391075 (16:03:11 GMT+0530 (IST))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'[debug] [XCUITest] Crash reports root '/Users/alkaffkhan/Library/Logs/CrashReporter/MobileDevice/IphoneX' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1532428392719 (16:03:12 GMT+0530 (IST))
[info] [XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"][debug] [XCUITest] Installing '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-ttc3t1.mijg/QA-Beta.app' on device with UUID 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'...[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1532428419881 (16:03:39 GMT+0530 (IST))
[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] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.1.5\"\n },\n \"build\" : {\n \"time\" : \"Jul 23 2018 16:46:34\"\n }\n },\n \"sessionId\" : \"D7C94410-EE6D-4CF7-89DB-1B6CE501DC56\",\n \"status\" : 0\n}"
[info] [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.
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1532428420011 (16:03:40 GMT+0530 (IST))
[info] [XCUITest] Using provided WebdriverAgent at 'http://localhost:8100/'
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1532428420012 (16:03:40 GMT+0530 (IST))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.1.5\"\n },\n \"build\" : {\n \"time\" : \"Jul 23 2018 16:46:34\"\n }\n },\n \"sessionId\" : \"D7C94410-EE6D-4CF7-89DB-1B6CE501DC56\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.vervewireless.iphone.qa.beta","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"2E005D4F-451A-49E8-B9B9-F34198021EB6","capabilities":{"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard"}},"sessionId":"2E005D4F-451A-49E8-B9B9-F34198021EB6","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1532428422218 (16:03:42 GMT+0530 (IST))[debug] [XCUITest] Cannot find a match for DerivedData folder path from lsof. Trying to access logs
[warn] [XCUITest] Cannot grep on the the xcodebuild log file '/private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log'. Original error: Command 'grep /WebDriverAgentRunner- /private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log' exited with code 1
[warn] [XCUITest] No WebDriverAgent derived data available, so unable to mark system files for cleanup
[debug] [BaseDriver] Event 'wdaStarted' logged at 1532428422897 (16:03:42 GMT+0530 (IST))
[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 1532428422897 (16:03:42 GMT+0530 (IST))
[info] [Appium] New XCUITestDriver session created successfully, session 5961f16f-7784-41c4-b230-0161bb5150be added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1532428422899 (16:03:42 GMT+0530 (IST))
[debug] [W3C] 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","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a"}}
[info] [HTTP] <-- POST /wd/hub/session 200 54980 ms - 565
[info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/5961f16f-7784-41c4-b230-0161bb5150be
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["5961f16f-7784-41c4-b230-0161bb5150be"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/2E005D4F-451A-49E8-B9B9-F34198021EB6] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"2E005D4F-451A-49E8-B9B9-F34198021EB6\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \" \",\n \"sdkVersion\" : \"11.4.1\",\n \"CFBundleIdentifier\" : \"com.apple.springboard\"\n }\n },\n \"sessionId\" : \"2E005D4F-451A-49E8-B9B9-F34198021EB6\",\n \"status\" : 0\n}"
[info] [XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/2E005D4F-451A-49E8-B9B9-F34198021EB6/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"2E005D4F-451A-49E8-B9B9-F34198021EB6\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/2E005D4F-451A-49E8-B9B9-F34198021EB6/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"2E005D4F-451A-49E8-B9B9-F34198021EB6\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/2E005D4F-451A-49E8-B9B9-F34198021EB6/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"2E005D4F-451A-49E8-B9B9-F34198021EB6\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/2E005D4F-451A-49E8-B9B9-F34198021EB6/window/size] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"width\" : 375,\n \"height\" : 812\n },\n \"sessionId\" : \"2E005D4F-451A-49E8-B9B9-F34198021EB6\",\n \"status\" : 0\n}"
[debug] [W3C] Responding to client with driver.getSession() result: {"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","platformName":"ios","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard","pixelRatio":2,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":750,"height":1624}}
[info] [HTTP] <-- GET /wd/hub/session/5961f16f-7784-41c4-b230-0161bb5150be 200 612 ms - 497
[info] [HTTP]
[info] [HTTP] --> GET /wd/hub/session/5961f16f-7784-41c4-b230-0161bb5150be
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["5961f16f-7784-41c4-b230-0161bb5150be"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/2E005D4F-451A-49E8-B9B9-F34198021EB6] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"2E005D4F-451A-49E8-B9B9-F34198021EB6\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/2E005D4F-451A-49E8-B9B9-F34198021EB6/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"2E005D4F-451A-49E8-B9B9-F34198021EB6\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/2E005D4F-451A-49E8-B9B9-F34198021EB6/window/size] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"width\" : 375,\n \"height\" : 812\n },\n \"sessionId\" : \"2E005D4F-451A-49E8-B9B9-F34198021EB6\",\n \"status\" : 0\n}"
[debug] [W3C] Responding to client with driver.getSession() result: {"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","platformName":"ios","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard","pixelRatio":2,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":750,"height":1624}}
[info] [HTTP] <-- GET /wd/hub/session/5961f16f-7784-41c4-b230-0161bb5150be 200 716 ms - 497
[info] [HTTP]
[info] [HTTP] --> POST /wd/hub/session/5961f16f-7784-41c4-b230-0161bb5150be/timeouts
[info] [HTTP] {"implicit":20000}
[debug] [W3C] Calling AppiumDriver.timeouts() with args: [{"protocol":"W3C","implicit":20000},"5961f16f-7784-41c4-b230-0161bb5150be"]
[debug] [XCUITest] Executing command 'timeouts'
[debug] [BaseDriver] script: undefined, pageLoad: undefined, implicit: 20000
[debug] [BaseDriver] Set implicit wait to 20000ms
[debug] [W3C] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/5961f16f-7784-41c4-b230-0161bb5150be/timeouts 200 5 ms - 14
[info] [HTTP] [info] [HTTP] --> DELETE /wd/hub/session/5961f16f-7784-41c4-b230-0161bb5150be
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.deleteSession() with args: ["5961f16f-7784-41c4-b230-0161bb5150be"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1532428426582 (16:03:46 GMT+0530 (IST))
[info] [Appium] Removing session 5961f16f-7784-41c4-b230-0161bb5150be from our master session list
[debug] [JSONWP Proxy] Proxying [DELETE /session/5961f16f-7784-41c4-b230-0161bb5150be] to [DELETE http://localhost:8100/session/2E005D4F-451A-49E8-B9B9-F34198021EB6] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n\n },\n \"sessionId\" : \"9B970CCE-F276-40C5-B923-088834057C73\",\n \"status\" : 0\n}"
[debug] [XCUITest] Cannot find a match for DerivedData folder path from lsof. Trying to access logs
[warn] [XCUITest] Cannot grep on the the xcodebuild log file '/private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log'. Original error: Command 'grep /WebDriverAgentRunner- /private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log' exited with code 1
[warn] [XCUITest] No WebDriverAgent derived data available, so unable to clear system files
[debug] [iOSLog] Stopping iOS log capture[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1532428427657 (16:03:47 GMT+0530 (IST))
[debug] [W3C] Received response: null
[debug] [W3C] But deleting session, so not returning
[debug] [W3C] Responding to client with driver.deleteSession() result: null
[info] [HTTP] <-- DELETE /wd/hub/session/5961f16f-7784-41c4-b230-0161bb5150be 200 1077 ms - 14
[info] [HTTP] [debug] [XCUITest] Connection to WDA timed out
[debug] [iProxy] recv failed: Operation not permitted[info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"Appium","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"capabilities":{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"Appium","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"Appium","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"Appium","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},null,{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"Appium","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"Appium","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1532428503197 (16:05:03 GMT+0530 (IST))
[warn] [BaseDriver] The capabilities ["acceptSslCerts","version"] are not standard capabilities and should have an extension prefix
[info] [Appium] Creating new IosDriver (v2.4.4) session
[info] [Appium] Capabilities:
[info] [Appium] acceptSslCerts: true
[info] [Appium] platformName: ios
[info] [Appium] version: 11.4.1
[info] [Appium] app: http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip
[info] [Appium] automationName: Appium
[info] [Appium] clearSystemFiles: true
[info] [Appium] deviceName: iPhone
[info] [Appium] fullReset: true
[info] [Appium] udid: fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:acc... and MJSONWP desired capabilities [object Object] were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:acc...
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: acceptSslCerts, version.
[info] [BaseDriver] Session created with session id: 7875421a-2e0d-490b-87c6-512f642e0ac6
[debug] [iOS] Xcode version set to 9.4.1
[error] [iOS] SessionNotCreatedError: A new session could not be created. Details: Appium's IosDriver does not support Xcode version 9.4.1. Apple has deprecated UIAutomation. Use the "XCUITest" automationName capability instead.
[error] [iOS] at IosDriver.createSession$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-ios-driver/lib/driver.js:129:28)
[error] [iOS] at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[error] [iOS] at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[error] [iOS] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[error] [iOS] at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[error] [iOS] at <anonymous>
[error] [iOS] at process._tickCallback (internal/process/next_tick.js:188:7)
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1532428503212 (16:05:03 GMT+0530 (IST))
[info] [HTTP] <-- POST /wd/hub/session 500 18 ms - 1418
[info] [HTTP] [info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"Appium","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"capabilities":{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"Appium","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"Appium","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"Appium","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},null,{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"Appium","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"Appium","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1532428503197 (16:05:03 GMT+0530 (IST))
[warn] [BaseDriver] The capabilities ["acceptSslCerts","version"] are not standard capabilities and should have an extension prefix
[info] [Appium] Creating new IosDriver (v2.4.4) session
[info] [Appium] Capabilities:
[info] [Appium] acceptSslCerts: true
[info] [Appium] platformName: ios
[info] [Appium] version: 11.4.1
[info] [Appium] app: http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip
[info] [Appium] automationName: Appium
[info] [Appium] clearSystemFiles: true
[info] [Appium] deviceName: iPhone
[info] [Appium] fullReset: true
[info] [Appium] udid: fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:acc... and MJSONWP desired capabilities [object Object] were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:acc...
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: acceptSslCerts, version.
[info] [BaseDriver] Session created with session id: 7875421a-2e0d-490b-87c6-512f642e0ac6
[debug] [iOS] Xcode version set to 9.4.1
[error] [iOS] SessionNotCreatedError: A new session could not be created. Details: Appium's IosDriver does not support Xcode version 9.4.1. Apple has deprecated UIAutomation. Use the "XCUITest" automationName capability instead.
[error] [iOS] at IosDriver.createSession$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-ios-driver/lib/driver.js:129:28)
[error] [iOS] at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[error] [iOS] at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[error] [iOS] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[error] [iOS] at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[error] [iOS] at <anonymous>
[error] [iOS] at process._tickCallback (internal/process/next_tick.js:188:7)
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1532428503212 (16:05:03 GMT+0530 (IST))
[info] [HTTP] <-- POST /wd/hub/session 500 18 ms - 1418
[info] [HTTP] [info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"capabilities":{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"XCuiTest","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},null,{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"XCuiTest","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1532428555027 (16:05:55 GMT+0530 (IST))
[warn] [BaseDriver] The capabilities ["acceptSslCerts","version"] are not standard capabilities and should have an extension prefix
[info] [Appium] Creating new XCUITestDriver (v2.84.0) session
[info] [Appium] Capabilities:
[info] [Appium] acceptSslCerts: true
[info] [Appium] platformName: ios
[info] [Appium] version: 11.4.1
[info] [Appium] app: http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip
[info] [Appium] automationName: XCuiTest
[info] [Appium] clearSystemFiles: true
[info] [Appium] deviceName: iPhone
[info] [Appium] fullReset: true
[info] [Appium] udid: fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:acc... and MJSONWP desired capabilities [object Object] were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:acc...
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: acceptSslCerts, version.
[info] [BaseDriver] Session created with session id: 3d6ebb55-781d-4a30-bb1f-41968e39f8fb
[debug] [XCUITest] Current user: 'alkaffkhan'
[debug] [XCUITest] Xcode version set to '9.4.1'
[debug] [XCUITest] iOS SDK Version set to '11.4'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1532428555224 (16:05:55 GMT+0530 (IST))[debug] [XCUITest] Available devices: fd4e4acc104da98ad24fef7fe1bdc650653e866a, fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [XCUITest] Creating iDevice object with udid 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'
[info] [XCUITest] Determining device to run tests on: udid: 'fd4e4acc104da98ad24fef7fe1bdc650653e866a', real device: true
[info] [BaseDriver] Using downloadable app 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'[debug] [BaseDriver] 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip' downloaded to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1gbmnbh.27ny/appium-app.zip'
[debug] [BaseDriver] Downloaded file type 'application/zip'
[info] [BaseDriver] Downloaded the app to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1gbmnbh.27ny/appium-app.zip'
[info] [BaseDriver] Unzipping local app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1gbmnbh.27ny/appium-app.zip'...
[debug] [BaseDriver] Unzipping /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1gbmnbh.27ny/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1gbmnbh.27ny/appium-app.zip[info] [BaseDriver] Unzipped local app to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1gbmnbh.27ny/QA-Beta.app'
[debug] [BaseDriver] Got 'undefined' as 'Last-Modified' HEAD response header value of 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'
[info] [BaseDriver] Skipping 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip' caching, because the HEAD response didn't return any valid Last-Modified headers
[debug] [BaseDriver] Event 'appConfigured' logged at 1532428579466 (16:06:19 GMT+0530 (IST))
[debug] [XCUITest] Checking whether app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1gbmnbh.27ny/QA-Beta.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1gbmnbh.27ny/QA-Beta.app': 'com.vervewireless.iphone.qa.beta'
[debug] [BaseDriver] Event 'resetStarted' logged at 1532428579471 (16:06:19 GMT+0530 (IST))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [XCUITest] Reset: fullReset requested. Will try to uninstall the app 'com.vervewireless.iphone.qa.beta'.[debug] [XCUITest] Reset: removed 'com.vervewireless.iphone.qa.beta'
[debug] [BaseDriver] Event 'resetComplete' logged at 1532428581920 (16:06:21 GMT+0530 (IST))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'[debug] [XCUITest] Crash reports root '/Users/alkaffkhan/Library/Logs/CrashReporter/MobileDevice/IphoneX' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1532428583262 (16:06:23 GMT+0530 (IST))
[info] [XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"][debug] [XCUITest] Installing '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1gbmnbh.27ny/QA-Beta.app' on device with UUID 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'...[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1532428646797 (16:07:26 GMT+0530 (IST))
[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] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.1.5\"\n },\n \"build\" : {\n \"time\" : \"Jul 23 2018 16:46:34\"\n }\n },\n \"sessionId\" : \"9B970CCE-F276-40C5-B923-088834057C73\",\n \"status\" : 0\n}"
[info] [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.
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1532428646971 (16:07:26 GMT+0530 (IST))
[info] [XCUITest] Using provided WebdriverAgent at 'http://localhost:8100/'
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1532428646975 (16:07:26 GMT+0530 (IST))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.1.5\"\n },\n \"build\" : {\n \"time\" : \"Jul 23 2018 16:46:34\"\n }\n },\n \"sessionId\" : \"9B970CCE-F276-40C5-B923-088834057C73\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.vervewireless.iphone.qa.beta","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"EEBBE47B-053A-4AD0-9A1D-843F321B48D1","capabilities":{"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard"}},"sessionId":"EEBBE47B-053A-4AD0-9A1D-843F321B48D1","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1532428649055 (16:07:29 GMT+0530 (IST))[debug] [XCUITest] Cannot find a match for DerivedData folder path from lsof. Trying to access logs
[warn] [XCUITest] Cannot grep on the the xcodebuild log file '/private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log'. Original error: Command 'grep /WebDriverAgentRunner- /private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log' exited with code 1
[warn] [XCUITest] No WebDriverAgent derived data available, so unable to mark system files for cleanup
[debug] [BaseDriver] Event 'wdaStarted' logged at 1532428649792 (16:07:29 GMT+0530 (IST))
[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 1532428649792 (16:07:29 GMT+0530 (IST))
[info] [Appium] New XCUITestDriver session created successfully, session 3d6ebb55-781d-4a30-bb1f-41968e39f8fb added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1532428649793 (16:07:29 GMT+0530 (IST))
[debug] [W3C] 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","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a"}}
[info] [HTTP] <-- POST /wd/hub/session 200 94766 ms - 565
[info] [HTTP]
[info] [HTTP] --> GET /wd/hub/session/3d6ebb55-781d-4a30-bb1f-41968e39f8fb
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["3d6ebb55-781d-4a30-bb1f-41968e39f8fb"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/EEBBE47B-053A-4AD0-9A1D-843F321B48D1] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"EEBBE47B-053A-4AD0-9A1D-843F321B48D1\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \" \",\n \"sdkVersion\" : \"11.4.1\",\n \"CFBundleIdentifier\" : \"com.apple.springboard\"\n }\n },\n \"sessionId\" : \"EEBBE47B-053A-4AD0-9A1D-843F321B48D1\",\n \"status\" : 0\n}"
[info] [XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/EEBBE47B-053A-4AD0-9A1D-843F321B48D1/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"EEBBE47B-053A-4AD0-9A1D-843F321B48D1\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/EEBBE47B-053A-4AD0-9A1D-843F321B48D1/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"EEBBE47B-053A-4AD0-9A1D-843F321B48D1\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/EEBBE47B-053A-4AD0-9A1D-843F321B48D1/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"EEBBE47B-053A-4AD0-9A1D-843F321B48D1\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/EEBBE47B-053A-4AD0-9A1D-843F321B48D1/window/size] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"width\" : 375,\n \"height\" : 812\n },\n \"sessionId\" : \"EEBBE47B-053A-4AD0-9A1D-843F321B48D1\",\n \"status\" : 0\n}"
[debug] [W3C] Responding to client with driver.getSession() result: {"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","platformName":"ios","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard","pixelRatio":2,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":750,"height":1624}}
[info] [HTTP] <-- GET /wd/hub/session/3d6ebb55-781d-4a30-bb1f-41968e39f8fb 200 760 ms - 497
[info] [HTTP]
[info] [HTTP] --> GET /wd/hub/session/3d6ebb55-781d-4a30-bb1f-41968e39f8fb
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["3d6ebb55-781d-4a30-bb1f-41968e39f8fb"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/EEBBE47B-053A-4AD0-9A1D-843F321B48D1] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"EEBBE47B-053A-4AD0-9A1D-843F321B48D1\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \" \",\n \"sdkVersion\" : \"11.4.1\",\n \"CFBundleIdentifier\" : \"com.apple.springboard\"\n }\n },\n \"sessionId\" : \"EEBBE47B-053A-4AD0-9A1D-843F321B48D1\",\n \"status\" : 0\n}"
[info] [XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/EEBBE47B-053A-4AD0-9A1D-843F321B48D1/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"EEBBE47B-053A-4AD0-9A1D-843F321B48D1\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/EEBBE47B-053A-4AD0-9A1D-843F321B48D1/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"EEBBE47B-053A-4AD0-9A1D-843F321B48D1\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/EEBBE47B-053A-4AD0-9A1D-843F321B48D1/window/size] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"width\" : 375,\n \"height\" : 812\n },\n \"sessionId\" : \"EEBBE47B-053A-4AD0-9A1D-843F321B48D1\",\n \"status\" : 0\n}"
[debug] [W3C] Responding to client with driver.getSession() result: {"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","platformName":"ios","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard","pixelRatio":2,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":750,"height":1624}}
[info] [HTTP] <-- GET /wd/hub/session/3d6ebb55-781d-4a30-bb1f-41968e39f8fb 200 579 ms - 497
[info] [HTTP]
[info] [HTTP] --> POST /wd/hub/session/3d6ebb55-781d-4a30-bb1f-41968e39f8fb/timeouts
[info] [HTTP] {"implicit":20000}
[debug] [W3C] Calling AppiumDriver.timeouts() with args: [{"protocol":"W3C","implicit":20000},"3d6ebb55-781d-4a30-bb1f-41968e39f8fb"]
[debug] [XCUITest] Executing command 'timeouts'
[debug] [BaseDriver] script: undefined, pageLoad: undefined, implicit: 20000
[debug] [BaseDriver] Set implicit wait to 20000ms
[debug] [W3C] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/3d6ebb55-781d-4a30-bb1f-41968e39f8fb/timeouts 200 9 ms - 14
[info] [HTTP] [info] [HTTP] --> DELETE /wd/hub/session/3d6ebb55-781d-4a30-bb1f-41968e39f8fb
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.deleteSession() with args: ["3d6ebb55-781d-4a30-bb1f-41968e39f8fb"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1532428653446 (16:07:33 GMT+0530 (IST))
[info] [Appium] Removing session 3d6ebb55-781d-4a30-bb1f-41968e39f8fb from our master session list
[debug] [JSONWP Proxy] Proxying [DELETE /session/3d6ebb55-781d-4a30-bb1f-41968e39f8fb] to [DELETE http://localhost:8100/session/EEBBE47B-053A-4AD0-9A1D-843F321B48D1] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n\n },\n \"sessionId\" : \"3BD0D7BE-1266-4DC1-96B8-D7F987978659\",\n \"status\" : 0\n}"[debug] [XCUITest] Cannot find a match for DerivedData folder path from lsof. Trying to access logs
[warn] [XCUITest] Cannot grep on the the xcodebuild log file '/private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log'. Original error: Command 'grep /WebDriverAgentRunner- /private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log' exited with code 1
[warn] [XCUITest] No WebDriverAgent derived data available, so unable to clear system files
[debug] [iOSLog] Stopping iOS log capture
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1532428653982 (16:07:33 GMT+0530 (IST))
[debug] [W3C] Received response: null
[debug] [W3C] But deleting session, so not returning
[debug] [W3C] Responding to client with driver.deleteSession() result: null
[info] [HTTP] <-- DELETE /wd/hub/session/3d6ebb55-781d-4a30-bb1f-41968e39f8fb 200 538 ms - 14
[info] [HTTP] [info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"capabilities":{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"XCuiTest","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},null,{"desiredCapabilities":{"app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","acceptSslCerts":true,"clearSystemFiles":true,"automationName":"XCuiTest","platformName":"iOS","udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","deviceName":"iPhone","fullReset":true,"version":"11.4.1"},"firstMatch":[{"acceptSslCerts":true,"appium:app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","appium:automationName":"XCuiTest","appium:clearSystemFiles":true,"appium:deviceName":"iPhone","appium:fullReset":true,"platformName":"ios","appium:udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","version":"11.4.1"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1532428669627 (16:07:49 GMT+0530 (IST))
[warn] [BaseDriver] The capabilities ["acceptSslCerts","version"] are not standard capabilities and should have an extension prefix
[info] [Appium] Creating new XCUITestDriver (v2.84.0) session
[info] [Appium] Capabilities:
[info] [Appium] acceptSslCerts: true
[info] [Appium] platformName: ios
[info] [Appium] version: 11.4.1
[info] [Appium] app: http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip
[info] [Appium] automationName: XCuiTest
[info] [Appium] clearSystemFiles: true
[info] [Appium] deviceName: iPhone
[info] [Appium] fullReset: true
[info] [Appium] udid: fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:acc... and MJSONWP desired capabilities [object Object] were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:acc...
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: acceptSslCerts, version.
[info] [BaseDriver] Session created with session id: 927633ca-2aca-4d4d-a5b8-788b960d641d
[debug] [XCUITest] Current user: 'alkaffkhan'
[debug] [XCUITest] Xcode version set to '9.4.1'
[debug] [XCUITest] iOS SDK Version set to '11.4'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1532428669797 (16:07:49 GMT+0530 (IST))[debug] [XCUITest] Available devices: fd4e4acc104da98ad24fef7fe1bdc650653e866a, fd4e4acc104da98ad24fef7fe1bdc650653e866a
[debug] [XCUITest] Creating iDevice object with udid 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'
[info] [XCUITest] Determining device to run tests on: udid: 'fd4e4acc104da98ad24fef7fe1bdc650653e866a', real device: true
[info] [BaseDriver] Using downloadable app 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'[debug] [XCUITest] Connection to WDA timed out
[debug] [iProxy] recv failed: Operation not permitted[debug] [BaseDriver] 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip' downloaded to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1y9an20.g5npf/appium-app.zip'
[debug] [BaseDriver] Downloaded file type 'application/zip'
[info] [BaseDriver] Downloaded the app to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1y9an20.g5npf/appium-app.zip'
[info] [BaseDriver] Unzipping local app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1y9an20.g5npf/appium-app.zip'...
[debug] [BaseDriver] Unzipping /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1y9an20.g5npf/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1y9an20.g5npf/appium-app.zip[info] [BaseDriver] Unzipped local app to '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1y9an20.g5npf/QA-Beta.app'
[debug] [BaseDriver] Got 'undefined' as 'Last-Modified' HEAD response header value of 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip'
[info] [BaseDriver] Skipping 'http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip' caching, because the HEAD response didn't return any valid Last-Modified headers
[debug] [BaseDriver] Event 'appConfigured' logged at 1532428710640 (16:08:30 GMT+0530 (IST))
[debug] [XCUITest] Checking whether app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1y9an20.g5npf/QA-Beta.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1y9an20.g5npf/QA-Beta.app': 'com.vervewireless.iphone.qa.beta'
[debug] [BaseDriver] Event 'resetStarted' logged at 1532428710648 (16:08:30 GMT+0530 (IST))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [XCUITest] Reset: fullReset requested. Will try to uninstall the app 'com.vervewireless.iphone.qa.beta'.[debug] [XCUITest] Reset: removed 'com.vervewireless.iphone.qa.beta'
[debug] [BaseDriver] Event 'resetComplete' logged at 1532428714476 (16:08:34 GMT+0530 (IST))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'[debug] [XCUITest] Crash reports root '/Users/alkaffkhan/Library/Logs/CrashReporter/MobileDevice/IphoneX' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1532428715872 (16:08:35 GMT+0530 (IST))
[info] [XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"][debug] [XCUITest] Installing '/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/2018624-3300-1y9an20.g5npf/QA-Beta.app' on device with UUID 'fd4e4acc104da98ad24fef7fe1bdc650653e866a'...[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1532428816446 (16:10:16 GMT+0530 (IST))
[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] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.1.5\"\n },\n \"build\" : {\n \"time\" : \"Jul 23 2018 16:46:34\"\n }\n },\n \"sessionId\" : \"3BD0D7BE-1266-4DC1-96B8-D7F987978659\",\n \"status\" : 0\n}"
[info] [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.
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1532428816589 (16:10:16 GMT+0530 (IST))
[info] [XCUITest] Using provided WebdriverAgent at 'http://localhost:8100/'
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1532428816592 (16:10:16 GMT+0530 (IST))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.1.5\"\n },\n \"build\" : {\n \"time\" : \"Jul 23 2018 16:46:34\"\n }\n },\n \"sessionId\" : \"3BD0D7BE-1266-4DC1-96B8-D7F987978659\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.vervewireless.iphone.qa.beta","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"8F5A967D-9B43-426F-8C31-D7F8803D2716","capabilities":{"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard"}},"sessionId":"8F5A967D-9B43-426F-8C31-D7F8803D2716","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1532428818735 (16:10:18 GMT+0530 (IST))[debug] [XCUITest] Cannot find a match for DerivedData folder path from lsof. Trying to access logs[info] [HTTP] --> GET /wd/hub/session/927633ca-2aca-4d4d-a5b8-788b960d641d
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["927633ca-2aca-4d4d-a5b8-788b960d641d"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/8F5A967D-9B43-426F-8C31-D7F8803D2716] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"8F5A967D-9B43-426F-8C31-D7F8803D2716\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \" \",\n \"sdkVersion\" : \"11.4.1\",\n \"CFBundleIdentifier\" : \"com.apple.springboard\"\n }\n },\n \"sessionId\" : \"8F5A967D-9B43-426F-8C31-D7F8803D2716\",\n \"status\" : 0\n}"
[info] [XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/8F5A967D-9B43-426F-8C31-D7F8803D2716/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"8F5A967D-9B43-426F-8C31-D7F8803D2716\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/8F5A967D-9B43-426F-8C31-D7F8803D2716/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"8F5A967D-9B43-426F-8C31-D7F8803D2716\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/8F5A967D-9B43-426F-8C31-D7F8803D2716/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"8F5A967D-9B43-426F-8C31-D7F8803D2716\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/8F5A967D-9B43-426F-8C31-D7F8803D2716/window/size] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"width\" : 375,\n \"height\" : 812\n },\n \"sessionId\" : \"8F5A967D-9B43-426F-8C31-D7F8803D2716\",\n \"status\" : 0\n}"
[debug] [W3C] Responding to client with driver.getSession() result: {"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","platformName":"ios","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard","pixelRatio":2,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":750,"height":1624}}
[info] [HTTP] <-- GET /wd/hub/session/927633ca-2aca-4d4d-a5b8-788b960d641d 200 755 ms - 497
[info] [HTTP]
[info] [HTTP] --> GET /wd/hub/session/927633ca-2aca-4d4d-a5b8-788b960d641d
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["927633ca-2aca-4d4d-a5b8-788b960d641d"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/8F5A967D-9B43-426F-8C31-D7F8803D2716] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"8F5A967D-9B43-426F-8C31-D7F8803D2716\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \" \",\n \"sdkVersion\" : \"11.4.1\",\n \"CFBundleIdentifier\" : \"com.apple.springboard\"\n }\n },\n \"sessionId\" : \"8F5A967D-9B43-426F-8C31-D7F8803D2716\",\n \"status\" : 0\n}"
[info] [XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/8F5A967D-9B43-426F-8C31-D7F8803D2716/wda/screen] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"8F5A967D-9B43-426F-8C31-D7F8803D2716\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/8F5A967D-9B43-426F-8C31-D7F8803D2716/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"statusBarSize\" : {\n \"width\" : 0,\n \"height\" : 0\n },\n \"scale\" : 2\n },\n \"sessionId\" : \"8F5A967D-9B43-426F-8C31-D7F8803D2716\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/8F5A967D-9B43-426F-8C31-D7F8803D2716/window/size] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"width\" : 375,\n \"height\" : 812\n },\n \"sessionId\" : \"8F5A967D-9B43-426F-8C31-D7F8803D2716\",\n \"status\" : 0\n}"
[debug] [W3C] Responding to client with driver.getSession() result: {"udid":"fd4e4acc104da98ad24fef7fe1bdc650653e866a","platformName":"ios","acceptSslCerts":true,"version":"11.4.1","app":"http://tester.qa.vervemobile.com/adsdk-automation-builds/ios/QA-BETA-3.7.3.zip","automationName":"XCuiTest","clearSystemFiles":true,"deviceName":"iPhone","fullReset":true,"device":"iphone","browserName":" ","sdkVersion":"11.4.1","CFBundleIdentifier":"com.apple.springboard","pixelRatio":2,"statBarHeight":0,"viewportRect":{"left":0,"top":0,"width":750,"height":1624}}
[info] [HTTP] <-- GET /wd/hub/session/927633ca-2aca-4d4d-a5b8-788b960d641d 200 492 ms - 497
[info] [HTTP]
[info] [HTTP] --> POST /wd/hub/session/927633ca-2aca-4d4d-a5b8-788b960d641d/timeouts
[info] [HTTP] {"implicit":20000}
[debug] [W3C] Calling AppiumDriver.timeouts() with args: [{"protocol":"W3C","implicit":20000},"927633ca-2aca-4d4d-a5b8-788b960d641d"]
[debug] [XCUITest] Executing command 'timeouts'
[debug] [BaseDriver] script: undefined, pageLoad: undefined, implicit: 20000
[debug] [BaseDriver] Set implicit wait to 20000ms
[debug] [W3C] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/927633ca-2aca-4d4d-a5b8-788b960d641d/timeouts 200 9 ms - 14
[info] [HTTP] [info] [HTTP] --> DELETE /wd/hub/session/927633ca-2aca-4d4d-a5b8-788b960d641d
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.deleteSession() with args: ["927633ca-2aca-4d4d-a5b8-788b960d641d"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1532428822845 (16:10:22 GMT+0530 (IST))
[info] [Appium] Removing session 927633ca-2aca-4d4d-a5b8-788b960d641d from our master session list
[debug] [JSONWP Proxy] Proxying [DELETE /session/927633ca-2aca-4d4d-a5b8-788b960d641d] to [DELETE http://localhost:8100/session/8F5A967D-9B43-426F-8C31-D7F8803D2716] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n\n },\n \"sessionId\" : \"278E7980-07AA-4103-96D6-E8D62F0307E3\",\n \"status\" : 0\n}"[debug] [XCUITest] Cannot find a match for DerivedData folder path from lsof. Trying to access logs
[warn] [XCUITest] Cannot grep on the the xcodebuild log file '/private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log'. Original error: Command 'grep /WebDriverAgentRunner- /private/var/folders/8p/gjnjkwkd5nz6tl6d_gwt5rdw0000gn/T/com.apple.dt.XCTest/IDETestRunSession-21F14A04-FE52-4322-9F97-5B2562098C5D/WebDriverAgentRunner-E26BA460-2B81-4EEB-9FA2-C844E7329504/Session-WebDriverAgentRunner-2018-07-24_145814-gsl4xo.log' exited with code 1
[warn] [XCUITest] No WebDriverAgent derived data available, so unable to clear system files
[debug] [iOSLog] Stopping iOS log capture
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1532428823583 (16:10:23 GMT+0530 (IST))
[debug] [W3C] Received response: null
[debug] [W3C] But deleting session, so not returning
[debug] [W3C] Responding to client with driver.deleteSession() result: null
[info] [HTTP] <-- DELETE /wd/hub/session/927633ca-2aca-4d4d-a5b8-788b960d641d 200 740 ms - 14
[info] [HTTP] [debug] [XCUITest] Connection to WDA timed out
[debug] [iProxy] recv failed: Operation not permitted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment