Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65

See original GitHub issue

I’m trying to run Appium-ios project (simulator) through GitLab CI on server. There wasn’t errors when in run on my local comp. But now I am receiving error Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65

[Appium] Welcome to Appium v1.16.0 85 [Appium] Non-default server args: 86 [Appium] address: 127.0.0.1 87 [Appium] port: 3798 88 [Appium] sessionOverride: true 89 [Appium] relaxedSecurityEnabled: true 90 [Appium] Appium REST http interface listener started on 127.0.0.1:3798 91 [HTTP] --> GET /wd/hub/status 92 [HTTP] {} 93 [debug] [GENERIC] Calling AppiumDriver.getStatus() with args: [] 94 [debug] [GENERIC] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.16.0”}} 95 [HTTP] <-- GET /wd/hub/status 200 4 ms - 68 96 [HTTP] 97 port 3798 98 [HTTP] --> GET /wd/hub/status 99 [HTTP] {} 100 [debug] [GENERIC] Calling AppiumDriver.getStatus() with args: [] 101 [debug] [GENERIC] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.16.0”}} 102 [HTTP] <-- GET /wd/hub/status 200 1 ms - 68 103 [HTTP] 104 [HTTP] --> POST /wd/hub/session 105 [HTTP] {“desiredCapabilities”:{“app”:“app/app",“simpleIsVisibleCheck”:true,“noReset”:true,“useJSONSource”:true,“platformVersion”:“13.2”,“scaleFactor”:“1.0”,“useNewWDA”:true,“platformName”:“iOS”,“deviceName”:“iPhone 11”},“capabilities”:{“firstMatch”:[{“appium:app”:"app/.app”,“appium:deviceName”:“iPhone 11”,“appium:noReset”:true,“platformName”:“ios”,“appium:platformVersion”:“13.2”,“appium:scaleFactor”:“1.0”,“appium:simpleIsVisibleCheck”:true,“useJSONSource”:true,“appium:useNewWDA”:true}]}} 106 [debug] [W3C] Calling AppiumDriver.createSession() with args: [{“app”:“app/.app",“simpleIsVisibleCheck”:true,“noReset”:true,“useJSONSource”:true,“platformVersion”:“13.2”,“scaleFactor”:“1.0”,“useNewWDA”:true,“platformName”:“iOS”,“deviceName”:“iPhone 11”},null,{“firstMatch”:[{“appium:app”:"app/.app”,“appium:deviceName”:“iPhone 11”,“appium:noReset”:true,“platformName”:“ios”,“appium:platformVersion”:“13.2”,“appium:scaleFactor”:“1.0”,“appium:simpleIsVisibleCheck”:true,“useJSONSource”:true,“appium:useNewWDA”:true}]}] 107 [debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1580983699604 (12:08:19 GMT+0200 (Eastern European Standard Time)) 108 [BaseDriver] The capabilities [“useJSONSource”] are not standard capabilities and should have an extension prefix 109 [Appium] DeprecationWarning: ‘automationName’ capability was not provided. Future versions of Appium will require ‘automationName’ capability to be set for iOS sessions. 110 [Appium] Requested iOS support with version >= 10, using ‘XCUITest’ driver instead of UIAutomation-based driver, since the latter is unsupported on iOS 10 and up. 111 [Appium] Appium v1.16.0 creating new XCUITestDriver (v3.10.1) session 112 [Appium] Applying relaxed security to ‘XCUITestDriver’ as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure 113 [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided 114 [debug] [BaseDriver] Creating session with W3C capabilities: { 115 [debug] [BaseDriver] “alwaysMatch”: { 116 [debug] [BaseDriver] “platformName”: “ios”, 117 [debug] [BaseDriver] “appium:useJSONSource”: true, 118 [debug] [BaseDriver] “appium:app”: "app/.app", 119 [debug] [BaseDriver] “appium:deviceName”: “iPhone 11”, 120 [debug] [BaseDriver] “appium:noReset”: true, 121 [debug] [BaseDriver] “appium:platformVersion”: “13.2”, 122 [debug] [BaseDriver] “appium:scaleFactor”: “1.0”, 123 [debug] [BaseDriver] “appium:simpleIsVisibleCheck”: true, 124 [debug] [BaseDriver] “appium:useNewWDA”: true 125 [debug] [BaseDriver] }, 126 [debug] [BaseDriver] “firstMatch”: [ 127 [debug] [BaseDriver] {} 128 [debug] [BaseDriver] ] 129 [debug] [BaseDriver] } 130 [BaseDriver] Session created with session id: 6bbc9421-f233-4833-a267-dd9a48d861e6 131 [debug] [XCUITest] Current user: ‘qa’ 132 [XCUITest] iOS SDK Version set to ‘13.2’ 133 [iOSSim] Constructing iOS simulator for Xcode version 11.2.1 with udid ‘F07F8942-94A0-430C-A83C-AB34C84C8787’ 134 [XCUITest] Determining device to run tests on: udid: ‘F07F8942-94A0-430C-A83C-AB34C84C8787’, real device: false 135 [debug] [BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1580983700343 (12:08:20 GMT+0200 (Eastern European Standard Time)) 136 [BaseDriver] Using local app 'app/.app’ 137 [BaseDriver] The current application path ‘app/.app’ is not absolute and has been rewritten to '/Users/qa/builds/hsEggDJW/0/qa/app-check-events/app/.app’. Consider using absolute paths rather than relative 138 [debug] [BaseDriver] Event ‘appConfigured’ logged at 1580983700349 (12:08:20 GMT+0200 (Eastern European Standard Time)) 139 [debug] [XCUITest] Checking whether app ‘/Users/qa/builds/hsEggDJW/0/qa/app-check-events/app/.app’ is actually present on file system 140 [debug] [XCUITest] App is present 141 [debug] [iOS] Getting bundle ID from app '/Users/qa/builds/hsEggDJW/0/qa/app-check-events/app/.app’: ‘’ 142 [debug] [BaseDriver] Event ‘resetStarted’ logged at 1580983700351 (12:08:20 GMT+0200 (Eastern European Standard Time)) 143 [debug] [XCUITest] Reset: noReset is on. Leaving simulator as is 144 [debug] [BaseDriver] Event ‘resetComplete’ logged at 1580983700352 (12:08:20 GMT+0200 (Eastern European Standard Time)) 145 [debug] [IOSSimulatorLog] Starting log capture for iOS Simulator with udid ‘F07F8942-94A0-430C-A83C-AB34C84C8787’, using ‘xcrun simctl spawn F07F8942-94A0-430C-A83C-AB34C84C8787 log stream --style compact’ 146 [debug] [BaseDriver] Event ‘logCaptureStarted’ logged at 1580983700606 (12:08:20 GMT+0200 (Eastern European Standard Time)) 147 [XCUITest] Setting up simulator 148 [debug] [iOS] No reason to set locale 149 [debug] [iOS] No iOS / app preferences to set 150 [debug] [iOS] Setting did not need to be updated 151 [debug] [iOSSim] Setting preferences of F07F8942-94A0-430C-A83C-AB34C84C8787 Simulator to {“SimulatorWindowLastScale”:1,“ConnectHardwareKeyboard”:false} 152 [debug] [iOSSim] Setting common Simulator preferences to {“RotateWindowWhenSignaledByGuest”:true,“ConnectHardwareKeyboard”:false} 153 [iOSSim] Simulator preferences file ‘/Users/qa/Library/Preferences/com.apple.iphonesimulator.plist’ is not accessible. Ignoring Simulator preferences update. 154 [debug] [iOSSim] Got Simulator UI client PID: 13086 155 [iOSSim] Both Simulator with UDID F07F8942-94A0-430C-A83C-AB34C84C8787 and the UI client are currently running 156 [debug] [BaseDriver] Event ‘simStarted’ logged at 1580983700710 (12:08:20 GMT+0200 (Eastern European Standard Time)) 157 [debug] [XCUITest] Verifying application platform 158 [debug] [XCUITest] CFBundleSupportedPlatforms: [“iPhoneSimulator”] 159 [debug] [XCUITest] App '’ is already installed. No need to reinstall. 160 [debug] [BaseDriver] Event ‘appInstalled’ logged at 1580983700795 (12:08:20 GMT+0200 (Eastern European Standard Time)) 161 [XCUITest] Using WDA path: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent’ 162 [XCUITest] Using WDA agent: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj’ 163 [debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found 164 [DevCon Factory] Requesting connection for device F07F8942-94A0-430C-A83C-AB34C84C8787 on local port 8100, device port 8100 165 [debug] [DevCon Factory] Cached connections count: 0 166 [DevCon Factory] Successfully requested the connection for F07F8942-94A0-430C-A83C-AB34C84C8787:8100 167 [debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key ‘XCUITestDriver’ 168 [debug] [XCUITest] Capability ‘useNewWDA’ set to true, so uninstalling WDA before proceeding 169 [XCUITest] Shutting down sub-processes 170 [debug] [iOSSim] Building bundle path map 171 [debug] [iOSSim] The simulator has ‘1’ bundles which have ‘WebDriverAgentRunner-Runner’ as their ‘CFBundleName’: 172 [debug] [iOSSim] ‘com.facebook.WebDriverAgentRunner.xctrunner’ 173 [debug] [XCUITest] Uninstalling WDAs: ‘com.facebook.WebDriverAgentRunner.xctrunner’ 174 [debug] [BaseDriver] Event ‘wdaUninstalled’ logged at 1580983702037 (12:08:22 GMT+0200 (Eastern European Standard Time)) 175 [debug] [XCUITest] Trying to start WebDriverAgent 2 times with 10000ms interval 176 [debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities 177 [debug] [BaseDriver] Event ‘wdaStartAttempted’ logged at 1580983702038 (12:08:22 GMT+0200 (Eastern European Standard Time)) 178 [XCUITest] Launching WebDriverAgent on the device 179 [WebDriverAgent] Fetching dependencies 180 [WebDriverAgent] Dependencies up-to-date 181 [debug] [XCUITest] Killing running processes ‘xcodebuild.*F07F8942-94A0-430C-A83C-AB34C84C8787, F07F8942-94A0-430C-A83C-AB34C84C8787.*XCTRunner, xctest.*F07F8942-94A0-430C-A83C-AB34C84C8787’ for the device F07F8942-94A0-430C-A83C-AB34C84C8787… 182 [debug] [XCUITest] ‘pgrep -ifn xcodebuild.*F07F8942-94A0-430C-A83C-AB34C84C8787’ didn’t detect any matching processes. Return code: 1 183 [debug] [XCUITest] ‘pgrep -ifn F07F8942-94A0-430C-A83C-AB34C84C8787.*XCTRunner’ didn’t detect any matching processes. Return code: 1 184 [debug] [XCUITest] ‘pgrep -ifn xctest.*F07F8942-94A0-430C-A83C-AB34C84C8787’ didn’t detect any matching processes. Return code: 1 185 [debug] [XCUITest] 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=F07F8942-94A0-430C-A83C-AB34C84C8787 IPHONEOS_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’ 186 [debug] [XCUITest] Output from xcodebuild will only be logged if any errors are present there. To change this, use ‘showXcodeLog’ desired capability 187 [debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start 188 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 189 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 190 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 191 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 192 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 193 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 194 [debug] [XCUITest] Log file for xcodebuild test: /Users/qa/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.06_12-08-24-+0200.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-DF7EA869-910B-4E64-9823-804191E1933A/WebDriverAgentRunner-F9BB150C-F9B1-4C4D-AAD5-3E2E39FF2AA0/Session-WebDriverAgentRunner-2020-02-06_120825-RzdvqC.log 195 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 196 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 197 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 198 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 199 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 200 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 201 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 202 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 203 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 204 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 205 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 206 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 207 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 208 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 209 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 210 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 211 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 212 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 213 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 214 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 215 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 216 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 217 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 218 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 219 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 220 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 221 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 222 [XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’ 223 [XCUITest] Launching WebDriverAgent on the device 224 [WebDriverAgent] Fetching dependencies 225 [WebDriverAgent] Dependencies up-to-date 226 [debug] [XCUITest] Killing running processes ‘xcodebuild.*F07F8942-94A0-430C-A83C-AB34C84C8787, F07F8942-94A0-430C-A83C-AB34C84C8787.*XCTRunner, xctest.*F07F8942-94A0-430C-A83C-AB34C84C8787’ for the device F07F8942-94A0-430C-A83C-AB34C84C8787… 227 [debug] [XCUITest] ‘pgrep -ifn xcodebuild.*F07F8942-94A0-430C-A83C-AB34C84C8787’ didn’t detect any matching processes. Return code: 1 228 [debug] [XCUITest] ‘pgrep -ifn F07F8942-94A0-430C-A83C-AB34C84C8787.*XCTRunner’ didn’t detect any matching processes. Return code: 1 229 [debug] [XCUITest] ‘pgrep -ifn xctest.*F07F8942-94A0-430C-A83C-AB34C84C8787’ didn’t detect any matching processes. Return code: 1 230 [debug] [XCUITest] 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=F07F8942-94A0-430C-A83C-AB34C84C8787 IPHONEOS_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’ 231 [debug] [XCUITest] Output from xcodebuild will only be logged if any errors are present there. To change this, use ‘showXcodeLog’ desired capability 232 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 233 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 234 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 235 [debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start 236 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 237 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 238 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 239 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 240 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 241 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 242 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 243 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 244 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 245 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 246 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 247 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 248 [debug] [XCUITest] Log file for xcodebuild test: /Users/qa/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.06_12-08-37-+0200.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-FC352C17-4D57-4EEA-93BD-CF777B503E5D/WebDriverAgentRunner-D7C0201F-7B4C-446E-BB5A-F5DB9E583E81/Session-WebDriverAgentRunner-2020-02-06_120837-kbqaM6.log 249 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 250 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 251 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 252 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 253 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 254 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 255 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 256 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 257 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 258 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 259 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 260 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 261 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 262 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 263 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 264 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 265 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 266 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 267 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 268 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 269 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 270 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 271 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 272 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 273 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 274 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 275 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 276 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 277 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 278 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 279 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 280 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 281 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 282 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 283 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 284 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 285 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 286 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 287 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 288 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 289 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 290 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 291 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 292 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 293 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 294 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 295 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 296 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 297 [XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’ 298 [debug] [BaseDriver] Event ‘wdaStartFailed’ logged at 1580983725833 (12:08:45 GMT+0200 (Eastern European Standard Time)) 299 [debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 300 [debug] [XCUITest] xcodebuild error message: 301 [debug] [XCUITest] 302 [XCUITest] Quitting and uninstalling WebDriverAgent 303 [XCUITest] Shutting down sub-processes 304 [debug] [iOSSim] Building bundle path map 305 [debug] [iOSSim] The simulator has ‘1’ bundles which have ‘WebDriverAgentRunner-Runner’ as their ‘CFBundleName’: 306 [debug] [iOSSim] ‘com.facebook.WebDriverAgentRunner.xctrunner’ 307 [debug] [XCUITest] Uninstalling WDAs: ‘com.facebook.WebDriverAgentRunner.xctrunner’ 308 [debug] [BaseDriver] Event ‘wdaStartAttempted’ logged at 1580983737111 (12:08:57 GMT+0200 (Eastern European Standard Time)) 309 [XCUITest] Retrying WDA startup (2 of 2) 310 [XCUITest] Launching WebDriverAgent on the device 311 [WebDriverAgent] Fetching dependencies 312 [WebDriverAgent] Dependencies up-to-date 313 [debug] [XCUITest] Killing running processes ‘xcodebuild.*F07F8942-94A0-430C-A83C-AB34C84C8787, F07F8942-94A0-430C-A83C-AB34C84C8787.*XCTRunner, xctest.*F07F8942-94A0-430C-A83C-AB34C84C8787’ for the device F07F8942-94A0-430C-A83C-AB34C84C8787… 314 [debug] [XCUITest] ‘pgrep -ifn xcodebuild.*F07F8942-94A0-430C-A83C-AB34C84C8787’ didn’t detect any matching processes. Return code: 1 315 [debug] [XCUITest] ‘pgrep -ifn F07F8942-94A0-430C-A83C-AB34C84C8787.*XCTRunner’ didn’t detect any matching processes. Return code: 1 316 [debug] [XCUITest] ‘pgrep -ifn xctest.*F07F8942-94A0-430C-A83C-AB34C84C8787’ didn’t detect any matching processes. Return code: 1 317 [debug] [XCUITest] 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=F07F8942-94A0-430C-A83C-AB34C84C8787 IPHONEOS_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’ 318 [debug] [XCUITest] Output from xcodebuild will only be logged if any errors are present there. To change this, use ‘showXcodeLog’ desired capability 319 [debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start 320 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 321 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 322 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 323 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 324 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 325 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 326 [debug] [XCUITest] Log file for xcodebuild test: /Users/qa/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.06_12-08-59-+0200.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-E4FFF063-DC1D-479B-8858-CFBA20C69598/WebDriverAgentRunner-F0A465F3-E7A4-4D79-90F7-FDB6A0584A9C/Session-WebDriverAgentRunner-2020-02-06_120859-1pjzpc.log 327 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 328 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 329 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 330 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 331 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 332 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 333 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 334 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 335 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 336 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 337 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 338 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 339 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 340 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 341 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 342 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 343 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 344 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 345 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 346 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 347 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 348 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 349 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 350 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 351 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 352 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 353 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 354 [XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’ 355 [XCUITest] Launching WebDriverAgent on the device 356 [WebDriverAgent] Fetching dependencies 357 [WebDriverAgent] Dependencies up-to-date 358 [debug] [XCUITest] Killing running processes ‘xcodebuild.*F07F8942-94A0-430C-A83C-AB34C84C8787, F07F8942-94A0-430C-A83C-AB34C84C8787.*XCTRunner, xctest.*F07F8942-94A0-430C-A83C-AB34C84C8787’ for the device F07F8942-94A0-430C-A83C-AB34C84C8787… 359 [debug] [XCUITest] ‘pgrep -ifn xcodebuild.*F07F8942-94A0-430C-A83C-AB34C84C8787’ didn’t detect any matching processes. Return code: 1 360 [debug] [XCUITest] ‘pgrep -ifn F07F8942-94A0-430C-A83C-AB34C84C8787.*XCTRunner’ didn’t detect any matching processes. Return code: 1 361 [debug] [XCUITest] ‘pgrep -ifn xctest.*F07F8942-94A0-430C-A83C-AB34C84C8787’ didn’t detect any matching processes. Return code: 1 362 [debug] [XCUITest] 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=F07F8942-94A0-430C-A83C-AB34C84C8787 IPHONEOS_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’ 363 [debug] [XCUITest] Output from xcodebuild will only be logged if any errors are present there. To change this, use ‘showXcodeLog’ desired capability 364 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 365 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 366 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 367 [debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start 368 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 369 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 370 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 371 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 372 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 373 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 374 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 375 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 376 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 377 [debug] [XCUITest] Log file for xcodebuild test: /Users/qa/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.06_12-09-12-+0200.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-79DD35E8-C481-425D-BFF3-8FD334AA74C6/WebDriverAgentRunner-71F949A7-6E3A-4EEF-A86F-529D9205C274/Session-WebDriverAgentRunner-2020-02-06_120912-1UNJ2C.log 378 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 379 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 380 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 381 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 382 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 383 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 384 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 385 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 386 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 387 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 388 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 389 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 390 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 391 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 392 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 393 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 394 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 395 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 396 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 397 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 398 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 399 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 400 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 401 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 402 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 403 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 404 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 405 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 406 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 407 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 408 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 409 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 410 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 411 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 412 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 413 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 414 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 415 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 416 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 417 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 418 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 419 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 420 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 421 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 422 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 423 [debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’ 424 [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body 425 [WD Proxy] Got an unexpected response with status undefined: {“errno”:-61,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:8100} 426 [XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’ 427 [debug] [BaseDriver] Event ‘wdaStartFailed’ logged at 1580983760370 (12:09:20 GMT+0200 (Eastern European Standard Time)) 428 [debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 429 [debug] [XCUITest] xcodebuild error message: 430 [debug] [XCUITest] 431 [XCUITest] Quitting and uninstalling WebDriverAgent 432 [XCUITest] Shutting down sub-processes 433 [debug] [iOSSim] Building bundle path map 434 [debug] [iOSSim] The simulator has ‘1’ bundles which have ‘WebDriverAgentRunner-Runner’ as their ‘CFBundleName’: 435 [debug] [iOSSim] ‘com.facebook.WebDriverAgentRunner.xctrunner’ 436 [debug] [XCUITest] Uninstalling WDAs: ‘com.facebook.WebDriverAgentRunner.xctrunner’ 437 [XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 438 [XCUITest] xcodebuild error message: 439 [XCUITest] 440 [XCUITest] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:519:15) 441 [XCUITest] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:549:11 442 [XCUITest] at wrapped (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:35:13) 443 [XCUITest] at retry (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox[DevCon .js:18Facto:13) 444 y] Releam[XCUITest]sing connetionsm at retryInterval (/ for F07F8942-94A0-430C-Ausr/local/lib/node_modules/appiu83C-AB3m/node_modu4C84C8787 les/asyncbox/lib/asyncbox.js:45:10) 445 [XCUITest] at device on any port numb/usr/local/lib/node_modules/appier 446 [Deum/node_modules/appium-xcvCon Factory] Found cached connections to release: [“F07F8942-94A0-430C-A83C-AB34C84C8787:8100”] 447 uitest-driver/lib/driver.js:529:7 448 [debug] [DevCon Factory] Cached connections count: 0 449 [debug] [XCUITest] Not clearing log files. Use clearSystemFiles capability to turn on. 450 [debug] [IOSSimulatorLog] Stopping iOS log capture 451 [debug] [BaseDriver] Event ‘newSessionStarted’ logged at 1580983761529 (12:09:21 GMT+0200 (Eastern European Standard Time)) 452 [debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 453 [debug] [W3C] xcodebuild error message: 454 [debug] [W3C] 455 [debug] [W3C] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:519:15) 456 [debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:549:11 457 [debug] [W3C] at wrapped (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:35:13) 458 [debug] [W3C] at retry (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:18:13) 459 [debug] [W3C] at retryInterval (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:45:10) 460 [debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:529:7 461 [HTTP] <-- POST /wd/hub/session 500 61944 ms - 741 462 [HTTP] 463 [main] ERROR io.qameta.allure.AllureLifecycle - Could not update step: no step running 464 [main] ERROR io.qameta.allure.AllureLifecycle - Could not stop step: no step running 465 [main] ERROR io.qameta.allure.AllureLifecycle - Could not add attachment: no test is running 466 Thu, 6 Feb 467 Thu, 6 Feb 468 true 469 true 470 [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 66.354 s <<< FAILURE! - in AllEventsTest 471 [ERROR] AllEventsTest Time elapsed: 66.335 s <<< ERROR! 472 org.openqa.selenium.SessionNotCreatedException: 473 Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 474 xcodebuild error message: 475 Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:17:03’ 476 System info: host: ‘mac-mini-yoga.local’, ip: ‘fe80:0:0:0:102f:a82c:61d7:a25a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.1’, java.version: ‘13.0.2’ 477 Driver info: driver.version: IOSDriver 478 remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 479 xcodebuild error message: 480 at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9) 481 at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:388:37) 482 Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:17:03’ 483 System info: host: ‘mac-mini-yoga.local’, ip: ‘fe80:0:0:0:102f:a82c:61d7:a25a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.1’, java.version: ‘13.0.2’ 484 Driver info: driver.version: IOSDriver 485 at AllEventsTest.setUp(AllEventsTest.java:43) 486 Caused by: java.lang.reflect.InvocationTargetException 487 at AllEventsTest.setUp(AllEventsTest.java:43) 488 Caused by: org.openqa.selenium.WebDriverException: 489 An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 490 xcodebuild error message: 491 Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:17:03’ 492 System info: host: ‘mac-mini-yoga.local’, ip: ‘fe80:0:0:0:102f:a82c:61d7:a25a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.1’, java.version: ‘13.0.2’ 493 Driver info: driver.version: IOSDriver 494 remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 495 xcodebuild error message: 496 at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9) 497 at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:388:37) 498 at AllEventsTest.setUp(AllEventsTest.java:43) 499 [INFO] 500 [INFO] Results: 501 [INFO] 502 [ERROR] Errors: 503 [ERROR] AllEventsTest.setUp:43->BaseTest.setDriverAndDeviceLocale:74->BaseTest.getDriver:135 » SessionNotCreated 504 [INFO] 505 [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 506 [INFO] 507 [INFO] ------------------------------------------------------------------------ 508 [INFO] BUILD FAILURE 509 [INFO] ------------------------------------------------------------------------ 510 [INFO] Total time: 01:14 min 511 [INFO] Finished at: 2020-02-06T12:09:24+02:00 512 [INFO] ------------------------------------------------------------------------ 513 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project com.muscle_booster.test: There are test failures. 514 [ERROR] 515 [ERROR] Please refer to /Users/qa/builds/hsEggDJW/0/qa/app-check-events/target/surefire-reports for the individual test results. 516 [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. 517 [ERROR] -> [Help 1] 518 [ERROR] 519 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 520 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 521 [ERROR] 522 [ERROR] For more information about the errors and possible solutions, please read the following articles: 523 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
mykola-mokhnachcommented, Feb 8, 2020

Closed as not a server issue

1reaction
mykola-mokhnachcommented, Feb 6, 2020

270 [Xcode] WebDriverAgentRunner-Runner.app (78980) encountered an error (The test runner failed to initialize for UI testing. (Underlying error: Failed call to AXDisableAccessibilityOnTermination: kAXErrorCannotComplete))

This is the cause. Although, there is nothing we can do there on Appium side, since the error is caused by XCTest. I would try to reset the Simulator/run the tests on the other machine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to launch WebDriverAgent because of xcodebuild failure
Original error: Unable to launch WebDriverAgent because of xcodebuild failure: “xcodebuild failed with code 65”. Make sure you follow the tutorial at ...
Read more >
Unable to launch WebDriverAgent because of xcodebuild failure
Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 ; DesiredCapabilities(); desCapabilities.
Read more >
xcodebuild failed with code 65 Using Xcode14 and Appium ...
I got issue Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed ...
Read more >
Error: Unable to launch WebDriverAgent because of ...
Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 xcodebuild error message:
Read more >
Appium error [resolved] - Unable to launch WebDriverAgent ...
Most of times, if you have setup ios for appium tests, you might get error “Unable to launch WebDriverAgent because of xcodebuild failure: ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found