Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3303

Upgrade testing to macos 10.15+

    • Type: Icon: Spec Change Spec Change
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.2
    • Affects Version/s: None
    • Component/s: None
    • None

      AES-CTR mode is required for Queryable Encryption but is not supported on macOS 10.14 or earlier. The server 6.0 does not support macOS 10.14 or earlier. When attempting to use Queryable Encryption on macOS 10.14 the server will raise this error:

       [2022/06/13 22:45:08.019] ERROR: test_01_insert_encrypted_indexed_and_find (test.test_encryption.TestExplicitQueryableEncryption)
       [2022/06/13 22:45:08.019] ----------------------------------------------------------------------
       [2022/06/13 22:45:08.019] Traceback (most recent call last):
       [2022/06/13 22:45:08.019]   File "/data/mci/2dbb795f3d95358eca0cc7a25bb8145c/src/test/test_encryption.py", line 2022, in test_01_insert_encrypted_indexed_and_find
       [2022/06/13 22:45:08.019]     self.encrypted_client[self.db.name].explicit_encryption.insert_one(
       [2022/06/13 22:45:08.019]   File "/data/mci/2dbb795f3d95358eca0cc7a25bb8145c/src/pymongo/collection.py", line 628, in insert_one
       [2022/06/13 22:45:08.019]     self._insert_one(
       [2022/06/13 22:45:08.019]   File "/data/mci/2dbb795f3d95358eca0cc7a25bb8145c/src/pymongo/collection.py", line 569, in _insert_one
       [2022/06/13 22:45:08.019]     self.__database.client._retryable_write(acknowledged, _insert_command, session)
       [2022/06/13 22:45:08.019]   File "/data/mci/2dbb795f3d95358eca0cc7a25bb8145c/src/pymongo/mongo_client.py", line 1424, in _retryable_write
       [2022/06/13 22:45:08.019]     return self._retry_with_session(retryable, func, s, None)
       [2022/06/13 22:45:08.019]   File "/data/mci/2dbb795f3d95358eca0cc7a25bb8145c/src/pymongo/mongo_client.py", line 1309, in _retry_with_session
       [2022/06/13 22:45:08.019]     return self._retry_internal(retryable, func, session, bulk)
       [2022/06/13 22:45:08.019]   File "/data/mci/2dbb795f3d95358eca0cc7a25bb8145c/src/pymongo/mongo_client.py", line 1344, in _retry_internal
       [2022/06/13 22:45:08.019]     return func(session, sock_info, retryable)
       [2022/06/13 22:45:08.019]   File "/data/mci/2dbb795f3d95358eca0cc7a25bb8145c/src/pymongo/collection.py", line 567, in _insert_command
       [2022/06/13 22:45:08.019]     _check_write_command_response(result)
       [2022/06/13 22:45:08.019]   File "/data/mci/2dbb795f3d95358eca0cc7a25bb8145c/src/pymongo/helpers.py", line 216, in _check_write_command_response
       [2022/06/13 22:45:08.019]     _raise_last_write_error(write_errors)
       [2022/06/13 22:45:08.019]   File "/data/mci/2dbb795f3d95358eca0cc7a25bb8145c/src/pymongo/helpers.py", line 189, in _raise_last_write_error
       [2022/06/13 22:45:08.019]     raise WriteError(error.get("errmsg"), error.get("code"), error)
       [2022/06/13 22:45:08.019] pymongo.errors.WriteError: CCCryptorCreate failure: -4305, full error: {'index': 0, 'code': 8, 'errmsg': 'CCCryptorCreate failure: -4305'}
      

      We should upgrade testing to macos 10.15+ (perhaps only for FLE testing).

            Assignee:
            julius.park@mongodb.com Julius Park (Inactive)
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: