AirtestProject / AirtestProject/Poco

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

Offen
#457 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
2k
Forks
341
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.