-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在运行monkey测试的时候,选择多台手机测试会出现反复的装包卸载,运行失败等 #1
Comments
@lin54241930 有具体的 log 么,可以贴出来帮忙看下。 |
2020-09-08 14:51:38,626 <36141> [tcloud_update.py (216)] INFO (0) update monkey <68> success 我改了一部分你的,加了一个自动输入安装时需要输入密码的功能,但是我在使用2台或者2台以上手机的时候,这里打印出来的设备就不对了,本来只有两台手机,打印出了4个devices出来,process id 也有4个,所以这里就有重复了 |
2020-09-08 15:40:56,057 <18404> [runner.py (95)] ERROR
2020-09-08 15:40:56,058 <18406> [tcloud_update.py (189)] INFO (0) update monkey
2020-09-08 15:40:56,060 <18404> [tcloud_update.py (189)] INFO (0) update monkey 运行的时候,会直接报multiprocessing的错,感觉是这个没加:if name == 'main': 但是我加了还是有其他的问题 |
|
初步怀疑是因为multiprocessing创建了重复的多进程,导致在部分手机上不断的重复安装卸载,program.py中第31行会打印出创建的case,在我选择了2台以上手机的时候,这里打印出来的case都是成倍的增长,按理说这里应该是一个设备对应一个case出现重复安装的原因初步猜测也是因为创建case的问题,导致重复创建多进程,因为是小白,所以没能分析出啦具体是哪里的问题,烦请大佬指导下
The text was updated successfully, but these errors were encountered: