Eason
2022-03-25 15:09:43.717 - INFO 11756 --- [main] org.cloud.sonic.agent.AgentApplication : Starting AgentApplication v1.3.2-release using Java 16 on MS-21110336314 with PID 11756 (C:\Sonic\sonic-agent-v1.3.2-release-windows_x86_64\sonic-agent-windows-x86_64.jar started by Administrator in C:\Sonic\sonic-agent-v1.3.2-release-windows_x86_64)
2022-03-25 15:09:43.726 - INFO 11756 --- [main] org.cloud.sonic.agent.AgentApplication : The following profiles are active: prod,windows-x86_64
2022-03-25 15:09:44.966 - INFO 11756 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 7777 (http)
2022-03-25 15:09:44.984 - INFO 11756 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2022-03-25 15:09:44.984 - INFO 11756 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.53]
2022-03-25 15:09:45.050 - INFO 11756 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2022-03-25 15:09:45.051 - INFO 11756 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1267 ms
===================== 开始检查配置环境 =====================
→ 检查 Node 环境通过 √
→ 检查 npm 环境通过 √
→ 检查 JAVA_HOME 环境变量通过 √
→ 检查 Appium 环境通过 √
→ 检查 adbkit 环境通过 √
→ 检查 chromeDriver 环境通过 √
→ 校验 本地文件夹 通过 √
===================== 配置环境检查结果 =====================
· JAVA_HOME(系统PATH环境变量): C:\JDK16\jdk-16
· java version(运行当前jar的java版本): 16
· ANDROID_HOME(系统PATH环境变量): unknown
· ADB path: unknown
· ADB version: unknown
· chromeDriver path: "C:\Program Files (x86)\Google\Chrome\Application\chromedriver.exe"
· chromeDriver version: ChromeDriver 99.0.4844.51 (d537ec02474b5afe23684e7963d538896c63ac77-refs/branch-heads/4844@{#875})
· Node path: C:\Program Files\nodejs\node.exe
· Node version: v16.13.0
· npm path: C:\Program Files\nodejs\npm
C:\Program Files\nodejs\npm.cmd
· npm version: 8.1.0
· adbkit path: C:\Users\Administrator\AppData\Roaming\npm\adbkit
C:\Users\Administrator\AppData\Roaming\npm\adbkit.cmd
· adbkit version: 2.11.1
· Appium path: C:\Users\Administrator\AppData\Roaming\npm\appium
C:\Users\Administrator\AppData\Roaming\npm\appium.cmd
· Appium version: 1.22.2
· System: windows 10
===================== 配置环境检查结束 =====================
2022-03-25 15:09:47.532 - INFO 11756 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 7777 (http) with context path ''
2022-03-25 15:09:47.540 - INFO 11756 --- [main] o.c.s.a.automation.RemoteDebugDriver : 开启webview相关功能
ChromeDriver was started successfully.
2022-03-25 15:09:48.476 - INFO 11756 --- [Forwarding newSession on session null to remote] o.o.selenium.remote.ProtocolHandshake : Detected dialect: W3C
2022-03-25 15:09:48.490 - INFO 11756 --- [main] o.c.s.a.automation.RemoteDebugDriver : chromeDriver启动完毕!
2022-03-25 15:09:48.490 - INFO 11756 --- [main] o.cloud.sonic.agent.bridge.ios.SibTool : 开启iOS相关功能
2022-03-25 15:09:48.491 - INFO 11756 --- [main] o.c.s.agent.tests.handlers.StepHandlers : Registered 5 condition handler(s)
2022-03-25 15:09:48.495 - INFO 11756 --- [main] org.cloud.sonic.agent.AgentApplication : Started AgentApplication in 5.271 seconds (JVM running for 5.637)
2022-03-25 15:09:48.618 - INFO 11756 --- [AgentNettyClient-3-1] o.cloud.sonic.agent.bridge.ios.SibTool : iOS设备监听已开启
2022-03-25 15:09:48.619 - INFO 11756 --- [AgentNettyClient-3-1] o.c.sonic.agent.netty.SecurityHandler : Agent:/x.x.x.x:57917 请求连接到服务器 /y.y.y.y:8095 !
2022-03-25 15:09:48.732 - INFO 11756 --- [AgentNettyClient-3-1] o.c.sonic.agent.netty.SecurityHandler : Agent:/x.x.x.x:57917 收到服务器 /y.y.y.y:8095 返回验证消息: {"msg":"auth","result":"pass","id":1}
2022-03-25 15:09:48.732 - INFO 11756 --- [AgentNettyClient-3-1] o.c.sonic.agent.netty.SecurityHandler : 服务器认证通 过!
2022-03-25 15:09:48.733 - INFO 11756 --- [pool-2-thread-1] o.cloud.sonic.agent.bridge.ios.SibTool : iOS设备:79fe945587a3770b819145ff5d033*********** 上线!
2022-03-25 15:09:48.733 - INFO 11756 --- [AgentNettyClient-3-1] o.c.sonic.agent.netty.SecurityHandler : 当前sonic-agent版本为:1.3.2-release
2022-03-25 15:09:48.735 - INFO 11756 --- [pool-2-thread-1] o.cloud.sonic.agent.bridge.ios.SibTool : {"deviceId":3,"connectionSpeed":0,"connectionType":"USB","locationId":0,"productId":4776,"serialNumber":"79fe945587a3770b819145ff5d033********","status":"online","deviceDetail":{"generationName":"iPhone 7","deviceName":"某某的iPhone","deviceColor":"1","deviceClass":"iPhone","productVersion":"13.3.1","productType":"iPhone9,1","productName":"iPhone OS","cpuArchitecture":"arm64","protocolVersion":"2","telephonyCapability":true,"uniqueDeviceID":"79fe945587a3770b819145ff5d033*****","wifiAddress":"bc:9f:ef:7a:bb:74","buildVersion":"17D50"}}
2022-03-25 15:09:48.737 - INFO 11756 --- [AgentNettyClient-3-1] o.c.s.agent.netty.NettyClientHandler : Agent:/x.x.x.x:57917 连接到服务器 /y.y.y.y:8095 成功!
2022-03-25 15:10:07.137 - INFO 11756 --- [http-nio-7777-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-25 15:10:07.138 - INFO 11756 --- [http-nio-7777-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2022-03-25 15:10:07.140 - INFO 11756 --- [http-nio-7777-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
2022-03-25 15:10:07.182 - INFO 11756 --- [http-nio-7777-exec-1] o.c.sonic.agent.websockets.IOSWSServer : ios上锁udId:79fe945587a3770b819145ff5d033********
2022-03-25 15:10:10.381 - INFO 11756 --- [http-nio-7777-exec-1] o.cloud.sonic.agent.bridge.ios.SibTool : 2022-03-25 15:10:11.196846+0800 WebDriverAgentRunner-Runner[331:11927] Running tests...
2022-03-25 15:10:10.383 - INFO 11756 --- [http-nio-7777-exec-1] o.cloud.sonic.agent.bridge.ios.SibTool : 2022-03-25 15:10:11.197659+0800 WebDriverAgentRunner-Runner[331:11927] *** Assertion failure in void _XCTestMain(XCTestConfiguration *__strong _Nonnull)(), /BuildRoot/Library/Caches/com.apple.xbs/Sources/XCTest/XCTest-15700/Sources/XCTestFramework/Harness/XCTestMain.m:239
2022-03-25 15:10:10.386 - INFO 11756 --- [http-nio-7777-exec-1] o.cloud.sonic.agent.bridge.ios.SibTool : 2022-03-25 15:10:11.197808+0800 WebDriverAgentRunner-Runner[331:11927] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'A test configuration must be provided to _XCTestMain.'
2022-03-25 15:10:10.388 - INFO 11756 --- [http-nio-7777-exec-1] o.cloud.sonic.agent.bridge.ios.SibTool : *** First throw call stack:
2022-03-25 15:10:10.389 - INFO 11756 --- [http-nio-7777-exec-1] o.cloud.sonic.agent.bridge.ios.SibTool : (0x19e816a48 0x19e53dfa4 0x19e718e88 0x19eb9d044 0x102a47324 0x1025ed55c 0x1025ed540 0x19e794834 0x19e793fd4 0x19e78f250 0x19e78eadc 0x1a872f328 0x1a289c63c 0x1025ed770 0x19e618360)
2022-03-25 15:10:10.391 - INFO 11756 --- [http-nio-7777-exec-1] o.cloud.sonic.agent.bridge.ios.SibTool : libc++abi.dylib: terminating with uncaught exception of type NSException