-
Type:
Build Failure
-
Resolution: Done
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
🔵 Done
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Name of Failure:
test.asynchronous.test_encryption.TestUnifiedFle2v2_BypassQueryAnalysis.test_BypassQueryAnalysis_decrypts, test.asynchronous.test_encryption.TestUnifiedFle2v2_EncryptedFieldsVs_EncryptedFieldsMap.test_encryptedFieldsMap_is_preferred_over_remote_encryptedFields, test.asynchronous.test_unified_format.TestUnifiedTestFormatValidPassPocQueryableEncryption.test_insert_replace_and_find_with_queryable_encryption
(and synchronous counterparts)
Link to task:
Context of when and why the failure occurred:
Unclear.
Stack trace:
[2025/09/03 07:28:53.526] FAILURE: pymongo.errors.ConfigurationError: Driver support of Queryable Encryption is incompatible with server. Upgrade server to use Queryable Encryption. Got maxWireVersion 17 but need maxWireVersion >= 21 (MongoDB >=7.0) () [2025/09/03 07:28:53.526] self = <test.asynchronous.test_encryption.TestUnifiedFle2v2_BypassQueryAnalysis testMethod=test_BypassQueryAnalysis_decrypts> [2025/09/03 07:28:53.526] async def test_case(self): [2025/09/03 07:28:53.526] > await self.run_scenario(spec) [2025/09/03 07:28:53.526] test/asynchronous/unified_format.py:1498: [2025/09/03 07:28:53.526] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2025/09/03 07:28:53.526] test/asynchronous/unified_format.py:1440: in run_scenario [2025/09/03 07:28:53.526] await self._run_scenario(spec, uri) [2025/09/03 07:28:53.526] test/asynchronous/unified_format.py:1465: in _run_scenario [2025/09/03 07:28:53.526] await self.insert_initial_data(self.TEST_SPEC["initialData"]) [2025/09/03 07:28:53.526] test/asynchronous/unified_format.py:506: in insert_initial_data [2025/09/03 07:28:53.526] await db.create_collection(coll_name, write_concern=wc, **opts) [2025/09/03 07:28:53.526] pymongo/_csot.py:115: in csot_wrapper [2025/09/03 07:28:53.526] return await func(self, *args, **kwargs) [2025/09/03 07:28:53.526] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2025/09/03 07:28:53.526] pymongo/asynchronous/database.py:631: in create_collection [2025/09/03 07:28:53.526] await coll._create(kwargs, s) [2025/09/03 07:28:53.526] pymongo/asynchronous/collection.py:682: in _create [2025/09/03 07:28:53.526] await self._create_helper( [2025/09/03 07:28:53.526] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2025/09/03 07:28:53.526] self = AsyncCollection(AsyncDatabase(AsyncMongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=...rs/ec2-user/data/mci/63f9e6751ed12ae24c6e1054be807ac3/drivers-tools/.evergreen/x509gen/ca.pem'), 'default'), 'default') [2025/09/03 07:28:53.526] name = 'enxcol_.default.esc' [2025/09/03 07:28:53.526] options = {'clusteredIndex': {'key': {'_id': 1}, 'unique': True}} [2025/09/03 07:28:53.526] collation = None [2025/09/03 07:28:53.526] session = <pymongo.asynchronous.client_session.AsyncClientSession object at 0x116691130> [2025/09/03 07:28:53.526] encrypted_fields = None, qev2_required = True [2025/09/03 07:28:53.526] async def _create_helper( [2025/09/03 07:28:53.526] self, [2025/09/03 07:28:53.526] name: str, [2025/09/03 07:28:53.526] options: MutableMapping[str, Any], [2025/09/03 07:28:53.526] collation: Optional[_CollationIn], [2025/09/03 07:28:53.526] session: Optional[AsyncClientSession], [2025/09/03 07:28:53.526] encrypted_fields: Optional[Mapping[str, Any]] = None, [2025/09/03 07:28:53.526] qev2_required: bool = False, [2025/09/03 07:28:53.526] ) -> None: [2025/09/03 07:28:53.526] """Sends a create command with the given options.""" [2025/09/03 07:28:53.526] cmd: dict[str, Any] = {"create": name} [2025/09/03 07:28:53.526] if encrypted_fields: [2025/09/03 07:28:53.526] cmd["encryptedFields"] = encrypted_fields [2025/09/03 07:28:53.526] [2025/09/03 07:28:53.526] if options: [2025/09/03 07:28:53.526] if "size" in options: [2025/09/03 07:28:53.526] options["size"] = float(options["size"]) [2025/09/03 07:28:53.526] cmd.update(options) [2025/09/03 07:28:53.526] async with await self._conn_for_writes(session, operation=_Op.CREATE) as conn: [2025/09/03 07:28:53.526] if qev2_required and conn.max_wire_version < 21: [2025/09/03 07:28:53.526] > raise ConfigurationError( [2025/09/03 07:28:53.526] "Driver support of Queryable Encryption is incompatible with server. " [2025/09/03 07:28:53.526] "Upgrade server to use Queryable Encryption. " [2025/09/03 07:28:53.526] f"Got maxWireVersion {conn.max_wire_version} but need maxWireVersion >= 21 (MongoDB >=7.0)" [2025/09/03 07:28:53.526] ) [2025/09/03 07:28:53.526] E pymongo.errors.ConfigurationError: Driver support of Queryable Encryption is incompatible with server. Upgrade server to use Queryable Encryption. Got maxWireVersion 17 but need maxWireVersion >= 21 (MongoDB >=7.0) [2025/09/03 07:28:53.526] pymongo/asynchronous/collection.py:657: ConfigurationError