AirtestProject / AirtestProject/Poco

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

未关闭
#457 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
2k
派生
341
PR 合并指标
30 天内没有已合并 PR

描述

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

**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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。