assistd / scrcpy

Apache License 2.0
0 stars 1 forks source link

[IEEG] 设备概率出现Scrcpy BrokenPipeError: [Error 32] Broken pipe #3

Open Yezhj1 opened 1 year ago

Yezhj1 commented 1 year ago

环境:mac环境,命令行使用WeAutomator 出现概率:每10台有一台出现 错误堆栈: 2022-09-27 06:01:45:939 : ##[error][2022-09-27 06:01:45,938][ERROR][scrcpy_mgr.py-380]send_data to scrcpy ctrl stream error 2022-09-27 06:01:45:940 : ##[error]Traceback (most recent call last): 2022-09-27 06:01:45:942 : ##[error] File "../uitrace/device/android/driver/scrcpy/scrcpy_mgr.py", line 378, in send_data 2022-09-27 06:01:45:942 : ##[error]BrokenPipeError: [Errno 32] Broken pipe

附件: 3-3-1-黑鲨2-d4066f8d (1).log 3-2-1-华为p40pro (2).log

Yezhj1 commented 1 year ago

在多次验证中发现,以下2种情况均可能导致以上错误:

在测试过程中,人为高频率操作手机(点击、滑动、打开或退出app) 在测试过程中,pc和手机断开连接 目前尚未在正常测试过程中(测试过程中无人为操作,设备连接良好)发现以上问题。