Poco icon indicating copy to clipboard operation
Poco copied to clipboard

一台控制多台终端出现Process crashed

Open JustinToken opened this issue 6 years ago • 17 comments

描述问题bug 我通过wifi连接4个安卓手机,POCO库出现Process crashed问题。测试进行不去去。

[pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n'
[pocoservice.apk] stderr: b''
[pocoservice.apk] retrying instrumentation PocoService
[pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n'
[pocoservice.apk] stderr: b''
[pocoservice.apk] retrying instrumentation PocoService
[pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n'
[pocoservice.apk] stderr: b''
[pocoservice.apk] retrying instrumentation PocoService
[pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n'
[pocoservice.apk] stderr: b''
[pocoservice.apk] retrying instrumentation PocoService
[pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n'
[pocoservice.apk] stderr: b''
[pocoservice.apk] retrying instrumentation PocoService
[pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n'
[pocoservice.apk] stderr: b''
[pocoservice.apk] retrying instrumentation PocoService
[pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n'
[pocoservice.apk] stderr: b''
[pocoservice.apk] retrying instrumentation PocoService
[pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n'
[pocoservice.apk] stderr: b''
[pocoservice.apk] retrying instrumentation PocoService
[pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n'
[pocoservice.apk] stderr: b''
[pocoservice.apk] retrying instrumentation PocoService
[pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n'
[pocoservice.apk] stderr: b''
[pocoservice.apk] retrying instrumentation PocoService
[pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n'
[pocoservice.apk] stderr: b''
[pocoservice.apk] retrying instrumentation PocoService
[pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n'
[pocoservice.apk] stderr: b''
[pocoservice.apk] retrying instrumentation PocoService
[pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n'
[pocoservice.apk] stderr: b''
[pocoservice.apk] retrying instrumentation PocoService
[pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n'
[pocoservice.apk] stderr: b''
[pocoservice.apk] retrying instrumentation PocoService

复现步骤

  1. Go to '打开微博'
  2. Click on '登录'
  3. Click on '用户密码登录'
  4. 输入'账号' 5.出现错误,没有反应

预期效果 控制多台终端

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

python 版本: python3.6

poco 版本: 1.0.72

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

设备:

  • 型号: [e.g. google pixel 2]
  • 系统: [e.g. Android 8.1]
  • (别的信息)

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

JustinToken avatar Feb 15 '19 09:02 JustinToken

把手机一台一台分开试一下,确认每台都可用。有些手机可能不兼容pocoservice,可以手工卸载掉手机上的pocoservice.apkpocoservice-test 2个apk,然后重装一遍试试。apk的地址在 AirtestIDE\poco\drivers\android\lib

yimelia avatar Feb 15 '19 09:02 yimelia

每台确认可用,而且都是同一款手机。 现象是这样的,四台一起跑,只有其中一台能使用poco,其余几台出现错误。 我使用多进程执行,代码如下。 image image

JustinToken avatar Feb 15 '19 09:02 JustinToken

安卓App测试,Process crashed出现的太频繁,poco重新加载速度太慢,无缘无故就死掉了。完全无法很流畅的测试 [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService

JustinToken avatar Feb 20 '19 08:02 JustinToken

有人可以提供帮助吗?应该怎样重新启动process

[pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n'

JustinToken avatar Feb 26 '19 11:02 JustinToken

再贴下详细的log C:\Users\admin\AppData\Local\Programs\Python\Python37-32\python.exe "C:\Program Files\JetBrains\PyCharm Community Edition 2018.2.4\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 63448 --file C:/Users/admin/Desktop/workspace/python/Baiduindex-master/py/weibo/WeiboControl.py pydev debugger: process 36508 is connecting

Connected to pydev debugger (build 182.4505.26) [07:33:33][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 wait-for-device [07:33:33][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell getprop ro.build.version.sdk [07:33:33][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell dumpsys activity top [07:33:34][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell dumpsys package com.netease.nie.yosemite [07:33:34][INFO]<airtest.core.android.yosemite> local version code is 287, installed version code is 287 [07:33:34][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell settings get secure default_input_method [07:33:34][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell ime list -a [07:33:34][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell dumpsys package com.netease.open.pocoservice installed version is 41, installer version is 41. force_reinstall=False [07:33:35][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell dumpsys package com.netease.open.pocoservice.test [07:33:35][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 forward --no-rebind tcp:19540 tcp:10080 installed version is 0, installer version is 0. force_reinstall=False [07:33:35][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 forward --no-rebind tcp:17613 tcp:10081 [07:33:35][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell ps [pocoservice.apk] background daemon started. 2019-02-26 19:33:35,516 - INFO - 【18778896422】【开始运行】 [07:33:35][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell input keyevent HOME [07:33:36][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell dumpsys package com.netease.nie.yosemite [07:33:36][INFO]<airtest.core.android.yosemite> local version code is 287, installed version code is 287 [07:33:36][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am start -a com.netease.nie.yosemite.ACTION_IDENTIFY [07:33:36][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell input keyevent HOME [07:33:37][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am force-stop com.sina.weibo [07:33:37][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell monkey -p com.sina.weibo -c android.intent.category.LAUNCHER 1 [07:33:42][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell dumpsys activity top [07:33:42][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell dumpsys package com.netease.nie.yosemite [07:33:42][INFO]<airtest.core.android.yosemite> local version code is 287, installed version code is 287 [07:33:42][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell settings get secure default_input_method [07:33:42][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell ime list -a [07:33:43][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell dumpsys package com.netease.open.pocoservice [07:33:43][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell dumpsys package com.netease.open.pocoservice.test installed version is 41, installer version is 41. force_reinstall=False [07:33:43][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 forward --no-rebind tcp:12109 tcp:10080 installed version is 0, installer version is 0. force_reinstall=False [07:33:44][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 forward --no-rebind tcp:19830 tcp:10080 [07:33:44][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 forward --no-rebind tcp:19469 tcp:10081 [07:33:44][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell ps [07:33:52][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am force-stop com.netease.open.pocoservice [07:33:52][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am force-stop com.netease.open.pocoservice [07:33:53][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am start -n com.netease.open.pocoservice/.TestActivity [07:33:53][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am start -n com.netease.open.pocoservice/.TestActivity [07:33:53][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner [07:33:53][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner [pocoservice.apk] background daemon started. [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:33:59][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\startGrant.jpg) [07:33:59][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell pm path jp.co.cyberagent.stf.rotationwatcher [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:34:00][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell export CLASSPATH=/data/app/jp.co.cyberagent.stf.rotationwatcher-A54Gp64vj4oHyrkwk8w7Bg==/base.apk;exec app_process /system/bin jp.co.cyberagent.stf.rotationwatcher.RotationWatcher [07:34:00][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell ls /data/local/tmp/minicap [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:34:00][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell ls /data/local/tmp/minicap.so [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:34:00][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -v 2>&1 [07:34:00][DEBUG]<airtest.core.android.minicap> version:5 [07:34:00][DEBUG]<airtest.core.android.minicap> skip install minicap [07:34:00][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 forward --no-rebind tcp:17565 localabstract:minicap_17565 [07:34:01][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -i [07:34:01][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -n 'minicap_17565' -P 1080x2340@1080x2340/0 -l 2>&1 [07:34:01][DEBUG]<airtest.utils.nbsp> [minicap_server]b'PID: 24290' [07:34:01][DEBUG]<airtest.utils.nbsp> [minicap_server]b'INFO: Using projection 1080x2340@1080x2340/0' [07:34:01][DEBUG]<airtest.utils.nbsp> [minicap_server]b'INFO: (external/MY_minicap/src/minicap_27.cpp:241) Creating SurfaceComposerClient' [07:34:01][DEBUG]<airtest.utils.nbsp> [minicap_server]b'INFO: (external/MY_minicap/src/minicap_27.cpp:244) Performing SurfaceComposerClient init check' [07:34:01][DEBUG]<airtest.utils.nbsp> [minicap_server]b'INFO: (external/MY_minicap/src/minicap_27.cpp:255) Creating virtual display' [07:34:01][DEBUG]<airtest.utils.nbsp> [minicap_server]b'INFO: (external/MY_minicap/src/minicap_27.cpp:261) Creating buffer queue' [07:34:01][DEBUG]<airtest.utils.nbsp> [minicap_server]b'INFO: (external/MY_minicap/src/minicap_27.cpp:264) Setting buffer options' [07:34:01][DEBUG]<airtest.utils.nbsp> [minicap_server]b'INFO: (external/MY_minicap/src/minicap_27.cpp:268) Creating CPU consumer' [07:34:01][DEBUG]<airtest.utils.nbsp> [minicap_server]b'INFO: (external/MY_minicap/src/minicap_27.cpp:272) Creating frame waiter' [07:34:01][DEBUG]<airtest.utils.nbsp> [minicap_server]b'INFO: (external/MY_minicap/src/minicap_27.cpp:276) Publishing virtual display' [07:34:01][DEBUG]<airtest.utils.nbsp> [minicap_server]b'INFO: (jni/minicap/JpgEncoder.cpp:64) Allocating 7678980 bytes for JPG encoder' [07:34:01][DEBUG]<airtest.utils.nbsp> [minicap_server]b'INFO: (/home/lxn3032/minicap_for_ide/jni/minicap/minicap.cpp:473) Server start' [07:34:01][DEBUG]<airtest.utils.nbsp> [minicap_server]b'INFO: (/home/lxn3032/minicap_for_ide/jni/minicap/minicap.cpp:475) New client connection' [07:34:01][DEBUG]<airtest.core.android.minicap> (1, 24, 24290, 1080, 2340, 1080, 2340, 0, 2) [07:34:01][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -i [07:34:01][DEBUG]<airtest.core.api> try match with _find_template [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:34:01][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (208, 1919), 'rectangle': ((15, 1853), (15, 1985), (401, 1985), (401, 1853)), 'confidence': 0.14997360110282898} [07:34:01][DEBUG]<airtest.core.api> try match with _find_sift_in_predict_area [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:34:01][DEBUG]<airtest.core.api> try match with _find_sift [07:34:02][DEBUG]<airtest.core.api> match result: None [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:34:07][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\postComment.jpg) [07:34:07][DEBUG]<airtest.core.api> try match with _find_template [07:34:07][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (723, 1773), 'rectangle': ((483, 1738), (483, 1809), (964, 1809), (964, 1738)), 'confidence': 0.24509549140930176} [07:34:07][DEBUG]<airtest.core.api> try match with _find_sift_in_predict_area [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:34:08][DEBUG]<airtest.core.api> try match with _find_sift [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:34:09][DEBUG]<airtest.core.api> match result: None [07:34:09][DEBUG]<airtest.core.api> try match with _find_template [07:34:09][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (723, 1773), 'rectangle': ((483, 1738), (483, 1809), (964, 1809), (964, 1738)), 'confidence': 0.24509549140930176} [07:34:09][DEBUG]<airtest.core.api> try match with _find_sift_in_predict_area [07:34:10][DEBUG]<airtest.core.api> try match with _find_sift [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:34:11][DEBUG]<airtest.core.api> match result: None [07:34:11][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\hotSectionSelected.jpg) [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:34:11][DEBUG]<airtest.core.api> try match with _find_template [07:34:11][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (655, 169), 'rectangle': ((594, 111), (594, 227), (716, 227), (716, 111)), 'confidence': 0.5802459790706633} [07:34:11][DEBUG]<airtest.core.api> try match with _find_sift_in_predict_area [aircv][sift] threshold=0.7, result={'result': (163, 162), 'rectangle': [(105, 106), (105, 218), (222, 218), (222, 106)], 'confidence': 0.6951225852072238} [07:34:11][DEBUG]<airtest.core.api> try match with _find_sift [aircv][sift] threshold=0.7, result={'result': (34, 2078), 'rectangle': [(20, 2033), (20, 2124), (49, 2124), (49, 2033)], 'confidence': 0.48549874350149186} [07:34:12][DEBUG]<airtest.core.api> match result: None [07:34:12][DEBUG]<airtest.core.api> try match with _find_template [07:34:13][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (655, 169), 'rectangle': ((594, 111), (594, 227), (716, 227), (716, 111)), 'confidence': 0.5802459790706633} [07:34:13][DEBUG]<airtest.core.api> try match with _find_sift_in_predict_area [07:34:13][DEBUG]<airtest.core.api> try match with _find_sift [aircv][sift] threshold=0.7, result={'result': (163, 162), 'rectangle': [(105, 106), (105, 218), (222, 218), (222, 106)], 'confidence': 0.6951225852072238} [07:34:14][DEBUG]<airtest.core.api> match result: None [aircv][sift] threshold=0.7, result={'result': (34, 2078), 'rectangle': [(20, 2033), (20, 2124), (49, 2124), (49, 2033)], 'confidence': 0.48549874350149186} [07:34:14][DEBUG]<airtest.core.api> try match with _find_template [07:34:14][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (655, 169), 'rectangle': ((594, 111), (594, 227), (716, 227), (716, 111)), 'confidence': 0.5802459790706633} [07:34:14][DEBUG]<airtest.core.api> try match with _find_sift_in_predict_area [07:34:14][DEBUG]<airtest.core.api> try match with _find_sift [aircv][sift] threshold=0.7, result={'result': (163, 162), 'rectangle': [(105, 106), (105, 218), (222, 218), (222, 106)], 'confidence': 0.6951225852072238} [aircv][sift] threshold=0.7, result={'result': (34, 2078), 'rectangle': [(20, 2033), (20, 2124), (49, 2124), (49, 2033)], 'confidence': 0.48549874350149186} [07:34:15][DEBUG]<airtest.core.api> match result: None [07:34:21][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am force-stop com.netease.open.pocoservice [07:34:21][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am force-stop com.netease.open.pocoservice [07:34:21][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am start -n com.netease.open.pocoservice/.TestActivity [07:34:21][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am start -n com.netease.open.pocoservice/.TestActivity [07:34:21][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner [07:34:21][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\poco\drivers\android\uiautomation.py:265: UserWarning: [pocoservice.apk] instrumentation test server process is no longer alive [pocoservice.apk] stderr: b'' warnings.warn("[pocoservice.apk] instrumentation test server process is no longer alive") still waiting for uiautomation ready. [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:34:49][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am force-stop com.netease.open.pocoservice [07:34:49][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am force-stop com.netease.open.pocoservice [07:34:49][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am start -n com.netease.open.pocoservice/.TestActivity [07:34:50][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am start -n com.netease.open.pocoservice/.TestActivity [07:34:50][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner [07:34:50][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [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'' 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'' 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'' 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'' 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'' 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'' 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'' still waiting for uiautomation ready. [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' still waiting for uiautomation ready. still waiting for uiautomation ready. [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:35:25][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\ifLogin.jpg) [07:35:25][DEBUG]<airtest.core.api> try match with _find_template [07:35:25][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (84, 155), 'rectangle': ((33, 112), (33, 198), (135, 198), (135, 112)), 'confidence': 0.9998340606689453} [07:35:25][DEBUG]<airtest.core.api> match result: {'result': (84, 155), 'rectangle': ((33, 112), (33, 198), (135, 198), (135, 112)), 'confidence': 0.9998340606689453} [07:35:25][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\myself.jpg) [07:35:25][DEBUG]<airtest.core.api> try match with _find_template [07:35:25][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (964, 2153), 'rectangle': ((939, 2097), (939, 2209), (990, 2209), (990, 2097)), 'confidence': 0.9997293949127197} [07:35:25][DEBUG]<airtest.core.api> match result: {'result': (964, 2153), 'rectangle': ((939, 2097), (939, 2209), (990, 2209), (990, 2097)), 'confidence': 0.9997293949127197} [07:35:25][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell getprop ro.product.cpu.abi [07:35:26][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell getprop ro.build.version.sdk [07:35:26][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell ls /data/local/tmp/minitouch [07:35:26][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell ls -l /data/local/tmp/minitouch [07:35:26][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am force-stop com.netease.open.pocoservice [07:35:26][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am force-stop com.netease.open.pocoservice [07:35:26][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell rm /data/local/tmp/minitouch* [07:35:26][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am start -n com.netease.open.pocoservice/.TestActivity [07:35:26][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 push C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\stf_libs\arm64-v8a\minitouch /data/local/tmp/minitouch [07:35:26][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am start -n com.netease.open.pocoservice/.TestActivity [07:35:26][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell chmod 755 /data/local/tmp/minitouch [07:35:26][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner [07:35:26][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner [07:35:27][INFO]<airtest.core.android.minitouch> install_minitouch finished [07:35:27][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -i [07:35:27][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 forward --no-rebind tcp:15377 localabstract:minitouch_15377 [07:35:27][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell /data/local/tmp/minitouch -n 'minitouch_15377' 2>&1 [07:35:27][DEBUG]<airtest.utils.nbsp> [minitouch_server]b'Note: device /dev/input/mouse0 is not supported by libevdev' [07:35:27][DEBUG]<airtest.utils.nbsp> [minitouch_server]b'Note: device /dev/input/mice is not supported by libevdev' [07:35:27][DEBUG]<airtest.utils.nbsp> [minitouch_server]b'Type A touch device huawei,ts_kit (1080x2340 with 16 contacts) detected on /dev/input/event4 (score 21589)' [07:35:27][DEBUG]<airtest.utils.nbsp> [minitouch_server]b'Note: hard-limiting maximum number of contacts to 10' [07:35:27][DEBUG]<airtest.core.android.minitouch> minitouch header:b'v 1\n^ 10 1080 2340 255\n$ 25672\n' [07:35:27][DEBUG]<airtest.utils.nbsp> [minitouch_server]b'Connection established' [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' still waiting for uiautomation ready. still waiting for uiautomation ready. [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:35:31][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\briefing.jpg) [07:35:31][DEBUG]<airtest.core.api> try match with _find_template [07:35:31][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (275, 406), 'rectangle': ((236, 380), (236, 432), (315, 432), (315, 380)), 'confidence': 0.9992573261260986} [07:35:31][DEBUG]<airtest.core.api> match result: {'result': (275, 406), 'rectangle': ((236, 380), (236, 432), (315, 432), (315, 380)), 'confidence': 0.9992573261260986} [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:35:37][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\home.jpg) [07:35:38][DEBUG]<airtest.core.api> try match with _find_template [07:35:38][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (113, 2147), 'rectangle': ((45, 2087), (45, 2207), (181, 2207), (181, 2087)), 'confidence': 0.4523125886917114} [07:35:38][DEBUG]<airtest.core.api> try match with _find_sift_in_predict_area [aircv][sift] threshold=0.7, result={'result': (113, 161), 'rectangle': [(47, 104), (47, 219), (180, 219), (180, 104)], 'confidence': 0.7260315865278244} [07:35:38][DEBUG]<airtest.core.api> match result: {'result': (58.39999999999998, 2148.4), 'rectangle': [(-7.600000000000023, 2091.4), (-7.600000000000023, 2206.4), (125.39999999999998, 2206.4), (125.39999999999998, 2091.4)], 'confidence': 0.7260315865278244} [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:35:38][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell dumpsys package com.android.chrome [07:35:38][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am force-stop com.android.chrome [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:35:41][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell monkey -p com.android.chrome -c android.intent.category.LAUNCHER 1 [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:35:45][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\searchIndexOfChrome.jpg) [07:35:45][DEBUG]<airtest.core.api> try match with _find_template [07:35:46][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (251, 778), 'rectangle': ((64, 738), (64, 818), (438, 818), (438, 738)), 'confidence': 0.9996899962425232} [07:35:46][DEBUG]<airtest.core.api> match result: {'result': (251, 778), 'rectangle': ((64, 738), (64, 818), (438, 818), (438, 738)), 'confidence': 0.9996899962425232} [07:35:55][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am force-stop com.netease.open.pocoservice [07:35:55][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am force-stop com.netease.open.pocoservice [07:35:55][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am start -n com.netease.open.pocoservice/.TestActivity [07:35:55][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am start -n com.netease.open.pocoservice/.TestActivity [07:35:55][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner [07:35:55][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [07:35:58][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell input keyevent ENTER still waiting for uiautomation ready. still waiting for uiautomation ready. [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:36:06][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\downloadPicOfChrome.jpg) [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:36:06][DEBUG]<airtest.core.api> try match with _find_template [07:36:06][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (254, 1076), 'rectangle': ((134, 1036), (134, 1116), (374, 1116), (374, 1036)), 'confidence': 0.9998769760131836} [07:36:06][DEBUG]<airtest.core.api> match result: {'result': (254, 1076), 'rectangle': ((134, 1036), (134, 1116), (374, 1116), (374, 1036)), 'confidence': 0.9998769760131836} [07:36:07][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\chromeRole.jpg) [07:36:07][DEBUG]<airtest.core.api> try match with _find_template [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:36:07][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (552, 1157), 'rectangle': ((104, 1020), (104, 1294), (1000, 1294), (1000, 1020)), 'confidence': 0.9998161196708679} [07:36:07][DEBUG]<airtest.core.api> match result: {'result': (552, 1157), 'rectangle': ((104, 1020), (104, 1294), (1000, 1294), (1000, 1020)), 'confidence': 0.9998161196708679} [07:36:07][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\roleContinueOfChrome.jpg) [07:36:07][DEBUG]<airtest.core.api> try match with _find_template [07:36:07][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (906, 1256), 'rectangle': ((833, 1221), (833, 1292), (980, 1292), (980, 1221)), 'confidence': 0.9948802792429925} [07:36:07][DEBUG]<airtest.core.api> match result: {'result': (906, 1256), 'rectangle': ((833, 1221), (833, 1292), (980, 1292), (980, 1221)), 'confidence': 0.9948802792429925} [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:36:09][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\stillAllow.jpg) [07:36:09][DEBUG]<airtest.core.api> try match with _find_template [07:36:10][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (789, 2079), 'rectangle': ((647, 2038), (647, 2121), (931, 2121), (931, 2038)), 'confidence': 0.999190628528595} [07:36:10][DEBUG]<airtest.core.api> match result: {'result': (789, 2079), 'rectangle': ((647, 2038), (647, 2121), (931, 2121), (931, 2038)), 'confidence': 0.999190628528595} [pocoservice.apk] stdout: b''[pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] stderr: b''

[pocoservice.apk] retrying instrumentation PocoService[pocoservice.apk] retrying instrumentation PocoService

[pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:36:12][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\downloadOfChrome2.jpg) [07:36:12][DEBUG]<airtest.core.api> try match with _find_template [07:36:12][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (942, 1564), 'rectangle': ((838, 1520), (838, 1608), (1047, 1608), (1047, 1520)), 'confidence': 0.34530502557754517} [07:36:12][DEBUG]<airtest.core.api> try match with _find_sift_in_predict_area [07:36:12][DEBUG]<airtest.core.api> try match with _find_sift [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:36:12][DEBUG]<airtest.core.api> match result: None [07:36:13][DEBUG]<airtest.core.api> try match with _find_template [07:36:13][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (942, 1564), 'rectangle': ((838, 1520), (838, 1608), (1047, 1608), (1047, 1520)), 'confidence': 0.34530502557754517} [07:36:13][DEBUG]<airtest.core.api> try match with _find_sift_in_predict_area [07:36:13][DEBUG]<airtest.core.api> try match with _find_sift [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [07:36:14][DEBUG]<airtest.core.api> match result: None [07:36:14][DEBUG]<airtest.core.api> try match with _find_template [07:36:14][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (942, 1564), 'rectangle': ((838, 1520), (838, 1608), (1047, 1608), (1047, 1520)), 'confidence': 0.34530502557754517} [07:36:14][DEBUG]<airtest.core.api> try match with _find_sift_in_predict_area [07:36:15][DEBUG]<airtest.core.api> try match with _find_sift [07:36:15][DEBUG]<airtest.core.api> match result: None [07:36:15][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\downloadSignOfChrome.jpg) [07:36:15][DEBUG]<airtest.core.api> try match with _find_template [07:36:15][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (950, 2087), 'rectangle': ((886, 2057), (886, 2118), (1014, 2118), (1014, 2057)), 'confidence': 0.9996423721313477} [07:36:15][DEBUG]<airtest.core.api> match result: {'result': (950, 2087), 'rectangle': ((886, 2057), (886, 2118), (1014, 2118), (1014, 2057)), 'confidence': 0.9996423721313477} [07:36:16][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\mobileBack.jpg) [07:36:16][DEBUG]<airtest.core.api> try match with _find_template [07:36:16][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (306, 2271), 'rectangle': ((258, 2239), (258, 2304), (354, 2304), (354, 2239)), 'confidence': 0.9998005628585815} [07:36:16][DEBUG]<airtest.core.api> match result: {'result': (306, 2271), 'rectangle': ((258, 2239), (258, 2304), (354, 2304), (354, 2239)), 'confidence': 0.9998005628585815} [07:36:16][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am force-stop com.android.chrome [07:36:17][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\addOption.jpg) [07:36:17][DEBUG]<airtest.core.api> try match with _find_template [07:36:17][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (41, 49), 'rectangle': ((0, 0), (0, 98), (83, 98), (83, 0)), 'confidence': 0.0} [07:36:17][DEBUG]<airtest.core.api> try match with find_sift_in_predict_area [07:36:17][DEBUG]<airtest.core.api> try match with find_sift [07:36:17][DEBUG]<airtest.core.api> match result: None [07:36:18][DEBUG]<airtest.core.api> try match with find_template [07:36:18][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (997, 150), 'rectangle': ((956, 101), (956, 199), (1039, 199), (1039, 101)), 'confidence': 0.999540388584137} [07:36:18][DEBUG]<airtest.core.api> match result: {'result': (997, 150), 'rectangle': ((956, 101), (956, 199), (1039, 199), (1039, 101)), 'confidence': 0.999540388584137} [07:36:19][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\writeWeibo.jpg) [07:36:19][DEBUG]<airtest.core.api> try match with find_template [07:36:19][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (795, 301), 'rectangle': ((643, 251), (643, 352), (947, 352), (947, 251)), 'confidence': 0.9996262192726135} [07:36:19][DEBUG]<airtest.core.api> match result: {'result': (795, 301), 'rectangle': ((643, 251), (643, 352), (947, 352), (947, 251)), 'confidence': 0.9996262192726135} [07:36:21][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell dumpsys package com.netease.nie.yosemite [07:36:21][INFO]<airtest.core.android.yosemite> local version code is 287, installed version code is 287 [07:36:21][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell settings get secure default_input_method [07:36:21][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell ime list -a [07:36:22][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am broadcast -a ADB_INPUT_TEXT --es msg '都要好好的' [07:36:22][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell input keyevent ENTER [07:36:23][INFO]<airtest.core.api> Try finding: Template(C:\usr\pythonProject\weibo\keep\testCase\weibo\openAlbums.jpg) [07:36:23][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am force-stop com.netease.open.pocoservice [07:36:23][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am force-stop com.netease.open.pocoservice [07:36:23][DEBUG]<airtest.core.api> try match with find_template [07:36:23][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am start -n com.netease.open.pocoservice/.TestActivity [07:36:24][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am start -n com.netease.open.pocoservice/.TestActivity [07:36:24][DEBUG]<airtest.aircv.template> threshold=0.7, result={'result': (94, 2081), 'rectangle': ((36, 2032), (36, 2131), (153, 2131), (153, 2032)), 'confidence': 0.9997818470001221} [07:36:24][DEBUG]<airtest.core.api> match result: {'result': (94, 2081), 'rectangle': ((36, 2032), (36, 2131), (153, 2131), (153, 2032)), 'confidence': 0.9997818470001221} [07:36:24][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner [07:36:24][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner [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'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService [pocoservice.apk] stdout: b'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\r\nINSTRUMENTATION_CODE: 0\r\n' [pocoservice.apk] stderr: b'' [pocoservice.apk] retrying instrumentation PocoService 2019-02-26 19:36:28,821 - INFO - 【18778896422】1【出錯】int() argument must be a string, a bytes-like object or a number, not 'NoneType'【8TFDU18731005841】 出錯%s Cannot find any visible node by query UIObjectProxy of "com.sina.weibo:id/photo_album_gridview/android.widget.RelativeLayout" 2019-02-26 19:36:28,822 - INFO - 【18778896422】1【结束】【8TFDU18731005841】 18778896422_2019-02-26_1.html [07:36:28][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 forward --remove tcp:19540 [07:36:28][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 forward --remove tcp:17613 [07:36:28][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 forward --remove tcp:19830 [07:36:28][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 forward --remove tcp:19469 [07:36:28][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 forward --remove tcp:17565 [07:36:28][DEBUG]<airtest.core.android.adb> C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 8TFDU18731005841 forward --remove tcp:15377 [07:36:28][DEBUG]<airtest.core.android.rotation> orientationWatcher has ended Exception ignored in: <function RpcObjectProxy.del at 0x0ECACA08> Traceback (most recent call last): File "C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\hrpc\object_proxy.py", line 114, in del self.client.evaluate(RpcObjectProxy(self.uri, self.client, action), wait_for_response=False) File "C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\hrpc\client.py", line 63, in evaluate self.transport.send({'id': reqid, 'uri': obj_proxy.uri, 'method': obj_proxy.invocation_path}) File "C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\hrpc\transport\http.py", line 26, in send raise TransportDisconnected(e) hrpc.exceptions.TransportDisconnected: HTTPConnectionPool(host='127.0.0.1', port=19469): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x035AC6D0>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))

Process finished with exit code 0

JustinToken avatar Feb 26 '19 11:02 JustinToken

pip list 查看一下poco的版本号是多少?

yimelia avatar Feb 26 '19 11:02 yimelia

image

JustinToken avatar Feb 26 '19 11:02 JustinToken

PocoService.apk的Process crashed需要看logcat的输出才能定位具体问题,但是也不一定有log,没log的话就是被系统杀掉了,属于兼容性问题,比较难处理。

adolli avatar Feb 26 '19 12:02 adolli

关键是前脚运行还好好地,突然就不行了,不知道为何

shishangx avatar May 26 '20 05:05 shishangx

我也遇到这个问题 难道是被系统软件或者杀毒软件干掉了

yuhao-go avatar Nov 23 '20 02:11 yuhao-go

莫名的死 好难受,也不恢复更难受了

bs111 avatar Dec 23 '20 06:12 bs111

2021年了 也没解决

thedumbwhale avatar Sep 27 '21 05:09 thedumbwhale

2021年了 也没解决

2022年了 也没解决

Zz3y avatar Nov 24 '22 10:11 Zz3y

....

cscli avatar Dec 21 '22 10:12 cscli

2023年了 也没解决

Thanolee avatar Apr 28 '23 12:04 Thanolee

https://airtest.doc.io.netease.com/IDEdocs/poco_framework/7_poco_restart/

cscli avatar Jun 27 '23 06:06 cscli

多个设备初始化AndroidUiautomationPoco时,using_proxy参数改成False,亲测有效

fruittee avatar Oct 31 '23 09:10 fruittee