liandm1-Mac003:sonic-agent-v1.3.2-release-macosx_x86_64 iotsofttest$ ls
configsonic-agent-macosx-x86_64.jar
logstest-output
miniwebview
plugins
liandm1-Mac003:sonic-agent-v1.3.2-release-macosx_x86_64 iotsofttest$
liandm1-Mac003:sonic-agent-v1.3.2-release-macosx_x86_64 iotsofttest$ java -jar sonic-agent-macosx-x86_64.jar
▄▄▄▄▄▄▄▄▄▄▄ ▄▄ ▄▄▄▄▄▄▄▄▄▄
▄█▀▀▀▀███▀▀██ ███ ██ ▀▀██▀▀██▀▀▀▀█
██▄ ██████▀███ ██ ██▀
▀████▄ ██████ ██ ██ ██ ██
▀█████████▄██ ██ ██▄
█▄▄▄▄▄█▀ ██▄▄██ ██ ███ ▄▄██▄▄██▄▄▄▄█
▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀▀▀▀▀▀▀▀
2022-04-08 18:12:41.966 - INFO 13022 --- [main] org.cloud.sonic.agent.AgentApplication : Starting AgentApplication v1.3.2-release using Java 18 on liandm1-Mac003.local with PID 13022 (/Users/iotsofttest/lixf6/sonic-agent/sonic-agent-v1.3.2-release-macosx_x86_64/sonic-agent-macosx-x86_64.jar started by iotsofttest in /Users/iotsofttest/lixf6/sonic-agent/sonic-agent-v1.3.2-release-macosx_x86_64)
2022-04-08 18:12:41.970 - INFO 13022 --- [main] org.cloud.sonic.agent.AgentApplication : The following profiles are active: prod,macosx-x86_64
2022-04-08 18:12:43.159 - INFO 13022 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 7777 (http)
2022-04-08 18:12:43.170 - INFO 13022 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2022-04-08 18:12:43.170 - INFO 13022 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.53]
2022-04-08 18:12:43.229 - INFO 13022 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2022-04-08 18:12:43.229 - INFO 13022 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1193 ms
===================== 开始检查配置环境 =====================
检查 ANDROID_HOME 环境变量通过 ✔
检查 ADB 环境通过 ✔
检查 Node 环境通过 ✔
检查 npm 环境通过 ✔
检查 JAVA_HOME 环境变量通过 ✔
检查 Appium 环境通过 ✔
检查 adbkit 环境通过 ✔
检查 chromeDriver 环境通过 ✔
校验 本地文件夹 通过 ✔
===================== 配置环境检查结果 =====================
JAVA_HOME(系统PATH环境变量): /Library/Java/JavaVirtualMachines/jdk-18.jdk/Contents/Home
java version(运行当前jar的java版本): 18
ANDROID_HOME(系统PATH环境变量): /usr/local/Caskroom/android-platform-tools/30.0.0
ADB path: /usr/local/bin/adb
ADB version: Android Debug Bridge version 1.0.41
Version 30.0.0-6374843
Installed as /usr/local/bin/adb
chromeDriver path: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
chromeDriver version: 姝e湪鐜版湁鐨勬祻瑙堝櫒浼氳瘽涓墦寮銆
Node path: /usr/local/bin/node
Node version: v16.8.0
npm path: /usr/local/bin/npm
npm version: 7.21.0
adbkit path: /usr/local/bin/adbkit
adbkit version: 2.11.1
Appium path: /usr/local/bin/appium
Appium version: 1.22.3
System: mac os x
===================== 配置环境检查结束 =====================
2022-04-08 18:12:47.078 - INFO 13022 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 7777 (http) with context path ''
2022-04-08 18:12:47.085 - INFO 13022 --- [main] o.c.s.a.automation.RemoteDebugDriver : 开启webview相关功能
正在现有的浏览器会话中打开。
2022-04-08 18:13:07.412 - INFO 13022 --- [main] o.c.s.a.automation.RemoteDebugDriver : chromeDriver启动失败!
2022-04-08 18:13:07.413 - INFO 13022 --- [main] o.c.s.a.b.a.AndroidDeviceBridgeTool : 开启安卓相关功能
2022-04-08 18:13:07.413 - INFO 13022 --- [main] o.cloud.sonic.agent.bridge.ios.SibTool : 开启iOS相关功能
2022-04-08 18:13:07.413 - INFO 13022 --- [main] o.c.s.agent.tests.handlers.StepHandlers : Registered 5 condition handler(s)
2022-04-08 18:13:07.419 - INFO 13022 --- [main] org.cloud.sonic.agent.AgentApplication : Started AgentApplication in 26.194 seconds (JVM running for 26.824)
2022-04-08 18:13:07.514 - INFO 13022 --- [main] org.cloud.sonic.agent.tools.SGMTool : 启动sonic-go-mitmproxy失败!请执行 chmod -R 777 /Users/iotsofttest/lixf6/sonic-agent/sonic-agent-v1.3.2-release-macosx_x86_64/plugins,仍然失败可加上sudo尝试
2022-04-08 18:13:07.534 - INFO 13022 --- [SpringContextShutdownHook] org.cloud.sonic.agent.tools.LaunchTool : Release done!