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

Test failure - test_cursor.TestRawBatchCursor.test_read_concern

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.12, 4.0
    • Affects Version/s: None
    • Component/s: Tests
    • Labels:
      None

      MMAPv1 test failure:

       [2021/05/24 23:31:02.681] ERROR [0.002s]: test_read_concern (test_cursor.TestRawBatchCursor)
       [2021/05/24 23:31:02.681] ----------------------------------------------------------------------
       [2021/05/24 23:31:02.681] Traceback (most recent call last):
       [2021/05/24 23:31:02.681]   File "/data/mci/8e8de2a92e6b21efa67ab6069ad26cd1/src/test/__init__.py", line 486, in wrap
       [2021/05/24 23:31:02.681]     return f(*args, **kwargs)
       [2021/05/24 23:31:02.681]   File "/data/mci/8e8de2a92e6b21efa67ab6069ad26cd1/src/test/test_cursor.py", line 1533, in test_read_concern
       [2021/05/24 23:31:02.681]     next(c.find_raw_batches())
       [2021/05/24 23:31:02.681]   File "/data/mci/8e8de2a92e6b21efa67ab6069ad26cd1/src/pymongo/cursor.py", line 1214, in next
       [2021/05/24 23:31:02.681]     if len(self.__data) or self._refresh():
       [2021/05/24 23:31:02.681]   File "/data/mci/8e8de2a92e6b21efa67ab6069ad26cd1/src/pymongo/cursor.py", line 1132, in _refresh
       [2021/05/24 23:31:02.681]     self.__send_message(q)
       [2021/05/24 23:31:02.681]   File "/data/mci/8e8de2a92e6b21efa67ab6069ad26cd1/src/pymongo/cursor.py", line 1009, in __send_message
       [2021/05/24 23:31:02.681]     address=self.__address)
       [2021/05/24 23:31:02.681]   File "/data/mci/8e8de2a92e6b21efa67ab6069ad26cd1/src/pymongo/mongo_client.py", line 1421, in _run_operation_with_response
       [2021/05/24 23:31:02.682]     exhaust=exhaust)
       [2021/05/24 23:31:02.682]   File "/data/mci/8e8de2a92e6b21efa67ab6069ad26cd1/src/pymongo/mongo_client.py", line 1520, in _retryable_read
       [2021/05/24 23:31:02.682]     return func(session, server, sock_info, slave_ok)
       [2021/05/24 23:31:02.682]   File "/data/mci/8e8de2a92e6b21efa67ab6069ad26cd1/src/pymongo/mongo_client.py", line 1415, in _cmd
       [2021/05/24 23:31:02.682]     unpack_res)
       [2021/05/24 23:31:02.682]   File "/data/mci/8e8de2a92e6b21efa67ab6069ad26cd1/src/pymongo/server.py", line 136, in run_operation_with_response
       [2021/05/24 23:31:02.682]     _check_command_response(first, sock_info.max_wire_version)
       [2021/05/24 23:31:02.682]   File "/data/mci/8e8de2a92e6b21efa67ab6069ad26cd1/src/pymongo/helpers.py", line 166, in _check_command_response
       [2021/05/24 23:31:02.682]     raise OperationFailure(errmsg, code, response, max_wire_version)
       [2021/05/24 23:31:02.682] OperationFailure: Storage engine does not support read concern: { readConcern: { level: "majority" } }, full error: {u'codeName': u'ReadConcernMajorityNotEnabled', u'code': 148, u'ok': 0.0, u'errmsg': u'Storage engine does not support read concern: { readConcern: { level: "majority" } }'}
      

      https://evergreen.mongodb.com/task/mongo_python_driver_3.12_tests_storage_engines__platform~awslinux_python_version~2.7_storage_engine~mmapv1_test_4.0_standalone_66a70746cef936fc996645062c089c500fc9a8ea_21_05_24_17_04_40

      Caused by PYTHON-1860

            Assignee:
            prashant.mital Prashant Mital (Inactive)
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'slack.nextup.jira:slack-integration-plus'. Please contact your Jira administrators.