-
Type:
Task
-
Resolution: Done
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: AI/ML
-
🔵 Done
-
Python Drivers
-
Not Needed
-
None
-
None
-
None
-
None
-
None
-
None
Context
[Failing Build|evergreen.mongodb.com/task_log_raw/ai_ml_pipeline_testing_test_pymongo_vectorsearch_utils_python_rhel_test_pymongo_vectorsearch_utils_remote_68df0e7e241d8100070ff577_25_10_02_23_45_02/1?type=T]
As configured, the tests aren't authorized to act on the remote database.
Â
Error Log
[2025/10/03 13:00:17.227] ERROR tests/test_index.py::test_search_index_create_and_drop pymongo.errors.OperationFailure: not authorized on pymongo_search_utils_test to execute command {   listCollections: 1,   cursor: {},   nameOnly: true,   lsid: \{ id: UUID("7f7098c4-7a33-47c0-8c79-0321aebfd7ea") },   $clusterTime: {     clusterTime: Timestamp(1759510805, 1),     signature: {       hash: BinData(0, DC65C29ABB407779FE65D679728215C437DB9D4F),       keyId: 7506592944862789638     }   },   $db: "pymongo_search_utils_test" }, full error: {   'ok': 0.0,   'errmsg': 'not authorized on pymongo_search_utils_test to execute command \{...}',   'code': 13,   'codeName': 'Unauthorized',   '$clusterTime': {     'clusterTime': Timestamp(1759510805, 1),     'signature': {       'hash': b'\xdce\xc2\x9a\xbb@wy\xfee\xd6yr\x82\x15\xc47\xdb\x9dO',       'keyId': 7506592944862789638     }   },   'operationTime': Timestamp(1759510805, 1) }
Definition of done
Ensure changes made in ai-ml-testing pipeline and/or search-utils libraries fixes the build.