-
Type:
Build Failure
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
In https://github.com/langchain-ai/langchain-mongodb/actions/runs/18640071008/job/53137135398?pr=233 the same failure is occurring on Python 3.9 and Python 3.13. The test ran successfully in last night's pipeline run: https://spruce.mongodb.com/task/ai_ml_pipeline_testing_test_langgraph_python_rhel_test_langgraph_python_local_68f57800ab980a00079afd9d_25_10_19_23_45_04/logs?execution=0.
FAILED tests/unit_tests/test_time_travel.py::test[ttl_none] - pymongo.errors.BulkWriteError: batch op errors occurred, full error: {'writeErrors': [{'index': 0, 'code': 11000, 'errmsg': 'Plan executor error during update :: caused by :: E11000 duplicate key error collection: langgraph-test.checkpoint_writes index: thread_id_1_checkpoint_ns_1_checkpoint_id_-1_task_id_1_idx_1 dup key: { thread_id: "test-time-travel", checkpoint_ns: "", checkpoint_id: "1f0ad5b8-121f-6de9-8001-0f6e2db1fba6", task_id: "970bd7c6-7008-05b1-d854-2e2bde7c2bfc", idx: 0 }', 'keyPattern': {'thread_id': 1, 'checkpoint_ns': 1, 'checkpoint_id': -1, 'task_id': 1, 'idx': 1}, 'keyValue': {'thread_id': 'test-time-travel', 'checkpoint_ns': '', 'checkpoint_id': '1f0ad5b8-121f-6de9-8001-0f6e2db1fba6', 'task_id': '970bd7c6-7008-05b1-d854-2e2bde7c2bfc', 'idx': 0}, 'op': {'q': {'thread_id': 'test-time-travel', 'checkpoint_ns': '', 'checkpoint_id': '1f0ad5b8-121f-6de9-8001-0f6e2db1fba6', 'task_id': '970bd7c6-7008-05b1-d854-2e2bde7c2bfc', 'task_path': '', 'idx': 0}, 'u': {'$setOnInsert': {'channel': 'amount', 'type': 'msgpack', 'value': b'\xcc\xc8'}}, 'multi': False, 'upsert': True}}], 'writeConcernErrors': [], 'nInserted': 0, 'nUpserted': 0, 'nMatched': 0, 'nModified': 0, 'nRemoved': 0, 'upserted': []}
FAILED tests/unit_tests/test_time_travel.py::test[ttl_3600] - pymongo.errors.BulkWriteError: batch op errors occurred, full error: {'writeErrors': [{'index': 0, 'code': 11000, 'errmsg': 'Plan executor error during update :: caused by :: E11000 duplicate key error collection: langgraph-test.checkpoint_writes index: thread_id_1_checkpoint_ns_1_checkpoint_id_-1_task_id_1_idx_1 dup key: { thread_id: "test-time-travel", checkpoint_ns: "", checkpoint_id: "1f0ad5b8-121f-6de9-8001-0f6e2db1fba6", task_id: "970bd7c6-7008-05b1-d854-2e2bde7c2bfc", idx: 0 }', 'keyPattern': {'thread_id': 1, 'checkpoint_ns': 1, 'checkpoint_id': -1, 'task_id': 1, 'idx': 1}, 'keyValue': {'thread_id': 'test-time-travel', 'checkpoint_ns': '', 'checkpoint_id': '1f0ad5b8-121f-6de9-8001-0f6e2db1fba6', 'task_id': '970bd7c6-7008-05b1-d854-2e2bde7c2bfc', 'idx': 0}, 'op': {'q': {'thread_id': 'test-time-travel', 'checkpoint_ns': '', 'checkpoint_id': '1f0ad5b8-121f-6de9-8001-0f6e2db1fba6', 'task_id': '970bd7c6-7008-05b1-d854-2e2bde7c2bfc', 'task_path': '', 'idx': 0}, 'u': {'$setOnInsert': {'channel': 'amount', 'type': 'msgpack', 'value': b'\xcc\xc8', 'created_at': datetime.datetime(2025, 10, 20, 2, 21, 37, 25898)}}, 'multi': False, 'upsert': True}}], 'writeConcernErrors': [], 'nInserted': 0, 'nUpserted': 0, 'nMatched': 0, 'nModified': 0, 'nRemoved': 0, 'upserted': []}
=================== 2 failed, 11 passed, 3 warnings in 4.13s ===================