Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
Open
Description
Bug report
Configuration:
./configure --with-pydebug
$ ./python -mtest test_concurrent_futures0:00:00 load avg: 5.30 Run tests sequentially0:00:00 load avg: 5.30 [1/1] test_concurrent_futures/workspace/cpython/Lib/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=150426) is multi-threaded, use offork() may lead to deadlocksin the child. self.pid =os.fork()/workspace/cpython/Lib/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d'Traceback (most recent call last): File"/workspace/cpython/Lib/multiprocessing/util.py", line 300,in _run_finalizersfinalizer() File"/workspace/cpython/Lib/multiprocessing/util.py", line 224,in __call__ res = self._callback(*self._args,**self._kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/workspace/cpython/Lib/multiprocessing/synchronize.py", line 87,in _cleanup sem_unlink(name)FileNotFoundError: [Errno 2] No such file or directoryTraceback (most recent call last): File"/workspace/cpython/Lib/multiprocessing/util.py", line 300,in _run_finalizersfinalizer() File"/workspace/cpython/Lib/multiprocessing/util.py", line 224,in __call__ res = self._callback(*self._args,**self._kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/workspace/cpython/Lib/multiprocessing/synchronize.py", line 87,in _cleanup sem_unlink(name)FileNotFoundError: [Errno 2] No such file or directoryTraceback (most recent call last): File"/workspace/cpython/Lib/multiprocessing/util.py", line 300,in _run_finalizersfinalizer() File"/workspace/cpython/Lib/multiprocessing/util.py", line 224,in __call__ res = self._callback(*self._args,**self._kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/workspace/cpython/Lib/multiprocessing/synchronize.py", line 87,in _cleanup sem_unlink(name)FileNotFoundError: [Errno 2] No such file or directoryTraceback (most recent call last): File"/workspace/cpython/Lib/multiprocessing/util.py", line 300,in _run_finalizersfinalizer() File"/workspace/cpython/Lib/multiprocessing/util.py", line 224,in __call__ res = self._callback(*self._args,**self._kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/workspace/cpython/Lib/multiprocessing/synchronize.py", line 87,in _cleanup sem_unlink(name)FileNotFoundError: [Errno 2] No such file or directoryTraceback (most recent call last): File"/workspace/cpython/Lib/multiprocessing/util.py", line 300,in _run_finalizersfinalizer() File"/workspace/cpython/Lib/multiprocessing/util.py", line 224,in __call__ res = self._callback(*self._args,**self._kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/workspace/cpython/Lib/multiprocessing/synchronize.py", line 87,in _cleanup sem_unlink(name)FileNotFoundError: [Errno 2] No such file or directoryTraceback (most recent call last): File"/workspace/cpython/Lib/multiprocessing/util.py", line 300,in _run_finalizersfinalizer() File"/workspace/cpython/Lib/multiprocessing/util.py", line 224,in __call__ res = self._callback(*self._args,**self._kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/workspace/cpython/Lib/multiprocessing/synchronize.py", line 87,in _cleanup sem_unlink(name)FileNotFoundError: [Errno 2] No such file or directorytest_concurrent_futures passedin 2 min 17 sec== Tests result: SUCCESS ==1test OK.Total duration: 2 min 17 secTests result: SUCCESS
Your environment
- CPython versions tested on: CPython 3.12.0a7+
- Operating system and architecture: Ubuntu 22.04.2 LTS | Linux-5.15.0-47-generic-x86_64-with-glibc2.35 little-endian
Linked PRs
- gh-104090: Fix unittest collectedDurations resources leak #106795
- gh-104090: Update Resource Tracker to return exit code based on resource leaked found or not #106807
- [3.12] gh-104090: Fix unittest collectedDurations resources leak (GH-106795) #106888
- gh-104090: Add exit code to multiprocessing ResourceTracker #115410
Metadata
Metadata
Assignees
Labels
Projects
Status
No status