New submission from Serhiy Storchaka <[email protected]>:
test_multiprocessing_fork fails only if run all tests on FreeBSD. It is passed
successfully if run it separately.
$ ./python -m test -vuall
...
======================================================================
FAIL: test_many_processes
(test.test_multiprocessing_fork.WithProcessesTestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/home/serhiy/py/cpython3.7-debug/Lib/test/_test_multiprocessing.py", line
505, in test_many_processes
self.assertEqual(p.exitcode, -signal.SIGTERM)
AssertionError: 1 != -15
======================================================================
FAIL: test_terminate (test.test_multiprocessing_fork.WithProcessesTestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/home/serhiy/py/cpython3.7-debug/Lib/test/_test_multiprocessing.py", line
360, in test_terminate
self.assertEqual(exitcode, -signal.SIGTERM)
AssertionError: 1 != -15
----------------------------------------------------------------------
test_subprocess hangs, perhaps due to the same cause.
----------
components: FreeBSD
messages: 303309
nosy: haypo, koobs, serhiy.storchaka, skrah
priority: normal
severity: normal
status: open
title: test_multiprocessing_fork failure on FreeBSD
type: behavior
versions: Python 3.7
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue31629>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com