android驱动升级到2.0.40后出现shortMsg=Process crashed
@arnozhang is already working on this.
Since Apr 4, 2018.
Assessment
This issue has not been assessed yet.
Description
OSX:10.12.3
Android:5.1.1
Python:2.7
macaca-android:2.0.40
运行用例出现shortMsg=Process crashed,从而导致元素没发操作。
>> responseHandler.js:11:12 [master] pid:12657 Recieve HTTP Request from Client[2017-10-27 15:09:01]: method: POST url: /wd/hub/session/6254c1fb-db0c-4018-929f-8580b1a52a61/element, jsonBody: {"using":"name","value":"Subscribe"}
>> restart UIAutomatorWD server
>> uiautomator-client.js:61:14 [master] pid:12657 INSTRUMENTATION_RESULT: shortMsg=Process crashed.
>> uiautomator-client.js:61:14 [master] pid:12657 INSTRUMENTATION_CODE: 0
>> uiautomator-client.js:61:14 [master] pid:12657 INSTRUMENTATION_STATUS: numtests=1
>> uiautomator-client.js:61:14 [master] pid:12657
INSTRUMENTATION_STATUS: stream=
com.macaca.android.testing.UIAutomatorWD:
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: test=MacacaTestRunner
INSTRUMENTATION_STATUS: class=com.macaca.android.testing.UIAutomatorWD
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS_CODE: 1
>> uiautomator-client.js:61:14 [master] pid:12657 INSTRUMENTATION_STATUS: stream=
>> uiautomator-client.js:61:14 [master] pid:12657
UIAutomatorWD->http://localhost:9002<-UIAutomatorWD
INSTRUMENTATION_STATUS_CODE: 0
>> UIAutomatorWD http server ready
>> proxy.js:55:14 [master] pid:12657 Proxy: /wd/hub/session/6254c1fb-db0c-4018-929f-8580b1a52a61/element:POST to http://127.0.0.1:9002/wd/hub/session/6254c1fb-db0c-4018-929f-8580b1a52a61/element:POST with body: {"using":"name","value":"Subscribe"}
>> proxy.js:85:20 [master] pid:12657 Got response with status 200: {"sessionId":null,"status":0,"value":{"ELEMENT":"1"}}
>> session.js:109:14 [master] pid:12657 Send HTTP Respone to Client[2017-10-27 15:09:03]: {"sessionId":null,"status":0,"value":"{\"ELEMENT\":\"1\"}"}
>> responseHandler.js:11:12 [master] pid:12657 Recieve HTTP Request from Client[2017-10-27 15:09:03]: method: GET url: /wd/hub/session/6254c1fb-db0c-4018-929f-8580b1a52a61/element/1/displayed, jsonBody: {}
>> restart UIAutomatorWD server
>> uiautomator-client.js:61:14 [master] pid:12657 INSTRUMENTATION_RESULT: shortMsg=Process crashed.
>> uiautomator-client.js:61:14 [master] pid:12657 INSTRUMENTATION_CODE: 0
>> uiautomator-client.js:61:14 [master] pid:12657 INSTRUMENTATION_STATUS: numtests=1
>> uiautomator-client.js:61:14 [master] pid:12657
INSTRUMENTATION_STATUS: stream=
com.macaca.android.testing.UIAutomatorWD:
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: test=MacacaTestRunner
INSTRUMENTATION_STATUS: class=com.macaca.android.testing.UIAutomatorWD
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS_CODE: 1
>> uiautomator-client.js:61:14 [master] pid:12657 INSTRUMENTATION_STATUS: stream=
UIAutomatorWD->http://localhost:9002<-UIAutomatorWD
INSTRUMENTATION_STATUS_CODE: 0
- Dominant language
- JavaScript
- Stars
- 52
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from macacajs/macaca-android
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
macacajs/macaca-android#88 ·
-
Unable to install npm i macaca-android -g on Mac (OS 11.6)May be free again @snapre claimed this 1786 days ago, and no pull request is open. Open
macacajs/macaca-android#89 · 1 assignee ·
-
windows环境系npm i macaca-android -g无法安装成功May be free again @snapre claimed this 1786 days ago, and no pull request is open. Open
macacajs/macaca-android#86 · 3 comments · 1 assignee ·
-
android在调用waitForElement()方法时,提示bad requestMay be free again @paradite claimed this 2644 days ago, and no pull request is open. Open
macacajs/macaca-android#85 · 1 comment · 1 assignee ·
-
Impossible to installMay be free again @paradite claimed this 2775 days ago, and no pull request is open. Open
macacajs/macaca-android#82 · 1 assignee ·
All issues in macacajs/macaca-android
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Design only Leadership Survey SLFS
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
bcgov/digital-journeys#2293 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tursodatabase/turso#9405 ·
Maintainers usually reply within 1 day
-
Toolkit
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
API Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ProjectSidewalk/SidewalkWebpage#5556 ·
Maintainers usually reply within 1 day