Last login: Thu Jan 12 11:56:49 on ttys000 automobile@Mobiles-iMac ~ % appium --version 2.0.0-beta.52 automobile@Mobiles-iMac ~ % appium --base-path /wd/hub [Appium] Welcome to Appium v2.0.0-beta.52 (REV 740f9ddcc620d4812770a0f12854ddd79c643874) [Appium] Non-default server args: [Appium] { [Appium] basePath: '/wd/hub' [Appium] } [Appium] Attempting to load driver xcuitest... [debug] [Appium] Requiring driver at /Users/automobile/.appium/node_modules/appium-xcuitest-driver [Appium] Attempting to load driver uiautomator2... [debug] [Appium] Requiring driver at /Users/automobile/.appium/node_modules/appium-uiautomator2-driver [Appium] Appium REST http interface listener started on 0.0.0.0:4723 [Appium] Available drivers: [Appium] - xcuitest@4.16.9 (automationName 'XCUITest') [Appium] - uiautomator2@2.12.2 (automationName 'UiAutomator2') [Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use. [debug] [HTTP] Request idempotency key: 43e157e3-f780-440d-9023-9366f18d3f94 [HTTP] --> POST /wd/hub/session [HTTP] {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"iOS","appium:automationName":"XCUITest","appium:deviceName":"iPhone","appium:app":"/Users/automobile/Downloads/F1MobileiOS-3.ipa","appium:platformVersion":"16.1","appium:autoAcceptAlerts":true,"appium:udid":"00008110-001138182668401E","appium:bundleId":"com.SCR.F1.iOS","appium:xcodeSignId":"iPhone Developer","appium:xcodeOrgId":"com.automob.WebDriverAgentRunner-Runner","appium:fullReset":true,"appium:noReset":false}}} [debug] [AppiumDriver@7a5b] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"iOS","appium:automationName":"XCUITest","appium:deviceName":"iPhone","appium:app":"/Users/automobile/Downloads/F1MobileiOS-3.ipa","appium:platformVersion":"16.1","appium:autoAcceptAlerts":true,"appium:udid":"00008110-001138182668401E","appium:bundleId":"com.SCR.F1.iOS","appium:xcodeSignId":"iPhone Developer","appium:xcodeOrgId":"com.automob.WebDriverAgentRunner-Runner","appium:fullReset":true,"appium:noReset":false}}] [debug] [AppiumDriver@7a5b] Event 'newSessionRequested' logged at 1673774625307 (11:23:45 GMT+0200 (Israel Standard Time)) [Appium] Attempting to find matching driver for automationName 'XCUITest' and platformName 'iOS' [Appium] The 'xcuitest' driver was installed and matched caps. [Appium] Will require it at /Users/automobile/.appium/node_modules/appium-xcuitest-driver [debug] [Appium] Requiring driver at /Users/automobile/.appium/node_modules/appium-xcuitest-driver [AppiumDriver@7a5b] Appium v2.0.0-beta.52 creating new XCUITestDriver (v4.16.9) session [AppiumDriver@7a5b] Checking BaseDriver versions for Appium and XCUITestDriver [AppiumDriver@7a5b] Appium's BaseDriver version is 9.2.3 [AppiumDriver@7a5b] XCUITestDriver's BaseDriver version is 9.2.3 [debug] [XCUITestDriver@cd57] Creating session with W3C capabilities: { [debug] [XCUITestDriver@cd57] "alwaysMatch": { [debug] [XCUITestDriver@cd57] "platformName": "iOS", [debug] [XCUITestDriver@cd57] "appium:automationName": "XCUITest", [debug] [XCUITestDriver@cd57] "appium:deviceName": "iPhone", [debug] [XCUITestDriver@cd57] "appium:app": "/Users/automobile/Downloads/F1MobileiOS-3.ipa", [debug] [XCUITestDriver@cd57] "appium:platformVersion": "16.1", [debug] [XCUITestDriver@cd57] "appium:autoAcceptAlerts": true, [debug] [XCUITestDriver@cd57] "appium:udid": "00008110-001138182668401E", [debug] [XCUITestDriver@cd57] "appium:bundleId": "com.SCR.F1.iOS", [debug] [XCUITestDriver@cd57] "appium:xcodeSignId": "iPhone Developer", [debug] [XCUITestDriver@cd57] "appium:xcodeOrgId": "com.automob.WebDriverAgentRunner-Runner", [debug] [XCUITestDriver@cd57] "appium:fullReset": true, [debug] [XCUITestDriver@cd57] "appium:noReset": false [debug] [XCUITestDriver@cd57] }, [debug] [XCUITestDriver@cd57] "firstMatch": [ [debug] [XCUITestDriver@cd57] {} [debug] [XCUITestDriver@cd57] ] [debug] [XCUITestDriver@cd57] } [XCUITestDriver@cd57] The following capabilities were provided, but are not recognized by Appium: [XCUITestDriver@cd57] xcodeSignId [XCUITestDriver@cd57 (02c7e492)] Session created with session id: 02c7e492-bfa8-4ff6-946f-fdac36441c8d [debug] [XCUITest] Current user: 'automobile' [debug] [XCUITestDriver@cd57 (02c7e492)] Available devices: 00008110-001138182668401E, b8d2410874a214980b1d6c893e4ae6ff2e837c8f [debug] [XCUITest] Creating iDevice object with udid '00008110-001138182668401E' [XCUITestDriver@cd57 (02c7e492)] Determining device to run tests on: udid: '00008110-001138182668401E', real device: true [debug] [XCUITestDriver@cd57 (02c7e492)] Event 'xcodeDetailsRetrieved' logged at 1673774625347 (11:23:45 GMT+0200 (Israel Standard Time)) [BaseDriver] Using local app '/Users/automobile/Downloads/F1MobileiOS-3.ipa' [debug] [Support] Found 'unzip' at '/usr/bin/unzip' [debug] [XCUITestDriver@cd57 (02c7e492)] Found 1 bundle in 'F1MobileiOS-3.ipa': Payload/F1MobileiOS.app [XCUITestDriver@cd57 (02c7e492)] 'Payload/F1MobileiOS.app' is the resulting application bundle selected from '/Users/automobile/Downloads/F1MobileiOS-3.ipa' [debug] [XCUITestDriver@cd57 (02c7e492)] Event 'appConfigured' logged at 1673774627193 (11:23:47 GMT+0200 (Israel Standard Time)) [debug] [XCUITest] Checking whether app '/var/folders/60/ttvz4ypn19d1krvq2622wdl80000gn/T/2023015-10859-t762mg.luxyb/F1MobileiOS.app' is actually present on file system [debug] [XCUITest] App is present [debug] [XCUITestDriver@cd57 (02c7e492)] Event 'resetStarted' logged at 1673774627193 (11:23:47 GMT+0200 (Israel Standard Time)) [debug] [XCUITest] Reset: running ios real device reset flow [debug] [XCUITest] Reset: fullReset requested. Will try to uninstall the app 'com.SCR.F1.iOS'. [debug] [XCUITest] Reset: removed 'com.SCR.F1.iOS' [debug] [XCUITestDriver@cd57 (02c7e492)] Event 'resetComplete' logged at 1673774627646 (11:23:47 GMT+0200 (Israel Standard Time)) [XCUITestDriver@cd57 (02c7e492)] Using WDA path: '/Users/automobile/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent' [XCUITestDriver@cd57 (02c7e492)] Using WDA agent: '/Users/automobile/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj' [debug] [XCUITest] Crash reports root '/Users/automobile/Library/Logs/CrashReporter/MobileDevice/Mobile Automation’s iPhone' does not exist. Got nothing to gather. [debug] [XCUITestDriver@cd57 (02c7e492)] Event 'logCaptureStarted' logged at 1673774627834 (11:23:47 GMT+0200 (Israel Standard Time)) [XCUITestDriver@cd57 (02c7e492)] Setting up real device [debug] [XCUITest] Verifying application platform [debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"] [debug] [XCUITest] Installing '/var/folders/60/ttvz4ypn19d1krvq2622wdl80000gn/T/2023015-10859-t762mg.luxyb/F1MobileiOS.app' on device with UUID '00008110-001138182668401E'... [debug] [XCUITest] Using 'serial' app deployment strategy. You could change it by providing another value to the 'appInstallStrategy' capability [debug] [XCUITest] Getting bundle ID from app '/var/folders/60/ttvz4ypn19d1krvq2622wdl80000gn/T/2023015-10859-t762mg.luxyb/F1MobileiOS.app': 'com.SCR.F1.iOS' [debug] [XCUITest] Successfully scanned the tree structure of '/var/folders/60/ttvz4ypn19d1krvq2622wdl80000gn/T/2023015-10859-t762mg.luxyb/F1MobileiOS.app' [debug] [XCUITest] Got 171 folders and 790 files to push [debug] [XCUITest] Successfully created the remote folder structure (172 items) [debug] [XCUITest] Proceeding to serial files push [debug] [XCUITestDriver@cd57 (02c7e492)] Parsed BUILD_DIR configuration value: '/Users/automobile/Library/Developer/Xcode/DerivedData/WebDriverAgent-dfgulskwugwpsqeexwehothylbgw/Build/Products' [debug] [XCUITestDriver@cd57 (02c7e492)] Got derived data root: '/Users/automobile/Library/Developer/Xcode/DerivedData/WebDriverAgent-dfgulskwugwpsqeexwehothylbgw' [debug] [XCUITest] Successfully pushed 171 folders and 790 files within 18440ms [debug] [XCUITest] A new application installation is going to be performed [XCUITest] App installation succeeded after 21355ms [debug] [XCUITest] The app has been installed successfully. [debug] [XCUITestDriver@cd57 (02c7e492)] Event 'appInstalled' logged at 1673774649449 (11:24:09 GMT+0200 (Israel Standard Time)) [debug] [XCUITestDriver@cd57 (02c7e492)] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found [DevCon Factory] Requesting connection for device 00008110-001138182668401E on local port 8100, device port 8100 [debug] [DevCon Factory] Cached connections count: 0 [DevCon Factory] Successfully requested the connection for 00008110-001138182668401E:8100 [debug] [XCUITestDriver@cd57 (02c7e492)] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver' [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [debug] [WD Proxy] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"16.1","version":"16.0.3"},"ios":{"ip":"192.168.200.47"},"ready":true,"build":{"time":"Jan 15 2023 10:44:14","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":null} [debug] [XCUITestDriver@cd57 (02c7e492)] Upgrade timestamp of the currently bundled WDA: 1673771718643 [debug] [XCUITestDriver@cd57 (02c7e492)] Upgrade timestamp of the WDA on the device: undefined [XCUITestDriver@cd57 (02c7e492)] Will reuse previously cached WDA instance at 'http://127.0.0.1:8100/' with 'com.facebook.WebDriverAgentRunner'. Set the wdaLocalPort capability to a value different from 8100 if this is an undesired behavior. [debug] [XCUITestDriver@cd57 (02c7e492)] Trying to start WebDriverAgent 1 times with 10000ms interval [debug] [XCUITestDriver@cd57 (02c7e492)] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities [debug] [XCUITestDriver@cd57 (02c7e492)] Event 'wdaStartAttempted' logged at 1673774649552 (11:24:09 GMT+0200 (Israel Standard Time)) [XCUITestDriver@cd57 (02c7e492)] Using provided WebdriverAgent at 'http://127.0.0.1:8100/' [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [debug] [WD Proxy] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"16.1","version":"16.0.3"},"ios":{"ip":"192.168.200.47"},"ready":true,"build":{"time":"Jan 15 2023 10:44:14","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":null} [debug] [XCUITestDriver@cd57 (02c7e492)] Event 'wdaSessionAttempted' logged at 1673774649555 (11:24:09 GMT+0200 (Israel Standard Time)) [debug] [XCUITestDriver@cd57 (02c7e492)] Sending createSession command to WDA [debug] [XCUITestDriver@cd57 (02c7e492)] Matched '/session' to command name 'createSession' [debug] [XCUITestDriver@cd57 (02c7e492)] Proxying [POST /session] to [POST http://127.0.0.1:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.SCR.F1.iOS","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}} [XCUITestDriver@cd57 (02c7e492)] Got response with status 500: {"value":{"error":"session not created","message":"Cannot launch com.SCR.F1.iOS application. Make sure the correct bundle identifier has been provided in capabilities and check the device log for possible crash report occurrences","traceback":""},"sessionId":null} [debug] [W3C] Matched W3C error code 'session not created' to SessionNotCreatedError [debug] [XCUITestDriver@cd57 (02c7e492)] Failed to create WDA session (A new session could not be created. Details: Cannot launch com.SCR.F1.iOS application. Make sure the correct bundle identifier has been provided in capabilities and check the device log for possible crash report occurrences). Retrying... [debug] [XCUITestDriver@cd57 (02c7e492)] Event 'wdaSessionAttempted' logged at 1673774659062 (11:24:19 GMT+0200 (Israel Standard Time)) [debug] [XCUITestDriver@cd57 (02c7e492)] Sending createSession command to WDA [debug] [XCUITestDriver@cd57 (02c7e492)] Matched '/session' to command name 'createSession' [debug] [XCUITestDriver@cd57 (02c7e492)] Proxying [POST /session] to [POST http://127.0.0.1:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.SCR.F1.iOS","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}} [HTTP] <-- POST /wd/hub/session - - ms - - [HTTP] [HTTP] Could not cache the response identified by '43e157e3-f780-440d-9023-9366f18d3f94', because it has not been completed [HTTP] Does the client terminate connections too early?