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

Test Failure - test_change_stream.TestChangeStream.test_aggregate_cursor_blocks

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • None

       [2018/04/17 13:51:19.355] ======================================================================
       [2018/04/17 13:51:19.355] FAIL [1.405s]: test_aggregate_cursor_blocks (test_change_stream.TestChangeStream)
       [2018/04/17 13:51:19.355] Test that an aggregate cursor blocks until a change is readable.
       [2018/04/17 13:51:19.355] ----------------------------------------------------------------------
       [2018/04/17 13:51:19.355] Traceback (most recent call last):
       [2018/04/17 13:51:19.355]   File "/data/mci/ed495d146df461dce4ccc506f12e9161/src/test/test_change_stream.py", line 168, in test_aggregate_cursor_blocks
       [2018/04/17 13:51:19.355]     self.assertEqual(1, len(changes))
       [2018/04/17 13:51:19.355] AssertionError: 1 != 0
       [2018/04/17 13:51:19.355] Stderr:
       [2018/04/17 13:51:19.355] Exception in thread Thread-1:
       [2018/04/17 13:51:19.355] Traceback (most recent call last):
       [2018/04/17 13:51:19.355]   File "/opt/python/3.4/lib/python3.4/threading.py", line 911, in _bootstrap_inner
       [2018/04/17 13:51:19.355]     self.run()
       [2018/04/17 13:51:19.355]   File "/opt/python/3.4/lib/python3.4/threading.py", line 859, in run
       [2018/04/17 13:51:19.355]     self._target(*self._args, **self._kwargs)
       [2018/04/17 13:51:19.355]   File "/data/mci/ed495d146df461dce4ccc506f12e9161/src/test/test_change_stream.py", line 162, in <lambda>
       [2018/04/17 13:51:19.355]     target=lambda: changes.append(change_stream.next()))
       [2018/04/17 13:51:19.355]   File "/data/mci/ed495d146df461dce4ccc506f12e9161/src/pymongo/command_cursor.py", line 288, in next
       [2018/04/17 13:51:19.355]     self._refresh()
       [2018/04/17 13:51:19.355]   File "/data/mci/ed495d146df461dce4ccc506f12e9161/src/pymongo/command_cursor.py", line 235, in _refresh
       [2018/04/17 13:51:19.355]     self.__max_await_time_ms))
       [2018/04/17 13:51:19.355]   File "/data/mci/ed495d146df461dce4ccc506f12e9161/src/pymongo/command_cursor.py", line 158, in __send_message
       [2018/04/17 13:51:19.355]     helpers._check_command_response(first)
       [2018/04/17 13:51:19.355]   File "/data/mci/ed495d146df461dce4ccc506f12e9161/src/pymongo/helpers.py", line 145, in _check_command_response
       [2018/04/17 13:51:19.355]     raise OperationFailure(msg % errmsg, code, response)
       [2018/04/17 13:51:19.355] pymongo.errors.OperationFailure: Cannot run getMore on cursor 8577570355860465843, which was created in session f00a3a4f-fa27-446d-9129-37a0b3d9c543 - Il1bctjvfYRA0JpLUY4Xle2E6bw+KM1YpMr4x52qGgE=, without an lsid
      

      Caused by SERVER-34204.

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

              Created:
              Updated:
              Resolved: