[New-bugs-announce] [issue25368] test_eintr

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Sat Oct 10 20:41:18 CEST 2015


New submission from Arfrever Frehtes Taifersar Arahesis:

test.test_eintr.EINTRTests.test_all() fails with --without-threads since revision 10efb1797e7b (in Python >=3.6), because faulthandler.dump_traceback_later() and faulthandler.cancel_dump_traceback_later() are not available with --without-threads.

======================================================================
FAIL: test_all (test.test_eintr.EINTRTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/cpython/Lib/test/test_eintr.py", line 20, in test_all
    script_helper.assert_python_ok("-u", tester)
  File "/tmp/cpython/Lib/test/support/script_helper.py", line 135, in assert_python_ok
    return _assert_python(True, *args, **env_vars)
  File "/tmp/cpython/Lib/test/support/script_helper.py", line 121, in _assert_python
    err))
AssertionError: Process return code is 1
command line: ['/tmp/cpython/python', '-X', 'faulthandler', '-I', '-u', '/tmp/cpython/Lib/test/eintrdata/eintr_tester.py']

stdout:
---
ERROR
ERROR
ERROR
ERROR
ERROR

======================================================================
ERROR: setUpClass (__main__.OSEINTRTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/cpython/Lib/test/eintrdata/eintr_tester.py", line 55, in setUpClass
    faulthandler.dump_traceback_later(10 * 60, exit=True)
AttributeError: module 'faulthandler' has no attribute 'dump_traceback_later'

======================================================================
ERROR: setUpClass (__main__.SocketEINTRTest)
----------------------------------------------------------------------
Traceback (most recent call last):           
  File "/tmp/cpython/Lib/test/eintrdata/eintr_tester.py", line 55, in setUpClass
    faulthandler.dump_traceback_later(10 * 60, exit=True)
AttributeError: module 'faulthandler' has no attribute 'dump_traceback_later'

======================================================================
ERROR: setUpClass (__main__.TimeEINTRTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/cpython/Lib/test/eintrdata/eintr_tester.py", line 55, in setUpClass
    faulthandler.dump_traceback_later(10 * 60, exit=True)
AttributeError: module 'faulthandler' has no attribute 'dump_traceback_later'

======================================================================
ERROR: setUpClass (__main__.SignalEINTRTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/cpython/Lib/test/eintrdata/eintr_tester.py", line 55, in setUpClass
    faulthandler.dump_traceback_later(10 * 60, exit=True)
AttributeError: module 'faulthandler' has no attribute 'dump_traceback_later'

======================================================================
ERROR: setUpClass (__main__.SelectEINTRTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/cpython/Lib/test/eintrdata/eintr_tester.py", line 55, in setUpClass
    faulthandler.dump_traceback_later(10 * 60, exit=True)
AttributeError: module 'faulthandler' has no attribute 'dump_traceback_later'

----------------------------------------------------------------------
Ran 0 tests in 0.004s

FAILED (errors=5)
---

stderr:
---
Traceback (most recent call last):
  File "/tmp/cpython/Lib/test/eintrdata/eintr_tester.py", line 474, in <module>
    test_main()
  File "/tmp/cpython/Lib/test/eintrdata/eintr_tester.py", line 470, in test_main
    SelectEINTRTest)
  File "/tmp/cpython/Lib/test/support/__init__.py", line 1809, in run_unittest
    _run_suite(suite)
  File "/tmp/cpython/Lib/test/support/__init__.py", line 1784, in _run_suite
    raise TestFailed(err)
test.support.TestFailed: multiple errors occurred
---

----------------------------------------------------------------------

----------
assignee: haypo
components: Tests
messages: 252736
nosy: Arfrever, haypo
priority: normal
severity: normal
status: open
title: test_eintr
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25368>
_______________________________________


More information about the New-bugs-announce mailing list