-
Type: Build Failure
-
Resolution: Duplicate
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
[2023/02/07 17:30:18.659] ====================================================================== [2023/02/07 17:30:18.659] ERROR: test_07_azure (test.test_encryption.TestCustomEndpoint) [2023/02/07 17:30:18.659] ---------------------------------------------------------------------- [2023/02/07 17:30:18.659] Traceback (most recent call last): [2023/02/07 17:30:18.659] File "/data/mci/5b2936d551b73a721ced530c8bdde1e6/src/pymongo/encryption.py", line 81, in _wrap_encryption_errors [2023/02/07 17:30:18.659] yield [2023/02/07 17:30:18.659] File "/data/mci/5b2936d551b73a721ced530c8bdde1e6/src/pymongo/encryption.py", line 726, in create_data_key [2023/02/07 17:30:18.659] return self._encryption.create_data_key( [2023/02/07 17:30:18.659] File "/data/mci/5b2936d551b73a721ced530c8bdde1e6/src/venv-encryption/lib/python3.10/site-packages/pymongocrypt/explicit_encrypter.py", line 174, in create_data_key [2023/02/07 17:30:18.659] key = run_state_machine(ctx, self.callback) [2023/02/07 17:30:18.659] File "/data/mci/5b2936d551b73a721ced530c8bdde1e6/src/venv-encryption/lib/python3.10/site-packages/pymongocrypt/state_machine.py", line 150, in run_state_machine [2023/02/07 17:30:18.659] callback.kms_request(kms_ctx) [2023/02/07 17:30:18.659] File "/data/mci/5b2936d551b73a721ced530c8bdde1e6/src/pymongo/encryption.py", line 147, in kms_request [2023/02/07 17:30:18.659] data = conn.recv(kms_context.bytes_needed) [2023/02/07 17:30:18.659] File "/opt/python/3.10/lib/python3.10/ssl.py", line 1259, in recv [2023/02/07 17:30:18.659] return self.read(buflen) [2023/02/07 17:30:18.659] File "/opt/python/3.10/lib/python3.10/ssl.py", line 1132, in read [2023/02/07 17:30:18.659] return self._sslobj.read(len) [2023/02/07 17:30:18.659] TimeoutError: The read operation timed out [2023/02/07 17:30:18.659] During handling of the above exception, another exception occurred: [2023/02/07 17:30:18.659] Traceback (most recent call last): [2023/02/07 17:30:18.659] File "/data/mci/5b2936d551b73a721ced530c8bdde1e6/src/test/test_encryption.py", line 1367, in test_07_azure [2023/02/07 17:30:18.659] self.run_test_expected_success("azure", master_key) [2023/02/07 17:30:18.659] File "/data/mci/5b2936d551b73a721ced530c8bdde1e6/src/test/test_encryption.py", line 1282, in run_test_expected_success [2023/02/07 17:30:18.659] data_key_id = self.client_encryption.create_data_key(provider_name, master_key=master_key) [2023/02/07 17:30:18.659] File "/data/mci/5b2936d551b73a721ced530c8bdde1e6/src/pymongo/encryption.py", line 725, in create_data_key [2023/02/07 17:30:18.659] with _wrap_encryption_errors(): [2023/02/07 17:30:18.659] File "/opt/python/3.10/lib/python3.10/contextlib.py", line 153, in __exit__ [2023/02/07 17:30:18.659] self.gen.throw(typ, value, traceback) [2023/02/07 17:30:18.659] File "/data/mci/5b2936d551b73a721ced530c8bdde1e6/src/pymongo/encryption.py", line 87, in _wrap_encryption_errors [2023/02/07 17:30:18.659] raise EncryptionError(exc) [2023/02/07 17:30:18.659] pymongo.errors.EncryptionError: The read operation timed out [2023/02/07 17:30:18.659] ----------------------------------------------------------------------
- related to
-
PYTHON-2560 Retry KMS requests on transient errors
- Backlog