Repository navigation
test_multiprocessing_forkserver, SemLock: test_thousand() logged on AMD64 Ubuntu Shared 3.x: Exception ignored in: <Finalize object, dead> #81519
Copy link
Copy link
Closed
Labels
Description
Activity
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/2029test_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
- added3.8 (EOL)end of lifeend of lifetestsTests in the Lib/test dirTests in the Lib/test dir
on 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).
- changed the title
[-]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>[/+]on Sep 24, 2019 I didn't see the failure recently, I close it.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields: