-
-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
After upgrading from python 3.12 to python 3.14 and re-installing green, it appears as though there are intermittent multiprocessing issues after the unit tests have been executed. Testing across multiple linux hosts show the issue occurs roughly 30% of the time with my current src tree.
> uname -a
Linux 9652860e54bf 6.12.54-linuxkit #1 SMP Tue Nov 4 21:21:47 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
> green --version
Green 4.0.2, Coverage 7.13.1, Python 3.14.2
> green --run-coverage src
<snip>
Ran 127 tests in 1.038s using 6 processes
OK (passes=127)
Traceback (most recent call last):
File "/root/.pyenv/versions/3.14.2/lib/python3.14/multiprocessing/util.py", line 371, in _run_finalizers
finalizer()
~~~~~~~~~^^
File "/root/.pyenv/versions/3.14.2/lib/python3.14/multiprocessing/util.py", line 295, in __call__
res = self._callback(*self._args, **self._kwargs)
File "/root/.pyenv/versions/3.14.2/lib/python3.14/multiprocessing/util.py", line 147, in _remove_temp_dir
rmtree(tempdir)
~~~~~~^^^^^^^^^
File "/root/.pyenv/versions/3.14.2/lib/python3.14/shutil.py", line 852, in rmtree
_rmtree_impl(path, dir_fd, onexc)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/root/.pyenv/versions/3.14.2/lib/python3.14/shutil.py", line 721, in _rmtree_safe_fd
_rmtree_safe_fd_step(stack, onexc)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/root/.pyenv/versions/3.14.2/lib/python3.14/shutil.py", line 799, in _rmtree_safe_fd_step
onexc(func, path, err)
~~~~~^^^^^^^^^^^^^^^^^
File "/root/.pyenv/versions/3.14.2/lib/python3.14/shutil.py", line 760, in _rmtree_safe_fd_step
orig_st = os.lstat(name, dir_fd=dirfd)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpx2bnwzbf/pymp-m_chjio4'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels