Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-782

Test Failure - test_fetch_next_exception on MongoDB 3.0

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.5
    • Affects Version/s: None
    • Component/s: None
    • None

      Related to MOTOR-769, test_fetch_next_exception is still failing on MongoDB 3.0:

       [2021/07/15 23:57:06.661] ERROR [0.023s]: test_fetch_next_exception (asyncio_tests.test_asyncio_cursor.TestAsyncIOCursor)
       [2021/07/15 23:57:06.661] ----------------------------------------------------------------------
       [2021/07/15 23:57:06.661] Traceback (most recent call last):
       [2021/07/15 23:57:06.661]   File "/data/mci/38eb7e2074e7d8f0482318b45d2046b6/src/.tox/py3-pymongo-v3.12/lib/python3.6/site-packages/pymongo/cursor.py", line 1045, in __send_message
       [2021/07/15 23:57:06.661]     operation, self._unpack_response, address=self.__address)
       [2021/07/15 23:57:06.661]   File "/data/mci/38eb7e2074e7d8f0482318b45d2046b6/src/.tox/py3-pymongo-v3.12/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1426, in _run_operation
       [2021/07/15 23:57:06.661]     address=address, retryable=isinstance(operation, message._Query))
       [2021/07/15 23:57:06.661]   File "/data/mci/38eb7e2074e7d8f0482318b45d2046b6/src/.tox/py3-pymongo-v3.12/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1525, in _retryable_read
       [2021/07/15 23:57:06.661]     return func(session, server, sock_info, secondary_ok)
       [2021/07/15 23:57:06.661]   File "/data/mci/38eb7e2074e7d8f0482318b45d2046b6/src/.tox/py3-pymongo-v3.12/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1422, in _cmd
       [2021/07/15 23:57:06.661]     unpack_res)
       [2021/07/15 23:57:06.661]   File "/data/mci/38eb7e2074e7d8f0482318b45d2046b6/src/.tox/py3-pymongo-v3.12/lib/python3.6/site-packages/pymongo/server.py", line 126, in run_operation
       [2021/07/15 23:57:06.661]     user_fields=user_fields)
       [2021/07/15 23:57:06.661]   File "/data/mci/38eb7e2074e7d8f0482318b45d2046b6/src/.tox/py3-pymongo-v3.12/lib/python3.6/site-packages/pymongo/cursor.py", line 1110, in _unpack_response
       [2021/07/15 23:57:06.662]     legacy_response)
       [2021/07/15 23:57:06.662]   File "/data/mci/38eb7e2074e7d8f0482318b45d2046b6/src/.tox/py3-pymongo-v3.12/lib/python3.6/site-packages/pymongo/message.py", line 1598, in unpack_response
       [2021/07/15 23:57:06.662]     self.raw_response(cursor_id)
       [2021/07/15 23:57:06.662]   File "/data/mci/38eb7e2074e7d8f0482318b45d2046b6/src/.tox/py3-pymongo-v3.12/lib/python3.6/site-packages/pymongo/message.py", line 1575, in raw_response
       [2021/07/15 23:57:06.662]     error_object)
       [2021/07/15 23:57:06.662] pymongo.errors.OperationFailure: database error: collection dropped between getMore calls, full error: {'$err': 'collection dropped between getMore calls', 'code': 17356, 'ok': 0}
       [2021/07/15 23:57:06.662] During handling of the above exception, another exception occurred:
       [2021/07/15 23:57:06.662] Traceback (most recent call last):
       [2021/07/15 23:57:06.662]   File "/data/mci/38eb7e2074e7d8f0482318b45d2046b6/src/test/asyncio_tests/__init__.py", line 48, in __call__
       [2021/07/15 23:57:06.662]     result = self.orig_method()
       [2021/07/15 23:57:06.662]   File "/data/mci/38eb7e2074e7d8f0482318b45d2046b6/src/test/asyncio_tests/__init__.py", line 213, in wrapped
       [2021/07/15 23:57:06.662]     self.loop.run_until_complete(task)
       [2021/07/15 23:57:06.662]   File "/opt/python/3.6/lib/python3.6/asyncio/base_events.py", line 488, in run_until_complete
       [2021/07/15 23:57:06.662]     return future.result()
       [2021/07/15 23:57:06.662]   File "/opt/python/3.6/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
       [2021/07/15 23:57:06.662]     return fut.result()
       [2021/07/15 23:57:06.662]   File "/data/mci/38eb7e2074e7d8f0482318b45d2046b6/src/test/asyncio_tests/test_asyncio_cursor.py", line 138, in test_fetch_next_exception
       [2021/07/15 23:57:06.662]     await cursor.fetch_next
       [2021/07/15 23:57:06.662]   File "/opt/python/3.6/lib/python3.6/concurrent/futures/thread.py", line 56, in run
       [2021/07/15 23:57:06.662]     result = self.fn(*self.args, **self.kwargs)
       [2021/07/15 23:57:06.662]   File "/data/mci/38eb7e2074e7d8f0482318b45d2046b6/src/.tox/py3-pymongo-v3.12/lib/python3.6/site-packages/pymongo/cursor.py", line 1175, in _refresh
       [2021/07/15 23:57:06.662]     self.__send_message(g)
       [2021/07/15 23:57:06.662]   File "/data/mci/38eb7e2074e7d8f0482318b45d2046b6/src/.tox/py3-pymongo-v3.12/lib/python3.6/site-packages/pymongo/cursor.py", line 1050, in __send_message
       [2021/07/15 23:57:06.662]     self.close()
       [2021/07/15 23:57:06.662]   File "/data/mci/38eb7e2074e7d8f0482318b45d2046b6/src/.tox/py3-pymongo-v3.12/lib/python3.6/site-packages/pymongo/cursor.py", line 372, in close
       [2021/07/15 23:57:06.662]     self.__die(True)
       [2021/07/15 23:57:06.662]   File "/data/mci/38eb7e2074e7d8f0482318b45d2046b6/src/.tox/py3-pymongo-v3.12/lib/python3.6/site-packages/pymongo/cursor.py", line 353, in __die
       [2021/07/15 23:57:06.662]     self.__address, "%s.%s" % (self.__dbname, self.__collname))
       [2021/07/15 23:57:06.662]   File "/data/mci/38eb7e2074e7d8f0482318b45d2046b6/src/.tox/py3-pymongo-v3.12/lib/python3.6/site-packages/pymongo/message.py", line 492, in __new__
       [2021/07/15 23:57:06.662]     self = tuple.__new__(cls, address)
       [2021/07/15 23:57:06.662] TypeError: 'NoneType' object is not iterable
      

      https://evergreen.mongodb.com/task/motor_test_mongodb_3.0_rhel__ssl~nossl_tox_env~py3_pymongo_v3.12_os~rhel_test_3.0_standalone_882f076ec55f1502575294bb02f8832be1335272_21_07_15_23_45_15

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

              Created:
              Updated:
              Resolved: