Message352663
I ran tests locally on my laptop. Tests were running for 2 minutes. I interrupted the process by pressing CTRL+c: regrtest failed to stop immediately the worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037>. Then, regrtest main process hangs in threading._shutdown(). I had to press again CTRL+c to unblock it :-(
This bug may be related to bpo-37531 "Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS".
See also bpo-38190 "regrtest: test suite completes but Tests Result is not displayed and the process hangs" which might be related?
vstinner@apu$ make && ./python -m test -j0 -r
...
0:02:03 load avg: 8.15 [240/419] test_dynamicclassattribute passed -- running: test_multiprocessing_spawn (1 min 17 sec), test_multiprocessing_forkserver (1 min 17 sec), test_gdb (1 min 32 sec), test_multiprocessing_fork (50 sec 894 ms)
0:02:03 load avg: 8.15 [241/419] test_importlib passed -- running: test_multiprocessing_spawn (1 min 17 sec), test_multiprocessing_forkserver (1 min 17 sec), test_gdb (1 min 32 sec), test_multiprocessing_fork (50 sec 998 ms)
0:02:04 load avg: 8.15 [242/419] test_ensurepip passed -- running: test_multiprocessing_spawn (1 min 18 sec), test_multiprocessing_forkserver (1 min 18 sec), test_gdb (1 min 33 sec), test_multiprocessing_fork (51 sec 937 ms)
^C
Kill worker process 6290 running for 2.7 sec
Kill worker process 6290 running for 2.7 sec
Kill worker process 28037 running for 78.3 sec
Kill worker process 6538 running for 1.2 sec
Kill worker process 6538 running for 1.2 sec
Kill worker process 5567 running for 4.6 sec
Kill worker process 5567 running for 4.6 sec
Kill worker process 28020 running for 79.0 sec
Kill worker process 3314 running for 22.5 sec
Kill worker process 3314 running for 22.5 sec
Kill worker process 28020 running for 79.0 sec
Kill worker process 6533 running for 1.4 sec
Kill worker process 6533 running for 1.4 sec
Kill worker process 27563 running for 93.8 sec
Kill worker process 27563 running for 93.8 sec
Kill worker process 31118 running for 52.1 sec
Kill worker process 31118 running for 52.2 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 1.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 2.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 3.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 4.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 5.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 6.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 7.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 8.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 9.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 10.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 11.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 12.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 13.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 14.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 15.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 16.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 17.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 18.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 19.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 20.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 21.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 22.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 23.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 24.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 25.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 26.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 27.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 28.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 29.1 sec
Wait for regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037> for 30.1 sec
Warning -- failed to join a regrtest worker <MultiprocessThread alive test=test_multiprocessing_spawn pid=28037>
== Tests result: INTERRUPTED ==
Test suite interrupted by signal SIGINT.
177 tests omitted:
test__osx_support test_abstract_numbers test_aifc test_asyncgen
test_atexit test_audit test_base64 test_binascii test_bisect
test_buffer test_bz2 test_c_locale_coercion test_calendar
test_call test_charmapcodec test_clinic test_cmd_line
test_cmd_line_script test_code test_codecencodings_hk
test_codecencodings_iso2022 test_codecencodings_jp
test_codecencodings_kr test_codecmaps_tw test_codecs test_compile
test_complex test_concurrent_futures test_configparser
test_contains test_contextlib test_contextlib_async test_copy
test_copyreg test_coroutines test_crashers test_csv test_ctypes
test_curses test_decorators test_deque test_dictviews test_dis
test_doctest test_dtrace test_dynamic test_email test_embed
test_exception_variations test_exceptions test_faulthandler
test_file test_finalization test_flufl test_fork1 test_format
test_future3 test_future5 test_gdb test_genericclass
test_genericpath test_grp test_heapq test_htmlparser test_httplib
test_imghdr test_imp test_int test_io test_ioctl test_ipaddress
test_isinstance test_itertools test_json test_keyword
test_largefile test_lib2to3 test_linecache test_lltrace
test_logging test_mailcap test_marshal test_math test_memoryio
test_multibytecodec test_multiprocessing_fork
test_multiprocessing_forkserver test_multiprocessing_main_handling
test_multiprocessing_spawn test_named_expressions test_netrc
test_numeric_tower test_openpty test_operator test_ordered_dict
test_os test_ossaudiodev test_parser test_pathlib test_pdb
test_peepholer test_pickle test_pkg test_plistlib test_popen
test_poplib test_posixpath test_pow test_print test_profile
test_property test_pstats test_pyclbr test_pydoc test_random
test_range test_readline test_regrtest test_repl test_richcmp
test_robotparser test_sax test_sched test_scope test_script_helper
test_setcomps test_shelve test_shlex test_site test_smtpd
test_smtplib test_sndhdr test_socketserver test_source_encoding
test_spwd test_sqlite test_ssl test_statistics
test_string_literals test_strptime test_struct test_structmembers
test_subprocess test_super test_symtable test_syntax test_tabnanny
test_telnetlib test_tempfile test_threadedtempfile
test_threading_local test_timeit test_tokenize test_trace
test_traceback test_tracemalloc test_typechecks test_unicode_file
test_unicode_file_functions test_unicode_identifiers
test_unpack_ex test_urllib test_urllib_response test_userlist
test_userstring test_utf8source test_venv test_wait4 test_warnings
test_webbrowser test_xml_etree test_yield_from test_zipapp
test_zipfile test_zipfile64 test_zipimport_support test_zlib
226 tests OK.
16 tests skipped:
test_devpoll test_kqueue test_msilib test_nis test_smtpnet
test_startfile test_timeout test_tix test_tk test_ttk_guionly
test_urllib2net test_urllibnet test_winconsoleio test_winreg
test_winsound test_xmlrpc_net
Total duration: 2 min 34 sec
Tests result: INTERRUPTED
^CWarning -- Unraisable exception
Exception ignored in: <module 'threading' from '/home/vstinner/python/master/Lib/threading.py'>
Traceback (most recent call last):
File "/home/vstinner/python/master/Lib/threading.py", line 1390, in _shutdown
lock.acquire()
KeyboardInterrupt: |
|
Date |
User |
Action |
Args |
2019-09-17 20:58:38 | vstinner | set | recipients:
+ vstinner |
2019-09-17 20:58:38 | vstinner | set | messageid: <1568753918.39.0.636404406219.issue38203@roundup.psfhosted.org> |
2019-09-17 20:58:38 | vstinner | link | issue38203 messages |
2019-09-17 20:58:37 | vstinner | create | |
|