You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_thousand (test.test_multiprocessing_forkserver.WithProcessesTestBarrier) ... Warning -- Unraisable exception
Exception ignored in: <Finalize object, dead>
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/multiprocessing/util.py", line 189, in __call__
res =self._callback(*self._args, **self._kwargs)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/multiprocessing/synchronize.py", line 87, in _cleanup
sem_unlink(name)
FileNotFoundError: [Errno 2] No such file or directory
Warning -- Unraisable exception
Exception ignored in: <Finalize object, dead>
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/multiprocessing/util.py", line 189, in __call__
res =self._callback(*self._args, **self._kwargs)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/multiprocessing/synchronize.py", line 87, in _cleanup
sem_unlink(name)
FileNotFoundError: [Errno 2] No such file or directory
Warning -- Unraisable exception
Exception ignored in: <Finalize object, dead>
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/multiprocessing/util.py", line 189, in __call__
res =self._callback(*self._args, **self._kwargs)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/multiprocessing/synchronize.py", line 87, in _cleanup
sem_unlink(name)
FileNotFoundError: [Errno 2] No such file or directory
Warning -- Unraisable exception
Exception ignored in: <Finalize object, dead>
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/multiprocessing/util.py", line 189, in __call__
res =self._callback(*self._args, **self._kwargs)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/multiprocessing/synchronize.py", line 87, in _cleanup
sem_unlink(name)
FileNotFoundError: [Errno 2] No such file or directory
Warning -- Unraisable exception
Exception ignored in: <Finalize object, dead>
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/multiprocessing/util.py", line 189, in __call__
res =self._callback(*self._args, **self._kwargs)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/multiprocessing/synchronize.py", line 87, in _cleanup
sem_unlink(name)
FileNotFoundError: [Errno 2] No such file or directory
ok
--
I'm unable to reproduce the issue, it looks like a race condition.
I ran the following commands 4 times in parallel and I stressed my laptop:
./python -m test --fail-env-changed test_multiprocessing_forkserver -m test_thousand -v -F
Currently, SemLock does not provide a way to explicitly delete it. Maybe a new close() method should be added, similar to Process.close() and Pool.terminate(), to make resource management more deterministic (more reliable).
Activity
vstinner commentedon Jun 19, 2019
Oh, I'm happy! My regrtest change (bpo-37069) to detect unraisable exception detected its first issue :-)
AMD64 Ubuntu Shared 3.x:
https://buildbot.python.org/all/#/builders/141/builds/2029
--
I'm unable to reproduce the issue, it looks like a race condition.
I ran the following commands 4 times in parallel and I stressed my laptop:
./python -m test --fail-env-changed test_multiprocessing_forkserver -m test_thousand -v -F
vstinner commentedon Jun 19, 2019
Currently, SemLock does not provide a way to explicitly delete it. Maybe a new close() method should be added, similar to Process.close() and Pool.terminate(), to make resource management more deterministic (more reliable).
[-]test_multiprocessing_forkserver: test_thousand() logged on AMD64 Ubuntu Shared 3.x: Exception ignored in: <Finalize object, dead>[/-][+]test_multiprocessing_forkserver, SemLock: test_thousand() logged on AMD64 Ubuntu Shared 3.x: Exception ignored in: <Finalize object, dead>[/+]vstinner commentedon Feb 7, 2020
I didn't see the failure recently, I close it.