-
Type: Build Failure
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Python Drivers
TestDataLakeProse.test_3 started failing on Feb 7 likely caused by PYTHON-3467:
[2024/02/07 09:43:50.457] =================================== FAILURES =================================== [2024/02/07 09:43:50.457] ___________________________ TestDataLakeProse.test_3 ___________________________ [2024/02/07 09:43:50.457] self = <test.test_data_lake.TestDataLakeProse testMethod=test_3> [2024/02/07 09:43:50.457] def test_3(self): [2024/02/07 09:43:50.457] for mechanism in ["SCRAM-SHA-1", "SCRAM-SHA-256"]: [2024/02/07 09:43:50.457] > client = rs_or_single_client(authMechanism=mechanism) [2024/02/07 09:43:50.457] test/test_data_lake.py:94: [2024/02/07 09:43:50.457] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2024/02/07 09:43:50.458] test/utils.py:609: in rs_or_single_client [2024/02/07 09:43:50.458] return _mongo_client(h, p, **kwargs) [2024/02/07 09:43:50.458] test/utils.py:573: in _mongo_client [2024/02/07 09:43:50.458] return MongoClient(uri, port, **client_options) [2024/02/07 09:43:50.458] pymongo/mongo_client.py:823: in __init__ [2024/02/07 09:43:50.458] self.__options = options = ClientOptions(username, password, dbase, opts) [2024/02/07 09:43:50.458] pymongo/client_options.py:204: in __init__ [2024/02/07 09:43:50.458] self.__pool_options = _parse_pool_options(username, password, database, options) [2024/02/07 09:43:50.458] pymongo/client_options.py:145: in _parse_pool_options [2024/02/07 09:43:50.458] credentials = _parse_credentials(username, password, database, options) [2024/02/07 09:43:50.458] pymongo/client_options.py:51: in _parse_credentials [2024/02/07 09:43:50.458] return _build_credentials_tuple(mechanism, source, username, password, options, database) [2024/02/07 09:43:50.458] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2024/02/07 09:43:50.458] mech = 'SCRAM-SHA-1', source = None, user = None, passwd = None [2024/02/07 09:43:50.458] extra = {'authMechanism': 'SCRAM-SHA-1', 'document_class': <class 'dict'>, 'tz_aware': False, 'connect': True} [2024/02/07 09:43:50.458] database = None [2024/02/07 09:43:50.458] def _build_credentials_tuple( [2024/02/07 09:43:50.458] mech: str, [2024/02/07 09:43:50.458] source: Optional[str], [2024/02/07 09:43:50.458] user: str, [2024/02/07 09:43:50.458] passwd: str, [2024/02/07 09:43:50.458] extra: Mapping[str, Any], [2024/02/07 09:43:50.458] database: Optional[str], [2024/02/07 09:43:50.458] ) -> MongoCredential: [2024/02/07 09:43:50.458] """Build and return a mechanism specific credentials tuple.""" [2024/02/07 09:43:50.458] if mech not in ("MONGODB-X509", "MONGODB-AWS", "MONGODB-OIDC") and user is None: [2024/02/07 09:43:50.458] > raise ConfigurationError(f"{mech} requires a username.") [2024/02/07 09:43:50.458] E pymongo.errors.ConfigurationError: SCRAM-SHA-1 requires a username. [2024/02/07 09:43:50.458] pymongo/auth.py:134: ConfigurationError
- duplicates
-
PYTHON-4205 [Build Failure] test_data_lake.TestDataLakeProse.test_3
- Closed
- is caused by
-
PYTHON-3467 OIDC: Automatic token acquisition for Azure Identity Provider
- Closed