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

test_pdb_interaction hangs #3337

Closed
stanislavlevin opened this issue Mar 23, 2018 · 2 comments
Closed

test_pdb_interaction hangs #3337

stanislavlevin opened this issue Mar 23, 2018 · 2 comments
Labels
type: bug problem that needs to be addressed

Comments

@stanislavlevin
Copy link

stanislavlevin commented Mar 23, 2018

Python 3.5 testing/test_pdb.py::TestPDB::test_pdb_interaction just hangs.

testing/test_pdb.py::TestPDB::test_pdb_on_fail PASSED                                   [ 45%]
testing/test_pdb.py::TestPDB::test_pdb_on_xfail PASSED                                  [ 45%]
testing/test_pdb.py::TestPDB::test_pdb_on_skip PASSED                                   [ 45%]
testing/test_pdb.py::TestPDB::test_pdb_on_BdbQuit PASSED                                [ 45%]
testing/test_pdb.py::TestPDB::test_pdb_interaction  

backtrace.log

PDB tests without other are PASSED:

pytest3 testing -v --fulltrace -k test_pdb
===================================== test session starts =====================================
platform linux -- Python 3.5.4, pytest-3.4.2, py-1.5.2, pluggy-0.6.0 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /usr/src/RPM/BUILD/python3, inifile: tox.ini
plugins: hypothesis-3.18.1
testing/test_pdb.py::TestPDB::test_pdb_on_fail PASSED                                   [  3%]
testing/test_pdb.py::TestPDB::test_pdb_on_xfail PASSED                                  [  7%]
testing/test_pdb.py::TestPDB::test_pdb_on_skip PASSED                                   [ 11%]
testing/test_pdb.py::TestPDB::test_pdb_on_BdbQuit PASSED                                [ 15%]
testing/test_pdb.py::TestPDB::test_pdb_interaction PASSED                               [ 19%]
testing/test_pdb.py::TestPDB::test_pdb_unittest_postmortem PASSED                       [ 23%]
testing/test_pdb.py::TestPDB::test_pdb_unittest_skip PASSED                             [ 26%]
testing/test_pdb.py::TestPDB::test_pdb_print_captured_stdout PASSED                     [ 30%]
testing/test_pdb.py::TestPDB::test_pdb_print_captured_stderr PASSED                     [ 34%]
testing/test_pdb.py::TestPDB::test_pdb_dont_print_empty_captured_stdout_and_stderr PASSED [ 38%]
testing/test_pdb.py::TestPDB::test_pdb_interaction_exception PASSED                     [ 42%]
testing/test_pdb.py::TestPDB::test_pdb_interaction_on_collection_issue181 PASSED        [ 46%]
testing/test_pdb.py::TestPDB::test_pdb_interaction_on_internal_error PASSED             [ 50%]
testing/test_pdb.py::TestPDB::test_pdb_interaction_capturing_simple PASSED              [ 53%]
testing/test_pdb.py::TestPDB::test_pdb_set_trace_interception PASSED                    [ 57%]
testing/test_pdb.py::TestPDB::test_pdb_and_capsys PASSED                                [ 61%]
testing/test_pdb.py::TestPDB::test_set_trace_capturing_afterwards PASSED                [ 65%]
testing/test_pdb.py::TestPDB::test_pdb_interaction_doctest PASSED                       [ 69%]
testing/test_pdb.py::TestPDB::test_pdb_interaction_capturing_twice PASSED               [ 73%]
testing/test_pdb.py::TestPDB::test_pdb_used_outside_test PASSED                         [ 76%]
testing/test_pdb.py::TestPDB::test_pdb_used_in_generate_tests PASSED                    [ 80%]
testing/test_pdb.py::TestPDB::test_pdb_collection_failure_is_shown PASSED               [ 84%]
testing/test_pdb.py::TestPDB::test_enter_pdb_hook_is_called PASSED                      [ 88%]
testing/test_pdb.py::TestPDB::test_pdb_custom_cls PASSED                                [ 92%]
testing/test_pdb.py::TestPDB::test_pdb_custom_cls_without_pdb PASSED                    [ 96%]
testing/test_pdb.py::TestPDB::test_pdb_custom_cls_with_settrace PASSED                  [100%]
================== 26 passed, 2014 deselected, 28 warnings in 21.23 seconds ===================

All tests for Python2.7 are PASSED.

@pytestbot
Copy link
Contributor

GitMate.io thinks possibly related issues are #2023 (subprocess tests hang), #2022 (pexpect tests hang on macOS), #889 (test_pdb_collection_failure_is_shown() hangs in PyCharm 4.5), #1290 ( @ operator lets the assertion rewrite hang up), and #1021 (test_pdb_interaction with py34-pexpect is flaky).

@pytestbot pytestbot added the type: bug problem that needs to be addressed label Mar 23, 2018
@RonnyPfannschmidt
Copy link
Member

this is a known issue - duplicate of #2673

things work in tox, i havent found time to debug this mess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug problem that needs to be addressed
Projects
None yet
Development

No branches or pull requests

3 participants