Poco icon indicating copy to clipboard operation
Poco copied to clipboard

【Android】[pocoservice.apk] instrumentation test server process is no longer alive

Open fzdxly opened this issue 3 years ago • 1 comments

(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。)

poco库报错 描述问题bug 执行用例到第262次,提示D:\airtest\AirtestIDE\poco\drivers\android\uiautomation.py:284: UserWarning: [pocoservice.apk] instrumentation test server process is no longer alive

D:\airtest\AirtestIDE\poco\drivers\android\uiautomation.py:284: UserWarning: [pocoservice.apk] instrumentation test server process is no longer alive
  warnings.warn("[pocoservice.apk] instrumentation test server process is no longer alive")
[pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n'
[pocoservice.apk] stderr: b''
still waiting for uiautomation ready.
[pocoservice.apk] stdout: b''
[pocoservice.apk] stderr: b''
still waiting for uiautomation ready.
[pocoservice.apk] stdout: b''
[pocoservice.apk] stderr: b''
[pocoservice.apk] stdout: b''
[pocoservice.apk] stderr: b''
[pocoservice.apk] stdout: b''
[pocoservice.apk] stderr: b''
[pocoservice.apk] stdout: b''
[pocoservice.apk] stderr: b''
[pocoservice.apk] stdout: b''
[pocoservice.apk] stderr: b''

复现步骤 业务相关步骤

预期效果 希望可以执行完设置的测试次数

相关截图 (贴出遇到问题时的截图内容,如果有的话)

python 版本: airtestIDE V1.2.9内置python

poco 版本: airtestIDE V1.2.9内置poco

poco版本通过pip freeze可以命令可以查到

设备:

  • 型号: [Galaxy S8+]
  • 系统: [Android 9]
  • (别的信息)

其他相关环境信息 (其他运行环境,例如在linux ubuntu16.04上运行异常,在windows上正常。) windows 10

fzdxly avatar May 12 '21 01:05 fzdxly

有解决吗

AddrocSue avatar Aug 23 '21 03:08 AddrocSue