Issue25368
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2015-10-10 18:41 by Arfrever, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Messages (3) | |||
---|---|---|---|
msg252736 - (view) | Author: Arfrever Frehtes Taifersar Arahesis (Arfrever) * | Date: 2015-10-10 18:41 | |
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 --- ---------------------------------------------------------------------- |
|||
msg252772 - (view) | Author: Roundup Robot (python-dev) | Date: 2015-10-11 07:48 | |
New changeset 42101b8f777c by Victor Stinner in branch 'default': Close #25368: Fix test_eintr when Python is compiled without thread support https://hg.python.org/cpython/rev/42101b8f777c |
|||
msg252788 - (view) | Author: STINNER Victor (vstinner) * | Date: 2015-10-11 08:57 | |
It's now fixed, thanks. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:22 | admin | set | github: 69555 |
2015-10-11 08:57:14 | vstinner | set | messages: + msg252788 |
2015-10-11 07:48:13 | python-dev | set | status: open -> closed nosy: + python-dev messages: + msg252772 resolution: fixed stage: resolved |
2015-10-10 18:41:30 | Arfrever | set | title: test_eintr -> test_eintr fails with --without-threads |
2015-10-10 18:41:18 | Arfrever | create |