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

[Build Failure] TestExternalKeyVault.test_external_key_vault_2

    • Type: Icon: Build Failure Build Failure
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      https://spruce.mongodb.com/task/mongo_python_driver_tests_python_version_ubuntu18_test_encryption__platform~ubuntu_18.04_auth_ssl~noauth_nossl_python_version~3.10_encryption~encryption_crypt_shared_test_5.0_replica_set_patch_715535159968c32b558345789fd70db88ac116c4_63ff46e432f4174f94b489e7_23_03_01_12_36_53/tests?execution=0&sortBy=STATUS&sortDir=ASC

      [2023/03/01 13:06:08.533] ERROR: csfle lib_create() failed: Cannot initialize the Mongo Crypt Shared Support Library when it is already initialized. [Error 3, code 1] (MongoCryptError)
      [2023/03/01 13:06:08.533] Traceback (most recent call last):
      [2023/03/01 13:06:08.533]   File "/data/mci/5de4e5d84e07ff9df92b5b70536921cc/src/test/test_encryption.py", line 941, in test_external_key_vault_2
      [2023/03/01 13:06:08.533]     self._test_external_key_vault(False)
      [2023/03/01 13:06:08.533]   File "/data/mci/5de4e5d84e07ff9df92b5b70536921cc/src/test/test_encryption.py", line 901, in _test_external_key_vault
      [2023/03/01 13:06:08.533]     client_encrypted = rs_or_single_client(
      [2023/03/01 13:06:08.533]   File "/data/mci/5de4e5d84e07ff9df92b5b70536921cc/src/test/utils.py", line 611, in rs_or_single_client
      [2023/03/01 13:06:08.533]     return _mongo_client(h, p, **kwargs)
      [2023/03/01 13:06:08.533]   File "/data/mci/5de4e5d84e07ff9df92b5b70536921cc/src/test/utils.py", line 575, in _mongo_client
      [2023/03/01 13:06:08.533]     return MongoClient(uri, port, **client_options)
      [2023/03/01 13:06:08.533]   File "/data/mci/5de4e5d84e07ff9df92b5b70536921cc/src/pymongo/mongo_client.py", line 838, in __init__
      [2023/03/01 13:06:08.533]     self._encrypter = _Encrypter(self, self.__options.auto_encryption_opts)
      [2023/03/01 13:06:08.533]   File "/data/mci/5de4e5d84e07ff9df92b5b70536921cc/src/pymongo/encryption.py", line 341, in __init__
      [2023/03/01 13:06:08.533]     self._auto_encrypter = AutoEncrypter(
      [2023/03/01 13:06:08.533]   File "/data/mci/5de4e5d84e07ff9df92b5b70536921cc/src/venv-encryption/lib/python3.10/site-packages/pymongocrypt/auto_encrypter.py", line 31, in __init__
      [2023/03/01 13:06:08.533]     self.mongocrypt = MongoCrypt(mongo_crypt_opts, callback)
      [2023/03/01 13:06:08.533]   File "/data/mci/5de4e5d84e07ff9df92b5b70536921cc/src/venv-encryption/lib/python3.10/site-packages/pymongocrypt/mongocrypt.py", line 194, in __init__
      [2023/03/01 13:06:08.533]     self.__init()
      [2023/03/01 13:06:08.533]   File "/data/mci/5de4e5d84e07ff9df92b5b70536921cc/src/venv-encryption/lib/python3.10/site-packages/pymongocrypt/mongocrypt.py", line 263, in __init
      [2023/03/01 13:06:08.533]     self.__raise_from_status()
      [2023/03/01 13:06:08.533]   File "/data/mci/5de4e5d84e07ff9df92b5b70536921cc/src/venv-encryption/lib/python3.10/site-packages/pymongocrypt/mongocrypt.py", line 279, in __raise_from_status
      [2023/03/01 13:06:08.533]     raise exc
      [2023/03/01 13:06:08.533] pymongocrypt.errors.MongoCryptError: csfle lib_create() failed: Cannot initialize the Mongo Crypt Shared Support Library when it is already initialized. [Error 3, code 1]
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: