-
Type:
Build Failure
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: greenerbuild
-
None
-
None
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Name of Failure:
test.test_fork.TestFork.test_lock_object_id
Link to task:
Context of when and why the failure occurred:
Stack trace:
[2025/04/07 08:31:58.227] FAILURE: AssertionError: child timed out after 60s (see traceback in logs): deadlock? ()
[2025/04/07 08:31:58.227] self = <test.test_fork.TestFork testMethod=test_lock_object_id>
[2025/04/07 08:31:58.227] def test_lock_object_id(self):
[2025/04/07 08:31:58.227] # Forks the client with ObjectId's _inc_lock locked.
[2025/04/07 08:31:58.227] # Parent => _inc_lock should remain locked.
[2025/04/07 08:31:58.227] # Child => _inc_lock should be unlocked.
[2025/04/07 08:31:58.227] with ObjectId._inc_lock:
[2025/04/07 08:31:58.227]
[2025/04/07 08:31:58.227] def target():
[2025/04/07 08:31:58.227] self.assertFalse(ObjectId._inc_lock.locked())
[2025/04/07 08:31:58.227] self.assertTrue(ObjectId())
[2025/04/07 08:31:58.227]
[2025/04/07 08:31:58.227] > with self.fork(target):
[2025/04/07 08:31:58.227] test/test_fork.py:65:
[2025/04/07 08:31:58.227] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2025/04/07 08:31:58.227] /opt/python/3.12/lib/python3.12/contextlib.py:144: in __exit__
[2025/04/07 08:31:58.227] next(self.gen)
[2025/04/07 08:31:58.227] test/__init__.py:996: in fork
[2025/04/07 08:31:58.227] self.fail(f"child timed out after {timeout}s (see traceback in logs): deadlock?")
[2025/04/07 08:31:58.227] E AssertionError: child timed out after 60s (see traceback in logs): deadlock?