Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用watcher不定时出现_run_watchers exception: ('am instrument quit', 'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\nINSTRUMENTATION_CODE: 0\n') #1006

Open
deshawnboyle opened this issue Jul 9, 2024 · 1 comment
Labels

Comments

@deshawnboyle
Copy link

  • 华为Nova4
  • uiautomator2的版本号: 3.1.2
  • 手机截图: 无
  • 相关日志(Python控制台错误信息, adb logcat完整信息, atxagent.log日志)
  • [2024-07-09 22:33:56,059] [ WARNING] watcher.py:226 - _run_watchers exception: ('uiautomator2 server quit', 'INSTRUMENTATION_STATUS: class=com.github.uiautomator.stub.Stub\nINSTRUMENTATION_STATUS: current=1\nINSTRUMENTATION_STATUS: id=AndroidJUnitRunner\nINSTRUMENTATION_STATUS: numtests=1\nINSTRUMENTATION_STATUS: stream=\ncom.github.uiautomator.stub.Stub:\nINSTRUMENTATION_STATUS: test=testUIAutomatorStub\nINSTRUMENTATION_STATUS_CODE: 1\nINSTRUMENTATION_RESULT: shortMsg=Process crashed.\nINSTRUMENTATION_CODE: 0\n')
    [2024-07-09 22:33:56,728] [ WARNING] watcher.py:226 - _run_watchers exception: ('am instrument quit', 'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\nINSTRUMENTATION_CODE: 0\n')
    [2024-07-09 22:33:57,463] [ WARNING] watcher.py:226 - _run_watchers exception: ('am instrument quit', 'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\nINSTRUMENTATION_CODE: 0\n')
    [2024-07-09 22:33:58,210] [ WARNING] watcher.py:226 - _run_watchers exception: ('am instrument quit', 'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\nINSTRUMENTATION_CODE: 0\n')
    [2024-07-09 22:33:58,930] [ WARNING] watcher.py:226 - _run_watchers exception: ('am instrument quit', 'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\nINSTRUMENTATION_CODE: 0\n')
    [2024-07-09 22:33:59,663] [ WARNING] watcher.py:226 - _run_watchers exception: ('am instrument quit', 'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\nINSTRUMENTATION_CODE: 0\n')
    [2024-07-09 22:34:00,367] [ WARNING] watcher.py:226 - _run_watchers exception: ('am instrument quit', 'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\nINSTRUMENTATION_CODE: 0\n')
    [2024-07-09 22:34:00,618] [ WARNING] watcher.py:226 - _run_watchers exception: ('am instrument quit', 'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\nINSTRUMENTATION_CODE: 0\n')
    [2024-07-09 22:34:01,819] [ WARNING] watcher.py:226 - _run_watchers exception: ('am instrument quit', 'INSTRUMENTATION_RESULT: shortMsg=Process crashed.\nINSTRUMENTATION_CODE: 0\n')
  • 最好能附上可能复现问题的代码。
@codeskyblue
Copy link
Member

建议这个watcher暂时先别用了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants