appium-desktop icon indicating copy to clipboard operation
appium-desktop copied to clipboard

Appium Desktop keeps spining and dont actually open APP inspect page

Open jade685 opened this issue 6 years ago • 5 comments
trafficstars

Appium or Appium Desktop?

You are reporting an issue at the Appium Desktop repository. Appium Desktop is a wrapper around Appium. If you are having trouble running tests, it is much more likely that the problem you are encountering is not a problem with Appium Desktop but with Appium. For that reason we require you to have tried your testcase with Appium CLI before reporting issues. Check the checkbox below to confirm that you have proven your issue does not reproduce on Appium itself:

  • [YES] I have verified that my issue does not occur with Appium and should be investigated as an Appium Desktop issue

The problem

Appium Desktop keeps spining and dont actually open APP inspect page image

Environment

  • I am running Appium Desktop version <1.15.1>.
  • I am on (pick one):
    • [YES] Mac
    • [ ] Windows
    • [ ] Linux

[info] [35m[Appium][39m Welcome to Appium v1.15.1 [info] [35m[Appium][39m Non-default server args: [info] [35m[Appium][39m allowInsecure: { [info] [35m[Appium][39m } [info] [35m[Appium][39m denyInsecure: { [info] [35m[Appium][39m } [info] [35m[Appium][39m Appium REST http interface listener started on 0.0.0.0:4723[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/sessions[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[GENERIC][39m Calling AppiumDriver.getSessions() with args: [] [debug] [35m[GENERIC][39m Responding to client with driver.getSessions() result: [] [info] [35m[HTTP][39m [37m<-- GET /wd/hub/sessions [39m[32m200[39m [90m6 ms - 40[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session[39m [info] [35m[HTTP][39m [90m{"desiredCapabilities":{"bundleId":"com.wyze.camera","deviceName":"V7’s phone","platformName":"iOS","platformVersion":"13.1.2","udid":"00008020-001479A80223002E","useNewWDA":true,"xcodeOrgId":"G3S9LHD28S","xcodeSigningId":"iPhone Developer","newCommandTimeout":0,"connectHardwareKeyboard":true}}[39m [debug] [35m[MJSONWP][39m Calling AppiumDriver.createSession() with args: [{"bundleId":"com.wyze.camera","deviceName":"V7’s phone","platformName":"iOS","platformVersion":"13.1.2","udid":"00008020-001479A80223002E","useNewWDA":true,"xcodeOrgId":"G3S9LHD28S","xcodeSigningId":"iPhone Developer","newCommandTimeout":0,"connectHardwareKeyboard":true},null,null] [debug] [35m[BaseDriver][39m Event 'newSessionRequested' logged at 1574131681747 (10:48:01 GMT+0800 (CST)) [warn] [35m[Appium][39m DeprecationWarning: 'automationName' capability was not provided. Future versions of Appium will require 'automationName' capability to be set for iOS sessions. [info] [35m[Appium][39m Requested iOS support with version >= 10, using 'XCUITest' driver instead of UIAutomation-based driver, since the latter is unsupported on iOS 10 and up. [info] [35m[Appium][39m Appium v1.15.1 creating new XCUITestDriver (v2.110.1) session [debug] [35m[BaseDriver][39m Creating session with MJSONWP desired capabilities: { [debug] [35m[BaseDriver][39m "bundleId": "com.wyze.camera", [debug] [35m[BaseDriver][39m "deviceName": "V7’s phone", [debug] [35m[BaseDriver][39m "platformName": "iOS", [debug] [35m[BaseDriver][39m "platformVersion": "13.1.2", [debug] [35m[BaseDriver][39m "udid": "00008020-001479A80223002E", [debug] [35m[BaseDriver][39m "useNewWDA": true, [debug] [35m[BaseDriver][39m "xcodeOrgId": "G3S9LHD28S", [debug] [35m[BaseDriver][39m "xcodeSigningId": "iPhone Developer", [debug] [35m[BaseDriver][39m "newCommandTimeout": 0, [debug] [35m[BaseDriver][39m "connectHardwareKeyboard": true [debug] [35m[BaseDriver][39m } [info] [35m[BaseDriver][39m Session created with session id: 6f3eb398-0a1e-42af-ae2a-d3cf6199a506[debug] [35m[XCUITest][39m Available devices: 00008020-001479A80223002E [debug] [35m[XCUITest][39m Creating iDevice object with udid '00008020-001479A80223002E' [info] [35m[XCUITest][39m Determining device to run tests on: udid: '00008020-001479A80223002E', real device: true[info] [35m[XCUITest][39m Xcode version set to '11.2.1' (tools v10.3.0.0.1.1562985497) [info] [35m[XCUITest][39m iOS SDK Version set to '13.2' [debug] [35m[BaseDriver][39m Event 'xcodeDetailsRetrieved' logged at 1574131683241 (10:48:03 GMT+0800 (CST)) [debug] [35m[BaseDriver][39m Event 'appConfigured' logged at 1574131683242 (10:48:03 GMT+0800 (CST)) [debug] [35m[BaseDriver][39m Event 'resetStarted' logged at 1574131683243 (10:48:03 GMT+0800 (CST)) [debug] [35m[XCUITest][39m Reset: running ios real device reset flow [debug] [35m[BaseDriver][39m Event 'resetComplete' logged at 1574131683245 (10:48:03 GMT+0800 (CST)) [debug] [35m[iOSLog][39m Attempting iOS device log capture via libimobiledevice idevicesyslog [debug] [35m[iOSLog][39m Starting iOS device log capture with: 'idevicesyslog'[debug] [35m[BaseDriver][39m Event 'logCaptureStarted' logged at 1574131683592 (10:48:03 GMT+0800 (CST)) [info] [35m[XCUITest][39m Setting up real device[info] [35m[XCUITest][39m Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' [info] [35m[XCUITest][39m Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'[debug] [35m[XCUITest][39m No obsolete cached processes from previous WDA sessions listening on port 8100 have been found [debug] [35m[XCUITest][39m Capability 'useNewWDA' set to true, so uninstalling WDA before proceeding [info] [35m[XCUITest][39m Shutting down sub-processes [debug] [35m[XCUITest][39m Removing WDA application from device[debug] [35m[BaseDriver][39m Event 'wdaUninstalled' logged at 1574131684473 (10:48:04 GMT+0800 (CST)) [debug] [35m[XCUITest][39m Trying to start WebDriverAgent 1 times with 10000ms interval [debug] [35m[XCUITest][39m These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities [debug] [35m[BaseDriver][39m Event 'wdaStartAttempted' logged at 1574131684474 (10:48:04 GMT+0800 (CST)) [info] [35m[XCUITest][39m Launching WebDriverAgent on the device [debug] [35m[XCUITest][39m Carthage found: '/usr/local/bin/carthage' [debug] [35m[XCUITest][39m Killing running processes 'xcodebuild.*00008020-001479A80223002E, iproxy 8100' for the device 00008020-001479A80223002E... [debug] [35m[XCUITest][39m 'pgrep -nif xcodebuild.*00008020-001479A80223002E' didn't detect any matching processes. Return code: 1[debug] [35m[XCUITest][39m 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1 [debug] [35m[XCUITest][39m Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB for the device 00008020-001479A80223002E[debug] [35m[XCUITest][39m Generating xcode config file for orgId 'G3S9LHD28S' and signingId 'iPhone Developer' [debug] [35m[XCUITest][39m Writing xcode config file to /var/folders/lr/8cd71xj51pxgvln3wv77zwvc0000gn/T/20191019-16121-9flc5i.wprc/appium-temp.xcconfig [debug] [35m[XCUITest][39m Using Xcode configuration file: '/var/folders/lr/8cd71xj51pxgvln3wv77zwvc0000gn/T/20191019-16121-9flc5i.wprc/appium-temp.xcconfig' [debug] [35m[XCUITest][39m 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=00008020-001479A80223002E IPHONEOS_DEPLOYMENT_TARGET=13.1 -xcconfig /var/folders/lr/8cd71xj51pxgvln3wv77zwvc0000gn/T/20191019-16121-9flc5i.wprc/appium-temp.xcconfig GCC_TREAT_WARNINGS_AS_ERRORS=0' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' [debug] [35m[XCUITest][39m Output from xcodebuild will not be logged. To change this, use 'showXcodeLog' desired capability[debug] [35m[XCUITest][39m Waiting up to 60000ms for WebDriverAgent to start [debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[XCUITest][39m Log file for xcodebuild test: /Users/yaoweiqi/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2019.11.19_10-48-18-+0800.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-3BE5CF57-EBCE-49CF-A1C1-ED238FF09E5F/WebDriverAgentRunner-8E0C5797-D5A9-4E1E-A251-4A3D6F4C1D65/Session-WebDriverAgentRunner-2019-11-19_104820-CxB7cD.log [debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body[info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [info] [35m[WD Proxy][39m Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://localhost:8100/status] with no body [debug] [35m[WD Proxy][39m Got response with status 200: { [debug] [35m[WD Proxy][39m "value" : { [debug] [35m[WD Proxy][39m "state" : "success", [debug] [35m[WD Proxy][39m "os" : { [debug] [35m[WD Proxy][39m "name" : "iOS", [debug] [35m[WD Proxy][39m "version" : "13.1.2", [debug] [35m[WD Proxy][39m "sdkVersion" : "13.0" [debug] [35m[WD Proxy][39m }, [debug] [35m[WD Proxy][39m "ios" : { [debug] [35m[WD Proxy][39m "simulatorVersion" : "13.1.2", [debug] [35m[WD Proxy][39m "ip" : "192.168.68.112" [debug] [35m[WD Proxy][39m }, [debug] [35m[WD Proxy][39m "build" : { [debug] [35m[WD Proxy][39m "upgradedAt" : "1554260887843", [debug] [35m[WD Proxy][39m "time" : "Nov 18 2019 16:09:26", [debug] [35m[WD Proxy][39m "productBundleIdentifier" : "com.facebook.WebDriverAgentRunner" [debug] [35m[WD Proxy][39m } [debug] [35m[WD Proxy][39m }, [debug] [35m[WD Proxy][39m "sessionId" : "FCCF9278-C2CC-4C7E-BA58-82A7B598F053", [debug] [35m[WD Proxy][39m "status" : 0 [debug] [35m[WD Proxy][39m } [debug] [35m[XCUITest][39m WebDriverAgent information: [debug] [35m[XCUITest][39m { [debug] [35m[XCUITest][39m "state": "success", [debug] [35m[XCUITest][39m "os": { [debug] [35m[XCUITest][39m "name": "iOS", [debug] [35m[XCUITest][39m "version": "13.1.2", [debug] [35m[XCUITest][39m "sdkVersion": "13.0" [debug] [35m[XCUITest][39m }, [debug] [35m[XCUITest][39m "ios": { [debug] [35m[XCUITest][39m "simulatorVersion": "13.1.2", [debug] [35m[XCUITest][39m "ip": "192.168.68.112" [debug] [35m[XCUITest][39m }, [debug] [35m[XCUITest][39m "build": { [debug] [35m[XCUITest][39m "upgradedAt": "1554260887843", [debug] [35m[XCUITest][39m "time": "Nov 18 2019 16:09:26", [debug] [35m[XCUITest][39m "productBundleIdentifier": "com.facebook.WebDriverAgentRunner" [debug] [35m[XCUITest][39m } [debug] [35m[XCUITest][39m } [debug] [35m[XCUITest][39m WebDriverAgent successfully started after 26528ms [debug] [35m[BaseDriver][39m Event 'wdaSessionAttempted' logged at 1574131716122 (10:48:36 GMT+0800 (CST)) [debug] [35m[XCUITest][39m Sending createSession command to WDA [debug] [35m[WD Proxy][39m Matched '/session' to command name 'createSession' [debug] [35m[WD Proxy][39m Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.wyze.camera","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}[debug] [35m[WD Proxy][39m Got response with status 200: {"value":{"sessionId":"862A2AD5-A758-4DCF-8213-8DFC9A453DEF","capabilities":{"device":"iphone","browserName":"WyzeLock","sdkVersion":"13.1.2","CFBundleIdentifier":"com.wyze.camera"}},"sessionId":"862A2AD5-A758-4DCF-8213-8DFC9A453DEF","status":0} [info] [35m[WD Proxy][39m Determined the downstream protocol as 'MJSONWP' [debug] [35m[BaseDriver][39m Event 'wdaSessionStarted' logged at 1574131719367 (10:48:39 GMT+0800 (CST)) [debug] [35m[BaseDriver][39m Event 'wdaStarted' logged at 1574131719368 (10:48:39 GMT+0800 (CST)) [info] [35m[XCUITest][39m Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior. [debug] [35m[BaseDriver][39m Event 'orientationSet' logged at 1574131719368 (10:48:39 GMT+0800 (CST)) [info] [35m[Appium][39m New XCUITestDriver session created successfully, session 6f3eb398-0a1e-42af-ae2a-d3cf6199a506 added to master session list [debug] [35m[BaseDriver][39m Event 'newSessionStarted' logged at 1574131719370 (10:48:39 GMT+0800 (CST)) [debug] [35m[MJSONWP (6f3eb398)][39m Cached the protocol value 'MJSONWP' for the new session 6f3eb398-0a1e-42af-ae2a-d3cf6199a506 [debug] [35m[MJSONWP (6f3eb398)][39m Responding to client with driver.createSession() result: {"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"bundleId":"com.wyze.camera","deviceName":"V7’s phone","platformName":"iOS","platformVersion":"13.1.2","udid":"00008020-001479A80223002E","useNewWDA":true,"xcodeOrgId":"G3S9LHD28S","xcodeSigningId":"iPhone Developer","newCommandTimeout":0,"connectHardwareKeyboard":true} [info] [35m[HTTP][39m [37m<-- POST /wd/hub/session [39m[32m200[39m [90m37630 ms - 541[39m [info] [35m[HTTP][39m [90m[39m [debug] [35m[XCUITest][39m Connection to WDA timed out [debug] [35m[iProxy][39m recv failed: Operation not permitted [info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/6f3eb398-0a1e-42af-ae2a-d3cf6199a506/context[39m [info] [35m[HTTP][39m [90m{"name":"NATIVE_APP"}[39m [debug] [35m[MJSONWP (6f3eb398)][39m Calling AppiumDriver.setContext() with args: ["NATIVE_APP","6f3eb398-0a1e-42af-ae2a-d3cf6199a506"] [debug] [35m[XCUITest][39m Executing command 'setContext' [debug] [35m[iOS][39m Attempting to set context to 'NATIVE_APP' [debug] [35m[MJSONWP (6f3eb398)][39m Responding to client with driver.setContext() result: null [info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/6f3eb398-0a1e-42af-ae2a-d3cf6199a506/context [39m[32m200[39m [90m10 ms - 76[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/6f3eb398-0a1e-42af-ae2a-d3cf6199a506/source[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[MJSONWP (6f3eb398)][39m Calling AppiumDriver.getPageSource() with args: ["6f3eb398-0a1e-42af-ae2a-d3cf6199a506"] [debug] [35m[XCUITest][39m Executing command 'getPageSource' [debug] [35m[WD Proxy][39m Matched '/source' to command name 'getPageSource' [debug] [35m[WD Proxy][39m Proxying [GET /source] to [GET http://localhost:8100/session/862A2AD5-A758-4DCF-8213-8DFC9A453DEF/source] with no body[debug] [35m[XCUITest][39m Connection to WDA timed out [debug] [35m[iProxy][39m recv failed: Operation not permitted [debug] [35m[WD Proxy][39m Got response with status 200: { [debug] [35m[WD Proxy][39m "value" : "-[FBApplication resolve]: unrecognized selector sent to instance 0x28387fb80\n\n(\n\t0 CoreFoundation 0x00000001af97dc44 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1256516\n\t1 libobjc.A.dylib 0x00000001af6980c8 objc_exception_throw + 60\n\t2 CoreFoundation 0x00000001af87bfc0 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 200640\n\t3 CoreFoundation 0x00000001af9823d4 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1274836\n\t4 CoreFoundation 0x00000001af984570 _CF_forwarding_prep_0 + 96\n\t5 WebDriverAgentLib 0x0000000103638c74 -[XCUIElement(FBUtilities) fb_snapshotWithAttributes] + 96\n\t6 WebDriverAgentLib 0x000000010360a788 +[FBXPath writeXmlWithRootElement:indexPath:elementStore:includedAttributes:writer:] + 912\n\t7 WebDriverAgentLib 0x0000000103609b8c +[FBXPath xmlRepresentationWithRootElement:writer:elementStore:query:] + 436\n\t8 W... [info] [35m[WD Proxy][39m The response has an unknown format [debug] [35m[MJSONWP][39m Matched JSONWP error code 13 to UnknownError [debug] [35m[WD Proxy][39m Proxying [GET /window/size] to [GET http://localhost:8100/session/862A2AD5-A758-4DCF-8213-8DFC9A453DEF/window/size] with no body [debug] [35m[MJSONWP (6f3eb398)][39m Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: -[FBApplication resolve]: unrecognized selector sent to instance 0x28387fb80 [debug] [35m[MJSONWP (6f3eb398)][39m [debug] [35m[MJSONWP (6f3eb398)][39m ( [debug] [35m[MJSONWP (6f3eb398)][39m 0 CoreFoundation 0x00000001af97dc44 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1256516 [debug] [35m[MJSONWP (6f3eb398)][39m 1 libobjc.A.dylib 0x00000001af6980c8 objc_exception_throw + 60 [debug] [35m[MJSONWP (6f3eb398)][39m 2 CoreFoundation 0x00000001af87bfc0 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 200640 [debug] [35m[MJSONWP (6f3eb398)][39m 3 CoreFoundation 0x00000001af9823d4 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1274836 [debug] [35m[MJSONWP (6f3eb398)][39m 4 CoreFoundation 0x00000001af984570 _CF_forwarding_prep_0 + 96 [debug] [35m[MJSONWP (6f3eb398)][39m 5 WebDriverAgentLib 0x0000000103638c74 -[XCUIElement(FBUtilities) fb_snapshotWithAttributes] + 96 [debug] [35m[MJSONWP (6f3eb398)][39m 6 WebDriverAgentLib 0x000000010360a788 +[FBXPath writeXmlWithRootElement:indexPath:elementStore:includedAttributes:writer:] + 912 [debug] [35m[MJSONWP (6f3eb398)][39m 7 WebDriverAgentLib 0x0000000103609b8c +[FBXPath xmlRepresentationWithRootElement:writer:elementStore:query:] + 436 [debug] [35m[MJSONWP (6f3eb398)][39m 8 WebDriverAgentLib 0x0000000103608fdc +[FBXPath xmlStringWithRootElement:] + 108 [debug] [35m[MJSONWP (6f3eb398)][39m 9 WebDriverAgentLib 0x0000000103616b84 -[XCUIApplication(FBHelpers) fb_xmlRepresentation] + 64 [debug] [35m[MJSONWP (6f3eb398)][39m 10 WebDriverAgentLib 0x0000000103635658 +[FBDebugCommands handleGetSourceCommand:] + 504 [debug] [35m[MJSONWP (6f3eb398)][39m 11 WebDriverAgentLib 0x00000001036231ac -[FBRoute_TargetAction mountRequest:intoResponse:] + 220 [debug] [35m[MJSONWP (6f3eb398)][39m 12 WebDriverAgentLib 0x000000010361236c __37-[FBWebServer registerRouteHandlers:]_block_invoke + 504 [debug] [35m[MJSONWP (6f3eb398)][39m 13 RoutingHTTPServer 0x000000010370a3cc -[RoutingHTTPServer handleRoute:withRequest:response:] + 144 [debug] [35m[MJSONWP (6f3eb398)][39m 14 RoutingHTTPServer 0x000000010370ab80 __72-[RoutingHTTPServer routeMethod:withPath:parameters:request:connection:]_block_invoke + 44 [debug] [35m[MJSONWP (6f3eb398)][39m 15 libdispatch.dylib 0x00000001af62500c ED0789CD-8D80-39F4-9651-D8707D9C0337 + 12300 [debug] [35m[MJSONWP (6f3eb398)][39m 16 libdispatch.dylib 0x00000001af6318e0 ED0789CD-8D80-39F4-9651-D8707D9C0337 + 63712 [debug] [35m[MJSONWP (6f3eb398)][39m 17 libdispatch.dylib 0x00000001af62500c ED0789CD-8D80-39F4-9651-D8707D9C0337 + 12300 [debug] [35m[MJSONWP (6f3eb398)][39m 18 libdispatch.dylib 0x00000001af630cd8 _dispatch_main_queue_callback_4CF + 968 [debug] [35m[MJSONWP (6f3eb398)][39m 19 CoreFoundation 0x00000001af8f8e20 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 712224 [debug] [35m[MJSONWP (6f3eb398)][39m 20 CoreFoundation 0x00000001af8f3b7c 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 691068 [debug] [35m[MJSONWP (6f3eb398)][39m 21 CoreFoundation 0x00000001af8f3098 CFRunLoopRunSpecific + 480 [debug] [35m[MJSONWP (6f3eb398)][39m 22 Foundation 0x00000001afc38580 672CF0CB-4951-3B91-89DF-55E953AEA00F + 34176 [debug] [35m[MJSONWP (6f3eb398)][39m 23 WebDriverAgentLib 0x0000000103610e0c -[FBWebServer startServing] + 440 [debug] [35m[MJSONWP (6f3eb398)][39m 24 WebDriverAgentRunner 0x00000001032a7bd4 -[UITestingUITests testRunner] + 120 [debug] [35m[MJSONWP (6f3eb398)][39m 25 CoreFoundation 0x00000001af984724 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1283876 [debug] [35m[MJSONWP (6f3eb398)][39m 26 CoreFoundation 0x00000001af84d280 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 8832 [debug] [35m[MJSONWP (6f3eb398)][39m 27 XCTest 0x0000000102a7a950 __24-[XCTestCase invokeTest]_block_invoke_2.218 + 72 [debug] [35m[MJSONWP (6f3eb398)][39m 28 XCTest 0x0000000102aee35c -[XCTMemoryChecker _assertInvalidObjectsDeallocatedAfterScope:] + 76 [debug] [35m[MJSONWP (6f3eb398)][39m 29 XCTest 0x0000000102a84dc8 -[XCTestCase assertInvalidObjectsDeallocatedAfterScope:] + 116 [debug] [35m[MJSONWP (6f3eb398)][39m 30 XCTest 0x0000000102a7a8d4 __24-[XCTestCase invokeTest]_block_invoke.212 + 204 [debug] [35m[MJSONWP (6f3eb398)][39m 31 XCTest 0x0000000102ad33b8 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 72 [debug] [35m[MJSONWP (6f3eb398)][39m 32 XCTest 0x0000000102ad32c8 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 112 [debug] [35m[MJSONWP (6f3eb398)][39m 33 XCTest 0x0000000102a7a33c __24-[XCTestCase invokeTest]_block_invoke + 1092 [debug] [35m[MJSONWP (6f3eb398)][39m 34 XCTest 0x0000000102ada720 -[XCUITestContext performInScope:] + 136 [debug] [35m[MJSONWP (6f3eb398)][39m 35 XCTest 0x0000000102a79e0c -[XCTestCase testContextPerformInScope:] + 188 [debug] [35m[MJSONWP (6f3eb398)][39m 36 XCTest 0x0000000102a79ee4 -[XCTestCase invokeTest] + 156 [debug] [35m[MJSONWP (6f3eb398)][39m 37 XCTest 0x0000000102a7bcf0 __26-[XCTestCase performTest:]_block_invoke_2 + 48 [debug] [35m[MJSONWP (6f3eb398)][39m 38 XCTest 0x0000000102ad33b8 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 72 [debug] [35m[MJSONWP (6f3eb398)][39m 39 XCTest 0x0000000102ad32c8 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 112 [debug] [35m[MJSONWP (6f3eb398)][39m 40 XCTest 0x0000000102a7bc04 __26-[XCTestCase performTest:]_block_invoke.352 + 112 [debug] [35m[MJSONWP (6f3eb398)][39m 41 XCTest 0x0000000102ae6cf8 +[XCTContext runInContextForTestCase:block:] + 216 [debug] [35m[MJSONWP (6f3eb398)][39m 42 XCTest 0x0000000102a7b3a0 -[XCTestCase performTest:] + 676 [debug] [35m[MJSONWP (6f3eb398)][39m 43 XCTest 0x0000000102abf8f0 -[XCTest runTest] + 64 [debug] [35m[MJSONWP (6f3eb398)][39m 44 XCTest 0x0000000102a75b68 __27-[XCTestSuite performTest:]_block_invoke + 284 [debug] [35m[MJSONWP (6f3eb398)][39m 45 XCTest 0x0000000102a753e0 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 76 [debug] [35m[MJSONWP (6f3eb398)][39m 46 XCTest 0x0000000102a756c4 -[XCTestSuite performTest:] + 344 [debug] [35m[MJSONWP (6f3eb398)][39m 47 XCTest 0x0000000102abf8f0 -[XCTest runTest] + 64 [debug] [35m[MJSONWP (6f3eb398)][39m 48 XCTest 0x0000000102a75b68 __27-[XCTestSuite performTest:]_block_invoke + 284 [debug] [35m[MJSONWP (6f3eb398)][39m 49 XCTest 0x0000000102a753e0 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 76 [debug] [35m[MJSONWP (6f3eb398)][39m 50 XCTest 0x0000000102a756c4 -[XCTestSuite performTest:] + 344 [debug] [35m[MJSONWP (6f3eb398)][39m 51 XCTest 0x0000000102abf8f0 -[XCTest runTest] + 64 [debug] [35m[MJSONWP (6f3eb398)][39m 52 XCTest 0x0000000102a75b68 __27-[XCTestSuite performTest:]_block_invoke + 284 [debug] [35m[MJSONWP (6f3eb398)][39m 53 XCTest 0x0000000102a753e0 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 76 [debug] [35m[MJSONWP (6f3eb398)][39m 54 XCTest 0x0000000102a756c4 -[XCTestSuite performTest:] + 344 [debug] [35m[MJSONWP (6f3eb398)][39m 55 XCTest 0x0000000102abf8f0 -[XCTest runTest] + 64 [debug] [35m[MJSONWP (6f3eb398)][39m 56 XCTest 0x0000000102af9208 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 180 [debug] [35m[MJSONWP (6f3eb398)][39m 57 XCTest 0x0000000102af9314 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.84 + 116 [debug] [35m[MJSONWP (6f3eb398)][39m 58 XCTest 0x0000000102a8f56c -[XCTestObservationCenter _observeTestExecutionForBlock:] + 520 [debug] [35m[MJSONWP (6f3eb398)][39m 59 XCTest 0x0000000102af8fbc -[XCTTestRunSession runTestsAndReturnError:] + 624 [debug] [35m[MJSONWP (6f3eb398)][39m 60 XCTest 0x0000000102a59378 -[XCTestDriver runTestsAndReturnError:] + 444 [debug] [35m[MJSONWP (6f3eb398)][39m 61 XCTest 0x0000000102ae3080 _XCTestMain + 2404 [debug] [35m[MJSONWP (6f3eb398)][39m 62 WebDriverAgentRunner-Runner 0x00000001027378e8 -[_XCTRunnerAppDelegate applicationWillResignActive:] + 0 [debug] [35m[MJSONWP (6f3eb398)][39m 63 WebDriverAgentRunner-Runner 0x00000001027377f0 _XCTRunnerRunTests + 0 [debug] [35m[MJSONWP (6f3eb398)][39m 64 CoreFoundation 0x00000001af8f907c 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 712828 [debug] [35m[MJSONWP (6f3eb398)][39m 65 CoreFoundation 0x00000001af8f8800 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 710656 [debug] [35m[MJSONWP (6f3eb398)][39m 66 CoreFoundation 0x00000001af8f3800 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 690176 [debug] [35m[MJSONWP (6f3eb398)][39m 67 CoreFoundation 0x00000001af8f3098 CFRunLoopRunSpecific + 480 [debug] [35m[MJSONWP (6f3eb398)][39m 68 GraphicsServices 0x00000001b9a5d534 GSEventRunModal + 108 [debug] [35m[MJSONWP (6f3eb398)][39m 69 UIKitCore 0x00000001b3a137ac UIApplicationMain + 1940 [debug] [35m[MJSONWP (6f3eb398)][39m 70 WebDriverAgentRunner-Runner 0x0000000102737ab4 main + 192 [debug] [35m[MJSONWP (6f3eb398)][39m 71 libdyld.dylib 0x00000001af772f30 0DC9A4BA-C3E8-3487-99DB-1B5C86597AF5 + 3888 [debug] [35m[MJSONWP (6f3eb398)][39m ) [debug] [35m[MJSONWP (6f3eb398)][39m at errorFromMJSONWPStatusCode (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:767:10) [debug] [35m[MJSONWP (6f3eb398)][39m at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:661:14) [debug] [35m[MJSONWP (6f3eb398)][39m at JWProxy.getActualError [as command] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:259:19) [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/6f3eb398-0a1e-42af-ae2a-d3cf6199a506/source [39m[31m500[39m [90m300 ms - 8225[39m [info] [35m[HTTP][39m [90m[39m [debug] [35m[WD Proxy][39m Got response with status 200: { [debug] [35m[WD Proxy][39m "value" : "-[XCApplicationQuery elementSnapshotForDebugDescription]: unrecognized selector sent to instance 0x283774360\n\n(\n\t0 CoreFoundation 0x00000001af97dc44 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1256516\n\t1 libobjc.A.dylib 0x00000001af6980c8 objc_exception_throw + 60\n\t2 CoreFoundation 0x00000001af87bfc0 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 200640\n\t3 CoreFoundation 0x00000001af9823d4 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1274836\n\t4 CoreFoundation 0x00000001af984570 _CF_forwarding_prep_0 + 96\n\t5 WebDriverAgentLib 0x0000000103638bec -[XCUIElement(FBUtilities) fb_lastSnapshot] + 60\n\t6 WebDriverAgentLib 0x00000001036306c0 -[XCUIElement(WebDriverAttributesForwarding) fb_snapshotForAttributeName:] + 756\n\t7 WebDriverAgentLib 0x00000001036308f0 -[XCUIElement(WebDriverAttributesForwarding) forwardingTargetForSelector:... [info] [35m[WD Proxy][39m The response has an unknown format [debug] [35m[MJSONWP][39m Matched JSONWP error code 13 to UnknownError [debug] [35m[XCUITest][39m Connection to WDA timed out [debug] [35m[iProxy][39m recv failed: Operation not permitted [debug] [35m[XCUITest][39m Taking screenshot with WDA [debug] [35m[WD Proxy][39m Matched '/screenshot' to command name 'getScreenshot' [debug] [35m[WD Proxy][39m Proxying [GET /screenshot] to [GET http://localhost:8100/session/862A2AD5-A758-4DCF-8213-8DFC9A453DEF/screenshot] with no body [debug] [35m[MJSONWP (6f3eb398)][39m Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: -[XCApplicationQuery elementSnapshotForDebugDescription]: unrecognized selector sent to instance 0x283774360 [debug] [35m[MJSONWP (6f3eb398)][39m [debug] [35m[MJSONWP (6f3eb398)][39m ( [debug] [35m[MJSONWP (6f3eb398)][39m 0 CoreFoundation 0x00000001af97dc44 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1256516 [debug] [35m[MJSONWP (6f3eb398)][39m 1 libobjc.A.dylib 0x00000001af6980c8 objc_exception_throw + 60 [debug] [35m[MJSONWP (6f3eb398)][39m 2 CoreFoundation 0x00000001af87bfc0 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 200640 [debug] [35m[MJSONWP (6f3eb398)][39m 3 CoreFoundation 0x00000001af9823d4 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1274836 [debug] [35m[MJSONWP (6f3eb398)][39m 4 CoreFoundation 0x00000001af984570 _CF_forwarding_prep_0 + 96 [debug] [35m[MJSONWP (6f3eb398)][39m 5 WebDriverAgentLib 0x0000000103638bec -[XCUIElement(FBUtilities) fb_lastSnapshot] + 60 [debug] [35m[MJSONWP (6f3eb398)][39m 6 WebDriverAgentLib 0x00000001036306c0 -[XCUIElement(WebDriverAttributesForwarding) fb_snapshotForAttributeName:] + 756 [debug] [35m[MJSONWP (6f3eb398)][39m 7 WebDriverAgentLib 0x00000001036308f0 -[XCUIElement(WebDriverAttributesForwarding) forwardingTargetForSelector:] + 168 [debug] [35m[MJSONWP (6f3eb398)][39m 8 CoreFoundation 0x00000001af981f50 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1273680 [debug] [35m[MJSONWP (6f3eb398)][39m 9 CoreFoundation 0x00000001af984570 _CF_forwarding_prep_0 + 96 [debug] [35m[MJSONWP (6f3eb398)][39m 10 WebDriverAgentLib 0x000000010365518c +[FBElementCommands handleGetWindowSize:] + 128 [debug] [35m[MJSONWP (6f3eb398)][39m 11 WebDriverAgentLib 0x00000001036231ac -[FBRoute_TargetAction mountRequest:intoResponse:] + 220 [debug] [35m[MJSONWP (6f3eb398)][39m 12 WebDriverAgentLib 0x000000010361236c __37-[FBWebServer registerRouteHandlers:]_block_invoke + 504 [debug] [35m[MJSONWP (6f3eb398)][39m 13 RoutingHTTPServer 0x000000010370a3cc -[RoutingHTTPServer handleRoute:withRequest:response:] + 144 [debug] [35m[MJSONWP (6f3eb398)][39m 14 RoutingHTTPServer 0x000000010370ab80 __72-[RoutingHTTPServer routeMethod:withPath:parameters:request:connection:]_block_invoke + 44 [debug] [35m[MJSONWP (6f3eb398)][39m 15 libdispatch.dylib 0x00000001af62500c ED0789CD-8D80-39F4-9651-D8707D9C0337 + 12300 [debug] [35m[MJSONWP (6f3eb398)][39m 16 libdispatch.dylib 0x00000001af6318e0 ED0789CD-8D80-39F4-9651-D8707D9C0337 + 63712 [debug] [35m[MJSONWP (6f3eb398)][39m 17 libdispatch.dylib 0x00000001af62500c ED0789CD-8D80-39F4-9651-D8707D9C0337 + 12300 [debug] [35m[MJSONWP (6f3eb398)][39m 18 libdispatch.dylib 0x00000001af630cd8 _dispatch_main_queue_callback_4CF + 968 [debug] [35m[MJSONWP (6f3eb398)][39m 19 CoreFoundation 0x00000001af8f8e20 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 712224 [debug] [35m[MJSONWP (6f3eb398)][39m 20 CoreFoundation 0x00000001af8f3b7c 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 691068 [debug] [35m[MJSONWP (6f3eb398)][39m 21 CoreFoundation 0x00000001af8f3098 CFRunLoopRunSpecific + 480 [debug] [35m[MJSONWP (6f3eb398)][39m 22 Foundation 0x00000001afc38580 672CF0CB-4951-3B91-89DF-55E953AEA00F + 34176 [debug] [35m[MJSONWP (6f3eb398)][39m 23 WebDriverAgentLib 0x0000000103610e0c -[FBWebServer startServing] + 440 [debug] [35m[MJSONWP (6f3eb398)][39m 24 WebDriverAgentRunner 0x00000001032a7bd4 -[UITestingUITests testRunner] + 120 [debug] [35m[MJSONWP (6f3eb398)][39m 25 CoreFoundation 0x00000001af984724 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1283876 [debug] [35m[MJSONWP (6f3eb398)][39m 26 CoreFoundation 0x00000001af84d280 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 8832 [debug] [35m[MJSONWP (6f3eb398)][39m 27 XCTest 0x0000000102a7a950 __24-[XCTestCase invokeTest]_block_invoke_2.218 + 72 [debug] [35m[MJSONWP (6f3eb398)][39m 28 XCTest 0x0000000102aee35c -[XCTMemoryChecker _assertInvalidObjectsDeallocatedAfterScope:] + 76 [debug] [35m[MJSONWP (6f3eb398)][39m 29 XCTest 0x0000000102a84dc8 -[XCTestCase assertInvalidObjectsDeallocatedAfterScope:] + 116 [debug] [35m[MJSONWP (6f3eb398)][39m 30 XCTest 0x0000000102a7a8d4 __24-[XCTestCase invokeTest]_block_invoke.212 + 204 [debug] [35m[MJSONWP (6f3eb398)][39m 31 XCTest 0x0000000102ad33b8 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 72 [debug] [35m[MJSONWP (6f3eb398)][39m 32 XCTest 0x0000000102ad32c8 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 112 [debug] [35m[MJSONWP (6f3eb398)][39m 33 XCTest 0x0000000102a7a33c __24-[XCTestCase invokeTest]_block_invoke + 1092 [debug] [35m[MJSONWP (6f3eb398)][39m 34 XCTest 0x0000000102ada720 -[XCUITestContext performInScope:] + 136 [debug] [35m[MJSONWP (6f3eb398)][39m 35 XCTest 0x0000000102a79e0c -[XCTestCase testContextPerformInScope:] + 188 [debug] [35m[MJSONWP (6f3eb398)][39m 36 XCTest 0x0000000102a79ee4 -[XCTestCase invokeTest] + 156 [debug] [35m[MJSONWP (6f3eb398)][39m 37 XCTest 0x0000000102a7bcf0 __26-[XCTestCase performTest:]_block_invoke_2 + 48 [debug] [35m[MJSONWP (6f3eb398)][39m 38 XCTest 0x0000000102ad33b8 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 72 [debug] [35m[MJSONWP (6f3eb398)][39m 39 XCTest 0x0000000102ad32c8 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 112 [debug] [35m[MJSONWP (6f3eb398)][39m 40 XCTest 0x0000000102a7bc04 __26-[XCTestCase performTest:]_block_invoke.352 + 112 [debug] [35m[MJSONWP (6f3eb398)][39m 41 XCTest 0x0000000102ae6cf8 +[XCTContext runInContextForTestCase:block:] + 216 [debug] [35m[MJSONWP (6f3eb398)][39m 42 XCTest 0x0000000102a7b3a0 -[XCTestCase performTest:] + 676 [debug] [35m[MJSONWP (6f3eb398)][39m 43 XCTest 0x0000000102abf8f0 -[XCTest runTest] + 64 [debug] [35m[MJSONWP (6f3eb398)][39m 44 XCTest 0x0000000102a75b68 __27-[XCTestSuite performTest:]_block_invoke + 284 [debug] [35m[MJSONWP (6f3eb398)][39m 45 XCTest 0x0000000102a753e0 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 76 [debug] [35m[MJSONWP (6f3eb398)][39m 46 XCTest 0x0000000102a756c4 -[XCTestSuite performTest:] + 344 [debug] [35m[MJSONWP (6f3eb398)][39m 47 XCTest 0x0000000102abf8f0 -[XCTest runTest] + 64 [debug] [35m[MJSONWP (6f3eb398)][39m 48 XCTest 0x0000000102a75b68 __27-[XCTestSuite performTest:]_block_invoke + 284 [debug] [35m[MJSONWP (6f3eb398)][39m 49 XCTest 0x0000000102a753e0 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 76 [debug] [35m[MJSONWP (6f3eb398)][39m 50 XCTest 0x0000000102a756c4 -[XCTestSuite performTest:] + 344 [debug] [35m[MJSONWP (6f3eb398)][39m 51 XCTest 0x0000000102abf8f0 -[XCTest runTest] + 64 [debug] [35m[MJSONWP (6f3eb398)][39m 52 XCTest 0x0000000102a75b68 __27-[XCTestSuite performTest:]_block_invoke + 284 [debug] [35m[MJSONWP (6f3eb398)][39m 53 XCTest 0x0000000102a753e0 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 76 [debug] [35m[MJSONWP (6f3eb398)][39m 54 XCTest 0x0000000102a756c4 -[XCTestSuite performTest:] + 344 [debug] [35m[MJSONWP (6f3eb398)][39m 55 XCTest 0x0000000102abf8f0 -[XCTest runTest] + 64 [debug] [35m[MJSONWP (6f3eb398)][39m 56 XCTest 0x0000000102af9208 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 180 [debug] [35m[MJSONWP (6f3eb398)][39m 57 XCTest 0x0000000102af9314 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.84 + 116 [debug] [35m[MJSONWP (6f3eb398)][39m 58 XCTest 0x0000000102a8f56c -[XCTestObservationCenter _observeTestExecutionForBlock:] + 520 [debug] [35m[MJSONWP (6f3eb398)][39m 59 XCTest 0x0000000102af8fbc -[XCTTestRunSession runTestsAndReturnError:] + 624 [debug] [35m[MJSONWP (6f3eb398)][39m 60 XCTest 0x0000000102a59378 -[XCTestDriver runTestsAndReturnError:] + 444 [debug] [35m[MJSONWP (6f3eb398)][39m 61 XCTest 0x0000000102ae3080 _XCTestMain + 2404 [debug] [35m[MJSONWP (6f3eb398)][39m 62 WebDriverAgentRunner-Runner 0x00000001027378e8 -[_XCTRunnerAppDelegate applicationWillResignActive:] + 0 [debug] [35m[MJSONWP (6f3eb398)][39m 63 WebDriverAgentRunner-Runner 0x00000001027377f0 _XCTRunnerRunTests + 0 [debug] [35m[MJSONWP (6f3eb398)][39m 64 CoreFoundation 0x00000001af8f907c 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 712828 [debug] [35m[MJSONWP (6f3eb398)][39m 65 CoreFoundation 0x00000001af8f8800 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 710656 [debug] [35m[MJSONWP (6f3eb398)][39m 66 CoreFoundation 0x00000001af8f3800 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 690176 [debug] [35m[MJSONWP (6f3eb398)][39m 67 CoreFoundation 0x00000001af8f3098 CFRunLoopRunSpecific + 480 [debug] [35m[MJSONWP (6f3eb398)][39m 68 GraphicsServices 0x00000001b9a5d534 GSEventRunModal + 108 [debug] [35m[MJSONWP (6f3eb398)][39m 69 UIKitCore 0x00000001b3a137ac UIApplicationMain + 1940 [debug] [35m[MJSONWP (6f3eb398)][39m 70 WebDriverAgentRunner-Runner 0x0000000102737ab4 main + 192 [debug] [35m[MJSONWP (6f3eb398)][39m 71 libdyld.dylib 0x00000001af772f30 0DC9A4BA-C3E8-3487-99DB-1B5C86597AF5 + 3888 [debug] [35m[MJSONWP (6f3eb398)][39m ) [debug] [35m[MJSONWP (6f3eb398)][39m at errorFromMJSONWPStatusCode (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:767:10) [debug] [35m[MJSONWP (6f3eb398)][39m at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:661:14) [debug] [35m[MJSONWP (6f3eb398)][39m at JWProxy.getActualError [as command] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:259:19) [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/6f3eb398-0a1e-42af-ae2a-d3cf6199a506/window/current/size [39m[31m500[39m [90m370 ms - 8215[39m [info] [35m[HTTP][39m [90m[39m[debug] [35m[WD Proxy][39m Got response with status 200: { [debug] [35m[WD Proxy][39m "value" : "iVBORw0KGgoAAAANSUhEUgAAAzwAAAcACAIAAACaY9F8AAAAAXNSR0IArs4c6QAA\r\nAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKAC\r\nAAQAAAABAAADPKADAAQAAAABAAAHAAAAAAAYjVEBAAAAHGlET1QAAAACAAAAAAAA\r\nA4AAAAAoAAADgAAAA4AAAkFIQ\/a7ZwAAQABJREFUeAHsfQd4HVeZ9qh32ZIt9957\r\nSZxG6JDeq504TghhISQLbMJC2BJqgLC78FMWCGGXZYEkdmzLKrf3fu\/MvXOr5BrL\r\n3XIvcZcszf+euY520GjGI1Kwdr88Ez\/nnnPmu3PfOaPvna8djks56CAECAFCgBAg\r\nBAgBQoAQuNIRuNKvjzglIUAIEAKEACFACBAChAAQINJGCBAChAAhQAgQAoQAITAE\r\nEBgCl0jkmhAgBAgBQoAQIAQIAUKASBshQAgQAoQAIUAIEAKEwBBAYAhcIjFrQoAQ\r\nIAQIAUKAECAECAEibYQAIUAIEAKEACFACBACQwCBIXCJxKwJAUKAECAECAFCgBAg\r\nBIi0EQKEACFACBAChAAhQAhcmQgUpJ19B5X8oNrChAAhQAgQAoQAIUAIDAUEuJST\r\nDkKAECAECAFCgBAgBAiBKx2BK\/36iFMSAoQAIUAIEAKEACFACAABIm2EACFACBAC\r\nhAAhQAgQAlcmAgVpV99BpI28w4QAIUAIEAKEACFACFyhCPQxNjSItF2hN+nK5Pt0\r\nVYQAIUAIEAKEACHwQSJApI2IGiFACBAChAAhQAgQAkMNgcKkkw5CgBAgBAgBQoAQ\r\nIAQIgSscAe4Kvz66PEKAECAECAFCgBAgBAgBIECkjQyNhAAhQAgQAoQAIUAIDAEE\r\niLQNgZtErxeEACFACBAChAAhQAgQaSPSRggQAoQAIUAIEAKEwB... [debug] [35m[XCUITest][39m Connection to WDA timed out [debug] [35m[iProxy][39m recv failed: Operation not permitted [debug] [35m[MJSONWP (6f3eb398)][39m Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAAzwAAAcACAIAAACaY9F8AAAAAXNSR0IArs4c6QAA\r\nAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKAC\r\nAAQAAAABAAADPKADAAQAAAABAAAHAAAAAAAYjVEBAAAAHGlET1QAAAACAAAAAAAA\r\nA4AAAAAoAAADgAAAA4AAAkFIQ/a7ZwAAQABJREFUeAHsfQd4HVeZ9qh32ZIt9957\r\nSZxG6JDeq504TghhISQLbMJC2BJqgLC78FMWCGGXZYEkdmzLKrf3fu/MvXOr5BrL\r\n3XIvcZcszf+euY520GjGI1Kwdr88Ez/nnnPmu3PfOaPvna8djks56CAECAFCgBAg\r\nBAgBQoAQuNIRuNKvjzglIUAIEAKEACFACBAChAAQINJGCBAChAAhQAgQAoQAITAE\r\nEBgCl0jkmhAgBAgBQoAQIAQIAUKASBshQAgQAoQAIUAIEAKEwBBAYAhcIjFrQoAQ\r\nIAQIAUKAECAECAEibYQAIUAIEAKEACFACBACQwCBIXCJxKwJAUKAECAECAFCgBAg\r\nBIi0EQKEACFACBAChAAhQAhcmQgUpJ19B5X8oNrChAAhQAgQAoQAIUAIDAUEuJST\r\nDkKAECAECAFCgBAgBAiBKx2BK/36iFMSAoQAIUAIEAKEACFACAABIm2EACFACBAC\r\nhAAhQAgQAlcmAgVpV99BpI28w4QAIUAIEAKEACFACFyhCPQxNjSItF2hN+nK5Pt0\r\nVYQAIUAIEAKEACHwQSJApI2IGiFACBAChAAhQAgQAkMNgcKkkw5CgBAgBAgBQoAQ\r\nIAQIgSscAe4Kvz66PEKAECAECAFCgBAgBAgBIECkjQyNhAAhQAgQAoQAIUAIDAEE\r\niLQNgZtErxeEACFACBAChAAhQAgQaSPSRggQAoQAIUAIEAKEwBBAgEjbELhJ9G5B\r\n... [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/6f3eb398-0a1e-42af-ae2a-d3cf6199a506/screenshot [39m[32m200[39m [90m525 ms - 333906[39m [info] [35m[HTTP][39m [90m[39m

jade685 avatar Nov 19 '19 02:11 jade685

Following is error I keep getting:

[WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [WD Proxy] Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}

And also:

[HTTP] <-- POST /wd/hub/session 200 37630 ms - 541 [HTTP] [XCUITest] Connection to WDA timed out [iProxy] recv failed: Operation not permitted [HTTP] --> POST /wd/hub/session/6f3eb398-0a1e-42af-ae2a-d3cf6199a506/context [HTTP] {"name":"NATIVE_APP"} [MJSONWP (6f3eb398)] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","6f3eb398-0a1e-42af-ae2a-d3cf6199a506"] [XCUITest] Executing command 'setContext' [iOS] Attempting to set context to 'NATIVE_APP' [MJSONWP (6f3eb398)] Responding to client with driver.setContext() result: null [HTTP] <-- POST /wd/hub/session/6f3eb398-0a1e-42af-ae2a-d3cf6199a506/context 200 10 ms - 76 [HTTP] [HTTP] --> GET /wd/hub/session/6f3eb398-0a1e-42af-ae2a-d3cf6199a506/source [HTTP] {}

And also:

[WD Proxy] The response has an unknown format [MJSONWP] Matched JSONWP error code 13 to UnknownError [WD Proxy] Proxying [GET /window/size] to [GET http://localhost:8100/session/862A2AD5-A758-4DCF-8213-8DFC9A453DEF/window/size] with no body [MJSONWP (6f3eb398)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: -[FBApplication resolve]: unrecognized selector sent to instance 0x28387fb80 [MJSONWP (6f3eb398)] [MJSONWP (6f3eb398)] ( [MJSONWP (6f3eb398)] 0 CoreFoundation 0x00000001af97dc44 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1256516 [MJSONWP (6f3eb398)] 1 libobjc.A.dylib 0x00000001af6980c8 objc_exception_throw + 60 [MJSONWP (6f3eb398)] 2 CoreFoundation 0x00000001af87bfc0 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 200640 [MJSONWP (6f3eb398)] 3 CoreFoundation 0x00000001af9823d4 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1274836 [MJSONWP (6f3eb398)] 4 CoreFoundation 0x00000001af984570 _CF_forwarding_prep_0 + 96 [MJSONWP (6f3eb398)] 5 WebDriverAgentLib 0x0000000103638c74 -[XCUIElement(FBUtilities) fb_snapshotWithAttributes] + 96 [MJSONWP (6f3eb398)] 6 WebDriverAgentLib 0x000000010360a788 +[FBXPath writeXmlWithRootElement:indexPath:elementStore:includedAttributes:writer:] + 912 [MJSONWP (6f3eb398)] 7 WebDriverAgentLib 0x0000000103609b8c +[FBXPath xmlRepresentationWithRootElement:writer:elementStore:query:] + 436 [MJSONWP (6f3eb398)] 8 WebDriverAgentLib 0x0000000103608fdc +[FBXPath xmlStringWithRootElement:] + 108 [MJSONWP (6f3eb398)] 9 WebDriverAgentLib 0x0000000103616b84 -[XCUIApplication(FBHelpers) fb_xmlRepresentation] + 64 [MJSONWP (6f3eb398)] 10 WebDriverAgentLib 0x0000000103635658 +[FBDebugCommands handleGetSourceCommand:] + 504 [MJSONWP (6f3eb398)] 11 WebDriverAgentLib 0x00000001036231ac -[FBRoute_TargetAction mountRequest:intoResponse:] + 220 [MJSONWP (6f3eb398)] 12 WebDriverAgentLib 0x000000010361236c __37-[FBWebServer registerRouteHandlers:]_block_invoke + 504 [MJSONWP (6f3eb398)] 13 RoutingHTTPServer 0x000000010370a3cc -[RoutingHTTPServer handleRoute:withRequest:response:] + 144 [MJSONWP (6f3eb398)] 14 RoutingHTTPServer 0x000000010370ab80 __72-[RoutingHTTPServer routeMethod:withPath:parameters:request:connection:]_block_invoke + 44 [MJSONWP (6f3eb398)] 15 libdispatch.dylib 0x00000001af62500c ED0789CD-8D80-39F4-9651-D8707D9C0337 + 12300 [MJSONWP (6f3eb398)] 16 libdispatch.dylib 0x00000001af6318e0 ED0789CD-8D80-39F4-9651-D8707D9C0337 + 63712 [MJSONWP (6f3eb398)] 17 libdispatch.dylib 0x00000001af62500c ED0789CD-8D80-39F4-9651-D8707D9C0337 + 12300 [MJSONWP (6f3eb398)] 18 libdispatch.dylib 0x00000001af630cd8 _dispatch_main_queue_callback_4CF + 968 [MJSONWP (6f3eb398)] 19 CoreFoundation 0x00000001af8f8e20 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 712224 [MJSONWP (6f3eb398)] 20 CoreFoundation 0x00000001af8f3b7c 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 691068 [MJSONWP (6f3eb398)] 21 CoreFoundation 0x00000001af8f3098 CFRunLoopRunSpecific + 480 [MJSONWP (6f3eb398)] 22 Foundation 0x00000001afc38580 672CF0CB-4951-3B91-89DF-55E953AEA00F + 34176 [MJSONWP (6f3eb398)] 23 WebDriverAgentLib 0x0000000103610e0c -[FBWebServer startServing] + 440 [MJSONWP (6f3eb398)] 24 WebDriverAgentRunner 0x00000001032a7bd4 -[UITestingUITests testRunner] + 120 [MJSONWP (6f3eb398)] 25 CoreFoundation 0x00000001af984724 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1283876 [MJSONWP (6f3eb398)] 26 CoreFoundation 0x00000001af84d280 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 8832 [MJSONWP (6f3eb398)] 27 XCTest 0x0000000102a7a950 __24-[XCTestCase invokeTest]_block_invoke_2.218 + 72 [MJSONWP (6f3eb398)] 28 XCTest 0x0000000102aee35c -[XCTMemoryChecker _assertInvalidObjectsDeallocatedAfterScope:] + 76 [MJSONWP (6f3eb398)] 29 XCTest 0x0000000102a84dc8 -[XCTestCase assertInvalidObjectsDeallocatedAfterScope:] + 116 [MJSONWP (6f3eb398)] 30 XCTest 0x0000000102a7a8d4 __24-[XCTestCase invokeTest]_block_invoke.212 + 204 [MJSONWP (6f3eb398)] 31 XCTest 0x0000000102ad33b8 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 72 [MJSONWP (6f3eb398)] 32 XCTest 0x0000000102ad32c8 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 112 [MJSONWP (6f3eb398)] 33 XCTest 0x0000000102a7a33c __24-[XCTestCase invokeTest]_block_invoke + 1092 [MJSONWP (6f3eb398)] 34 XCTest 0x0000000102ada720 -[XCUITestContext performInScope:] + 136 [MJSONWP (6f3eb398)] 35 XCTest 0x0000000102a79e0c -[XCTestCase testContextPerformInScope:] + 188 [MJSONWP (6f3eb398)] 36 XCTest 0x0000000102a79ee4 -[XCTestCase invokeTest] + 156 [MJSONWP (6f3eb398)] 37 XCTest 0x0000000102a7bcf0 __26-[XCTestCase performTest:]_block_invoke_2 + 48 [MJSONWP (6f3eb398)] 38 XCTest 0x0000000102ad33b8 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 72 [MJSONWP (6f3eb398)] 39 XCTest 0x0000000102ad32c8 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 112 [MJSONWP (6f3eb398)] 40 XCTest 0x0000000102a7bc04 __26-[XCTestCase performTest:]_block_invoke.352 + 112 [MJSONWP (6f3eb398)] 41 XCTest 0x0000000102ae6cf8 +[XCTContext runInContextForTestCase:block:] + 216 [MJSONWP (6f3eb398)] 42 XCTest 0x0000000102a7b3a0 -[XCTestCase performTest:] + 676 [MJSONWP (6f3eb398)] 43 XCTest 0x0000000102abf8f0 -[XCTest runTest] + 64 [MJSONWP (6f3eb398)] 44 XCTest 0x0000000102a75b68 __27-[XCTestSuite performTest:]_block_invoke + 284 [MJSONWP (6f3eb398)] 45 XCTest 0x0000000102a753e0 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 76 [MJSONWP (6f3eb398)] 46 XCTest 0x0000000102a756c4 -[XCTestSuite performTest:] + 344 [MJSONWP (6f3eb398)] 47 XCTest 0x0000000102abf8f0 -[XCTest runTest] + 64 [MJSONWP (6f3eb398)] 48 XCTest 0x0000000102a75b68 __27-[XCTestSuite performTest:]_block_invoke + 284 [MJSONWP (6f3eb398)] 49 XCTest 0x0000000102a753e0 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 76 [MJSONWP (6f3eb398)] 50 XCTest 0x0000000102a756c4 -[XCTestSuite performTest:] + 344 [MJSONWP (6f3eb398)] 51 XCTest 0x0000000102abf8f0 -[XCTest runTest] + 64 [MJSONWP (6f3eb398)] 52 XCTest 0x0000000102a75b68 __27-[XCTestSuite performTest:]_block_invoke + 284 [MJSONWP (6f3eb398)] 53 XCTest 0x0000000102a753e0 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 76 [MJSONWP (6f3eb398)] 54 XCTest 0x0000000102a756c4 -[XCTestSuite performTest:] + 344 [MJSONWP (6f3eb398)] 55 XCTest 0x0000000102abf8f0 -[XCTest runTest] + 64 [MJSONWP (6f3eb398)] 56 XCTest 0x0000000102af9208 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 180 [MJSONWP (6f3eb398)] 57 XCTest 0x0000000102af9314 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.84 + 116 [MJSONWP (6f3eb398)] 58 XCTest 0x0000000102a8f56c -[XCTestObservationCenter _observeTestExecutionForBlock:] + 520 [MJSONWP (6f3eb398)] 59 XCTest 0x0000000102af8fbc -[XCTTestRunSession runTestsAndReturnError:] + 624 [MJSONWP (6f3eb398)] 60 XCTest 0x0000000102a59378 -[XCTestDriver runTestsAndReturnError:] + 444 [MJSONWP (6f3eb398)] 61 XCTest 0x0000000102ae3080 _XCTestMain + 2404 [MJSONWP (6f3eb398)] 62 WebDriverAgentRunner-Runner 0x00000001027378e8 -[_XCTRunnerAppDelegate applicationWillResignActive:] + 0 [MJSONWP (6f3eb398)] 63 WebDriverAgentRunner-Runner 0x00000001027377f0 _XCTRunnerRunTests + 0 [MJSONWP (6f3eb398)] 64 CoreFoundation 0x00000001af8f907c 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 712828 [MJSONWP (6f3eb398)] 65 CoreFoundation 0x00000001af8f8800 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 710656 [MJSONWP (6f3eb398)] 66 CoreFoundation 0x00000001af8f3800 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 690176 [MJSONWP (6f3eb398)] 67 CoreFoundation 0x00000001af8f3098 CFRunLoopRunSpecific + 480 [MJSONWP (6f3eb398)] 68 GraphicsServices 0x00000001b9a5d534 GSEventRunModal + 108 [MJSONWP (6f3eb398)] 69 UIKitCore 0x00000001b3a137ac UIApplicationMain + 1940 [MJSONWP (6f3eb398)] 70 WebDriverAgentRunner-Runner 0x0000000102737ab4 main + 192 [MJSONWP (6f3eb398)] 71 libdyld.dylib 0x00000001af772f30 0DC9A4BA-C3E8-3487-99DB-1B5C86597AF5 + 3888 [MJSONWP (6f3eb398)] ) [MJSONWP (6f3eb398)] at errorFromMJSONWPStatusCode (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:767:10) [MJSONWP (6f3eb398)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:661:14) [MJSONWP (6f3eb398)] at JWProxy.getActualError [as command] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:259:19) [HTTP] <-- GET /wd/hub/session/6f3eb398-0a1e-42af-ae2a-d3cf6199a506/source 500 300 ms - 8225 [HTTP] [WD Proxy] Got response with status 200: { [WD Proxy] "value" : "-[XCApplicationQuery elementSnapshotForDebugDescription]: unrecognized selector sent to instance 0x283774360\n\n(\n\t0 CoreFoundation 0x00000001af97dc44 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1256516\n\t1 libobjc.A.dylib 0x00000001af6980c8 objc_exception_throw + 60\n\t2 CoreFoundation 0x00000001af87bfc0 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 200640\n\t3 CoreFoundation 0x00000001af9823d4 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1274836\n\t4 CoreFoundation 0x00000001af984570 _CF_forwarding_prep_0 + 96\n\t5 WebDriverAgentLib 0x0000000103638bec -[XCUIElement(FBUtilities) fb_lastSnapshot] + 60\n\t6 WebDriverAgentLib 0x00000001036306c0 -[XCUIElement(WebDriverAttributesForwarding) fb_snapshotForAttributeName:] + 756\n\t7 WebDriverAgentLib 0x00000001036308f0 -[XCUIElement(WebDriverAttributesForwarding) forwardingTargetForSelector:... [WD Proxy] The response has an unknown format [MJSONWP] Matched JSONWP error code 13 to UnknownError [XCUITest] Connection to WDA timed out [iProxy] recv failed: Operation not permitted [XCUITest] Taking screenshot with WDA [WD Proxy] Matched '/screenshot' to command name 'getScreenshot' [WD Proxy] Proxying [GET /screenshot] to [GET http://localhost:8100/session/862A2AD5-A758-4DCF-8213-8DFC9A453DEF/screenshot] with no body [MJSONWP (6f3eb398)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: -[XCApplicationQuery elementSnapshotForDebugDescription]: unrecognized selector sent to instance 0x283774360

jade685 avatar Nov 19 '19 03:11 jade685

hm... The installed WDA was probably old one. /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj should have been /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj.

Could you uninstall the desktop app once?

[debug] [35m[XCUITest][39m 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=00008020-001479A80223002E IPHONEOS_DEPLOYMENT_TARGET=13.1 -xcconfig /var/folders/lr/8cd71xj51pxgvln3wv77zwvc0000gn/T/20191019-16121-9flc5i.wprc/appium-temp.xcconfig GCC_TREAT_WARNINGS_AS_ERRORS=0' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'

KazuCocoa avatar Nov 19 '19 12:11 KazuCocoa

I can see the same problem, my intention was to run the 'bootstrap.sh' script that's been required to run after upgrading the last few versions.

on a fresh install of Appium 1.15.1 I can navigate as far as :

/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules

/appium-webdriveragent doesn't exist.

blairroebuck avatar Nov 20 '19 15:11 blairroebuck

The webdrieragent module should be /Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent.

Appium prefix modules in /Applications/Appium.app/Contents/Resources/app/node_modules are:

appium/                 appium-idb/             appium-ios-simulator/   appium-support/         appium-xcode/
appium-base-driver/     appium-ios-device/      appium-remote-debugger/ appium-webdriveragent/  appium-xcuitest-driver/

We expect like below log apprears in the appium log

[BaseDriver] Event 'simStarted' logged at 1574264845946 (00:47:25 GMT+0900 (JST))
[XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent'
[XCUITest] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found

KazuCocoa avatar Nov 20 '19 15:11 KazuCocoa

Same issue here. In my case, cannot open ispector.

macOS 1.14.6 Appium Desktop ver 1.15.1 スクリーンショット 2020-01-24 12 27 30

DIGITALSQUAD avatar Jan 24 '20 03:01 DIGITALSQUAD