AirtestProject / AirtestProject/Poco

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

Open
#457 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
2k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

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

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.