Repository navigation
Closed
Labels
test issueTest failures and other issues with test runs and CI.
Description
After enabling attach_to_pid test runner for a bunch more generic tests, there are assorted test failures on Win32 and MacOS, but not on Linux. All failing tests expect to hit a breakpoint (regular or exception), but the debuggee just runs to completion.
The exact list of failing tests seems to be somewhat random (one example below), and I cannot reproduce any failures in a local run, so this is likely due to some kind of race condition.
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw0] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw0' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[0-zero-uncaught-raised-attach_by_pid-module]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw5] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw5' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[0-zero-uncaught-attach_by_pid-module]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw1] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw1' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[0-zero-uncaught-raised-attach_by_pid-program]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw6] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw6' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[1-zero-raised-attach_by_pid-program]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw9] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw9' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[nan-raised-attach_by_pid-program]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw8] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw8' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[nan-uncaught-raised-attach_by_pid-module]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw3] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw3' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[1-uncaught-attach_by_pid-program]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw4] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw4' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[1-zero-uncaught-raised-attach_by_pid-program]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw10] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw10' crashed while running 'tests/ptvsd/server/test_exception.py::test_success_exitcodes[django-break_on_system_exit_zero-0-attach_by_pid-program]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw7] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw7' crashed while running 'tests/ptvsd/server/test_exception.py::test_success_exitcodes[django-break_on_system_exit_zero-3-attach_by_pid-program]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw12] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw12' crashed while running 'tests/ptvsd/server/test_exception.py::test_success_exitcodes[break_on_system_exit_zero-3-attach_by_pid-program]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw13] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw13' crashed while running 'tests/ptvsd/server/test_exception.py::test_success_exitcodes[3-attach_by_pid-program]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw11] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw11' crashed while running 'tests/ptvsd/server/test_exception.py::test_success_exitcodes[break_on_system_exit_zero-0-attach_by_pid-program]'
______________________ tests/ptvsd/server/test_output.py ______________________
[gw2] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw2' crashed while running 'tests/ptvsd/server/test_output.py::test_with_no_output[program-attach_by_pid]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw20] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw20' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[0-zero-raised-attach_by_pid-module]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw19] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw19' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[nan-zero-uncaught-attach_by_pid-module]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw21] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw21' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[nan-zero-uncaught-raised-attach_by_pid-program]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw15] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw15' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[nan-zero-raised-attach_by_pid-program]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw14] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw14' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[1-zero-raised-attach_by_pid-module]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw23] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw23' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[1-uncaught-raised-attach_by_pid-program]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw18] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw18' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[0-zero-raised-attach_by_pid-program]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw26] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw26' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[1-raised-attach_by_pid-program]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw25] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw25' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[nan-uncaught-attach_by_pid-program]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw28] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw28' crashed while running 'tests/ptvsd/server/test_exception.py::test_success_exitcodes[django-break_on_system_exit_zero-0-attach_by_pid-module]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw27] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw27' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[1-zero-uncaught-attach_by_pid-program]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw29] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw29' crashed while running 'tests/ptvsd/server/test_exception.py::test_success_exitcodes[django-break_on_system_exit_zero-3-attach_by_pid-module]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw17] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw17' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[1-uncaught-attach_by_pid-module]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw30] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw30' crashed while running 'tests/ptvsd/server/test_exception.py::test_success_exitcodes[break_on_system_exit_zero-3-attach_by_pid-module]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw32] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw32' crashed while running 'tests/ptvsd/server/test_exception.py::test_success_exitcodes[break_on_system_exit_zero-0-attach_by_pid-module]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw31] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw31' crashed while running 'tests/ptvsd/server/test_exception.py::test_success_exitcodes[3-attach_by_pid-module]'
______________________ tests/ptvsd/server/test_output.py ______________________
[gw34] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw34' crashed while running 'tests/ptvsd/server/test_output.py::test_redirect_output[program-enabled-attach_by_pid]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw37] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw37' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[nan-zero-uncaught-raised-attach_by_pid-module]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw22] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw22' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[nan-zero-raised-attach_by_pid-module]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw36] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw36' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[1-uncaught-raised-attach_by_pid-module]'
____________________ tests/ptvsd/server/test_exception.py _____________________
[gw16] win32 -- Python 3.8.0 d:\a\1\s\.tox\py38\scripts\python.exe
worker 'gw16' crashed while running 'tests/ptvsd/server/test_exception.py::test_systemexit[1-raised-attach_by_pid-module]'
================= xdist: maximum crashed workers reached: 32 ==================
-------- generated xml file: D:\a\1\a\junit-test-report-win-pytest.xml --------
============= 35 failed, 715 passed, 8 skipped in 586.12 seconds ==============```
Metadata
Metadata
Assignees
Labels
test issueTest failures and other issues with test runs and CI.
Activity
Disable attach_by_pid(wait=True) tests on Win32 and Mac due to #1926
Disable attach_by_pid(wait=True) tests on Win32 and Mac due to #1926
int19h commentedon Jul 13, 2020
Duplicate of #332