问题描述:(标题也加上版本号哦)
Server版本:v1.4.1-beta-linux_x86_64
Agent版本与部署方式:Linux centos 7.9
手机型号与系统版本:PFDM00
截图:

相关日志:
[root@VM-16-5-centos sonic-agent-v1.4.1-beta-linux_x86_64]# java -Dfile.encoding=utf-8 -jar sonic-agent-linux-x86_64.jar &
[1] 28961
[root@VM-16-5-centos sonic-agent-v1.4.1-beta-linux_x86_64]# ▄▄▄▄ ▄▄▄▄ ▄▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄▄
▄█▀▀▀▀█ ██▀▀██ ███ ██ ▀▀██▀▀ ██▀▀▀▀█
██▄ ██ ██ ██▀█ ██ ██ ██▀
▀████▄ ██ ██ ██ ██ ██ ██ ██
▀██ ██ ██ ██ █▄██ ██ ██▄
█▄▄▄▄▄█▀ ██▄▄██ ██ ███ ▄▄██▄▄ ██▄▄▄▄█
▀▀▀▀▀ ▀▀▀▀ ▀▀ ▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀
Author: SonicCloudOrg
https://github.com/SonicCloudOrg
2022-06-30 20:25:25.964 - INFO 28961 --- [main] org.cloud.sonic.agent.AgentApplication : Starting AgentApplication v1.4.1-beta using Java 16.0.2 on VM-16-5-centos with PID 28961 (/opt/sonic/sonic-agent-v1.4.1-beta-linux_x86_64/sonic-agent-linux-x86_64.jar started by root in /opt/sonic/sonic-agent-v1.4.1-beta-linux_x86_64)
2022-06-30 20:25:25.967 - INFO 28961 --- [main] org.cloud.sonic.agent.AgentApplication : The following profiles are active: sonic-agent
2022-06-30 20:25:27.255 - INFO 28961 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 7777 (http)
2022-06-30 20:25:27.264 - INFO 28961 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2022-06-30 20:25:27.264 - INFO 28961 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.53]
2022-06-30 20:25:27.305 - INFO 28961 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2022-06-30 20:25:27.305 - INFO 28961 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1256 ms
===================== Checking the Environment =====================
👉 Check ANDROID_HOME Path Pass ✔
👉 Check ADB env Pass ✔
👉 Check Node env (Next version deprecated) Pass ✔
👉 Check npm env (Next version deprecated) Pass ✔
👉 Check JAVA_HOME Path Pass ✔
👉 Check Appium env (Next version deprecated) Pass ✔
👉 Check adbkit env (Next version deprecated) Pass ✔
👉 Check chromeDriver env Pass ✔
👉 Check local resource Pass ✔
=========================== Check results ===========================
JAVA_HOME: /usr/lib/jdk-16.0.2
java version: 16.0.2
ANDROID_HOME: /usr/lib/android-sdk
ADB path: /usr/lib/android-sdk/platform-tools/adb
ADB version: Android Debug Bridge version 1.0.41
Version 33.0.2-8557947
Installed as /usr/lib/android-sdk/platform-tools/adb
chromeDriver path: /opt/google/chrome/chromedriver
chromeDriver version: ChromeDriver 103.0.5060.53 (a1711811edd74ff1cf2150f36ffa3b0dae40b17f-refs/branch-heads/5060@{#853})
Node path: /node-v16.14.2-linux-x64/bin/node
Node version: v16.14.2
npm path: /node-v16.14.2-linux-x64/bin/npm
npm version: 8.5.0
adbkit path: /node-v16.14.2-linux-x64/bin/adbkit
adbkit version: 2.11.1
Appium path: /node-v16.14.2-linux-x64/bin/appium
Appium version: 1.22.3
System: linux
========================== Check Completed ==========================
2022-06-30 20:25:28.735 - INFO 28961 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 7777 (http) with context path ''
2022-06-30 20:25:28.786 - INFO 28961 --- [main] o.c.s.a.b.a.AndroidDeviceBridgeTool : Android devices listening...
2022-06-30 20:25:28.799 - INFO 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceStatusListener : Android device: 192.168.192.95:5555 ONLINE!
2022-06-30 20:25:28.965 - INFO 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceStatusListener : Android device: 192.168.192.69:5555 ONLINE!
2022-06-30 20:25:31.788 - INFO 28961 --- [main] o.c.s.a.b.a.AndroidDeviceBridgeTool : Enable Android Module
2022-06-30 20:25:31.795 - INFO 28961 --- [main] o.cloud.sonic.agent.bridge.ios.SibTool : iOS devices listening...
2022-06-30 20:25:31.796 - INFO 28961 --- [main] o.cloud.sonic.agent.bridge.ios.SibTool : Enable iOS Module
2022-06-30 20:25:31.804 - INFO 28961 --- [main] o.c.s.a.automation.RemoteDebugDriver : 开启webview相关功能
ChromeDriver was started successfully.
2022-06-30 20:25:32.339 - INFO 28961 --- [Forwarding newSession on session null to remote] o.o.selenium.remote.ProtocolHandshake : Detected dialect: W3C
2022-06-30 20:25:32.355 - INFO 28961 --- [main] o.c.s.a.automation.RemoteDebugDriver : chromeDriver启动完毕!
2022-06-30 20:25:32.356 - INFO 28961 --- [main] o.c.s.agent.tests.handlers.StepHandlers : Registered 5 condition handler(s)
2022-06-30 20:25:32.360 - INFO 28961 --- [main] org.cloud.sonic.agent.AgentApplication : Started AgentApplication in 6.981 seconds (JVM running for 7.449)
2022-06-30 20:25:42.384 - INFO 28961 --- [WebSocketConnectReadThread-47] o.c.s.agent.transport.TransportClient : Connected and auth...
2022-06-30 20:25:42.445 - INFO 28961 --- [WebSocketConnectReadThread-47] o.c.s.agent.transport.TransportClient : Agent <- Server message: {"msg":"auth","result":"pass","highTemp":45,"id":3,"highTempTime":15}
2022-06-30 20:25:42.460 - INFO 28961 --- [pool-2-thread-2] o.c.s.agent.transport.TransportClient : server auth successful!
[root@VM-16-5-centos sonic-agent-v1.4.1-beta-linux_x86_64]#
[root@VM-16-5-centos sonic-agent-v1.4.1-beta-linux_x86_64]#
[root@VM-16-5-centos sonic-agent-v1.4.1-beta-linux_x86_64]# adb connect 192.168.192.69
already connected to 192.168.192.69:5555
[root@VM-16-5-centos sonic-agent-v1.4.1-beta-linux_x86_64]# adb disconnect 192.168.192.69
disconnected 192.168.192.69
[root@VM-16-5-centos sonic-agent-v1.4.1-beta-linux_x86_64]# 2022-06-30 20:26:28.655 - INFO 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceStatusListener : Android device: 192.168.192.69:5555 OFFLINE!
2022-06-30 20:26:28.656 - INFO 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Send shell command wm size to device 192.168.192.69:5555 failed.
2022-06-30 20:26:28.656 -ERROR 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : device '192.168.192.69:5555' not found
2022-06-30 20:26:28.656 - INFO 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Get screen size failed, ignore when plug in moment...
[root@VM-16-5-centos sonic-agent-v1.4.1-beta-linux_x86_64]#
[root@VM-16-5-centos sonic-agent-v1.4.1-beta-linux_x86_64]# adb devices
List of devices attached
192.168.192.95:5555 device
[root@VM-16-5-centos sonic-agent-v1.4.1-beta-linux_x86_64]# adb disconnect 192.168.192.95
disconnected 192.168.192.95
[root@VM-16-5-centos sonic-agent-v1.4.1-beta-linux_x86_64]# 2022-06-30 20:26:46.950 - INFO 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceStatusListener : Android device: 192.168.192.95:5555 OFFLINE!
2022-06-30 20:26:46.955 - INFO 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Send shell command wm size to device 192.168.192.95:5555 failed.
2022-06-30 20:26:46.956 -ERROR 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : device '192.168.192.95:5555' not found
2022-06-30 20:26:46.956 - INFO 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Get screen size failed, ignore when plug in moment...
[root@VM-16-5-centos sonic-agent-v1.4.1-beta-linux_x86_64]# adb connect 192.168.192.69
2022-06-30 20:26:57.599 - INFO 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceStatusListener : Android device: 192.168.192.69:5555 ONLINE!
2022-06-30 20:26:57.604 - INFO 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Send shell command wm size to device 192.168.192.69:5555 failed.
2022-06-30 20:26:57.605 -ERROR 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : device offline
2022-06-30 20:26:57.605 - INFO 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Get screen size failed, ignore when plug in moment...
2022-06-30 20:26:58.008 - INFO 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Send shell command wm size to device 192.168.192.69:5555 failed.
2022-06-30 20:26:58.009 -ERROR 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : device still authorizing
2022-06-30 20:26:58.009 - INFO 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Get screen size failed, ignore when plug in moment...
connected to 192.168.192.69:5555
[root@VM-16-5-centos sonic-agent-v1.4.1-beta-linux_x86_64]# adb connect 192.168.192.69
already connected to 192.168.192.69:5555
[root@VM-16-5-centos sonic-agent-v1.4.1-beta-linux_x86_64]# adb connect 192.168.192.95
2022-06-30 20:30:43.286 - INFO 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceStatusListener : Android device: 192.168.192.95:5555 ONLINE!
2022-06-30 20:30:43.292 - INFO 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Send shell command wm size to device 192.168.192.95:5555 failed.
2022-06-30 20:30:43.292 -ERROR 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : device offline
2022-06-30 20:30:43.292 - INFO 28961 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Get screen size failed, ignore when plug in moment...
connected to 192.168.192.95:5555
[root@VM-16-5-centos sonic-agent-v1.4.1-beta-linux_x86_64]#