homepage

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.

Author vstinner
Recipients pablogsal, vstinner
Date 2019年12月17日.15:07:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576595233.55.0.839939588808.issue38546@roundup.psfhosted.org>
In-reply-to
Content
I managed to reproduce the issue on the RHEL8 worker using:
* terminal 1: ./python -u -m test --fail-env-changed test_concurrent_futures -v -m ProcessPoolSpawnProcessPoolExecutorTest -F -j 15
* terminal 2: ./python -m test -j4 -u all -F -r
I can still reproduce the issue with PR 17641 fix, so it's not enough.
I also applied PR 17640 and 2 extra changes:
diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py
index 1f9c2daa25..dbbf84b3d2 100644
--- a/Lib/multiprocessing/managers.py
+++ b/Lib/multiprocessing/managers.py
@@ -661,7 +661,7 @@ class BaseManager(object):
 except Exception:
 pass
 
- process.join(timeout=1.0)
+ process.join(timeout=0.1)
 if process.is_alive():
 util.info('manager still alive')
 if hasattr(process, 'terminate'):
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py
index 215bab8131..110c7f945e 100644
--- a/Lib/test/support/__init__.py
+++ b/Lib/test/support/__init__.py
@@ -2399,6 +2399,7 @@ def reap_children():
 
 # Reap all our dead child processes so we don't leave zombies around.
 # These hog resources and might be causing some of the buildbots to die.
+ time.sleep(0.5)
 while True:
 try:
 # Read the exit status of any child process which already completed
History
Date User Action Args
2019年12月17日 15:07:13vstinnersetrecipients: + vstinner, pablogsal
2019年12月17日 15:07:13vstinnersetmessageid: <1576595233.55.0.839939588808.issue38546@roundup.psfhosted.org>
2019年12月17日 15:07:13vstinnerlinkissue38546 messages
2019年12月17日 15:07:13vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /