记录一些sonic自动化运行中的问题

发布于:2025-08-12 ⋅ 阅读:(15) ⋅ 点赞:(0)

1.运行sonic自动化的时候,WebDriverAgent证书过期需要重新打包,然后遇到很多问题,归根结底就是xcode升级到16.4,导致的很多版本不兼容问题

最后通过查看官网,和论坛里有人回复的一些解决方式猜到了问题答案,做个记录

我们最终是用了xcode14.2拉最新的WebDriverAgent打了个包,但是这里也遇到了问题,我们的sonic_agent是2.6.2的版本,包打好后上下滑动无法执行,报了下面这个错:

[sonic-driver-core] 2025-08-08 10:46:23 [ERROR] perform failed.
org.cloud.sonic.driver.common.tool.SonicRespException: Unhandled endpoint: /session/274FA784-A5F3-4D26-912F-9A32DAF64022/wda/touch/multi/perform -- http://127.0.0.1:50961/ with parameters {
    wildcards =     (
        "session/274FA784-A5F3-4D26-912F-9112DAF64022/wda/touch/multi/perform"
    );
}
        at org.cloud.sonic.driver.ios.service.impl.WdaClientImpl.performTouchAction(WdaClientImpl.java:214)
        at org.cloud.sonic.driver.ios.IOSDriver.performTouchAction(IOSDriver.java:233)
        at org.cloud.sonic.driver.ios.IOSDriver.tap(IOSDriver.java:174)
        at org.cloud.sonic.agent.websockets.IOSWSServer.lambda$onMessage$3(IOSWSServer.java:326)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)

最后解决方式是升级了sonic_agent到最新的版本2.7.2,运行没有问题了


网站公告

今日签到

点亮在社区的每一天
去签到