-
Type: Build Failure
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Python Drivers
Starting with PYTHON-4673, test.test_encryption.TestClientSimple.test_fork is has been failing:
[2024/09/02 11:31:59.618] FAILURE: AssertionError: child timed out after 60s (see traceback in logs): deadlock? () [2024/09/02 11:31:59.618] self = <test.test_encryption.TestClientSimple testMethod=test_fork> [2024/09/02 11:31:59.618] @unittest.skipIf( [2024/09/02 11:31:59.618] not hasattr(os, "register_at_fork"), [2024/09/02 11:31:59.618] "register_at_fork not available in this version of Python", [2024/09/02 11:31:59.618] ) [2024/09/02 11:31:59.618] @unittest.skipIf( [2024/09/02 11:31:59.618] is_greenthread_patched(), [2024/09/02 11:31:59.618] "gevent and eventlet do not support POSIX-style forking.", [2024/09/02 11:31:59.618] ) [2024/09/02 11:31:59.618] def test_fork(self): [2024/09/02 11:31:59.618] opts = AutoEncryptionOpts(KMS_PROVIDERS, "keyvault.datakeys") [2024/09/02 11:31:59.618] client = rs_or_single_client(auto_encryption_opts=opts) [2024/09/02 11:31:59.618] self.addCleanup(client.close) [2024/09/02 11:31:59.618] [2024/09/02 11:31:59.618] def target(): [2024/09/02 11:31:59.618] with warnings.catch_warnings(): [2024/09/02 11:31:59.618] warnings.simplefilter("ignore") [2024/09/02 11:31:59.618] client.admin.command("ping") [2024/09/02 11:31:59.618] [2024/09/02 11:31:59.618] with self.fork(target): [2024/09/02 11:31:59.618] > target() [2024/09/02 11:31:59.618] test/test_encryption.py:372: [2024/09/02 11:31:59.618] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2024/09/02 11:31:59.618] /opt/python/pypy3.9/lib/pypy3.9/contextlib.py:126: in __exit__ [2024/09/02 11:31:59.618] next(self.gen) [2024/09/02 11:31:59.618] test/__init__.py:927: in fork [2024/09/02 11:31:59.618] self.fail(f"child timed out after {timeout}s (see traceback in logs): deadlock?") [2024/09/02 11:31:59.618] E AssertionError: child timed out after 60s (see traceback in logs): deadlock?
See the full test logs for more info.
- is caused by
-
PYTHON-4673 Add Async Encryption Tests
- Closed