alibaba / macaca

Automation solution for multi-platform. 多端自动化解决方案
https://macacajs.github.io
MIT License
3.17k stars 419 forks source link

Get error during the test process on real iOS devices when XCTestWD started with port 8002(default port is 8001) #965

Open carmensmile opened 4 years ago

carmensmile commented 4 years ago

error log from macaca sever:

carmens-Air:~ carmen$ macaca server -p 3456 --verbose

index.js:15:12 [master] pid:87389 webdriver server start with config: { port: 3456, verbose: true, always: true, ip: '192.168.199.247', host: 'carmens-Air.lan', loaded_time: '2020-03-28 11:43:37' } middlewares.js:17:10 [master] pid:87389 base middlewares attached router.js:132:10 [master] pid:87389 router set Macaca server started responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:43:57]: method: POST url: /wd/hub/session, jsonBody: {"desiredCapabilities":{"app":"/Users/carmen/GitProjects/iOS_SDKAPI_Testing/v2.0/src/app/IOETestII.app","reuse":3,"port":3456,"bundleId":"com.gizwits.IOETestII","host":"127.0.0.1","platformName":"ios","udid":"12ed3518ff769b333293d418b2fc9577d8ca12a2","deviceName":"iPhone 6"}} session.js:58:10 [master] pid:87389 Creating session, sessionId: db6fb948-f330-444c-8f4d-c2b4aeaeaefc. ios-deploy process.env.MACACA_XCTESTWD_ROOT_PATH undefined helper.js:207:14 [master] pid:87389 Using local app form /Users/carmen/GitProjects/iOS_SDKAPI_Testing/v2.0/src/app/IOETestII.app macaca-ios.js:250:12 [master] pid:87389 App "com.gizwits.IOETestII" is already installed. macaca-ios.js:251:12 [master] pid:87389 Adopting app reuse strategy: 3. BundleId XCTestWD.XCTestWD does not exist. macaca-ios.js:162:10 [master] pid:87389 { "bundleId": "com.gizwits.IOETestII", "platformName": "ios" } xctest-client.js:56:14 [master] pid:87389 project path: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj macaca-ios.js:171:12 [master] pid:87389 Trying to start xctestwd server... xctest-client.js:283:14 [master] pid:87389 xcode version: 10.3 XCTestWD version: 1.4.23 xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:227:20 [master] pid:87389 hitted for default mode xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctestwd start with port: 8001 proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session:POST to http://127.0.0.1:8001/wd/hub/session:POST with body: {"desiredCapabilities":{"bundleId":"com.gizwits.IOETestII","platformName":"ios"}} xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj helper.js:20:18 [master] pid:87389 retrying... (10 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (9 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (8 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (7 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (6 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (5 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (4 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (3 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (2 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (1 retries left) proxy.js:85:20 [master] pid:87389 Got response with status 200: {"value":{"sessionId":"A748C368-B662-4897-BABC-E5EC568F6F54","capabilities":{"browserName":"IOETestII","device":"iphone","sdkVersion":"12.4","CFBundleIdentifier":"com.gizwits.IOETestII"}},"sessionI... responseHandler.js:49:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:44:53]: {"sessionId":"db6fb948-f330-444c-8f4d-c2b4aeaeaefc","status":0,"value":"{\"app\":\"/Users/carmen/GitProjects/iOS_SDKAPI_Testing/v2.0/src/app/IOETestII.app\",\"reuse\":3,\"port\":3456,\"bundleId\":\"com.gizwits.IOETestII\",\"host\":\"127.0.0.1\",\"platformName\":\"ios\",\"udid\":\"12ed3518ff769b333293d418b2fc9577d8ca12a2\",\"deviceName\":\"iPhone 6\"}"} (node:87389) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:44:54]: method: POST url: /wd/hub/session/db6fb948-f330-444c-8f4d-c2b4aeaeaefc/element, jsonBody: {"using":"xpath","value":"//[@name='SDK初始化']"} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/db6fb948-f330-444c-8f4d-c2b4aeaeaefc/element:POST to http://127.0.0.1:8001/wd/hub/session/A748C368-B662-4897-BABC-E5EC568F6F54/element:POST with body: {"using":"xpath","value":"//[@name='SDK初始化']"} proxy.js:85:20 [master] pid:87389 Got response with status 200: {"value":{"label":"SDK初始化","ELEMENT":"64672BF6-6180-4D68-8E90-5F42B413AD51","type":"XCUIElementTypeStaticText"},"sessionId":"","status":0}

responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:48:54]: method: DELETE url: /wd/hub/session/451346f4-900d-4b99-9ad0-b1abf5a95f30, jsonBody: {} macaca-ios.js:381:10 [master] pid:87389 Stoping iOS driver... xctest-client.js:322:14 [master] pid:87389 killing runnerProc pid: 87754 xctest-client.js:328:14 [master] pid:87389 killing iproxyProc pid: 88028 macaca-ios.js:405:10 [master] pid:87389 iOS driver cleaned up. session.js:91:12 [master] pid:87389 Delete session, sessionId: 451346f4-900d-4b99-9ad0-b1abf5a95f30 responseHandler.js:49:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:48:54]: {"sessionId":"451346f4-900d-4b99-9ad0-b1abf5a95f30","status":0} xctest-client.js:272:14 [master] pid:87389 iproxy exit with code: null, signal: SIGKILL xctest-client.js:242:16 [master] pid:87389 xctest client exit with code: null, signal: SIGKILL responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:48:58]: method: POST url: /wd/hub/session, jsonBody: {"desiredCapabilities":{"app":"/Users/carmen/GitProjects/iOS_SDKAPI_Testing/v2.0/src/app/IOETestII.app","reuse":3,"port":3456,"bundleId":"com.gizwits.IOETestII","host":"127.0.0.1","platformName":"ios","udid":"12ed3518ff769b333293d418b2fc9577d8ca12a2","deviceName":"iPhone 6"}} session.js:58:10 [master] pid:87389 Creating session, sessionId: b131f87e-5e90-4a45-aea2-33370f6a002c. helper.js:207:14 [master] pid:87389 Using local app form /Users/carmen/GitProjects/iOS_SDKAPI_Testing/v2.0/src/app/IOETestII.app macaca-ios.js:250:12 [master] pid:87389 App "com.gizwits.IOETestII" is already installed. macaca-ios.js:251:12 [master] pid:87389 Adopting app reuse strategy: 3. BundleId XCTestWD.XCTestWD does not exist. macaca-ios.js:162:10 [master] pid:87389 { "bundleId": "com.gizwits.IOETestII", "platformName": "ios" } xctest-client.js:56:14 [master] pid:87389 project path: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj macaca-ios.js:171:12 [master] pid:87389 Trying to start xctestwd server... xctest-client.js:283:14 [master] pid:87389 xcode version: 10.3 XCTestWD version: 1.4.23 xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:227:20 [master] pid:87389 hitted for default mode xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctestwd start with port: 8001 proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session:POST to http://127.0.0.1:8001/wd/hub/session:POST with body: {"desiredCapabilities":{"bundleId":"com.gizwits.IOETestII","platformName":"ios"}} proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001

macaca-ios.js:171:12 [master] pid:87389 Trying to start xctestwd server... xctest-client.js:283:14 [master] pid:87389 xcode version: 10.3 XCTestWD version: 1.4.23 xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:227:20 [master] pid:87389 hitted for default mode xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctestwd start with port: 8002 proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session:POST to http://127.0.0.1:8002/wd/hub/session:POST with body: {"desiredCapabilities":{"bundleId":"com.gizwits.IOETestII","platformName":"ios"}} proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj helper.js:20:18 [master] pid:87389 retrying... (10 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (9 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (8 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (7 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (6 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (5 retries left) proxy.js:85:20 [master] pid:87389 Got response with status 200: {"status":0,"value":{"sessionId":"2AC820C4-6F8E-4935-9A1B-E7A3E1664754","capabilities":{"device":"iphone","browserName":"IOETestII","CFBundleIdentifier":"com.gizwits.IOETestII","sdkVersion":"12.4"}... responseHandler.js:49:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:53:36]: {"sessionId":"278cf6d7-3926-4a09-b376-cdb3666d5621","status":0,"value":"{\"app\":\"/Users/carmen/GitProjects/iOS_SDKAPI_Testing/v2.0/src/app/IOETestII.app\",\"reuse\":3,\"port\":3456,\"bundleId\":\"com.gizwits.IOETestII\",\"host\":\"127.0.0.1\",\"platformName\":\"ios\",\"udid\":\"12ed3518ff769b333293d418b2fc9577d8ca12a2\",\"deviceName\":\"iPhone 6\"}"} responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:53:36]: method: POST url: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element, jsonBody: {"using":"xpath","value":"//[@name='SDK初始化']"} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element:POST to http://127.0.0.1:8002/wd/hub/session/2AC820C4-6F8E-4935-9A1B-E7A3E1664754/element:POST with body: {"using":"xpath","value":"//[@name='SDK初始化']"} proxy.js:85:20 [master] pid:87389 Got response with status 200: {"sessionId":"","status":0,"value":{"type":"XCUIElementTypeStaticText","label":"SDK初始化","ELEMENT":"438C5A6C-43FC-4F54-89BA-AD1D4D83CE35"}} session.js:120:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:53:38]: {"sessionId":"","status":0,"value":"{\"type\":\"XCUIElementTypeStaticText\",\"label\":\"SDK初始化\",\"ELEMENT\":\"438C5A6C-43FC-4F54-89BA-AD1D4D83CE35\"}"} responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:53:38]: method: GET url: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element/438C5A6C-43FC-4F54-89BA-AD1D4D83CE35/displayed, jsonBody: {} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element/438C5A6C-43FC-4F54-89BA-AD1D4D83CE35/displayed:GET to http://127.0.0.1:8002/wd/hub/session/2AC820C4-6F8E-4935-9A1B-E7A3E1664754/element/438C5A6C-43FC-4F54-89BA-AD1D4D83CE35/displayed:GET with body: {} proxy.js:85:20 [master] pid:87389 Got response with status 200: {"status":0,"value":true,"sessionId":"278cf6d7-3926-4a09-b376-cdb3666d5621"} session.js:120:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:53:38]: {"status":0,"value":"true","sessionId":"278cf6d7-3926-4a09-b376-cdb3666d5621"} responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:53:38]: method: POST url: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element, jsonBody: {"using":"xpath","value":"//[@name='SDK初始化']"} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element:POST to http://127.0.0.1:8002/wd/hub/session/2AC820C4-6F8E-4935-9A1B-E7A3E1664754/element:POST with body: {"using":"xpath","value":"//[@name='SDK初始化']"} proxy.js:85:20 [master] pid:87389 Got response with status 200: {"sessionId":"","status":0,"value":{"label":"SDK初始化","ELEMENT":"87F7F640-3A51-4989-BF6B-606648E141B3","type":"XCUIElementTypeStaticText"}} session.js:120:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:53:40]: {"sessionId":"","status":0,"value":"{\"label\":\"SDK初始化\",\"ELEMENT\":\"87F7F640-3A51-4989-BF6B-606648E141B3\",\"type\":\"XCUIElementTypeStaticText\"}"} responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:53:40]: method: POST url: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element/87F7F640-3A51-4989-BF6B-606648E141B3/click, jsonBody: {} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element/87F7F640-3A51-4989-BF6B-606648E141B3/click:POST to http://127.0.0.1:8002/wd/hub/session/2AC820C4-6F8E-4935-9A1B-E7A3E1664754/element/87F7F640-3A51-4989-BF6B-606648E141B3/click:POST with body: {} proxy.js:85:20 [master] pid:87389 Got response with status 200: {"sessionId":"","value":"","status":0} session.js:120:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:53:41]: {"sessionId":"","value":"","status":0} responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:53:41]: method: POST url: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element, jsonBody: {"using":"xpath","value":"//[@name='startWithAppID@deprecated:5']"} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element:POST to http://127.0.0.1:8002/wd/hub/session/2AC820C4-6F8E-4935-9A1B-E7A3E1664754/element:POST with body: {"using":"xpath","value":"//[@name='startWithAppID@deprecated:5']"} proxy.js:85:20 [master] pid:87389 Got response with status 200: {"sessionId":"","status":0,"value":{"ELEMENT":"3A3DCB4C-B18B-4E49-8324-A2A8661D2132","label":"startWithAppID@deprecated:5","type":"XCUIElementTypeStaticText"}} session.js:120:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:53:43]: {"sessionId":"","status":0,"value":"{\"ELEMENT\":\"3A3DCB4C-B18B-4E49-8324-A2A8661D2132\",\"label\":\"startWithAppID@deprecated:5\",\"type\":\"XCUIElementTypeStaticText\"}"} responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:53:43]: method: GET url: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element/3A3DCB4C-B18B-4E49-8324-A2A8661D2132/displayed, jsonBody: {} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element/3A3DCB4C-B18B-4E49-8324-A2A8661D2132/displayed:GET to http://127.0.0.1:8002/wd/hub/session/2AC820C4-6F8E-4935-9A1B-E7A3E1664754/element/3A3DCB4C-B18B-4E49-8324-A2A8661D2132/displayed:GET with body: {} proxy.js:85:20 [master] pid:87389 Got response with status 200: {"status":0,"value":true,"sessionId":"278cf6d7-3926-4a09-b376-cdb3666d5621"} session.js:120:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:53:43]: {"status":0,"value":"true","sessionId":"278cf6d7-3926-4a09-b376-cdb3666d5621"} responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:53:43]: method: POST url: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element, jsonBody: {"using":"xpath","value":"//[@name='startWithAppID@deprecated:5']"} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element:POST to http://127.0.0.1:8002/wd/hub/session/2AC820C4-6F8E-4935-9A1B-E7A3E1664754/element:POST with body: {"using":"xpath","value":"//[@name='startWithAppID@deprecated:5']"} proxy.js:85:20 [master] pid:87389 Got response with status 200: {"status":0,"value":{"ELEMENT":"92F9806F-CE3C-4F47-9577-C4B9EF8AF144","label":"startWithAppID@deprecated:5","type":"XCUIElementTypeStaticText"},"sessionId":""} session.js:120:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:53:46]: {"status":0,"value":"{\"ELEMENT\":\"92F9806F-CE3C-4F47-9577-C4B9EF8AF144\",\"label\":\"startWithAppID@deprecated:5\",\"type\":\"XCUIElementTypeStaticText\"}","sessionId":""} responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:53:46]: method: POST url: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element/92F9806F-CE3C-4F47-9577-C4B9EF8AF144/click, jsonBody: {} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element/92F9806F-CE3C-4F47-9577-C4B9EF8AF144/click:POST to http://127.0.0.1:8002/wd/hub/session/2AC820C4-6F8E-4935-9A1B-E7A3E1664754/element/92F9806F-CE3C-4F47-9577-C4B9EF8AF144/click:POST with body: {} xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj proxy.js:85:20 [master] pid:87389 Got response with status 200: {"status":0,"value":"","sessionId":""} session.js:120:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:53:47]: {"status":0,"value":"","sessionId":""} responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:53:47]: method: POST url: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element, jsonBody: {"using":"xpath","value":"//[@name='appID']/../XCUIElementTypeTextField"} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element:POST to http://127.0.0.1:8002/wd/hub/session/2AC820C4-6F8E-4935-9A1B-E7A3E1664754/element:POST with body: {"using":"xpath","value":"//[@name='appID']/../XCUIElementTypeTextField"} proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: socket hang up helper.js:20:18 [master] pid:87389 retrying... (10 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (9 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:322:14 [master] pid:87389 killing runnerProc pid: 88038 xctest-client.js:328:14 [master] pid:87389 killing iproxyProc pid: 88292 xctest-client.js:242:16 [master] pid:87389 xctest client exit with code: 65, signal: null xctest-client.js:272:14 [master] pid:87389 iproxy exit with code: null, signal: SIGKILL helper.js:20:18 [master] pid:87389 retrying... (8 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (7 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (6 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (5 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (4 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (3 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (2 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (1 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET responseHandler.js:56:12 [master] pid:87389 Send Error Respone to Client: Error: read ECONNRESET responseHandler.js:62:14 [master] pid:87389 Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:183:27)

Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:183:27)

responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:54:08]: method: POST url: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element, jsonBody: {"using":"xpath","value":"//[@name='appID']/../XCUIElementTypeTextField"} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element:POST to http://127.0.0.1:8002/wd/hub/session/2AC820C4-6F8E-4935-9A1B-E7A3E1664754/element:POST with body: {"using":"xpath","value":"//[@name='appID']/../XCUIElementTypeTextField"} proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET xctest-client.js:227:20 [master] pid:87389 hitted for default mode xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj helper.js:20:18 [master] pid:87389 retrying... (10 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (9 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (8 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:322:14 [master] pid:87389 killing runnerProc pid: 88342 xctest-client.js:328:14 [master] pid:87389 killing iproxyProc pid: 88608 xctest-client.js:242:16 [master] pid:87389 xctest client exit with code: 65, signal: null xctest-client.js:272:14 [master] pid:87389 iproxy exit with code: null, signal: SIGKILL helper.js:20:18 [master] pid:87389 retrying... (7 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (6 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (5 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (4 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (3 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (2 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (1 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 responseHandler.js:56:12 [master] pid:87389 Send Error Respone to Client: Error: connect ECONNREFUSED 127.0.0.1:8002 responseHandler.js:62:14 [master] pid:87389 Error: connect ECONNREFUSED 127.0.0.1:8002 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1056:14)

Error: connect ECONNREFUSED 127.0.0.1:8002 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1056:14)

responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:54:28]: method: POST url: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element, jsonBody: {"using":"xpath","value":"//[@name='appID']/../XCUIElementTypeTextField"} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element:POST to http://127.0.0.1:8002/wd/hub/session/2AC820C4-6F8E-4935-9A1B-E7A3E1664754/element:POST with body: {"using":"xpath","value":"//[@name='appID']/../XCUIElementTypeTextField"} proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (10 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (9 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (8 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (7 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (6 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (5 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (4 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (3 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (2 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (1 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 responseHandler.js:56:12 [master] pid:87389 Send Error Respone to Client: Error: connect ECONNREFUSED 127.0.0.1:8002 responseHandler.js:62:14 [master] pid:87389 Error: connect ECONNREFUSED 127.0.0.1:8002 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1056:14)

Error: connect ECONNREFUSED 127.0.0.1:8002 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1056:14)

responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:54:49]: method: POST url: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element, jsonBody: {"using":"xpath","value":"//[@name='appID']/../XCUIElementTypeTextField"} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element:POST to http://127.0.0.1:8002/wd/hub/session/2AC820C4-6F8E-4935-9A1B-E7A3E1664754/element:POST with body: {"using":"xpath","value":"//[@name='appID']/../XCUIElementTypeTextField"} proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (10 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (9 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (8 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (7 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (6 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (5 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (4 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (3 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (2 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (1 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 responseHandler.js:56:12 [master] pid:87389 Send Error Respone to Client: Error: connect ECONNREFUSED 127.0.0.1:8002 responseHandler.js:62:14 [master] pid:87389 Error: connect ECONNREFUSED 127.0.0.1:8002 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1056:14)

Error: connect ECONNREFUSED 127.0.0.1:8002 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1056:14)

responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:55:09]: method: POST url: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element, jsonBody: {"using":"xpath","value":"//[@name='appID']/../XCUIElementTypeTextField"} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/278cf6d7-3926-4a09-b376-cdb3666d5621/element:POST to http://127.0.0.1:8002/wd/hub/session/2AC820C4-6F8E-4935-9A1B-E7A3E1664754/element:POST with body: {"using":"xpath","value":"//[@name='appID']/../XCUIElementTypeTextField"} proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (10 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (9 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (8 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (7 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (6 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (5 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (4 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (3 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (2 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 helper.js:20:18 [master] pid:87389 retrying... (1 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002 responseHandler.js:56:12 [master] pid:87389 Send Error Respone to Client: Error: connect ECONNREFUSED 127.0.0.1:8002 responseHandler.js:62:14 [master] pid:87389 Error: connect ECONNREFUSED 127.0.0.1:8002 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1056:14)

Error: connect ECONNREFUSED 127.0.0.1:8002 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1056:14)

responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:55:29]: method: POST url: /wd/hub/session, jsonBody: {"desiredCapabilities":{"app":"/Users/carmen/GitProjects/iOS_SDKAPI_Testing/v2.0/src/app/IOETestII.app","reuse":3,"port":3456,"bundleId":"com.gizwits.IOETestII","host":"127.0.0.1","platformName":"ios","udid":"12ed3518ff769b333293d418b2fc9577d8ca12a2","deviceName":"iPhone 6"}} session.js:58:10 [master] pid:87389 Creating session, sessionId: 16f962a8-82b2-4f09-8004-89c1a72556b1. helper.js:207:14 [master] pid:87389 Using local app form /Users/carmen/GitProjects/iOS_SDKAPI_Testing/v2.0/src/app/IOETestII.app macaca-ios.js:250:12 [master] pid:87389 App "com.gizwits.IOETestII" is already installed. macaca-ios.js:251:12 [master] pid:87389 Adopting app reuse strategy: 3. BundleId XCTestWD.XCTestWD does not exist. macaca-ios.js:162:10 [master] pid:87389 { "bundleId": "com.gizwits.IOETestII", "platformName": "ios" } xctest-client.js:56:14 [master] pid:87389 project path: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj macaca-ios.js:171:12 [master] pid:87389 Trying to start xctestwd server... xctest-client.js:283:14 [master] pid:87389 xcode version: 10.3 XCTestWD version: 1.4.23 xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:227:20 [master] pid:87389 hitted for default mode xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctestwd start with port: 8001 proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session:POST to http://127.0.0.1:8001/wd/hub/session:POST with body: {"desiredCapabilities":{"bundleId":"com.gizwits.IOETestII","platformName":"ios"}} proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001 xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:230:20 [master] pid:87389 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj helper.js:20:18 [master] pid:87389 retrying... (10 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (9 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (8 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (7 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (6 retries left) proxy.js:63:22 [master] pid:87389 xctest client proxy error with: Error: read ECONNRESET helper.js:20:18 [master] pid:87389 retrying... (5 retries left) proxy.js:85:20 [master] pid:87389 Got response with status 200: {"sessionId":null,"status":0,"value":{"sessionId":"5F59975F-85C8-43B2-B93D-01A77E4C28AE","capabilities":{"device":"iphone","sdkVersion":"12.4","CFBundleIdentifier":"com.gizwits.IOETestII","browserN... responseHandler.js:49:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:56:12]: {"sessionId":"16f962a8-82b2-4f09-8004-89c1a72556b1","status":0,"value":"{\"app\":\"/Users/carmen/GitProjects/iOS_SDKAPI_Testing/v2.0/src/app/IOETestII.app\",\"reuse\":3,\"port\":3456,\"bundleId\":\"com.gizwits.IOETestII\",\"host\":\"127.0.0.1\",\"platformName\":\"ios\",\"udid\":\"12ed3518ff769b333293d418b2fc9577d8ca12a2\",\"deviceName\":\"iPhone 6\"}"} responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:56:12]: method: POST url: /wd/hub/session/16f962a8-82b2-4f09-8004-89c1a72556b1/element, jsonBody: {"using":"xpath","value":"//[@name='SDK初始化']"} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/16f962a8-82b2-4f09-8004-89c1a72556b1/element:POST to http://127.0.0.1:8001/wd/hub/session/5F59975F-85C8-43B2-B93D-01A77E4C28AE/element:POST with body: {"using":"xpath","value":"//[@name='SDK初始化']"} proxy.js:85:20 [master] pid:87389 Got response with status 200: {"sessionId":"","value":{"ELEMENT":"325A714B-D59D-44D5-9A05-F0EB12AB6AC9","type":"XCUIElementTypeStaticText","label":"SDK初始化"},"status":0} session.js:120:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:56:14]: {"sessionId":"","value":"{\"ELEMENT\":\"325A714B-D59D-44D5-9A05-F0EB12AB6AC9\",\"type\":\"XCUIElementTypeStaticText\",\"label\":\"SDK初始化\"}","status":0} responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:56:14]: method: GET url: /wd/hub/session/16f962a8-82b2-4f09-8004-89c1a72556b1/element/325A714B-D59D-44D5-9A05-F0EB12AB6AC9/displayed, jsonBody: {} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/16f962a8-82b2-4f09-8004-89c1a72556b1/element/325A714B-D59D-44D5-9A05-F0EB12AB6AC9/displayed:GET to http://127.0.0.1:8001/wd/hub/session/5F59975F-85C8-43B2-B93D-01A77E4C28AE/element/325A714B-D59D-44D5-9A05-F0EB12AB6AC9/displayed:GET with body: {} proxy.js:85:20 [master] pid:87389 Got response with status 200: {"value":true,"sessionId":"16f962a8-82b2-4f09-8004-89c1a72556b1","status":0} session.js:120:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:56:14]: {"value":"true","sessionId":"16f962a8-82b2-4f09-8004-89c1a72556b1","status":0} responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:56:14]: method: POST url: /wd/hub/session/16f962a8-82b2-4f09-8004-89c1a72556b1/element, jsonBody: {"using":"xpath","value":"//[@name='SDK初始化']"} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/16f962a8-82b2-4f09-8004-89c1a72556b1/element:POST to http://127.0.0.1:8001/wd/hub/session/5F59975F-85C8-43B2-B93D-01A77E4C28AE/element:POST with body: {"using":"xpath","value":"//[@name='SDK初始化']"} proxy.js:85:20 [master] pid:87389 Got response with status 200: {"status":0,"value":{"ELEMENT":"E4161903-9F73-4ACF-8480-3252B7803F1B","label":"SDK初始化","type":"XCUIElementTypeStaticText"},"sessionId":""} session.js:120:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:56:16]: {"status":0,"value":"{\"ELEMENT\":\"E4161903-9F73-4ACF-8480-3252B7803F1B\",\"label\":\"SDK初始化\",\"type\":\"XCUIElementTypeStaticText\"}","sessionId":""} responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:56:16]: method: POST url: /wd/hub/session/16f962a8-82b2-4f09-8004-89c1a72556b1/element/E4161903-9F73-4ACF-8480-3252B7803F1B/click, jsonBody: {} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/16f962a8-82b2-4f09-8004-89c1a72556b1/element/E4161903-9F73-4ACF-8480-3252B7803F1B/click:POST to http://127.0.0.1:8001/wd/hub/session/5F59975F-85C8-43B2-B93D-01A77E4C28AE/element/E4161903-9F73-4ACF-8480-3252B7803F1B/click:POST with body: {} proxy.js:85:20 [master] pid:87389 Got response with status 200: {"sessionId":"","value":"","status":0} session.js:120:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:56:17]: {"sessionId":"","value":"","status":0} responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:56:17]: method: POST url: /wd/hub/session/16f962a8-82b2-4f09-8004-89c1a72556b1/element, jsonBody: {"using":"xpath","value":"//[@name='startWithAppID@deprecated:5']"} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/16f962a8-82b2-4f09-8004-89c1a72556b1/element:POST to http://127.0.0.1:8001/wd/hub/session/5F59975F-85C8-43B2-B93D-01A77E4C28AE/element:POST with body: {"using":"xpath","value":"//[@name='startWithAppID@deprecated:5']"} proxy.js:85:20 [master] pid:87389 Got response with status 200: {"sessionId":"","status":0,"value":{"label":"startWithAppID@deprecated:5","type":"XCUIElementTypeStaticText","ELEMENT":"A1B34271-2995-4CA7-843D-3B13B7146EE8"}} session.js:120:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:56:19]: {"sessionId":"","status":0,"value":"{\"label\":\"startWithAppID@deprecated:5\",\"type\":\"XCUIElementTypeStaticText\",\"ELEMENT\":\"A1B34271-2995-4CA7-843D-3B13B7146EE8\"}"} responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:56:19]: method: GET url: /wd/hub/session/16f962a8-82b2-4f09-8004-89c1a72556b1/element/A1B34271-2995-4CA7-843D-3B13B7146EE8/displayed, jsonBody: {} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/16f962a8-82b2-4f09-8004-89c1a72556b1/element/A1B34271-2995-4CA7-843D-3B13B7146EE8/displayed:GET to http://127.0.0.1:8001/wd/hub/session/5F59975F-85C8-43B2-B93D-01A77E4C28AE/element/A1B34271-2995-4CA7-843D-3B13B7146EE8/displayed:GET with body: {} proxy.js:85:20 [master] pid:87389 Got response with status 200: {"sessionId":"16f962a8-82b2-4f09-8004-89c1a72556b1","status":0,"value":true} session.js:120:14 [master] pid:87389 Send HTTP Respone to Client[2020-03-28 11:56:19]: {"sessionId":"16f962a8-82b2-4f09-8004-89c1a72556b1","status":0,"value":"true"} responseHandler.js:11:12 [master] pid:87389 Recieve HTTP Request from Client[2020-03-28 11:56:19]: method: POST url: /wd/hub/session/16f962a8-82b2-4f09-8004-89c1a72556b1/element, jsonBody: {"using":"xpath","value":"//[@name='startWithAppID@deprecated:5']"} proxy.js:55:14 [master] pid:87389 Proxy: /wd/hub/session/16f962a8-82b2-4f09-8004-89c1a72556b1/element:POST to http://127.0.0.1:8001/wd/hub/session/5F59975F-85C8-43B2-B93D-01A77E4C28AE/element:POST with body: {"using":"xpath","value":"//[@name='startWithAppID@deprecated:5']"} proxy.js:85:20 [master] pid:87389 Got response with status 200: {"value":{"ELEMENT":"EDB39752-06EC-44B1-B3FB-AC8391450CC2","label":"startWithAppID@deprecated:5","type":"XCUIElementTypeStaticText"},"status":0,"sessionId":""}

paradite commented 4 years ago

hi @carmensmile, which command did you start the XCTestWD on port 8002? And why did you need to start on port 8002?

carmensmile commented 4 years ago

hi @carmensmile, which command did you start the XCTestWD on port 8002? And why did you need to start on port 8002?

Hi @paradite , is there any command to start the port of 'XCTestWD', I start macaca server by command "macaca server -p 3456 --verbose", I built and test the xctestwd project in XCODE at default port 8001. But from the macaca server log, I found it sometimes start on port 8002, sometimes start on port 8001 (I don't know when and why it started on port 8002 and cause the failure.)

paradite commented 4 years ago

@carmensmile 8002 port is most likely because you have port 8001 already open. You don't need to "build and test the xctestwd project in XCODE at default port 8001" after installing xctestwd to your iOS device. The test script will xctestwd on port 8001 for you automatically.

carmensmile commented 4 years ago

@paradite , So what can I do to avoid the xctestwd started on port 8002 automatically? I would like it could work stably

paradite commented 4 years ago

@carmensmile

  1. install xctestwd once using xcode onto your iOS device
  2. stop any tests in xcode and close xcode
  3. run your tests (tests should run in port 8001 by default)
  4. stop one test before you run another test to avoid another process running on port 8002
carmensmile commented 4 years ago

@carmensmile

  1. install xctestwd once using xcode onto your iOS device
  2. stop any tests in xcode and close xcode
  3. run your tests (tests should run in port 8001 by default)
  4. stop one test before you run another test to avoid another process running on port 8002

@paradite I called driver.quit() after each test to stop the test, but how could I make sure the port 8001 was not occupied on the iOS device maybe by the last test(is there any chances the port was still occupied even called driver.quit()?) or by any other reasons?

paradite commented 4 years ago

@xudafeng maybe you can help to answer this question?

xudafeng commented 4 years ago

重启系统试一下?确保是8001端口

macaca-bot commented 4 years ago

This is the translated issue comment: @xudafeng


Reboot the system a try? Ensure that the port is 8001

carmensmile commented 4 years ago

重启系统试一下?确保是8001端口

@xudafeng But seems it is not a good idea for me to reboot the system when we running the automatic test cases? It may ran into port 8002 when setting up the XCTestWD for each case(I found XCTestWD will be uninstalled and reinstalled each time we setup the webdriver for each case. )

macaca-bot commented 4 years ago

This is the translated issue comment: @carmensmile


Reboot the system a try? Ensure that the port is 8001

@xudafeng But seems it is not a good idea for me to reboot the system after each case? It may ran into port 8002 when setting up the XCTestWD (I found XCTestWD will be uninstalled and reinstalled each time we setup the webdriver for each case. )