-
Type:
Build Failure
-
Resolution: Done
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: greenerbuild
-
None
-
🔵 Done
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Â
TimeoutError: index_name='vector_index' did not complete in 30!
Â
[2025/09/02 09:03:42.237] _________________________________ test_filters _________________________________ [2025/09/02 09:03:42.237] collection = Collection(Database(MongoClient(host=['aimltesting-shard-00-00.iwajh.mongodb-qa.net:27017', 'aimltesting-shard-00-01.i...ect=True, authsource='admin', replicaset='atlas-l8994b-shard-0', tls=True), 'langgraph-test'), 'semantic_search_async') [2025/09/02 09:03:42.237] async def test_filters(collection: Collection) -> None: [2025/09/02 09:03:42.237] """Test permutations of namespace_prefix in filter.""" [2025/09/02 09:03:42.237] index_config = create_vector_index_config( [2025/09/02 09:03:42.237] name=INDEX_NAME, [2025/09/02 09:03:42.237] dims=DIMENSIONS, [2025/09/02 09:03:42.237] fields=["product"], [2025/09/02 09:03:42.237] embed=StaticEmbeddings(), # embedding [2025/09/02 09:03:42.237] filters=["metadata.available"], [2025/09/02 09:03:42.237] ) [2025/09/02 09:03:42.237] > store_mdb = MongoDBStore( [2025/09/02 09:03:42.237] collection, index_config=index_config, auto_index_timeout=TIMEOUT [2025/09/02 09:03:42.237] ) [2025/09/02 09:03:42.237] tests/integration_tests/test_store_semantic_async.py:88: [2025/09/02 09:03:42.237] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2025/09/02 09:03:42.237] langgraph/store/mongodb/base.py:205: in __init__ [2025/09/02 09:03:42.237] create_vector_search_index( [2025/09/02 09:03:42.237] .venv/lib64/python3.11/site-packages/langchain_mongodb/index.py:81: in create_vector_search_index [2025/09/02 09:03:42.237] _wait_for_predicate( [2025/09/02 09:03:42.237] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2025/09/02 09:03:42.237] predicate = <function create_vector_search_index.<locals>.<lambda> at 0x7fbb385deb60> [2025/09/02 09:03:42.237] err = "index_name='vector_index' did not complete in 30!", timeout = 30 [2025/09/02 09:03:42.237] interval = 0.5 [2025/09/02 09:03:42.237] def _wait_for_predicate( [2025/09/02 09:03:42.237] predicate: Callable, err: str, timeout: float = 120, interval: float = 0.5 [2025/09/02 09:03:42.237] ) -> None: [2025/09/02 09:03:42.237] """Generic to block until the predicate returns true [2025/09/02 09:03:42.237] Args: [2025/09/02 09:03:42.237] predicate (Callable[, bool]): A function that returns a boolean value [2025/09/02 09:03:42.237] err (str): Error message to raise if nothing occurs [2025/09/02 09:03:42.237] timeout (float, optional): Wait time for predicate. Defaults to TIMEOUT. [2025/09/02 09:03:42.237] interval (float, optional): Interval to check predicate. Defaults to DELAY. [2025/09/02 09:03:42.237] Raises: [2025/09/02 09:03:42.237] TimeoutError: _description_ [2025/09/02 09:03:42.237] """ [2025/09/02 09:03:42.237] start = monotonic() [2025/09/02 09:03:42.237] while not predicate(): [2025/09/02 09:03:42.237] if monotonic() - start > timeout: [2025/09/02 09:03:42.237] > raise TimeoutError(err) [2025/09/02 09:03:42.237] E TimeoutError: index_name='vector_index' did not complete in 30! [2025/09/02 09:03:42.237] .venv/lib64/python3.11/site-packages/langchain_mongodb/index.py:198: TimeoutError [2025/09/02 09:03:42.237] ============================= slowest 5 durations ==============================