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

Test Failure - test_session: Sessions are not supported by this MongoDB deployment

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 3.6
    • Affects Version/s: None
    • Component/s: Tests
    • Labels:
      None

      All of the session tests against Latest Replica sets on distros besides RHEL 6.2 and Ubuntu 14 are failing with "Sessions are not supported by this MongoDB deployment":

       [2017/11/10 11:04:42.194] ERROR: test_aggregate (test_session.TestSession)
       [2017/11/10 11:04:42.194] ----------------------------------------------------------------------
       [2017/11/10 11:04:42.194] Traceback (most recent call last):
       [2017/11/10 11:04:42.194]   File "/data/mci/da84e0a93594e523683e3bda9e493fa5/src/test/test_session.py", line 542, in test_aggregate
       [2017/11/10 11:04:42.194]     self._test_ops(client, (agg, [], {}))
       [2017/11/10 11:04:42.194]   File "/data/mci/da84e0a93594e523683e3bda9e493fa5/src/test/test_session.py", line 74, in _test_ops
       [2017/11/10 11:04:42.194]     with client.start_session() as s:
       [2017/11/10 11:04:42.194]   File "/data/mci/da84e0a93594e523683e3bda9e493fa5/src/pymongo/mongo_client.py", line 1294, in start_session
       [2017/11/10 11:04:42.194]     server_session = self._get_server_session()
       [2017/11/10 11:04:42.194]   File "/data/mci/da84e0a93594e523683e3bda9e493fa5/src/pymongo/mongo_client.py", line 1300, in _get_server_session
       [2017/11/10 11:04:42.194]     return self._topology.get_server_session()
       [2017/11/10 11:04:42.194]   File "/data/mci/da84e0a93594e523683e3bda9e493fa5/src/pymongo/topology.py", line 414, in get_server_session
       [2017/11/10 11:04:42.194]     "Sessions are not supported by this MongoDB deployment")
       [2017/11/10 11:04:42.194] ConfigurationError: Sessions are not supported by this MongoDB deployment
      

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

              Created:
              Updated:
              Resolved: