[New-bugs-announce] [issue31629] test_multiprocessing_fork failure on FreeBSD

Serhiy Storchaka report at bugs.python.org
Fri Sep 29 04:26:05 EDT 2017


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

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 <report at bugs.python.org>
<https://bugs.python.org/issue31629>
_______________________________________


More information about the New-bugs-announce mailing list