Skip to content

Instantly share code, notes, and snippets.

@smita13
Created February 6, 2020 13:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smita13/5d9748880abd3eb5a05dd59497c03560 to your computer and use it in GitHub Desktop.
Save smita13/5d9748880abd3eb5a05dd59497c03560 to your computer and use it in GitHub Desktop.
WDA not recognising
[debug] [XCUITest] Current user: 'USERS'
[debug] [XCUITest] Available devices: DEVICEUDID
[debug] [XCUITest] Creating iDevice object with udid 'DEVICEUDID '
[XCUITest] Determining device to run tests on: udid: 'DEVICEUDID ', real device: true
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1580992575563 (18:06:15 GMT+0530 (India Standard Time))
[BaseDriver] Using local app '/Users/USERS/Desktop/APPNAME'
[debug] [BaseDriver] Unzipping '/Users/USERS/Desktop/APPNAME'
[debug] [Support] Traversed 64 directories and 673 files in 86ms
[debug] [BaseDriver] Extracted 737 item(s) from '/Users/USERS/Desktop/APPNAME'
[debug] [Support] Traversed 64 directories and 673 files in 81ms
[debug] [BaseDriver] Matched 735 item(s) in the extracted archive. Assuming 'Payload/APPNAME ' is the correct bundle
[BaseDriver] Unzipped local app to '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37460-ln2sv7.ljtn/Payload/APPNAME '
[debug] [BaseDriver] Event 'appConfigured' logged at 1580992578949 (18:06:18 GMT+0530 (India Standard Time))
[debug] [XCUITest] Checking whether app '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37460-ln2sv7.ljtn/Payload/APPNAME ' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37460-ln2sv7.ljtn/Payload/APPNAME ': 'bundleid '
[debug] [BaseDriver] Event 'resetStarted' logged at 1580992578953 (18:06:18 GMT+0530 (India Standard Time))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1580992578953 (18:06:18 GMT+0530 (India Standard Time))
[debug] [XCUITest] Crash reports root '/Users/USERS/Library/Logs/CrashReporter/MobileDevice/iPad' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1580992579152 (18:06:19 GMT+0530 (India Standard Time))
[XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[debug] [XCUITest] Reset requested. Removing app with id 'bundleid ' from the device
[debug] [XCUITest] Installing '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37460-ln2sv7.ljtn/Payload/APPNAME ' on device with UUID 'DEVICEUDID '...
[debug] [BaseDriver] Performing cleanup of 1 cached application
[debug] [Support] Traversed 62 directories and 673 files in 12139ms
[debug] [XCUITest] Pushed the app files successfully after 12260ms
[XCUITest] App installation succeeded after 12942ms
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1580992592728 (18:06:32 GMT+0530 (India Standard Time))
[WebDriverAgent] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[WebDriverAgent] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[DevCon Factory] Requesting connection for device DeviceIDon local port 8100, device port 8100
[debug] [DevCon Factory] Cached connections count: 0
[DevCon Factory] Successfully requested the connection for DEVICEUDID :8100
[debug] [XCUITest] 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
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[debug] [WebDriverAgent] WDA is not listening at 'http://127.0.0.1:8100/'
[debug] [WebDriverAgent] WDA is currently not running. There is nothing to cache
[debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval
[debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1580992592837 (18:06:32 GMT+0530 (India Standard Time))
[WebDriverAgent] Launching WebDriverAgent on the device
[WebDriverAgent] Fetching dependencies
[WebDriverAgent] Dependencies up-to-date
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*DEVICEUDID ' for the device DEVICEUDID ...
[debug] [WebDriverAgent] 'pgrep -ifn xcodebuild.*DEVICEUDID ' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=DeviceIDIPHONEOS_DEPLOYMENT_TARGET=13.2 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[debug] [WebDriverAgent] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
[Xcode] Build settings from command line:
[Xcode]
[debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start
[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
[Xcode] COMPILER_INDEX_STORE_ENABLE = NO
[Xcode] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[Xcode]
[Xcode]
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[Xcode] 2020-02-06 18:06:34.177 xcodebuild[37474:3517078] DTDeviceKit: deviceType from DeviceIDwas NULL
[Xcode]
[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
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[Xcode] note: Using new build system
[Xcode]
[Xcode] note: Planning build
[Xcode]
[Xcode] note: Using build description from disk
[Xcode]
[Xcode] ** TEST BUILD SUCCEEDED **
[Xcode]
[Xcode]
[Xcode] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[Xcode] Reason: Testing couldn’t begin on the device “iPad”: Logic Testing Unavailable
[Xcode] Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.
[Xcode]
[WebDriverAgent] xcodebuild exited with code '70' and signal 'null'
[WebDriverAgent] Launching WebDriverAgent on the device
[WebDriverAgent] Fetching dependencies
[WebDriverAgent] Dependencies up-to-date
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*DEVICEUDID ' for the device DEVICEUDID ...
[debug] [WebDriverAgent] 'pgrep -ifn xcodebuild.*DEVICEUDID ' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=DeviceIDIPHONEOS_DEPLOYMENT_TARGET=13.2 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[debug] [WebDriverAgent] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
[Xcode] Build settings from command line:
[debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start
[Xcode]
[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
[Xcode] COMPILER_INDEX_STORE_ENABLE = NO
[Xcode] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[Xcode]
[Xcode]
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[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
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[Xcode] 2020-02-06 18:06:36.139 xcodebuild[37480:3517313] DTDeviceKit: deviceType from DeviceIDwas NULL
[Xcode]
[Xcode] note: Using new build system
[Xcode]
[Xcode] note: Planning build
[Xcode]
[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
[iProxy@00008027] Error: Connection was refused to port 8100
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[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
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[Xcode] note: Using build description from disk
[Xcode]
[Xcode] ** TEST BUILD SUCCEEDED **
[Xcode]
[Xcode]
[Xcode] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[Xcode] Reason: Testing couldn’t begin on the device “iPad”: Logic Testing Unavailable
[Xcode] Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.
[Xcode]
[WebDriverAgent] xcodebuild exited with code '70' and signal 'null'
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1580992596892 (18:06:36 GMT+0530 (India Standard Time))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70
[debug] [XCUITest] xcodebuild error message:
[debug] [XCUITest]
[debug] [XCUITest] Build settings from command line:
[debug] [XCUITest] COMPILER_INDEX_STORE_ENABLE = NO
[debug] [XCUITest] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[debug] [XCUITest] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[debug] [XCUITest] 2020-02-06 18:06:36.139 xcodebuild[37480:3517313] DTDeviceKit: deviceType from DeviceIDwas NULL
[debug] [XCUITest] note: Using new build system
[debug] [XCUITest] note: Planning build
[debug] [XCUITest] note: Using build description from disk
[debug] [XCUITest] ** TEST BUILD SUCCEEDED **
[debug] [XCUITest] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[debug] [XCUITest] Reason: Testing couldn’t begin on the device “iPad”: Logic Testing Unavailable
[debug] [XCUITest] Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] Quitting and uninstalling WebDriverAgent
[WebDriverAgent] Shutting down sub-processes
[debug] [WebDriverAgent] No WDAs on the device.
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70
[XCUITest] xcodebuild error message:
[XCUITest]
[XCUITest] Build settings from command line:
[XCUITest] COMPILER_INDEX_STORE_ENABLE = NO
[XCUITest] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[XCUITest] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[XCUITest] 2020-02-06 18:06:36.139 xcodebuild[37480:3517313] DTDeviceKit: deviceType from DeviceIDwas NULL
[XCUITest] note: Using new build system
[XCUITest] note: Planning build
[XCUITest] note: Using build description from disk
[XCUITest] ** TEST BUILD SUCCEEDED **
[XCUITest] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[XCUITest] Reason: Testing couldn’t begin on the device “iPad”: Logic Testing Unavailable
[XCUITest] Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:519:15)
[DevCon Factory] Releasing connections for DeviceIDdevice on any port number
[DevCon Factory] Found cached connections to release: ["DEVICEUDID :8100"]
[DevCon Factory] Releasing the listener for 'DEVICEUDID :8100'
[debug] [DevCon Factory] Cached connections count: 0
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1580992597183 (18:06:37 GMT+0530 (India Standard Time))
[debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70
[debug] [W3C] xcodebuild error message:
[debug] [W3C]
[debug] [W3C] Build settings from command line:
[debug] [W3C] COMPILER_INDEX_STORE_ENABLE = NO
[debug] [W3C] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[debug] [W3C] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[debug] [W3C] 2020-02-06 18:06:36.139 xcodebuild[37480:3517313] DTDeviceKit: deviceType from DeviceIDwas NULL
[debug] [W3C] note: Using new build system
[debug] [W3C] note: Planning build
[debug] [W3C] note: Using build description from disk
[debug] [W3C] ** TEST BUILD SUCCEEDED **
[debug] [W3C] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[debug] [W3C] Reason: Testing couldn’t begin on the device “iPad”: Logic Testing Unavailable
[debug] [W3C] Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[debug] [W3C] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:519:15)
[debug] [W3C] Destroying socket connection
[HTTP] <-- POST /wd/hub/session 500 22512 ms - 2529
[HTTP] 
[Appium] Received SIGTERM - shutting down
[Appium] Welcome to Appium v1.16.0-beta.3
[Appium] Non-default server args:
[Appium] address: localhost
[Appium] Appium REST http interface listener started on localhost:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"/Users/USERS/Desktop/APPNAME","webkitResponseTimeout":30000,"startIWDP":true,"deviceName":"iPad","newWDA":true,"shouldUseTestManagerForVisibilityDetection":true,"showXcodeLog":true,"newCommandTimeout":30000,"platformVersion":"13.2","automationName":"XCuiTest","locationContextEnabled":true,"platformName":"iOS","udid":"DEVICEUDID "},"capabilities":{"alwaysMatch":{"appium:app":"/Users/USERS/Desktop/APPNAME","appium:automationName":"XCuiTest","appium:deviceName":"iPad","locationContextEnabled":true,"appium:newCommandTimeout":30000,"newWDA":true,"platformName":"ios","appium:platformVersion":"13.2","shouldUseTestManagerForVisibilityDetection":true,"appium:showXcodeLog":true,"appium:startIWDP":true,"appium:udid":"DEVICEUDID ","webkitResponseTimeout":30000},"firstMatch":[{}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/USERS/Desktop/APPNAME","webkitResponseTimeout":30000,"startIWDP":true,"deviceName":"iPad","newWDA":true,"shouldUseTestManagerForVisibilityDetection":true,"showXcodeLog":true,"newCommandTimeout":30000,"platformVersion":"13.2","automationName":"XCuiTest","locationContextEnabled":true,"platformName":"iOS","udid":"DEVICEUDID "},null,{"alwaysMatch":{"appium:app":"/Users/USERS/Desktop/APPNAME","appium:automationName":"XCuiTest","appium:deviceName":"iPad","locationContextEnabled":true,"appium:newCommandTimeout":30000,"newWDA":true,"platformName":"ios","appium:platformVersion":"13.2","shouldUseTestManagerForVisibilityDetection":true,"appium:showXcodeLog":true,"appium:startIWDP":true,"appium:udid":"DEVICEUDID ","webkitResponseTimeout":30000},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1580992602370 (18:06:42 GMT+0530 (India Standard Time))
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver] locationContextEnabled
[BaseDriver] newWDA
[BaseDriver] shouldUseTestManagerForVisibilityDetection
[BaseDriver] webkitResponseTimeout
[Appium] Appium v1.16.0-beta.3 creating new XCUITestDriver (v3.13.0) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] "alwaysMatch": {
[debug] [BaseDriver] "appium:locationContextEnabled": true,
[debug] [BaseDriver] "appium:newWDA": true,
[debug] [BaseDriver] "platformName": "ios",
[debug] [BaseDriver] "appium:shouldUseTestManagerForVisibilityDetection": true,
[debug] [BaseDriver] "appium:webkitResponseTimeout": 30000,
[debug] [BaseDriver] "appium:app": "/Users/USERS/Desktop/APPNAME",
[debug] [BaseDriver] "appium:automationName": "XCuiTest",
[debug] [BaseDriver] "appium:deviceName": "iPad",
[debug] [BaseDriver] "appium:newCommandTimeout": 30000,
[debug] [BaseDriver] "appium:platformVersion": "13.2",
[debug] [BaseDriver] "appium:showXcodeLog": true,
[debug] [BaseDriver] "appium:startIWDP": true,
[debug] [BaseDriver] "appium:udid": "DEVICEUDID "
[debug] [BaseDriver] },
[debug] [BaseDriver] "firstMatch": [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[BaseDriver] locationContextEnabled
[BaseDriver] newWDA
[BaseDriver] shouldUseTestManagerForVisibilityDetection
[BaseDriver] Session created with session id: 3536f01e-eb0c-4b6d-863c-8aa8b3ed5e67
[debug] [XCUITest] Current user: 'USERS'
[debug] [XCUITest] Available devices: DEVICEUDID
[debug] [XCUITest] Creating iDevice object with udid 'DEVICEUDID '
[XCUITest] Determining device to run tests on: udid: 'DEVICEUDID ', real device: true
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1580992602977 (18:06:42 GMT+0530 (India Standard Time))
[BaseDriver] Using local app '/Users/USERS/Desktop/APPNAME'
[debug] [BaseDriver] Unzipping '/Users/USERS/Desktop/APPNAME'
[debug] [Support] Traversed 64 directories and 673 files in 75ms
[debug] [BaseDriver] Extracted 737 item(s) from '/Users/USERS/Desktop/APPNAME'
[debug] [Support] Traversed 64 directories and 673 files in 64ms
[debug] [BaseDriver] Matched 735 item(s) in the extracted archive. Assuming 'Payload/APPNAME ' is the correct bundle
[BaseDriver] Unzipped local app to '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37489-e3r0mi.yu81c/Payload/APPNAME '
[debug] [BaseDriver] Event 'appConfigured' logged at 1580992605711 (18:06:45 GMT+0530 (India Standard Time))
[debug] [XCUITest] Checking whether app '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37489-e3r0mi.yu81c/Payload/APPNAME ' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37489-e3r0mi.yu81c/Payload/APPNAME ': 'bundleid '
[debug] [BaseDriver] Event 'resetStarted' logged at 1580992605715 (18:06:45 GMT+0530 (India Standard Time))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1580992605716 (18:06:45 GMT+0530 (India Standard Time))
[debug] [XCUITest] Crash reports root '/Users/USERS/Library/Logs/CrashReporter/MobileDevice/iPad' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1580992605984 (18:06:45 GMT+0530 (India Standard Time))
[XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[debug] [XCUITest] Reset requested. Removing app with id 'bundleid ' from the device
[debug] [XCUITest] Installing '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37489-e3r0mi.yu81c/Payload/APPNAME ' on device with UUID 'DEVICEUDID '...
[debug] [Support] Traversed 62 directories and 673 files in 11781ms
[debug] [XCUITest] Pushed the app files successfully after 11907ms
[XCUITest] App installation succeeded after 12520ms
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1580992619121 (18:06:59 GMT+0530 (India Standard Time))
[WebDriverAgent] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[WebDriverAgent] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[DevCon Factory] Requesting connection for device DeviceIDon local port 8100, device port 8100
[debug] [DevCon Factory] Cached connections count: 0
[DevCon Factory] Successfully requested the connection for DEVICEUDID :8100
[debug] [XCUITest] 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
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[debug] [WebDriverAgent] WDA is not listening at 'http://127.0.0.1:8100/'
[debug] [WebDriverAgent] WDA is currently not running. There is nothing to cache
[debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval
[debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1580992619235 (18:06:59 GMT+0530 (India Standard Time))
[WebDriverAgent] Launching WebDriverAgent on the device
[WebDriverAgent] Fetching dependencies
[WebDriverAgent] Dependencies up-to-date
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*DEVICEUDID ' for the device DEVICEUDID ...
[debug] [WebDriverAgent] 'pgrep -ifn xcodebuild.*DEVICEUDID ' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=DeviceIDIPHONEOS_DEPLOYMENT_TARGET=13.2 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[debug] [WebDriverAgent] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
[Xcode] Build settings from command line:
[Xcode]
[debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start
[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
[Xcode] COMPILER_INDEX_STORE_ENABLE = NO
[Xcode] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[Xcode]
[Xcode]
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[Xcode] 2020-02-06 18:07:00.848 xcodebuild[37505:3518400] DTDeviceKit: deviceType from DeviceIDwas NULL
[Xcode]
[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
[iProxy@00008027] Error: Connection was refused to port 8100
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[Xcode] note: Using new build system
[Xcode]
[Xcode] note: Planning build
[Xcode]
[Xcode] note: Using build description from disk
[Xcode]
[Xcode] ** TEST BUILD SUCCEEDED **
[Xcode]
[Xcode]
[Xcode] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[Xcode] Reason: Testing couldn’t begin on the device “iPad”: Logic Testing Unavailable
[Xcode] Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.
[Xcode]
[WebDriverAgent] xcodebuild exited with code '70' and signal 'null'
[WebDriverAgent] Launching WebDriverAgent on the device
[WebDriverAgent] Fetching dependencies
[WebDriverAgent] Dependencies up-to-date
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*DEVICEUDID ' for the device DEVICEUDID ...
[debug] [WebDriverAgent] 'pgrep -ifn xcodebuild.*DEVICEUDID ' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=DeviceIDIPHONEOS_DEPLOYMENT_TARGET=13.2 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[debug] [WebDriverAgent] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
[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
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[debug] [BaseDriver] Performing cleanup of 1 cached application
[Xcode] Build settings from command line:
[Xcode]
[debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start
[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
[Xcode] COMPILER_INDEX_STORE_ENABLE = NO
[Xcode] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[Xcode]
[Xcode]
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[Xcode] 2020-02-06 18:07:03.295 xcodebuild[37513:3520566] DTDeviceKit: deviceType from DeviceIDwas NULL
[Xcode]
[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
[iProxy@00008027] Error: Connection was refused to port 8100
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[Xcode] 2020-02-06 18:07:03.504 xcodebuild[37513:3520568] DTDeviceKit: deviceType from DeviceIDwas NULL
[Xcode]
[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
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[Xcode] note: Using new build system
[Xcode]
[Xcode] note: Planning build
[Xcode]
[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
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[Xcode] note: Using build description from disk
[Xcode]
[Xcode] ** TEST BUILD SUCCEEDED **
[Xcode]
[Xcode]
[Xcode] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[Xcode] Reason: Testing couldn’t begin on the device “iPad”: Logic Testing Unavailable
[Xcode] Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.
[Xcode]
[WebDriverAgent] xcodebuild exited with code '70' and signal 'null'
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1580992624694 (18:07:04 GMT+0530 (India Standard Time))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70
[debug] [XCUITest] xcodebuild error message:
[debug] [XCUITest]
[debug] [XCUITest] Build settings from command line:
[debug] [XCUITest] COMPILER_INDEX_STORE_ENABLE = NO
[debug] [XCUITest] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[debug] [XCUITest] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[debug] [XCUITest] 2020-02-06 18:07:03.295 xcodebuild[37513:3520566] DTDeviceKit: deviceType from DeviceIDwas NULL
[debug] [XCUITest] 2020-02-06 18:07:03.504 xcodebuild[37513:3520568] DTDeviceKit: deviceType from DeviceIDwas NULL
[debug] [XCUITest] note: Using new build system
[debug] [XCUITest] note: Planning build
[debug] [XCUITest] note: Using build description from disk
[debug] [XCUITest] ** TEST BUILD SUCCEEDED **
[debug] [XCUITest] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[debug] [XCUITest] Reason: Testing couldn’t begin on the device “iPad”: Logic Testing Unavailable
[debug] [XCUITest] Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] Quitting and uninstalling WebDriverAgent
[WebDriverAgent] Shutting down sub-processes
[debug] [WebDriverAgent] No WDAs on the device.
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70
[XCUITest] xcodebuild error message:
[XCUITest]
[XCUITest] Build settings from command line:
[XCUITest] COMPILER_INDEX_STORE_ENABLE = NO
[XCUITest] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[XCUITest] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[XCUITest] 2020-02-06 18:07:03.295 xcodebuild[37513:3520566] DTDeviceKit: deviceType from DeviceIDwas NULL
[XCUITest] 2020-02-06 18:07:03.504 xcodebuild[37513:3520568] DTDeviceKit: deviceType from DeviceIDwas NULL
[XCUITest] note: Using new build system
[XCUITest] note: Planning build
[XCUITest] note: Using build description from disk
[XCUITest] ** TEST BUILD SUCCEEDED **
[XCUITest] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[XCUITest] Reason: Testing couldn’t begin on the device “iPad”: Logic Testing Unavailable
[XCUITest] Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:519:15)
[DevCon Factory] Releasing connections for DeviceIDdevice on any port number
[DevCon Factory] Found cached connections to release: ["DEVICEUDID :8100"]
[DevCon Factory] Releasing the listener for 'DEVICEUDID :8100'
[debug] [DevCon Factory] Cached connections count: 0
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1580992624980 (18:07:04 GMT+0530 (India Standard Time))
[debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70
[debug] [W3C] xcodebuild error message:
[debug] [W3C]
[debug] [W3C] Build settings from command line:
[debug] [W3C] COMPILER_INDEX_STORE_ENABLE = NO
[debug] [W3C] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[debug] [W3C] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[debug] [W3C] 2020-02-06 18:07:03.295 xcodebuild[37513:3520566] DTDeviceKit: deviceType from DeviceIDwas NULL
[debug] [W3C] 2020-02-06 18:07:03.504 xcodebuild[37513:3520568] DTDeviceKit: deviceType from DeviceIDwas NULL
[debug] [W3C] note: Using new build system
[debug] [W3C] note: Planning build
[debug] [W3C] note: Using build description from disk
[debug] [W3C] ** TEST BUILD SUCCEEDED **
[debug] [W3C] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[debug] [W3C] Reason: Testing couldn’t begin on the device “iPad”: Logic Testing Unavailable
[debug] [W3C] Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[debug] [W3C] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:519:15)
[debug] [W3C] Destroying socket connection
[HTTP] <-- POST /wd/hub/session 500 22629 ms - 2761
[HTTP] 
[Appium] Received SIGTERM - shutting down
[Appium] Welcome to Appium v1.16.0-beta.3
[Appium] Non-default server args:
[Appium] address: localhost
[Appium] Appium REST http interface listener started on localhost:4723
BasebandCertId: 165673526
BasebandKeyHashInformation:
AKeyStatus: 64
SKeyStatus: 2
BasebandSerialNumber: V4YPcvBszHMAAAAA
BasebandVersion: 2.02.12
BoardId: 10
BuildVersion: 17B84
CPUArchitecture: arm64e
ChipID: 32807
DeviceClass: iPad
DeviceColor: 1
DeviceName: iPad
DieID: 5920152892801070
HardwareModel: J321AP
HasSiDP: true
PartitionType: GUID_partition_scheme
ProductName: iPhone OS
ProductType: iPad8,7
ProductVersion: 13.2
ProductionSOC: true
ProtocolVersion: 2
SupportedDeviceFamilies[2]:
0: 1
1: 2
TelephonyCapability: true
UniqueChipID: 5920152892801070
UniqueDeviceID: DEVICEUDID
WiFiAddress: 9c:e6:5e:b9:27:4d
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"/Users/USERS/Desktop/APPNAME","webkitResponseTimeout":30000,"startIWDP":true,"deviceName":"iPad","newWDA":true,"shouldUseTestManagerForVisibilityDetection":true,"showXcodeLog":true,"newCommandTimeout":30000,"platformVersion":"13.2","automationName":"XCuiTest","locationContextEnabled":true,"platformName":"iOS","udid":"DEVICEUDID "},"capabilities":{"alwaysMatch":{"appium:app":"/Users/USERS/Desktop/APPNAME","appium:automationName":"XCuiTest","appium:deviceName":"iPad","locationContextEnabled":true,"appium:newCommandTimeout":30000,"newWDA":true,"platformName":"ios","appium:platformVersion":"13.2","shouldUseTestManagerForVisibilityDetection":true,"appium:showXcodeLog":true,"appium:startIWDP":true,"appium:udid":"DEVICEUDID ","webkitResponseTimeout":30000},"firstMatch":[{}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/USERS/Desktop/APPNAME","webkitResponseTimeout":30000,"startIWDP":true,"deviceName":"iPad","newWDA":true,"shouldUseTestManagerForVisibilityDetection":true,"showXcodeLog":true,"newCommandTimeout":30000,"platformVersion":"13.2","automationName":"XCuiTest","locationContextEnabled":true,"platformName":"iOS","udid":"DEVICEUDID "},null,{"alwaysMatch":{"appium:app":"/Users/USERS/Desktop/APPNAME","appium:automationName":"XCuiTest","appium:deviceName":"iPad","locationContextEnabled":true,"appium:newCommandTimeout":30000,"newWDA":true,"platformName":"ios","appium:platformVersion":"13.2","shouldUseTestManagerForVisibilityDetection":true,"appium:showXcodeLog":true,"appium:startIWDP":true,"appium:udid":"DEVICEUDID ","webkitResponseTimeout":30000},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1580992630173 (18:07:10 GMT+0530 (India Standard Time))
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver] locationContextEnabled
[BaseDriver] newWDA
[BaseDriver] shouldUseTestManagerForVisibilityDetection
[BaseDriver] webkitResponseTimeout
[Appium] Appium v1.16.0-beta.3 creating new XCUITestDriver (v3.13.0) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] "alwaysMatch": {
[debug] [BaseDriver] "appium:locationContextEnabled": true,
[debug] [BaseDriver] "appium:newWDA": true,
[debug] [BaseDriver] "platformName": "ios",
[debug] [BaseDriver] "appium:shouldUseTestManagerForVisibilityDetection": true,
[debug] [BaseDriver] "appium:webkitResponseTimeout": 30000,
[debug] [BaseDriver] "appium:app": "/Users/USERS/Desktop/APPNAME",
[debug] [BaseDriver] "appium:automationName": "XCuiTest",
[debug] [BaseDriver] "appium:deviceName": "iPad",
[debug] [BaseDriver] "appium:newCommandTimeout": 30000,
[debug] [BaseDriver] "appium:platformVersion": "13.2",
[debug] [BaseDriver] "appium:showXcodeLog": true,
[debug] [BaseDriver] "appium:startIWDP": true,
[debug] [BaseDriver] "appium:udid": "DEVICEUDID "
[debug] [BaseDriver] },
[debug] [BaseDriver] "firstMatch": [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[BaseDriver] locationContextEnabled
[BaseDriver] newWDA
[BaseDriver] shouldUseTestManagerForVisibilityDetection
[BaseDriver] Session created with session id: 1d636b9c-a896-4208-8a1c-2d5df92ffca7
[debug] [XCUITest] Current user: 'USERS'
[debug] [XCUITest] Available devices: DEVICEUDID
[debug] [XCUITest] Creating iDevice object with udid 'DEVICEUDID '
[XCUITest] Determining device to run tests on: udid: 'DEVICEUDID ', real device: true
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1580992630631 (18:07:10 GMT+0530 (India Standard Time))
[BaseDriver] Using local app '/Users/USERS/Desktop/APPNAME'
[debug] [BaseDriver] Unzipping '/Users/USERS/Desktop/APPNAME'
[debug] [Support] Traversed 64 directories and 673 files in 65ms
[debug] [BaseDriver] Extracted 737 item(s) from '/Users/USERS/Desktop/APPNAME'
[debug] [Support] Traversed 64 directories and 673 files in 73ms
[debug] [BaseDriver] Matched 735 item(s) in the extracted archive. Assuming 'Payload/APPNAME ' is the correct bundle
[BaseDriver] Unzipped local app to '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37522-2xh1hb.2vl08/Payload/APPNAME '
[debug] [BaseDriver] Event 'appConfigured' logged at 1580992633425 (18:07:13 GMT+0530 (India Standard Time))
[debug] [XCUITest] Checking whether app '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37522-2xh1hb.2vl08/Payload/APPNAME ' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37522-2xh1hb.2vl08/Payload/APPNAME ': 'bundleid '
[debug] [BaseDriver] Event 'resetStarted' logged at 1580992633428 (18:07:13 GMT+0530 (India Standard Time))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1580992633429 (18:07:13 GMT+0530 (India Standard Time))
[debug] [XCUITest] Crash reports root '/Users/USERS/Library/Logs/CrashReporter/MobileDevice/iPad' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1580992633681 (18:07:13 GMT+0530 (India Standard Time))
[XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[debug] [XCUITest] Reset requested. Removing app with id 'bundleid ' from the device
[debug] [XCUITest] Installing '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37522-2xh1hb.2vl08/Payload/APPNAME ' on device with UUID 'DEVICEUDID '...
[debug] [BaseDriver] Performing cleanup of 1 cached application
[debug] [Support] Traversed 62 directories and 673 files in 19363ms
[debug] [XCUITest] Pushed the app files successfully after 19484ms
[debug] [BaseDriver] Performing cleanup of 1 cached application
[XCUITest] Failed to receive the notification. Error: Could not get the application installed notification within 30000ms but we will continue
[XCUITest] App installation succeeded after 50196ms
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1580992685101 (18:08:05 GMT+0530 (India Standard Time))
[WebDriverAgent] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[WebDriverAgent] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[DevCon Factory] Requesting connection for device DeviceIDon local port 8100, device port 8100
[debug] [DevCon Factory] Cached connections count: 0
[DevCon Factory] Successfully requested the connection for DEVICEUDID :8100
[debug] [XCUITest] 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
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[debug] [WebDriverAgent] WDA is not listening at 'http://127.0.0.1:8100/'
[debug] [WebDriverAgent] WDA is currently not running. There is nothing to cache
[debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval
[debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1580992685224 (18:08:05 GMT+0530 (India Standard Time))
[WebDriverAgent] Launching WebDriverAgent on the device
[WebDriverAgent] Fetching dependencies
[WebDriverAgent] Dependencies up-to-date
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*DEVICEUDID ' for the device DEVICEUDID ...
[debug] [WebDriverAgent] 'pgrep -ifn xcodebuild.*DEVICEUDID ' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=DeviceIDIPHONEOS_DEPLOYMENT_TARGET=13.2 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[debug] [WebDriverAgent] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
[Xcode] Build settings from command line:
[Xcode]
[debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start
[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
[Xcode] COMPILER_INDEX_STORE_ENABLE = NO
[Xcode] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[Xcode]
[Xcode]
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[Xcode] 2020-02-06 18:08:06.597 xcodebuild[37538:3523665] DTDeviceKit: deviceType from DeviceIDwas NULL
[Xcode]
[Xcode] 2020-02-06 18:08:06.768 xcodebuild[37538:3523667] DTDeviceKit: deviceType from DeviceIDwas NULL
[Xcode]
[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
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[Xcode] note: Using new build system
[Xcode]
[Xcode] note: Planning build
[Xcode]
[Xcode] note: Using build description from disk
[Xcode]
[Xcode] ** TEST BUILD SUCCEEDED **
[Xcode]
[Xcode]
[Xcode] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[Xcode] Reason: Testing couldn’t begin on the device “iPad”: Logic Testing Unavailable
[Xcode] Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.
[Xcode]
[WebDriverAgent] xcodebuild exited with code '70' and signal 'null'
[WebDriverAgent] Launching WebDriverAgent on the device
[WebDriverAgent] Fetching dependencies
[WebDriverAgent] Dependencies up-to-date
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*DEVICEUDID ' for the device DEVICEUDID ...
[debug] [WebDriverAgent] 'pgrep -ifn xcodebuild.*DEVICEUDID ' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=DeviceIDIPHONEOS_DEPLOYMENT_TARGET=13.2 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[debug] [WebDriverAgent] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
[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
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[Xcode] Build settings from command line:
[Xcode]
[debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start
[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
[Xcode] COMPILER_INDEX_STORE_ENABLE = NO
[Xcode] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[Xcode]
[Xcode]
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[Xcode] 2020-02-06 18:08:09.063 xcodebuild[37547:3523809] DTDeviceKit: deviceType from DeviceIDwas NULL
[Xcode]
[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
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[Xcode] 2020-02-06 18:08:09.249 xcodebuild[37547:3523810] DTDeviceKit: deviceType from DeviceIDwas NULL
[Xcode]
[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
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[Xcode] note: Using new build system
[Xcode]
[Xcode] note: Planning build
[Xcode]
[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
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[Xcode] note: Using build description from disk
[Xcode]
[Xcode] ** TEST BUILD SUCCEEDED **
[Xcode]
[Xcode]
[Xcode] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[Xcode] Reason: Testing couldn’t begin on the device “iPad”: Logic Testing Unavailable
[Xcode] Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.
[Xcode]
[WebDriverAgent] xcodebuild exited with code '70' and signal 'null'
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1580992690519 (18:08:10 GMT+0530 (India Standard Time))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70
[debug] [XCUITest] xcodebuild error message:
[debug] [XCUITest]
[debug] [XCUITest] Build settings from command line:
[debug] [XCUITest] COMPILER_INDEX_STORE_ENABLE = NO
[debug] [XCUITest] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[debug] [XCUITest] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[debug] [XCUITest] 2020-02-06 18:08:09.063 xcodebuild[37547:3523809] DTDeviceKit: deviceType from DeviceIDwas NULL
[debug] [XCUITest] 2020-02-06 18:08:09.249 xcodebuild[37547:3523810] DTDeviceKit: deviceType from DeviceIDwas NULL
[debug] [XCUITest] note: Using new build system
[debug] [XCUITest] note: Planning build
[debug] [XCUITest] note: Using build description from disk
[debug] [XCUITest] ** TEST BUILD SUCCEEDED **
[debug] [XCUITest] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[debug] [XCUITest] Reason: Testing couldn’t begin on the device “iPad”: Logic Testing Unavailable
[debug] [XCUITest] Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] Quitting and uninstalling WebDriverAgent
[WebDriverAgent] Shutting down sub-processes
[debug] [WebDriverAgent] No WDAs on the device.
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70
[XCUITest] xcodebuild error message:
[XCUITest]
[XCUITest] Build settings from command line:
[XCUITest] COMPILER_INDEX_STORE_ENABLE = NO
[XCUITest] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[XCUITest] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[XCUITest] 2020-02-06 18:08:09.063 xcodebuild[37547:3523809] DTDeviceKit: deviceType from DeviceIDwas NULL
[XCUITest] 2020-02-06 18:08:09.249 xcodebuild[37547:3523810] DTDeviceKit: deviceType from DeviceIDwas NULL
[XCUITest] note: Using new build system
[XCUITest] note: Planning build
[XCUITest] note: Using build description from disk
[XCUITest] ** TEST BUILD SUCCEEDED **
[XCUITest] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[XCUITest] Reason: Testing couldn’t begin on the device “iPad”: Logic Testing Unavailable
[XCUITest] Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:519:15)
[DevCon Factory] Releasing connections for DeviceIDdevice on any port number
[DevCon Factory] Found cached connections to release: ["DEVICEUDID :8100"]
[DevCon Factory] Releasing the listener for 'DEVICEUDID :8100'
[debug] [DevCon Factory] Cached connections count: 0
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1580992690806 (18:08:10 GMT+0530 (India Standard Time))
[debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70
[debug] [W3C] xcodebuild error message:
[debug] [W3C]
[debug] [W3C] Build settings from command line:
[debug] [W3C] COMPILER_INDEX_STORE_ENABLE = NO
[debug] [W3C] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[debug] [W3C] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[debug] [W3C] 2020-02-06 18:08:09.063 xcodebuild[37547:3523809] DTDeviceKit: deviceType from DeviceIDwas NULL
[debug] [W3C] 2020-02-06 18:08:09.249 xcodebuild[37547:3523810] DTDeviceKit: deviceType from DeviceIDwas NULL
[debug] [W3C] note: Using new build system
[debug] [W3C] note: Planning build
[debug] [W3C] note: Using build description from disk
[debug] [W3C] ** TEST BUILD SUCCEEDED **
[debug] [W3C] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[debug] [W3C] Reason: Testing couldn’t begin on the device “iPad”: Logic Testing Unavailable
[debug] [W3C] Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[debug] [W3C] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:519:15)
[debug] [W3C] Destroying socket connection
[HTTP] <-- POST /wd/hub/session 500 60660 ms - 2761
[HTTP] 
[Appium] Received SIGTERM - shutting down
[Appium] Welcome to Appium v1.16.0-beta.3
[Appium] Non-default server args:
[Appium] address: localhost
[Appium] Appium REST http interface listener started on localhost:4723
BasebandCertId: 165673526
BasebandKeyHashInformation:
AKeyStatus: 64
SKeyStatus: 2
BasebandSerialNumber: V4YPcvBszHMAAAAA
BasebandVersion: 2.02.12
BoardId: 10
BuildVersion: 17B84
CPUArchitecture: arm64e
ChipID: 32807
DeviceClass: iPad
DeviceColor: 1
DeviceName: iPad
DieID: 5920152892801070
HardwareModel: J321AP
HasSiDP: true
PartitionType: GUID_partition_scheme
ProductName: iPhone OS
ProductType: iPad8,7
ProductVersion: 13.2
ProductionSOC: true
ProtocolVersion: 2
SupportedDeviceFamilies[2]:
0: 1
1: 2
TelephonyCapability: true
UniqueChipID: 5920152892801070
UniqueDeviceID: DEVICEUDID
WiFiAddress: 9c:e6:5e:b9:27:4d
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"/Users/USERS/Desktop/APPNAME","webkitResponseTimeout":30000,"startIWDP":true,"deviceName":"iPad","newWDA":true,"shouldUseTestManagerForVisibilityDetection":true,"showXcodeLog":true,"newCommandTimeout":30000,"platformVersion":"13.2","automationName":"XCuiTest","locationContextEnabled":true,"platformName":"iOS","udid":"DEVICEUDID "},"capabilities":{"alwaysMatch":{"appium:app":"/Users/USERS/Desktop/APPNAME","appium:automationName":"XCuiTest","appium:deviceName":"iPad","locationContextEnabled":true,"appium:newCommandTimeout":30000,"newWDA":true,"platformName":"ios","appium:platformVersion":"13.2","shouldUseTestManagerForVisibilityDetection":true,"appium:showXcodeLog":true,"appium:startIWDP":true,"appium:udid":"DEVICEUDID ","webkitResponseTimeout":30000},"firstMatch":[{}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/USERS/Desktop/APPNAME","webkitResponseTimeout":30000,"startIWDP":true,"deviceName":"iPad","newWDA":true,"shouldUseTestManagerForVisibilityDetection":true,"showXcodeLog":true,"newCommandTimeout":30000,"platformVersion":"13.2","automationName":"XCuiTest","locationContextEnabled":true,"platformName":"iOS","udid":"DEVICEUDID "},null,{"alwaysMatch":{"appium:app":"/Users/USERS/Desktop/APPNAME","appium:automationName":"XCuiTest","appium:deviceName":"iPad","locationContextEnabled":true,"appium:newCommandTimeout":30000,"newWDA":true,"platformName":"ios","appium:platformVersion":"13.2","shouldUseTestManagerForVisibilityDetection":true,"appium:showXcodeLog":true,"appium:startIWDP":true,"appium:udid":"DEVICEUDID ","webkitResponseTimeout":30000},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1580992696018 (18:08:16 GMT+0530 (India Standard Time))
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver] locationContextEnabled
[BaseDriver] newWDA
[BaseDriver] shouldUseTestManagerForVisibilityDetection
[BaseDriver] webkitResponseTimeout
[Appium] Appium v1.16.0-beta.3 creating new XCUITestDriver (v3.13.0) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] "alwaysMatch": {
[debug] [BaseDriver] "appium:locationContextEnabled": true,
[debug] [BaseDriver] "appium:newWDA": true,
[debug] [BaseDriver] "platformName": "ios",
[debug] [BaseDriver] "appium:shouldUseTestManagerForVisibilityDetection": true,
[debug] [BaseDriver] "appium:webkitResponseTimeout": 30000,
[debug] [BaseDriver] "appium:app": "/Users/USERS/Desktop/APPNAME",
[debug] [BaseDriver] "appium:automationName": "XCuiTest",
[debug] [BaseDriver] "appium:deviceName": "iPad",
[debug] [BaseDriver] "appium:newCommandTimeout": 30000,
[debug] [BaseDriver] "appium:platformVersion": "13.2",
[debug] [BaseDriver] "appium:showXcodeLog": true,
[debug] [BaseDriver] "appium:startIWDP": true,
[debug] [BaseDriver] "appium:udid": "DEVICEUDID "
[debug] [BaseDriver] },
[debug] [BaseDriver] "firstMatch": [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[BaseDriver] locationContextEnabled
[BaseDriver] newWDA
[BaseDriver] shouldUseTestManagerForVisibilityDetection
[BaseDriver] Session created with session id: c58b398b-987b-433d-a806-fb84afbde24f
[debug] [XCUITest] Current user: 'USERS'
[debug] [XCUITest] Available devices: DEVICEUDID
[debug] [XCUITest] Creating iDevice object with udid 'DEVICEUDID '
[XCUITest] Determining device to run tests on: udid: 'DEVICEUDID ', real device: true
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1580992696685 (18:08:16 GMT+0530 (India Standard Time))
[BaseDriver] Using local app '/Users/USERS/Desktop/APPNAME'
[debug] [BaseDriver] Unzipping '/Users/USERS/Desktop/APPNAME'
[debug] [Support] Traversed 64 directories and 673 files in 94ms
[debug] [BaseDriver] Extracted 737 item(s) from '/Users/USERS/Desktop/APPNAME'
[debug] [Support] Traversed 64 directories and 673 files in 92ms
[debug] [BaseDriver] Matched 735 item(s) in the extracted archive. Assuming 'Payload/APPNAME ' is the correct bundle
[BaseDriver] Unzipped local app to '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37567-o3cki2.da3f/Payload/APPNAME '
[debug] [BaseDriver] Event 'appConfigured' logged at 1580992699935 (18:08:19 GMT+0530 (India Standard Time))
[debug] [XCUITest] Checking whether app '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37567-o3cki2.da3f/Payload/APPNAME ' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37567-o3cki2.da3f/Payload/APPNAME ': 'bundleid '
[debug] [BaseDriver] Event 'resetStarted' logged at 1580992699941 (18:08:19 GMT+0530 (India Standard Time))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1580992699942 (18:08:19 GMT+0530 (India Standard Time))
[debug] [XCUITest] Crash reports root '/Users/USERS/Library/Logs/CrashReporter/MobileDevice/iPad' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1580992700200 (18:08:20 GMT+0530 (India Standard Time))
[XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[debug] [XCUITest] Reset requested. Removing app with id 'bundleid ' from the device
[debug] [XCUITest] Installing '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37567-o3cki2.da3f/Payload/APPNAME ' on device with UUID 'DEVICEUDID '...
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"/Users/USERS/Desktop/APPNAME","webkitResponseTimeout":30000,"startIWDP":true,"deviceName":"iPad","newWDA":true,"shouldUseTestManagerForVisibilityDetection":true,"showXcodeLog":true,"newCommandTimeout":30000,"platformVersion":"13.2","automationName":"XCuiTest","locationContextEnabled":true,"platformName":"iOS","udid":"DEVICEUDID "},"capabilities":{"alwaysMatch":{"appium:app":"/Users/USERS/Desktop/APPNAME","appium:automationName":"XCuiTest","appium:deviceName":"iPad","locationContextEnabled":true,"appium:newCommandTimeout":30000,"newWDA":true,"platformName":"ios","appium:platformVersion":"13.2","shouldUseTestManagerForVisibilityDetection":true,"appium:showXcodeLog":true,"appium:startIWDP":true,"appium:udid":"DEVICEUDID ","webkitResponseTimeout":30000},"firstMatch":[{}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/USERS/Desktop/APPNAME","webkitResponseTimeout":30000,"startIWDP":true,"deviceName":"iPad","newWDA":true,"shouldUseTestManagerForVisibilityDetection":true,"showXcodeLog":true,"newCommandTimeout":30000,"platformVersion":"13.2","automationName":"XCuiTest","locationContextEnabled":true,"platformName":"iOS","udid":"DEVICEUDID "},null,{"alwaysMatch":{"appium:app":"/Users/USERS/Desktop/APPNAME","appium:automationName":"XCuiTest","appium:deviceName":"iPad","locationContextEnabled":true,"appium:newCommandTimeout":30000,"newWDA":true,"platformName":"ios","appium:platformVersion":"13.2","shouldUseTestManagerForVisibilityDetection":true,"appium:showXcodeLog":true,"appium:startIWDP":true,"appium:udid":"DEVICEUDID ","webkitResponseTimeout":30000},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1580992701741 (18:08:21 GMT+0530 (India Standard Time))
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver] locationContextEnabled
[BaseDriver] newWDA
[BaseDriver] shouldUseTestManagerForVisibilityDetection
[BaseDriver] webkitResponseTimeout
[Appium] Appium v1.16.0-beta.3 creating new XCUITestDriver (v3.13.0) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] "alwaysMatch": {
[debug] [BaseDriver] "appium:locationContextEnabled": true,
[debug] [BaseDriver] "appium:newWDA": true,
[debug] [BaseDriver] "platformName": "ios",
[debug] [BaseDriver] "appium:shouldUseTestManagerForVisibilityDetection": true,
[debug] [BaseDriver] "appium:webkitResponseTimeout": 30000,
[debug] [BaseDriver] "appium:app": "/Users/USERS/Desktop/APPNAME",
[debug] [BaseDriver] "appium:automationName": "XCuiTest",
[debug] [BaseDriver] "appium:deviceName": "iPad",
[debug] [BaseDriver] "appium:newCommandTimeout": 30000,
[debug] [BaseDriver] "appium:platformVersion": "13.2",
[debug] [BaseDriver] "appium:showXcodeLog": true,
[debug] [BaseDriver] "appium:startIWDP": true,
[debug] [BaseDriver] "appium:udid": "DEVICEUDID "
[debug] [BaseDriver] },
[debug] [BaseDriver] "firstMatch": [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[BaseDriver] locationContextEnabled
[BaseDriver] newWDA
[BaseDriver] shouldUseTestManagerForVisibilityDetection
[BaseDriver] Session created with session id: f869de0e-7895-40f3-8876-915a098ec827
[debug] [XCUITest] Current user: 'USERS'
[debug] [XCUITest] Available devices: DEVICEUDID
[debug] [XCUITest] Creating iDevice object with udid 'DEVICEUDID '
[XCUITest] Determining device to run tests on: udid: 'DEVICEUDID ', real device: true
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1580992701768 (18:08:21 GMT+0530 (India Standard Time))
[BaseDriver] Using local app '/Users/USERS/Desktop/APPNAME'
[BaseDriver] Will reuse previously cached application at '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37567-o3cki2.da3f/Payload/APPNAME '
[debug] [BaseDriver] Event 'appConfigured' logged at 1580992702010 (18:08:22 GMT+0530 (India Standard Time))
[debug] [XCUITest] Checking whether app '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37567-o3cki2.da3f/Payload/APPNAME ' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37567-o3cki2.da3f/Payload/APPNAME ': 'bundleid '
[debug] [BaseDriver] Event 'resetStarted' logged at 1580992702013 (18:08:22 GMT+0530 (India Standard Time))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1580992702013 (18:08:22 GMT+0530 (India Standard Time))
[debug] [XCUITest] Crash reports root '/Users/USERS/Library/Logs/CrashReporter/MobileDevice/iPad' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1580992702193 (18:08:22 GMT+0530 (India Standard Time))
[XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[debug] [XCUITest] Installing '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37567-o3cki2.da3f/Payload/APPNAME ' on device with UUID 'DEVICEUDID '...
[debug] [Support] Traversed 7 directories and 56 files in 1683ms
[XCUITest] Error installing app: Unexpected response UNKNOWN
[XCUITest] Falling back to 'ios-deploy' usage
[debug] [Support] Traversed 2 directories and 20 files in 386ms
[XCUITest] Error installing app: Unexpected response UNKNOWN
[XCUITest] Falling back to 'ios-deploy' usage
[debug] [ios-device] Error: Could not finish the operation 'Close file handle '1''. Failed to receive any data within the 10000ms timeout
[debug] [ios-device] at Timeout._onTimeout (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/afc/index.js:319:16)
[debug] [ios-device] at ontimeout (timers.js:436:11)
[debug] [ios-device] at tryOnTimeout (timers.js:300:5)
[debug] [ios-device] at listOnTimeout (timers.js:263:5)
[debug] [ios-device] at Timer.processTimers (timers.js:223:10)
[debug] [ios-device] Error: Could not finish the operation 'Close file handle '1''. Failed to receive any data within the 10000ms timeout
[debug] [ios-device] at Timeout._onTimeout (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/afc/index.js:319:16)
[debug] [ios-device] at ontimeout (timers.js:436:11)
[debug] [ios-device] at tryOnTimeout (timers.js:300:5)
[debug] [ios-device] at listOnTimeout (timers.js:263:5)
[debug] [ios-device] at Timer.processTimers (timers.js:223:10)
[debug] [BaseDriver] Performing cleanup of 1 cached application
[XCUITest] App installation succeeded after 35253ms
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1580992735948 (18:08:55 GMT+0530 (India Standard Time))
[WebDriverAgent] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[WebDriverAgent] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[DevCon Factory] Requesting connection for device DeviceIDon local port 8100, device port 8100
[debug] [DevCon Factory] Cached connections count: 0
[DevCon Factory] Successfully requested the connection for DEVICEUDID :8100
[debug] [XCUITest] 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
[iProxy@00008027] Error: Connection was refused to port 8100
[iProxy@00008027] at Usbmux.connect (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/usbmux/index.js:207:13)
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[debug] [WebDriverAgent] WDA is not listening at 'http://127.0.0.1:8100/'
[debug] [WebDriverAgent] WDA is currently not running. There is nothing to cache
[debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval
[debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1580992736065 (18:08:56 GMT+0530 (India Standard Time))
[WebDriverAgent] Launching WebDriverAgent on the device
[WebDriverAgent] Fetching dependencies
[WebDriverAgent] Dependencies up-to-date
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*DEVICEUDID ' for the device DEVICEUDID ...
[debug] [WebDriverAgent] 'pgrep -ifn xcodebuild.*DEVICEUDID ' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=DeviceIDIPHONEOS_DEPLOYMENT_TARGET=13.2 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[debug] [WebDriverAgent] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
[XCUITest] Error: Could not install '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37567-o3cki2.da3f/Payload/APPNAME ':
[XCUITest] - Unexpected response UNKNOWN
[XCUITest] - 2020-02-06 18:08:56.280 ios-deploy[37581:3524414] [ !! ] Error 0xe8000067: There was an internal API error. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
[XCUITest]
[XCUITest] at IOSDeploy.install (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:56:15)
[DevCon Factory] Releasing connections for DeviceIDdevice on any port number
[DevCon Factory] Found cached connections to release: ["DEVICEUDID :8100"]
[DevCon Factory] Releasing the listener for 'DEVICEUDID :8100'
[debug] [DevCon Factory] Cached connections count: 0
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1580992736666 (18:08:56 GMT+0530 (India Standard Time))
[debug] [W3C] Encountered internal error running command: Error: Could not install '/var/folders/q0/k535xsx14dx0vv_qvlwqr0yh0000gn/T/202016-37567-o3cki2.da3f/Payload/APPNAME ':
[debug] [W3C] - Unexpected response UNKNOWN
[debug] [W3C] - 2020-02-06 18:08:56.280 ios-deploy[37581:3524414] [ !! ] Error 0xe8000067: There was an internal API error. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
[debug] [W3C]
[debug] [W3C] at IOSDeploy.install (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:56:15)
[debug] [W3C] Destroying socket connection
[HTTP] <-- POST /wd/hub/session 500 34941 ms - 1183
[HTTP] 
[Appium] Received SIGTERM - shutting down
[Xcode] Build settings from command line:
[debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start
[Xcode]
[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
[Xcode] COMPILER_INDEX_STORE_ENABLE = NO
[Xcode] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[Xcode]
[Xcode]
[WD Proxy] Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[Xcode] 2020-02-06 18:08:58.591 xcodebuild[37588:3525046] DTDeviceKit: deviceType from DeviceID was NULL
[Xcode]
[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
[WD Proxy] Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[Xcode] 2020-02-06 18:08:58.877 xcodebuild[37588:3525047] DTDeviceKit: deviceType from DeviceID was NULL
[Xcode]
[Xcode] note: Using new build system
[Xcode]
[Xcode] note: Planning build
[Xcode]
[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
[WD Proxy] Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[Xcode] note: Using build description from disk
[Xcode]
[Xcode] ** TEST BUILD SUCCEEDED **
[Xcode]
[Xcode]
[Xcode] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[Xcode] Reason: Testing couldn’t begin on the device “iPad”: Logic Testing Unavailable
[Xcode] Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator.
[Xcode]
[WebDriverAgent] xcodebuild exited with code '70' and signal 'null'
[WebDriverAgent] Launching WebDriverAgent on the device
[WebDriverAgent] Fetching dependencies
[WebDriverAgent] Dependencies up-to-date
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*DEVICEUDID ' for the device DEVICEUDID ...
[debug] [WebDriverAgent] 'pgrep -ifn xcodebuild.*DEVICEUDID ' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=DeviceIDIPHONEOS_DEPLOYMENT_TARGET=13.2 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[debug] [WebDriverAgent] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
[Xcode] Build settings from command line:
[Xcode]
[debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start
[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
[Xcode] COMPILER_INDEX_STORE_ENABLE = NO
[Xcode] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 13.2
[Xcode]
[Xcode]
[WD Proxy] Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":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
[WD Proxy] Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[Xcode] 2020-02-06 18:09:01.315 xcodebuild[37600:3525222] DTDeviceKit: deviceType from DeviceIDwas NULL
[Xcode]
[Xcode] 2020-02-06 18:09:01.608 xcodebuild[37600:3525216] DTDeviceKit: deviceType from DeviceIDwas NULL
[Xcode]
[Xcode] note: Using new build system
[Xcode]
[Xcode] note: Planning build
[Xcode]
[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
[WD Proxy] Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":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
[WD Proxy] Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment