-
Type: Build Failure
-
Resolution: Duplicate
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Saw a deadlock in test_fork.TestFork.test_many_threaded with Python 3.10 on Ubuntu 18:
[2022/08/19 01:05:28.437] test_lock_client (test_fork.TestFork) ... ok (0.475s) [2022/08/19 01:05:28.898] test_lock_object_id (test_fork.TestFork) ... ok (0.459s) [2022/08/19 01:27:55.039] Command stopped early: context canceled [2022/08/19 01:27:55.081] Running task-timeout commands. [2022/08/19 01:27:55.081] test_many_threaded (test_fork.TestFork) ... [2022/08/19 01:27:55.081] Running command 'shell.exec' (step 1 of 1) [2022/08/19 01:27:55.084] total 12 [2022/08/19 01:27:55.084] drwxr-xr-x 5 ubuntu ubuntu 89 Aug 19 00:58 . [2022/08/19 01:27:55.084] drwxr-xr-x 4 ubuntu ubuntu 172 Aug 19 00:57 .. [2022/08/19 01:27:55.084] drwxr-xr-x 7 ubuntu ubuntu 226 Aug 19 00:58 drivers-tools [2022/08/19 01:27:55.084] -rw-r--r-- 1 ubuntu ubuntu 57 Aug 19 00:58 mo-expansion.yml [2022/08/19 01:27:55.084] drwxr-xr-x 12 ubuntu ubuntu 4096 Aug 19 00:58 src [2022/08/19 01:27:55.084] drwxr-xr-x 2 ubuntu ubuntu 6 Aug 19 00:57 tmp [2022/08/19 01:27:55.084] -rw-r--r-- 1 ubuntu ubuntu 2428 Aug 19 00:58 tmp.json [2022/08/19 01:27:55.085] Finished 'shell.exec' in 3.186044ms [2022/08/19 01:27:55.085] [message='Finished running timeout commands' total_time='3.413414ms'] [2022/08/19 01:27:55.085] Task completed - FAILURE. [2022/08/19 01:27:55.119] Exception in thread Thread-257 (fork_behavior): [2022/08/19 01:27:55.119] Traceback (most recent call last): [2022/08/19 01:27:55.119] File "/opt/python/3.10/lib/python3.10/threading.py", line 1009, in _bootstrap_inner [2022/08/19 01:27:55.134] self.run() [2022/08/19 01:27:55.134] File "/data/mci/89ced8399b759e07c3b3a061e54158bc/src/test/utils.py", line 965, in run [2022/08/19 01:27:55.134] super(ExceptionCatchingThread, self).run() [2022/08/19 01:27:55.134] File "/opt/python/3.10/lib/python3.10/threading.py", line 946, in run [2022/08/19 01:27:55.134] self._target(*self._args, **self._kwargs) [2022/08/19 01:27:55.134] File "/data/mci/89ced8399b759e07c3b3a061e54158bc/src/test/test_fork.py", line 109, in fork_behavior [2022/08/19 01:27:55.134] with self.runner.fork() as pid: [2022/08/19 01:27:55.134] File "/opt/python/3.10/lib/python3.10/contextlib.py", line 142, in __exit__ [2022/08/19 01:27:55.134] next(self.gen) [2022/08/19 01:27:55.134] File "/data/mci/89ced8399b759e07c3b3a061e54158bc/src/test/__init__.py", line 1026, in fork [2022/08/19 01:27:55.134] self.assertEqual(0, os.waitpid(pid, 0)[1]) [2022/08/19 01:27:55.134] File "/opt/python/3.10/lib/python3.10/unittest/case.py", line 845, in assertEqual [2022/08/19 01:27:55.134] assertion_func(first, second, msg=msg) [2022/08/19 01:27:55.134] File "/opt/python/3.10/lib/python3.10/unittest/case.py", line 838, in _baseAssertEqual [2022/08/19 01:27:55.134] raise self.failureException(msg) [2022/08/19 01:27:55.134] AssertionError: 0 != 9 [2022/08/19 01:27:55.291] Running post-task commands. [2022/08/19 01:27:55.291] Running command 's3.put' in "upload coverage" (step 1 of 6)
- duplicates
-
PYTHON-3406 Using MongoClient causes a deadlock in child after a fork()
- Closed