[info] [Appium] Welcome to Appium v1.9.1 [info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"desiredCapabilities":{"app":"/Users/bs215/IdeaProjects/meedapp/Apps/MEED/meed.app","clearSystemFiles":true,"newCommandTimeout":100,"platformVersion":"12.1","automationName":"XCUITest","bundleId":"net.meed.meedapp","platformName":"iOS","udid":"1E92F065-F46A-40CC-A298-DD09D790EF29","deviceName":"iPhone 6s Plus","fullReset":true,"autoAcceptAlerts":true},"capabilities":{"alwaysMatch":{"appium:app":"/Users/bs215/IdeaProjects/meedapp/Apps/MEED/meed.app","appium:autoAcceptAlerts":true,"appium:automationName":"XCUITest","appium:bundleId":"net.meed.meedapp","appium:clearSystemFiles":true,"appium:deviceName":"iPhone 6s Plus","appium:fullReset":true,"appium:newCommandTimeout":100,"platformName":"ios","appium:platformVersion":"12.1","appium:udid":"1E92F065-F46A-40CC-A298-DD09D790EF29"},"firstMatch":[{}]}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/bs215/IdeaProjects/meedapp/Apps/MEED/meed.app","clearSystemFiles":true,"newCommandTimeout":100,"platformVersion":"12.1","automationName":"XCUITest","bundleId":"net.meed.meedapp","platformName":"iOS","udid":"1E92F065-F46A-40CC-A298-DD09D790EF29","deviceName":"iPhone 6s Plus","fullReset":true,"autoAcceptAlerts":true},null,{"alwaysMatch":{"appium:app":"/Users/bs215/IdeaProjects/meedapp/Apps/MEED/meed.app","appium:autoAcceptAlerts":true,"appium:automationName":"XCUITest","appium:bundleId":"net.meed.meedapp","appium:clearSystemFiles":true,"appium:deviceName":"iPhone 6s Plus","appium:fullReset":true,"appium:newCommandTimeout":100,"platformName":"ios","appium:platformVersion":"12.1","appium:udid":"1E92F065-F46A-40CC-A298-DD09D790EF29"},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1543346004600 (11:13:24 GMT-0800 (PST)) [info] [Appium] Creating new XCUITestDriver (v2.94.2) session [info] [Appium] Capabilities: [info] [Appium] platformName: ios [info] [Appium] app: /Users/bs215/IdeaProjects/meedapp/Apps/MEED/meed.app [info] [Appium] autoAcceptAlerts: true [info] [Appium] automationName: XCUITest [info] [Appium] bundleId: net.meed.meedapp [info] [Appium] clearSystemFiles: true [info] [Appium] deviceName: iPhone 6s Plus [info] [Appium] fullReset: true [info] [Appium] newCommandTimeout: 100 [info] [Appium] platformVersion: 12.1 [info] [Appium] udid: 1E92F065-F46A-40CC-A298-DD09D790EF29 [debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"app":"/Users/bs215/IdeaPr... were provided [debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa... [info] [BaseDriver] Session created with session id: 6d618c4e-42c5-4eef-a741-b4211cb19156[debug] [XCUITest] Xcode version set to '10.1' (tools v10.1.0.0.1.1539992718) [debug] [XCUITest] iOS SDK Version set to '12.1' [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1543346004960 (11:13:24 GMT-0800 (PST))[info] [iOSSim] Constructing iOS simulator for Xcode version 10.1 with udid '1E92F065-F46A-40CC-A298-DD09D790EF29' [info] [XCUITest] Determining device to run tests on: udid: '1E92F065-F46A-40CC-A298-DD09D790EF29', real device: false [info] [BaseDriver] Using local app '/Users/bs215/IdeaProjects/meedapp/Apps/MEED/meed.app' [debug] [BaseDriver] Event 'appConfigured' logged at 1543346005699 (11:13:25 GMT-0800 (PST)) [debug] [XCUITest] Checking whether app '/Users/bs215/IdeaProjects/meedapp/Apps/MEED/meed.app' is actually present on file system [debug] [XCUITest] App is present [debug] [BaseDriver] Event 'resetStarted' logged at 1543346005700 (11:13:25 GMT-0800 (PST)) [debug] [XCUITest] Reset: fullReset is on. Cleaning simulator [debug] [XCUITest] Killing running processes 'xcodebuild.*1E92F065-F46A-40CC-A298-DD09D790EF29, 1E92F065-F46A-40CC-A298-DD09D790EF29.*XCTRunner' for the device 1E92F065-F46A-40CC-A298-DD09D790EF29... [debug] [XCUITest] 'pgrep -nif xcodebuild.*1E92F065-F46A-40CC-A298-DD09D790EF29' didn't detect any matching processes. Return code: 1 [debug] [XCUITest] 'pgrep -nif 1E92F065-F46A-40CC-A298-DD09D790EF29.*XCTRunner' didn't detect any matching processes. Return code: 1[info] [iOSSim] Cleaning simulator 1E92F065-F46A-40CC-A298-DD09D790EF29[debug] [BaseDriver] Event 'resetComplete' logged at 1543346007126 (11:13:27 GMT-0800 (PST))[warn] [XCUITest] Continuing without capturing device logs: iOS Simulator with udid 1E92F065-F46A-40CC-A298-DD09D790EF29 is not running [info] [XCUITest] Setting up simulator [debug] [iOS] No reason to set locale [debug] [iOS] No iOS / app preferences to set [debug] [iOSSim] No Simulator cache items for cleanup were matched in '/Users/bs215/Library/Developer/CoreSimulator/Devices/1E92F065-F46A-40CC-A298-DD09D790EF29/data/Library/Caches' [debug] [iOSSim] Setting preferences of 1E92F065-F46A-40CC-A298-DD09D790EF29 Simulator to {"ConnectHardwareKeyboard":false} [debug] [iOSSim] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false} [debug] [iOSSim] Updated 1E92F065-F46A-40CC-A298-DD09D790EF29 Simulator preferences at '/Users/bs215/Library/Preferences/com.apple.iphonesimulator.plist' with {"DevicePreferences":{"1E92F065-F46A-40CC-A298-DD09D790EF29":{"ConnectHardwareKeyboard":false}},"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}[info] [iOSSim] Booting Simulator with UDID 1E92F065-F46A-40CC-A298-DD09D790EF29...[info] [iOSSim] Starting Simulator UI with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 1E92F065-F46A-40CC-A298-DD09D790EF29 -ConnectHardwareKeyboard 0[info] [iOSSim] Simulator with UDID 1E92F065-F46A-40CC-A298-DD09D790EF29 booted in 30 seconds [debug] [BaseDriver] Event 'simStarted' logged at 1543346038128 (11:13:58 GMT-0800 (PST))[debug] [XCUITest] Starting log capture for iOS Simulator with udid '1E92F065-F46A-40CC-A298-DD09D790EF29', using 'xcrun simctl spawn 1E92F065-F46A-40CC-A298-DD09D790EF29 log stream --style compact'[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1543346043411 (11:14:03 GMT-0800 (PST)) [debug] [XCUITest] Verifying application platform [debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneSimulator"][debug] [XCUITest] Installing '/Users/bs215/IdeaProjects/meedapp/Apps/MEED/meed.app' on Simulator with UUID '1E92F065-F46A-40CC-A298-DD09D790EF29'...[debug] [XCUITest] The app has been installed successfully. [debug] [BaseDriver] Event 'appInstalled' logged at 1543346049323 (11:14:09 GMT-0800 (PST)) [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] Matched '/status' to command name 'getStatus' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [debug] [XCUITest] WDA is not listening at 'http://localhost:8100/' [debug] [XCUITest] WDA is currently not running. There is nothing to cache [debug] [XCUITest] Trying to start WebDriverAgent 2 times with 10000ms interval [debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1543346049555 (11:14:09 GMT-0800 (PST)) [info] [XCUITest] Launching WebDriverAgent on the device[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage' [debug] [XCUITest] Killing running processes 'xcodebuild.*1E92F065-F46A-40CC-A298-DD09D790EF29, iproxy 8100, 1E92F065-F46A-40CC-A298-DD09D790EF29.*XCTRunner' for the device 1E92F065-F46A-40CC-A298-DD09D790EF29... [debug] [XCUITest] 'pgrep -nif xcodebuild.*1E92F065-F46A-40CC-A298-DD09D790EF29' didn't detect any matching processes. Return code: 1 [debug] [XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1 [debug] [XCUITest] 'pgrep -nif 1E92F065-F46A-40CC-A298-DD09D790EF29.*XCTRunner' didn't detect any matching processes. Return code: 1 [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=1E92F065-F46A-40CC-A298-DD09D790EF29 IPHONEOS_DEPLOYMENT_TARGET=12.1' 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] Matched '/status' to command name 'getStatus' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [XCUITest] Log file for xcodebuild test: /Users/bs215/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2018.11.27_11-14-17--0800.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-E3DA04CB-1509-4F9F-BC98-F77061914650/WebDriverAgentRunner-FE72ED22-61B3-4D24-8EE4-3666D0E8767C/Session-WebDriverAgentRunner-2018-11-27_111420-Ye5fV4.log[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' [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\" : \"12.1\",\n \"sdkVersion\" : \"12.0\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"12.1\",\n \"ip\" : \"172.16.228.81\"\n },\n \"build\" : {\n \"upgradedAt\" : \"1543275242859\",\n \"time\" : \"Nov 26 2018 15:34:21\",\n \"productBundleIdentifier\" : \"com.facebook.WebDriverAgentRunner\"\n }\n },\n \"sessionId\" : \"3D2806C1-57F4-4CE3-8CB0-10BEDC821B13\",\n \"status\" : 0\n}" [debug] [XCUITest] WebDriverAgent information: [debug] [XCUITest] { [debug] [XCUITest] "state": "success", [debug] [XCUITest] "os": { [debug] [XCUITest] "name": "iOS", [debug] [XCUITest] "version": "12.1", [debug] [XCUITest] "sdkVersion": "12.0" [debug] [XCUITest] }, [debug] [XCUITest] "ios": { [debug] [XCUITest] "simulatorVersion": "12.1", [debug] [XCUITest] "ip": "172.16.228.81" [debug] [XCUITest] }, [debug] [XCUITest] "build": { [debug] [XCUITest] "upgradedAt": "1543275242859", [debug] [XCUITest] "time": "Nov 26 2018 15:34:21", [debug] [XCUITest] "productBundleIdentifier": "com.facebook.WebDriverAgentRunner" [debug] [XCUITest] } [debug] [XCUITest] } [debug] [XCUITest] WebDriverAgent successfully started after 17276ms [debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1543346067035 (11:14:27 GMT-0800 (PST)) [debug] [XCUITest] Sending createSession command to WDA [debug] [JSONWP Proxy] Matched '/session' to command name 'createSession' [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"net.meed.meedapp","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"defaultAlertAction":"accept"}}[debug] [JSONWP Proxy] Got response with status 200: {"value":"Failed to launch net.meed.meedapp application","sessionId":"3D2806C1-57F4-4CE3-8CB0-10BEDC821B13","status":13} [debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError [debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: Failed to launch net.meed.meedapp application). Retrying...[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1543346249591 (11:17:29 GMT-0800 (PST)) [debug] [XCUITest] Sending createSession command to WDA [debug] [JSONWP Proxy] Matched '/session' to command name 'createSession' [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"net.meed.meedapp","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"defaultAlertAction":"accept"}}[debug] [JSONWP Proxy] Got response with status 200: {"value":"Failed to launch net.meed.meedapp application","sessionId":"3D2806C1-57F4-4CE3-8CB0-10BEDC821B13","status":13} [debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError [debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: Failed to launch net.meed.meedapp application). Retrying...[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1543346431630 (11:20:31 GMT-0800 (PST)) [debug] [XCUITest] Sending createSession command to WDA [debug] [JSONWP Proxy] Matched '/session' to command name 'createSession' [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"net.meed.meedapp","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"defaultAlertAction":"accept"}}[info] [HTTP] <-- POST /wd/hub/session - - ms - - [info] [HTTP] [debug] [JSONWP Proxy] Got response with status 200: {"value":"Failed to launch net.meed.meedapp application","sessionId":"3D2806C1-57F4-4CE3-8CB0-10BEDC821B13","status":13} [debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError [debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: Failed to launch net.meed.meedapp application). Retrying...[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1543346613676 (11:23:33 GMT-0800 (PST)) [debug] [XCUITest] Sending createSession command to WDA [debug] [JSONWP Proxy] Matched '/session' to command name 'createSession' [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"net.meed.meedapp","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"defaultAlertAction":"accept"}}