Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-4213

Test Failure - test_max_await_time_ms

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers

      test_max_await_time_ms failed once (not consistently):

       [2024/02/07 12:02:13.929] FAILURE: pymongo.errors.ExecutionTimeout: operation exceeded time limit, full error: {'ok': 0.0, 'errmsg': 'operation exceeded time limit', 'code': 50, 'codeName': 'MaxTimeMSExpired', 'operationTime': Timestamp(1707334860, 1), '$clusterTime': {'clusterTime': Timestamp(1707334860, 1), 'signature': {'hash': b"R\x8b\x04N\x95=\x80\xea\xe5\x1a'J\x80\x0f\xcb\x94\xf2\x1d\xbd\xb2", 'keyId': 7332943706233765897}}} ()
       [2024/02/07 12:02:13.929] self = <test.test_cursor.TestCursor testMethod=test_max_await_time_ms>
       [2024/02/07 12:02:13.929]     def test_max_await_time_ms(self):
       [2024/02/07 12:02:13.929]         # Non tailable_await with max_time_ms
       [2024/02/07 12:02:13.929] >       list(coll.find(batch_size=1).max_time_ms(99))
       [2024/02/07 12:02:13.929] test/test_cursor.py:282: 
       [2024/02/07 12:02:13.929] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
       [2024/02/07 12:02:13.929] pymongo/cursor.py:1243: in next
       [2024/02/07 12:02:13.929]     if len(self.__data) or self._refresh():
       [2024/02/07 12:02:13.929] pymongo/cursor.py:1183: in _refresh
       [2024/02/07 12:02:13.929]     self.__send_message(g)
       [2024/02/07 12:02:13.929] pymongo/cursor.py:1039: in __send_message
       [2024/02/07 12:02:13.929]     response = client._run_operation(
       [2024/02/07 12:02:13.929] pymongo/_csot.py:107: in csot_wrapper
       [2024/02/07 12:02:13.929]     return func(self, *args, **kwargs)
       [2024/02/07 12:02:13.929] pymongo/mongo_client.py:1389: in _run_operation
       [2024/02/07 12:02:13.929]     return self._retryable_read(
       [2024/02/07 12:02:13.929] pymongo/mongo_client.py:1485: in _retryable_read
       [2024/02/07 12:02:13.929]     return self._retry_internal(
       [2024/02/07 12:02:13.929] pymongo/_csot.py:107: in csot_wrapper
       [2024/02/07 12:02:13.929]     return func(self, *args, **kwargs)
       [2024/02/07 12:02:13.929] pymongo/mongo_client.py:1455: in _retry_internal
       [2024/02/07 12:02:13.929]     ).run()
       [2024/02/07 12:02:13.929] pymongo/mongo_client.py:2286: in run
       [2024/02/07 12:02:13.929]     return self._read() if self._is_read else self._write()
       [2024/02/07 12:02:13.929] pymongo/mongo_client.py:2420: in _read
       [2024/02/07 12:02:13.929]     return self._func(self._session, self._server, conn, read_pref)  # type: ignore
       [2024/02/07 12:02:13.929] pymongo/mongo_client.py:1385: in _cmd
       [2024/02/07 12:02:13.929]     return server.run_operation(
       [2024/02/07 12:02:13.929] pymongo/helpers.py:322: in inner
       [2024/02/07 12:02:13.929]     return func(*args, **kwargs)
       [2024/02/07 12:02:13.929] pymongo/server.py:171: in run_operation
       [2024/02/07 12:02:13.929]     _check_command_response(first, conn.max_wire_version)
       [2024/02/07 12:02:13.929] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
       [2024/02/07 12:02:13.929]         elif code == 50:
       [2024/02/07 12:02:13.929] >           raise ExecutionTimeout(errmsg, code, response, max_wire_version)
       [2024/02/07 12:02:13.929] E           pymongo.errors.ExecutionTimeout: operation exceeded time limit, full error: {'ok': 0.0, 'errmsg': 'operation exceeded time limit', 'code': 50, 'codeName': 'MaxTimeMSExpired', 'operationTime': Timestamp(1707334860, 1), '$clusterTime': {'clusterTime': Timestamp(1707334860, 1), 'signature': {'hash': b"R\x8b\x04N\x95=\x80\xea\xe5\x1a'J\x80\x0f\xcb\x94\xf2\x1d\xbd\xb2", 'keyId': 7332943706233765897}}}
       [2024/02/07 12:02:13.929] pymongo/helpers.py:226: ExecutionTimeout
      

      https://evergreen.mongodb.com/test_log/mongo_python_driver_test_macos__platform~macos_1014_auth~auth_ssl~ssl_test_4.2_sharded_cluster_fe37841f07d5bdc2a922e51443710ea119fdb35a_24_02_07_19_24_20/0?test_name=7d7d88959d2c8632490a527acec130fd&group_id=#L1

      Likely related to the macos hosts being slow: PYTHON-3619

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: