Guest User

Untitled

a guest
Apr 22nd, 2020
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.24 KB | None | 0 0
  1. Last login: Wed Apr 22 19:03:16 on ttys001
  2. isururodrigo@Isurus-MBP ~ % appium
  3. [Appium] Welcome to Appium v1.17.1-beta.0
  4. [Appium] Appium REST http interface listener started on 0.0.0.0:4723
  5. [HTTP] --> POST /wd/hub/session
  6. [HTTP] {"desiredCapabilities":{"app":"/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app","noReset":true,"platformVersion":"12.2","automationName":"XCuiTest","platformName":"iOS","udid":"00008020-001D650021D8002E","deviceName":"iPhone XS Max","fullReset":false,"wdaLocalPort":"8100"},"capabilities":{"alwaysMatch":{"appium:app":"/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app","appium:automationName":"XCuiTest","appium:deviceName":"iPhone XS Max","appium:fullReset":false,"appium:noReset":true,"platformName":"ios","appium:platformVersion":"12.2","appium:udid":"00008020-001D650021D8002E","appium:wdaLocalPort":"8100"},"firstMatch":[{}]}}
  7. [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app","noReset":true,"platformVersion":"12.2","automationName":"XCuiTest","platformName":"iOS","udid":"00008020-001D650021D8002E","deviceName":"iPhone XS Max","fullReset":false,"wdaLocalPort":"8100"},null,{"alwaysMatch":{"appium:app":"/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app","appium:automationName":"XCuiTest","appium:deviceName":"iPhone XS Max","appium:fullReset":false,"appium:noReset":true,"platformName":"ios","appium:platformVersion":"12.2","appium:udid":"00008020-001D650021D8002E","appium:wdaLocalPort":"8100"},"firstMatch":[{}]}]
  8. [debug] [BaseDriver] Event 'newSessionRequested' logged at 1587553833545 (19:10:33 GMT+0800 (Singapore Standard Time))
  9. [Appium] Appium v1.17.1-beta.0 creating new XCUITestDriver (v3.22.0) session
  10. [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
  11. [debug] [BaseDriver] Creating session with W3C capabilities: {
  12. [debug] [BaseDriver] "alwaysMatch": {
  13. [debug] [BaseDriver] "platformName": "ios",
  14. [debug] [BaseDriver] "appium:app": "/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app",
  15. [debug] [BaseDriver] "appium:automationName": "XCuiTest",
  16. [debug] [BaseDriver] "appium:deviceName": "iPhone XS Max",
  17. [debug] [BaseDriver] "appium:fullReset": false,
  18. [debug] [BaseDriver] "appium:noReset": true,
  19. [debug] [BaseDriver] "appium:platformVersion": "12.2",
  20. [debug] [BaseDriver] "appium:udid": "00008020-001D650021D8002E",
  21. [debug] [BaseDriver] "appium:wdaLocalPort": "8100"
  22. [debug] [BaseDriver] },
  23. [debug] [BaseDriver] "firstMatch": [
  24. [debug] [BaseDriver] {}
  25. [debug] [BaseDriver] ]
  26. [debug] [BaseDriver] }
  27. [BaseDriver] Number capability passed in as string. Functionality may be compromised.
  28. [BaseDriver] Capability 'wdaLocalPort' changed from string ('8100') to integer (8100). This may cause unexpected behavior
  29. [BaseDriver] Session created with session id: a3beacc7-7200-4364-83fe-8714a2f5cd79
  30. [debug] [XCUITest] Current user: 'isururodrigo'
  31. [debug] [XCUITest] Available devices: 00008020-001D650021D8002E
  32. [debug] [XCUITest] Creating iDevice object with udid '00008020-001D650021D8002E'
  33. [XCUITest] Determining device to run tests on: udid: '00008020-001D650021D8002E', real device: true
  34. [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1587553834338 (19:10:34 GMT+0800 (Singapore Standard Time))
  35. [BaseDriver] Using local app '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app'
  36. [debug] [BaseDriver] Event 'appConfigured' logged at 1587553834340 (19:10:34 GMT+0800 (Singapore Standard Time))
  37. [debug] [XCUITest] Checking whether app '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app' is actually present on file system
  38. [debug] [XCUITest] App is present
  39. [debug] [iOS] Getting bundle ID from app '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app': 'com.stb.visitsingapore-staging'
  40. [debug] [BaseDriver] Event 'resetStarted' logged at 1587553834344 (19:10:34 GMT+0800 (Singapore Standard Time))
  41. [debug] [XCUITest] Reset: fullReset not set. Leaving as is
  42. [debug] [BaseDriver] Event 'resetComplete' logged at 1587553834344 (19:10:34 GMT+0800 (Singapore Standard Time))
  43. [debug] [XCUITest] Crash reports root '/Users/isururodrigo/Library/Logs/CrashReporter/MobileDevice/iPhone' does not exist. Got nothing to gather.
  44. [debug] [BaseDriver] Event 'logCaptureStarted' logged at 1587553834615 (19:10:34 GMT+0800 (Singapore Standard Time))
  45. [XCUITest] Setting up real device
  46. [debug] [XCUITest] Verifying application platform
  47. [debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
  48. [debug] [XCUITest] Installing '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app' on device with UUID '00008020-001D650021D8002E'...
  49. [debug] [Support] Traversed 581 directories and 2530 files in 24653ms
  50. [debug] [XCUITest] Pushed the app files successfully after 24782ms
  51. [XCUITest] App installation succeeded after 27415ms
  52. [debug] [XCUITest] The app has been installed successfully.
  53. [debug] [BaseDriver] Event 'appInstalled' logged at 1587553862269 (19:11:02 GMT+0800 (Singapore Standard Time))
  54. [WebDriverAgent] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
  55. [WebDriverAgent] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
  56. [debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
  57. [DevCon Factory] Requesting connection for device 00008020-001D650021D8002E on local port 8100, device port 8100
  58. [debug] [DevCon Factory] Cached connections count: 0
  59. [DevCon Factory] Successfully requested the connection for 00008020-001D650021D8002E:8100
  60. [debug] [WebDriverAgent] Parsed BUILD_DIR configuration value: '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products'
  61. [debug] [WebDriverAgent] Got derived data root: '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu'
  62. [debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu'
  63. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  64. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  65. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  66. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  67. [debug] [WebDriverAgent] WDA is not listening at 'http://127.0.0.1:8100/'
  68. [debug] [WebDriverAgent] WDA is currently not running. There is nothing to cache
  69. [debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval
  70. [debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
  71. [debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1587553865463 (19:11:05 GMT+0800 (Singapore Standard Time))
  72. [WebDriverAgent] Launching WebDriverAgent on the device
  73. [WebDriverAgent] Fetching dependencies
  74. [WebDriverAgent] Dependencies up-to-date
  75. [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*00008020-001D650021D8002E' for the device 00008020-001D650021D8002E...
  76. [debug] [WebDriverAgent] 'pgrep -if xcodebuild.*00008020-001D650021D8002E' didn't detect any matching processes. Return code: 1
  77. [debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu -destination id=00008020-001D650021D8002E IPHONEOS_DEPLOYMENT_TARGET=12.2 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
  78. [debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
  79. [debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start
  80. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  81. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  82. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  83. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  84. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  85. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  86. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  87. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  88. [debug] [WebDriverAgent] Log file for xcodebuild test: /Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2020.04.22_19-11-07-+0800.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-D8058E3B-2CA8-4859-B73B-99FFC66C64B1/WebDriverAgentRunner-FDAF3E48-DCEB-4A83-9AE7-E1C5DFD2B93D/Session-WebDriverAgentRunner-2020-04-22_191107-2Kd4Ve.log
  89. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  90. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  91. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  92. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  93. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  94. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  95. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  96. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  97. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  98. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  99. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  100. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  101. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  102. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  103. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  104. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  105. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  106. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  107. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  108. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  109. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  110. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  111. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  112. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  113. [WebDriverAgent] xcodebuild exited with code '65' and signal 'null'
  114. [WebDriverAgent] Launching WebDriverAgent on the device
  115. [WebDriverAgent] Fetching dependencies
  116. [WebDriverAgent] Dependencies up-to-date
  117. [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*00008020-001D650021D8002E' for the device 00008020-001D650021D8002E...
  118. [debug] [WebDriverAgent] 'pgrep -if xcodebuild.*00008020-001D650021D8002E' didn't detect any matching processes. Return code: 1
  119. [debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu -destination id=00008020-001D650021D8002E IPHONEOS_DEPLOYMENT_TARGET=12.2 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
  120. [debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
  121. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  122. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  123. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  124. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  125. [debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start
  126. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  127. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  128. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  129. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  130. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  131. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  132. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  133. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  134. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  135. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  136. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  137. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  138. [debug] [WebDriverAgent] Log file for xcodebuild test: /Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2020.04.22_19-11-15-+0800.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-6F22C1BD-68E5-41E7-84DC-9D159DB53115/WebDriverAgentRunner-2081D86C-39BA-4C0E-A90C-4DE55B222C92/Session-WebDriverAgentRunner-2020-04-22_191116-YRAxXq.log
  139. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  140. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  141. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  142. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  143. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  144. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  145. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  146. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  147. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  148. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  149. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  150. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  151. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  152. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  153. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  154. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  155. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  156. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  157. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  158. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  159. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  160. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  161. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  162. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  163. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  164. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  165. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  166. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  167. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  168. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  169. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  170. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  171. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  172. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  173. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  174. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  175. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  176. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  177. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  178. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  179. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  180. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  181. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  182. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  183. [WebDriverAgent] xcodebuild exited with code '65' and signal 'null'
  184. [debug] [BaseDriver] Event 'wdaStartFailed' logged at 1587553881765 (19:11:21 GMT+0800 (Singapore Standard Time))
  185. [debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
  186. [debug] [XCUITest] xcodebuild error message:
  187. [debug] [XCUITest] . 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.
  188. [XCUITest] Quitting and uninstalling WebDriverAgent
  189. [WebDriverAgent] Shutting down sub-processes
  190. [debug] [WebDriverAgent] Uninstalling WDAs: 'com.ios3.WebAgentRunner.xctrunner'
  191. [XCUITest] {}
  192. [DevCon Factory] Releasing connections for 00008020-001D650021D8002E device on any port number
  193. [DevCon Factory] Found cached connections to release: ["00008020-001D650021D8002E:8100"]
  194. [DevCon Factory] Releasing the listener for '00008020-001D650021D8002E:8100'
  195. [debug] [iProxy@00008020:8100] Closing the connection
  196. [debug] [DevCon Factory] Cached connections count: 0
  197. [debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
  198. [iProxy@00008020:8100] The connection has been closed
  199. [debug] [BaseDriver] Event 'newSessionStarted' logged at 1587553882166 (19:11:22 GMT+0800 (Singapore Standard Time))
  200. [debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
  201. [debug] [W3C] xcodebuild error message:
  202. [debug] [W3C] . 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.
  203. [debug] [W3C] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:528:15)
  204. [debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:558:11
  205. [debug] [W3C] at wrapped (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:35:13)
  206. [debug] [W3C] at retry (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:18:13)
  207. [debug] [W3C] at retryInterval (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:45:10)
  208. [debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:538:7
  209. [debug] [W3C] Destroying socket connection
  210. [HTTP] <-- POST /wd/hub/session 500 48653 ms - 1325
  211. [HTTP]
  212. [HTTP] --> POST /wd/hub/session
  213. [HTTP] {"desiredCapabilities":{"app":"/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app","noReset":true,"platformVersion":"12.2","automationName":"XCuiTest","platformName":"iOS","udid":"00008020-001D650021D8002E","deviceName":"iPhone XS Max","fullReset":false,"wdaLocalPort":"8100"},"capabilities":{"alwaysMatch":{"appium:app":"/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app","appium:automationName":"XCuiTest","appium:deviceName":"iPhone XS Max","appium:fullReset":false,"appium:noReset":true,"platformName":"ios","appium:platformVersion":"12.2","appium:udid":"00008020-001D650021D8002E","appium:wdaLocalPort":"8100"},"firstMatch":[{}]}}
  214. [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app","noReset":true,"platformVersion":"12.2","automationName":"XCuiTest","platformName":"iOS","udid":"00008020-001D650021D8002E","deviceName":"iPhone XS Max","fullReset":false,"wdaLocalPort":"8100"},null,{"alwaysMatch":{"appium:app":"/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app","appium:automationName":"XCuiTest","appium:deviceName":"iPhone XS Max","appium:fullReset":false,"appium:noReset":true,"platformName":"ios","appium:platformVersion":"12.2","appium:udid":"00008020-001D650021D8002E","appium:wdaLocalPort":"8100"},"firstMatch":[{}]}]
  215. [debug] [BaseDriver] Event 'newSessionRequested' logged at 1587554163411 (19:16:03 GMT+0800 (Singapore Standard Time))
  216. [Appium] Appium v1.17.1-beta.0 creating new XCUITestDriver (v3.22.0) session
  217. [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
  218. [debug] [BaseDriver] Creating session with W3C capabilities: {
  219. [debug] [BaseDriver] "alwaysMatch": {
  220. [debug] [BaseDriver] "platformName": "ios",
  221. [debug] [BaseDriver] "appium:app": "/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app",
  222. [debug] [BaseDriver] "appium:automationName": "XCuiTest",
  223. [debug] [BaseDriver] "appium:deviceName": "iPhone XS Max",
  224. [debug] [BaseDriver] "appium:fullReset": false,
  225. [debug] [BaseDriver] "appium:noReset": true,
  226. [debug] [BaseDriver] "appium:platformVersion": "12.2",
  227. [debug] [BaseDriver] "appium:udid": "00008020-001D650021D8002E",
  228. [debug] [BaseDriver] "appium:wdaLocalPort": "8100"
  229. [debug] [BaseDriver] },
  230. [debug] [BaseDriver] "firstMatch": [
  231. [debug] [BaseDriver] {}
  232. [debug] [BaseDriver] ]
  233. [debug] [BaseDriver] }
  234. [BaseDriver] Number capability passed in as string. Functionality may be compromised.
  235. [BaseDriver] Capability 'wdaLocalPort' changed from string ('8100') to integer (8100). This may cause unexpected behavior
  236. [BaseDriver] Session created with session id: 2ed422dd-e61b-460a-a1b6-7fe0e8bc0d03
  237. [debug] [XCUITest] Current user: 'isururodrigo'
  238. [debug] [XCUITest] Available devices: 00008020-001D650021D8002E
  239. [debug] [XCUITest] Creating iDevice object with udid '00008020-001D650021D8002E'
  240. [XCUITest] Determining device to run tests on: udid: '00008020-001D650021D8002E', real device: true
  241. [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1587554163455 (19:16:03 GMT+0800 (Singapore Standard Time))
  242. [BaseDriver] Using local app '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app'
  243. [debug] [BaseDriver] Event 'appConfigured' logged at 1587554163457 (19:16:03 GMT+0800 (Singapore Standard Time))
  244. [debug] [XCUITest] Checking whether app '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app' is actually present on file system
  245. [debug] [XCUITest] App is present
  246. [debug] [iOS] Getting bundle ID from app '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app': 'com.stb.visitsingapore-staging'
  247. [debug] [BaseDriver] Event 'resetStarted' logged at 1587554163458 (19:16:03 GMT+0800 (Singapore Standard Time))
  248. [debug] [XCUITest] Reset: fullReset not set. Leaving as is
  249. [debug] [BaseDriver] Event 'resetComplete' logged at 1587554163458 (19:16:03 GMT+0800 (Singapore Standard Time))
  250. [debug] [XCUITest] Crash reports root '/Users/isururodrigo/Library/Logs/CrashReporter/MobileDevice/iPhone' does not exist. Got nothing to gather.
  251. [debug] [BaseDriver] Event 'logCaptureStarted' logged at 1587554163697 (19:16:03 GMT+0800 (Singapore Standard Time))
  252. [XCUITest] Setting up real device
  253. [debug] [XCUITest] Verifying application platform
  254. [debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
  255. [debug] [XCUITest] Installing '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app' on device with UUID '00008020-001D650021D8002E'...
  256. [debug] [Support] Traversed 581 directories and 2530 files in 23526ms
  257. [debug] [XCUITest] Pushed the app files successfully after 23657ms
  258. [XCUITest] App installation succeeded after 28849ms
  259. [debug] [XCUITest] The app has been installed successfully.
  260. [debug] [BaseDriver] Event 'appInstalled' logged at 1587554192784 (19:16:32 GMT+0800 (Singapore Standard Time))
  261. [WebDriverAgent] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
  262. [WebDriverAgent] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
  263. [debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
  264. [DevCon Factory] Requesting connection for device 00008020-001D650021D8002E on local port 8100, device port 8100
  265. [debug] [DevCon Factory] Cached connections count: 0
  266. [DevCon Factory] Successfully requested the connection for 00008020-001D650021D8002E:8100
  267. [debug] [WebDriverAgent] Parsed BUILD_DIR configuration value: '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products'
  268. [debug] [WebDriverAgent] Got derived data root: '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu'
  269. [debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu'
  270. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  271. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  272. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  273. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  274. [debug] [WebDriverAgent] WDA is not listening at 'http://127.0.0.1:8100/'
  275. [debug] [WebDriverAgent] WDA is currently not running. There is nothing to cache
  276. [debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval
  277. [debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
  278. [debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1587554196668 (19:16:36 GMT+0800 (Singapore Standard Time))
  279. [WebDriverAgent] Launching WebDriverAgent on the device
  280. [WebDriverAgent] Fetching dependencies
  281. [WebDriverAgent] Dependencies up-to-date
  282. [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*00008020-001D650021D8002E' for the device 00008020-001D650021D8002E...
  283. [debug] [WebDriverAgent] 'pgrep -if xcodebuild.*00008020-001D650021D8002E' didn't detect any matching processes. Return code: 1
  284. [debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu -destination id=00008020-001D650021D8002E IPHONEOS_DEPLOYMENT_TARGET=12.2 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
  285. [debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
  286. [debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start
  287. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  288. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  289. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  290. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  291. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  292. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  293. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  294. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  295. [debug] [WebDriverAgent] Log file for xcodebuild test: /Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2020.04.22_19-16-38-+0800.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-7B2A69BE-7802-42A1-8F7C-493DB8708CCF/WebDriverAgentRunner-89243B50-B19C-4FC2-8037-09EA546D10FB/Session-WebDriverAgentRunner-2020-04-22_191638-rSvUv0.log
  296. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  297. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  298. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  299. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  300. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  301. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  302. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  303. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  304. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  305. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  306. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  307. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  308. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  309. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  310. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  311. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  312. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  313. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  314. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  315. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  316. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  317. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  318. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  319. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  320. [Xcode] 2020-04-22 19:16:45.290 xcodebuild[77995:625179] Error Domain=com.apple.platform.iphoneos Code=-12 "Unable to launch com.ios3.WebAgentRunner.xctrunner" UserInfo={NSLocalizedDescription=Unable to launch com.ios3.WebAgentRunner.xctrunner, NSUnderlyingError=0x7fcae9b72780 {Error Domain=com.apple.dt.deviceprocesscontrolservice Code=2 "Request to launch com.ios3.WebAgentRunner.xctrunner failed." UserInfo={NSLocalizedFailureReason=The operation couldn’t be completed. Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. : Failed to launch process with bundle identifier 'com.ios3.WebAgentRunner.xctrunner'., NSLocalizedDescription=Request to launch com.ios3.WebAgentRunner.xctrunner failed., NSUnderlyingError=0x7fcae9b95190 {Error Domain=FBSOpenApplicationErrorDomain Code=3 "Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user." UserInfo={BSErrorCodeDescription=Security, NSLocalizedFailureReason=Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.}}}}}
  321. [Xcode]
  322. [Xcode]
  323. [Xcode] Test session results, code coverage, and logs:
  324. [Xcode] /Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2020.04.22_19-16-38-+0800.xcresult
  325. [Xcode]
  326. [Xcode]
  327. [Xcode] Testing failed:
  328. [Xcode] WebDriverAgentRunner:
  329. [Xcode] WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: Unable to launch com.ios3.WebAgentRunner.xctrunner. (Underlying error: Request to launch com.ios3.WebAgentRunner.xctrunner failed. The operation couldn’t be completed. Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. : Failed to launch process with bundle identifier 'com.ios3.WebAgentRunner.xctrunner'. (Underlying error: The operation couldn’t be completed. Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.))))
  330. [Xcode]
  331. [Xcode] ** TEST EXECUTE FAILED **
  332. [Xcode]
  333. [Xcode]
  334. [Xcode] Testing started on 'iPhone'
  335. [Xcode]
  336. [WebDriverAgent] xcodebuild exited with code '65' and signal 'null'
  337. [WebDriverAgent] Launching WebDriverAgent on the device
  338. [WebDriverAgent] Fetching dependencies
  339. [WebDriverAgent] Dependencies up-to-date
  340. [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*00008020-001D650021D8002E' for the device 00008020-001D650021D8002E...
  341. [debug] [WebDriverAgent] 'pgrep -if xcodebuild.*00008020-001D650021D8002E' didn't detect any matching processes. Return code: 1
  342. [debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu -destination id=00008020-001D650021D8002E IPHONEOS_DEPLOYMENT_TARGET=12.2 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
  343. [debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
  344. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  345. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  346. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  347. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  348. [debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start
  349. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  350. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  351. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  352. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  353. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  354. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  355. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  356. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  357. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  358. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  359. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  360. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  361. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  362. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  363. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  364. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  365. [debug] [WebDriverAgent] Log file for xcodebuild test: /Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2020.04.22_19-16-47-+0800.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-522DEA0E-B20B-40C6-9184-CD95FEA4BB99/WebDriverAgentRunner-0A73DCEF-D0DA-49F4-BE47-FAB98F90716F/Session-WebDriverAgentRunner-2020-04-22_191647-LFB4g3.log
  366. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  367. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  368. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  369. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  370. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  371. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  372. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  373. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  374. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  375. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  376. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  377. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  378. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  379. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  380. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  381. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  382. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  383. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  384. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  385. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  386. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  387. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  388. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  389. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  390. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  391. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  392. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  393. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  394. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  395. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  396. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  397. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  398. [Xcode] 2020-04-22 19:16:52.049 xcodebuild[78000:625472] Error Domain=com.apple.platform.iphoneos Code=-12 "Unable to launch com.ios3.WebAgentRunner.xctrunner" UserInfo={NSLocalizedDescription=Unable to launch com.ios3.WebAgentRunner.xctrunner, NSUnderlyingError=0x7fe37b8cb230 {Error Domain=com.apple.dt.deviceprocesscontrolservice Code=2 "Request to launch com.ios3.WebAgentRunner.xctrunner failed." UserInfo={NSLocalizedFailureReason=The operation couldn’t be completed. Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. : Failed to launch process with bundle identifier 'com.ios3.WebAgentRunner.xctrunner'., NSLocalizedDescription=Request to launch com.ios3.WebAgentRunner.xctrunner failed., NSUnderlyingError=0x7fe37b8cc480 {Error Domain=FBSOpenApplicationErrorDomain Code=3 "Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user." UserInfo={BSErrorCodeDescription=Security, NSLocalizedFailureReason=Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.}}}}}
  399. [Xcode]
  400. [Xcode]
  401. [Xcode] Test session results, code coverage, and logs:
  402. [Xcode] /Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2020.04.22_19-16-47-+0800.xcresult
  403. [Xcode]
  404. [Xcode]
  405. [Xcode] Testing failed:
  406. [Xcode] WebDriverAgentRunner:
  407. [Xcode] WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: Unable to launch com.ios3.WebAgentRunner.xctrunner. (Underlying error: Request to launch com.ios3.WebAgentRunner.xctrunner failed. The operation couldn’t be completed. Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. : Failed to launch process with bundle identifier 'com.ios3.WebAgentRunner.xctrunner'. (Underlying error: The operation couldn’t be completed. Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.))))
  408. [Xcode]
  409. [Xcode] ** TEST EXECUTE FAILED **
  410. [Xcode]
  411. [Xcode]
  412. [Xcode] Testing started on 'iPhone'
  413. [Xcode]
  414. [WebDriverAgent] xcodebuild exited with code '65' and signal 'null'
  415. [debug] [BaseDriver] Event 'wdaStartFailed' logged at 1587554212110 (19:16:52 GMT+0800 (Singapore Standard Time))
  416. [debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
  417. [debug] [XCUITest] xcodebuild error message:
  418. [debug] [XCUITest]
  419. [debug] [XCUITest] 2020-04-22 19:16:52.049 xcodebuild[78000:625472] Error Domain=com.apple.platform.iphoneos Code=-12 "Unable to launch com.ios3.WebAgentRunner.xctrunner" UserInfo={NSLocalizedDescription=Unable to launch com.ios3.WebAgentRunner.xctrunner, NSUnderlyingError=0x7fe37b8cb230 {Error Domain=com.apple.dt.deviceprocesscontrolservice Code=2 "Request to launch com.ios3.WebAgentRunner.xctrunner failed." UserInfo={NSLocalizedFailureReason=The operation couldn’t be completed. Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. : Failed to launch process with bundle identifier 'com.ios3.WebAgentRunner.xctrunner'., NSLocalizedDescription=Request to launch com.ios3.WebAgentRunner.xctrunner failed., NSUnderlyingError=0x7fe37b8cc480 {Error Domain=FBSOpenApplicationErrorDomain Code=3 "Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user." UserInfo={BSErrorCodeDescription=Security, NSLocalizedFailureReason=Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.}}}}}
  420. [debug] [XCUITest] Test session results, code coverage, and logs:
  421. [debug] [XCUITest] /Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2020.04.22_19-16-47-+0800.xcresult
  422. [debug] [XCUITest] Testing failed:
  423. [debug] [XCUITest] WebDriverAgentRunner:
  424. [debug] [XCUITest] WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: Unable to launch com.ios3.WebAgentRunner.xctrunner. (Underlying error: Request to launch com.ios3.WebAgentRunner.xctrunner failed. The operation couldn’t be completed. Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. : Failed to launch process with bundle identifier 'com.ios3.WebAgentRunner.xctrunner'. (Underlying error: The operation couldn’t be completed. Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.))))
  425. [debug] [XCUITest] ** TEST EXECUTE FAILED **
  426. [debug] [XCUITest] Testing started on 'iPhone'. 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.
  427. [XCUITest] Quitting and uninstalling WebDriverAgent
  428. [WebDriverAgent] Shutting down sub-processes
  429. [debug] [WebDriverAgent] Uninstalling WDAs: 'com.ios3.WebAgentRunner.xctrunner'
  430. [XCUITest] {}
  431. [DevCon Factory] Releasing connections for 00008020-001D650021D8002E device on any port number
  432. [DevCon Factory] Found cached connections to release: ["00008020-001D650021D8002E:8100"]
  433. [DevCon Factory] Releasing the listener for '00008020-001D650021D8002E:8100'
  434. [debug] [iProxy@00008020:8100] Closing the connection
  435. [debug] [DevCon Factory] Cached connections count: 0
  436. [debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
  437. [iProxy@00008020:8100] The connection has been closed
  438. [debug] [BaseDriver] Event 'newSessionStarted' logged at 1587554212667 (19:16:52 GMT+0800 (Singapore Standard Time))
  439. [debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
  440. [debug] [W3C] xcodebuild error message:
  441. [debug] [W3C]
  442. [debug] [W3C] 2020-04-22 19:16:52.049 xcodebuild[78000:625472] Error Domain=com.apple.platform.iphoneos Code=-12 "Unable to launch com.ios3.WebAgentRunner.xctrunner" UserInfo={NSLocalizedDescription=Unable to launch com.ios3.WebAgentRunner.xctrunner, NSUnderlyingError=0x7fe37b8cb230 {Error Domain=com.apple.dt.deviceprocesscontrolservice Code=2 "Request to launch com.ios3.WebAgentRunner.xctrunner failed." UserInfo={NSLocalizedFailureReason=The operation couldn’t be completed. Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. : Failed to launch process with bundle identifier 'com.ios3.WebAgentRunner.xctrunner'., NSLocalizedDescription=Request to launch com.ios3.WebAgentRunner.xctrunner failed., NSUnderlyingError=0x7fe37b8cc480 {Error Domain=FBSOpenApplicationErrorDomain Code=3 "Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user." UserInfo={BSErrorCodeDescription=Security, NSLocalizedFailureReason=Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.}}}}}
  443. [debug] [W3C] Test session results, code coverage, and logs:
  444. [debug] [W3C] /Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2020.04.22_19-16-47-+0800.xcresult
  445. [debug] [W3C] Testing failed:
  446. [debug] [W3C] WebDriverAgentRunner:
  447. [debug] [W3C] WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: Unable to launch com.ios3.WebAgentRunner.xctrunner. (Underlying error: Request to launch com.ios3.WebAgentRunner.xctrunner failed. The operation couldn’t be completed. Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. : Failed to launch process with bundle identifier 'com.ios3.WebAgentRunner.xctrunner'. (Underlying error: The operation couldn’t be completed. Unable to launch com.ios3.WebAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.))))
  448. [debug] [W3C] ** TEST EXECUTE FAILED **
  449. [debug] [W3C] Testing started on 'iPhone'. 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.
  450. [debug] [W3C] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:528:15)
  451. [debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:558:11
  452. [debug] [W3C] at wrapped (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:35:13)
  453. [debug] [W3C] at retry (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:18:13)
  454. [debug] [W3C] at retryInterval (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:45:10)
  455. [debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:538:7
  456. [debug] [W3C] Destroying socket connection
  457. [HTTP] <-- POST /wd/hub/session 500 49262 ms - 6231
  458. [HTTP]
  459. [HTTP] --> POST /wd/hub/session
  460. [HTTP] {"desiredCapabilities":{"app":"/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app","noReset":true,"platformVersion":"12.2","automationName":"XCuiTest","platformName":"iOS","udid":"00008020-001D650021D8002E","deviceName":"iPhone XS Max","fullReset":false,"wdaLocalPort":"8100"},"capabilities":{"alwaysMatch":{"appium:app":"/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app","appium:automationName":"XCuiTest","appium:deviceName":"iPhone XS Max","appium:fullReset":false,"appium:noReset":true,"platformName":"ios","appium:platformVersion":"12.2","appium:udid":"00008020-001D650021D8002E","appium:wdaLocalPort":"8100"},"firstMatch":[{}]}}
  461. [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app","noReset":true,"platformVersion":"12.2","automationName":"XCuiTest","platformName":"iOS","udid":"00008020-001D650021D8002E","deviceName":"iPhone XS Max","fullReset":false,"wdaLocalPort":"8100"},null,{"alwaysMatch":{"appium:app":"/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app","appium:automationName":"XCuiTest","appium:deviceName":"iPhone XS Max","appium:fullReset":false,"appium:noReset":true,"platformName":"ios","appium:platformVersion":"12.2","appium:udid":"00008020-001D650021D8002E","appium:wdaLocalPort":"8100"},"firstMatch":[{}]}]
  462. [debug] [BaseDriver] Event 'newSessionRequested' logged at 1587554285521 (19:18:05 GMT+0800 (Singapore Standard Time))
  463. [Appium] Appium v1.17.1-beta.0 creating new XCUITestDriver (v3.22.0) session
  464. [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
  465. [debug] [BaseDriver] Creating session with W3C capabilities: {
  466. [debug] [BaseDriver] "alwaysMatch": {
  467. [debug] [BaseDriver] "platformName": "ios",
  468. [debug] [BaseDriver] "appium:app": "/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app",
  469. [debug] [BaseDriver] "appium:automationName": "XCuiTest",
  470. [debug] [BaseDriver] "appium:deviceName": "iPhone XS Max",
  471. [debug] [BaseDriver] "appium:fullReset": false,
  472. [debug] [BaseDriver] "appium:noReset": true,
  473. [debug] [BaseDriver] "appium:platformVersion": "12.2",
  474. [debug] [BaseDriver] "appium:udid": "00008020-001D650021D8002E",
  475. [debug] [BaseDriver] "appium:wdaLocalPort": "8100"
  476. [debug] [BaseDriver] },
  477. [debug] [BaseDriver] "firstMatch": [
  478. [debug] [BaseDriver] {}
  479. [debug] [BaseDriver] ]
  480. [debug] [BaseDriver] }
  481. [BaseDriver] Number capability passed in as string. Functionality may be compromised.
  482. [BaseDriver] Capability 'wdaLocalPort' changed from string ('8100') to integer (8100). This may cause unexpected behavior
  483. [BaseDriver] Session created with session id: 34bbbaf6-9a1d-4898-a2a3-25b9792b3f0e
  484. [debug] [XCUITest] Current user: 'isururodrigo'
  485. [debug] [XCUITest] Available devices: 00008020-001D650021D8002E
  486. [debug] [XCUITest] Creating iDevice object with udid '00008020-001D650021D8002E'
  487. [XCUITest] Determining device to run tests on: udid: '00008020-001D650021D8002E', real device: true
  488. [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1587554285563 (19:18:05 GMT+0800 (Singapore Standard Time))
  489. [BaseDriver] Using local app '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app'
  490. [debug] [BaseDriver] Event 'appConfigured' logged at 1587554285564 (19:18:05 GMT+0800 (Singapore Standard Time))
  491. [debug] [XCUITest] Checking whether app '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app' is actually present on file system
  492. [debug] [XCUITest] App is present
  493. [debug] [iOS] Getting bundle ID from app '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VisitSingapore.app': 'com.stb.visitsingapore-staging'
  494. [debug] [BaseDriver] Event 'resetStarted' logged at 1587554285566 (19:18:05 GMT+0800 (Singapore Standard Time))
  495. [debug] [XCUITest] Reset: fullReset not set. Leaving as is
  496. [debug] [BaseDriver] Event 'resetComplete' logged at 1587554285566 (19:18:05 GMT+0800 (Singapore Standard Time))
  497. [debug] [XCUITest] Crash reports root '/Users/isururodrigo/Library/Logs/CrashReporter/MobileDevice/iPhone' does not exist. Got nothing to gather.
  498. [debug] [BaseDriver] Event 'logCaptureStarted' logged at 1587554285813 (19:18:05 GMT+0800 (Singapore Standard Time))
  499. [XCUITest] Setting up real device
  500. [debug] [XCUITest] Verifying application platform
  501. [debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
  502. [debug] [XCUITest] App 'com.stb.visitsingapore-staging' is already installed. No need to reinstall.
  503. [debug] [BaseDriver] Event 'appInstalled' logged at 1587554286050 (19:18:06 GMT+0800 (Singapore Standard Time))
  504. [WebDriverAgent] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
  505. [WebDriverAgent] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
  506. [debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
  507. [DevCon Factory] Requesting connection for device 00008020-001D650021D8002E on local port 8100, device port 8100
  508. [debug] [DevCon Factory] Cached connections count: 0
  509. [DevCon Factory] Successfully requested the connection for 00008020-001D650021D8002E:8100
  510. [debug] [WebDriverAgent] Parsed BUILD_DIR configuration value: '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products'
  511. [debug] [WebDriverAgent] Got derived data root: '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu'
  512. [debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key '/Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu'
  513. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  514. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  515. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  516. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  517. [debug] [WebDriverAgent] WDA is not listening at 'http://127.0.0.1:8100/'
  518. [debug] [WebDriverAgent] WDA is currently not running. There is nothing to cache
  519. [debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval
  520. [debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
  521. [debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1587554289243 (19:18:09 GMT+0800 (Singapore Standard Time))
  522. [WebDriverAgent] Launching WebDriverAgent on the device
  523. [WebDriverAgent] Fetching dependencies
  524. [WebDriverAgent] Dependencies up-to-date
  525. [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*00008020-001D650021D8002E' for the device 00008020-001D650021D8002E...
  526. [debug] [WebDriverAgent] 'pgrep -if xcodebuild.*00008020-001D650021D8002E' didn't detect any matching processes. Return code: 1
  527. [debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu -destination id=00008020-001D650021D8002E IPHONEOS_DEPLOYMENT_TARGET=12.2 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
  528. [debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
  529. [debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start
  530. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  531. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  532. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  533. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  534. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  535. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  536. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  537. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  538. [debug] [WebDriverAgent] Log file for xcodebuild test: /Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2020.04.22_19-18-10-+0800.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-9B936AA0-43DB-47D7-9944-B8822816AB33/WebDriverAgentRunner-EF2BBA67-3AD8-44EC-AAE1-401C65349FA6/Session-WebDriverAgentRunner-2020-04-22_191811-9gfT73.log
  539. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  540. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  541. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  542. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  543. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  544. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  545. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  546. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  547. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  548. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  549. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  550. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  551. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  552. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  553. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  554. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  555. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  556. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  557. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  558. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  559. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  560. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  561. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  562. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  563. [WebDriverAgent] xcodebuild exited with code '65' and signal 'null'
  564. [WebDriverAgent] Launching WebDriverAgent on the device
  565. [WebDriverAgent] Fetching dependencies
  566. [WebDriverAgent] Dependencies up-to-date
  567. [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*00008020-001D650021D8002E' for the device 00008020-001D650021D8002E...
  568. [debug] [WebDriverAgent] 'pgrep -if xcodebuild.*00008020-001D650021D8002E' didn't detect any matching processes. Return code: 1
  569. [debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu -destination id=00008020-001D650021D8002E IPHONEOS_DEPLOYMENT_TARGET=12.2 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
  570. [debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
  571. [debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start
  572. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  573. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  574. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  575. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  576. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  577. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  578. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  579. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  580. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  581. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  582. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  583. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  584. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  585. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  586. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  587. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  588. [debug] [WebDriverAgent] Log file for xcodebuild test: /Users/isururodrigo/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2020.04.22_19-18-19-+0800.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-D5E1F071-6B64-454C-B306-2084D3E84F59/WebDriverAgentRunner-2526DB57-BB5D-471D-9549-4095BB7CC95F/Session-WebDriverAgentRunner-2020-04-22_191819-eFfLoM.log
  589. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  590. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  591. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  592. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  593. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  594. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  595. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  596. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  597. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  598. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  599. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  600. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  601. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  602. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  603. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  604. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  605. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  606. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  607. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  608. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  609. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  610. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  611. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  612. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  613. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  614. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  615. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  616. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  617. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  618. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  619. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  620. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  621. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  622. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  623. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  624. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  625. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  626. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
  627. [debug] [iProxy@00008020:8100] Connection was refused to port 8100
  628. [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}
  629. [WebDriverAgent] xcodebuild exited with code '65' and signal 'null'
  630. [debug] [BaseDriver] Event 'wdaStartFailed' logged at 1587554304255 (19:18:24 GMT+0800 (Singapore Standard Time))
  631. [debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
  632. [debug] [XCUITest] xcodebuild error message:
  633. [debug] [XCUITest] . 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.
  634. [XCUITest] Quitting and uninstalling WebDriverAgent
  635. [WebDriverAgent] Shutting down sub-processes
  636. [debug] [WebDriverAgent] Uninstalling WDAs: 'com.ios3.WebAgentRunner.xctrunner'
  637. [XCUITest] {}
  638. [DevCon Factory] Releasing connections for 00008020-001D650021D8002E device on any port number
  639. [DevCon Factory] Found cached connections to release: ["00008020-001D650021D8002E:8100"]
  640. [DevCon Factory] Releasing the listener for '00008020-001D650021D8002E:8100'
  641. [debug] [iProxy@00008020:8100] Closing the connection
  642. [debug] [DevCon Factory] Cached connections count: 0
  643. [debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
  644. [iProxy@00008020:8100] The connection has been closed
  645. [debug] [BaseDriver] Event 'newSessionStarted' logged at 1587554304723 (19:18:24 GMT+0800 (Singapore Standard Time))
  646. [debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
  647. [debug] [W3C] xcodebuild error message:
  648. [debug] [W3C] . 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.
  649. [debug] [W3C] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:528:15)
  650. [debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:558:11
  651. [debug] [W3C] at wrapped (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:35:13)
  652. [debug] [W3C] at retry (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:18:13)
  653. [debug] [W3C] at retryInterval (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:45:10)
  654. [debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:538:7
  655. [debug] [W3C] Destroying socket connection
  656. [HTTP] <-- POST /wd/hub/session 500 19205 ms - 1325
  657. [HTTP]
Add Comment
Please, Sign In to add comment