Skip to content

Instantly share code, notes, and snippets.

@aaltat
Created April 9, 2020 14:38
Show Gist options
  • Save aaltat/9294faaa3b143ef4fc57755aa95e2cf4 to your computer and use it in GitHub Desktop.
Save aaltat/9294faaa3b143ef4fc57755aa95e2cf4 to your computer and use it in GitHub Desktop.
pytest log problem
(venv) C:\tmp>python -m pytest -p no:faulthandler test_pywinauto.py
================================================= test session starts =================================================
platform win32 -- Python 3.8.2, pytest-5.4.1, py-1.8.1, pluggy-0.13.1
rootdir: C:\tmp
collected 1 item
src\test_pywinauto.py Windows fatal exception: code 0x80040155
Current thread 0x00001128 (most recent call first):
File "C:\Python38-32\lib\site-packages\pywinauto\uia_element_info.py", line 269 in _get_elements
File "C:\Python38-32\lib\site-packages\pywinauto\uia_element_info.py", line 307 in descendants
File "C:\Python38-32\lib\site-packages\pywinauto\base_wrapper.py", line 492 in descendants
File "C:\Python38-32\lib\site-packages\pywinauto\application.py", line 616 in print_control_identifiers
File "C:\tmp\test_pywinauto.py", line 23 in test_01
File "C:\Python38-32\lib\site-packages\_pytest\python.py", line 184 in pytest_pyfunc_call
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\python.py", line 1479 in runtest
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 135 in pytest_runtest_call
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 217 in <lambda>
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 244 in from_call
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 216 in call_runtest_hook
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 186 in call_and_report
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 100 in runtestprotocol
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 85 in pytest_runtest_protocol
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\main.py", line 272 in pytest_runtestloop
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\main.py", line 247 in _main
File "C:\Python38-32\lib\site-packages\_pytest\main.py", line 191 in wrap_session
File "C:\Python38-32\lib\site-packages\_pytest\main.py", line 240 in pytest_cmdline_main
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\config\__init__.py", line 124 in main
File "C:\Python38-32\lib\site-packages\pytest\__main__.py", line 7 in <module>
File "C:\Python38-32\lib\runpy.py", line 86 in _run_code
File "C:\Python38-32\lib\runpy.py", line 193 in _run_module_as_main
Windows fatal exception: code 0x80040155
Current thread 0x00001128 (most recent call first):
File "C:\Python38-32\lib\site-packages\pywinauto\uia_element_info.py", line 269 in _get_elements
File "C:\Python38-32\lib\site-packages\pywinauto\uia_element_info.py", line 307 in descendants
File "C:\Python38-32\lib\site-packages\pywinauto\base_wrapper.py", line 492 in descendants
File "C:\Python38-32\lib\site-packages\pywinauto\application.py", line 616 in print_control_identifiers
File "C:\tmp\test_pywinauto.py", line 23 in test_01
File "C:\Python38-32\lib\site-packages\_pytest\python.py", line 184 in pytest_pyfunc_call
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\python.py", line 1479 in runtest
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 135 in pytest_runtest_call
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 217 in <lambda>
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 244 in from_call
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 216 in call_runtest_hook
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 186 in call_and_report
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 100 in runtestprotocol
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 85 in pytest_runtest_protocol
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\main.py", line 272 in pytest_runtestloop
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\main.py", line 247 in _main
File "C:\Python38-32\lib\site-packages\_pytest\main.py", line 191 in wrap_session
File "C:\Python38-32\lib\site-packages\_pytest\main.py", line 240 in pytest_cmdline_main
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\config\__init__.py", line 124 in main
File "C:\Python38-32\lib\site-packages\pytest\__main__.py", line 7 in <module>
File "C:\Python38-32\lib\runpy.py", line 86 in _run_code
File "C:\Python38-32\lib\runpy.py", line 193 in _run_module_as_main
Windows fatal exception: code 0x80040155
Current thread 0x00001128 (most recent call first):
File "C:\Python38-32\lib\site-packages\pywinauto\uia_element_info.py", line 269 in _get_elements
File "C:\Python38-32\lib\site-packages\pywinauto\uia_element_info.py", line 307 in descendants
File "C:\Python38-32\lib\site-packages\pywinauto\base_wrapper.py", line 492 in descendants
File "C:\Python38-32\lib\site-packages\pywinauto\application.py", line 616 in print_control_identifiers
File "C:\tmp\test_pywinauto.py", line 23 in test_01
File "C:\Python38-32\lib\site-packages\_pytest\python.py", line 184 in pytest_pyfunc_call
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\python.py", line 1479 in runtest
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 135 in pytest_runtest_call
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 217 in <lambda>
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 244 in from_call
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 216 in call_runtest_hook
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 186 in call_and_report
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 100 in runtestprotocol
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 85 in pytest_runtest_protocol
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\main.py", line 272 in pytest_runtestloop
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\main.py", line 247 in _main
File "C:\Python38-32\lib\site-packages\_pytest\main.py", line 191 in wrap_session
File "C:\Python38-32\lib\site-packages\_pytest\main.py", line 240 in pytest_cmdline_main
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\config\__init__.py", line 124 in main
File "C:\Python38-32\lib\site-packages\pytest\__main__.py", line 7 in <module>
File "C:\Python38-32\lib\runpy.py", line 86 in _run_code
File "C:\Python38-32\lib\runpy.py", line 193 in _run_module_as_main
Windows fatal exception: code 0x80040155
Current thread 0x00001128 (most recent call first):
File "C:\Python38-32\lib\site-packages\pywinauto\uia_element_info.py", line 269 in _get_elements
File "C:\Python38-32\lib\site-packages\pywinauto\uia_element_info.py", line 307 in descendants
File "C:\Python38-32\lib\site-packages\pywinauto\base_wrapper.py", line 492 in descendants
File "C:\Python38-32\lib\site-packages\pywinauto\application.py", line 616 in print_control_identifiers
File "C:\tmp\test_pywinauto.py", line 23 in test_01
File "C:\Python38-32\lib\site-packages\_pytest\python.py", line 184 in pytest_pyfunc_call
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\python.py", line 1479 in runtest
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 135 in pytest_runtest_call
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 217 in <lambda>
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 244 in from_call
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 216 in call_runtest_hook
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 186 in call_and_report
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 100 in runtestprotocol
File "C:\Python38-32\lib\site-packages\_pytest\runner.py", line 85 in pytest_runtest_protocol
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\main.py", line 272 in pytest_runtestloop
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\main.py", line 247 in _main
File "C:\Python38-32\lib\site-packages\_pytest\main.py", line 191 in wrap_session
File "C:\Python38-32\lib\site-packages\_pytest\main.py", line 240 in pytest_cmdline_main
File "C:\Python38-32\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
File "C:\Python38-32\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
File "C:\Python38-32\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Python38-32\lib\site-packages\_pytest\config\__init__.py", line 124 in main
File "C:\Python38-32\lib\site-packages\pytest\__main__.py", line 7 in <module>
File "C:\Python38-32\lib\runpy.py", line 86 in _run_code
File "C:\Python38-32\lib\runpy.py", line 193 in _run_module_as_main
Windows fatal exception: code 0x80040155
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment