Eason
2022-06-04 10:38:54.675 - INFO 40444 --- [pool-5-thread-2] o.c.sonic.agent.automation.AppiumServer : Appium server start...
[35m[XCUITest][39m {}
2022-06-04 10:39:42.440 - INFO 40444 --- [pool-5-thread-2] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"连接设备驱动失败!","log":"","time":"10:39:42","rid":0,"udId":"00008020-000A6C220223002E","status":4,"cid":0}
2022-06-04 10:39:42.440 -ERROR 40444 --- [pool-5-thread-2] o.c.sonic.agent.websockets.IOSWSServer : Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 127.0.0.1:65342 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.
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'LAPTOP-M33D657B', ip: '192.168.1.11', os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.2'
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 127.0.0.1:65342 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.
at getResponseForW3CError (D:\tools\testtools\node-v13.14.0-win-x64\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:804:9)
at asyncHandler (D:\tools\testtools\node-v13.14.0-win-x64\node_modules\appium\node_modules\appium-base-driver\lib\protocol\protocol.js:380:37)
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'LAPTOP-M33D657B', ip: '192.168.1.11', os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.2'
Driver info: driver.version: IOSDriver
2022-06-04 10:39:42.502 - INFO 40444 --- [pool-5-thread-2] o.c.sonic.agent.automation.AppiumServer : Appium server stop...