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

Test failure - test_collection.TestCollection.test_index_haystack

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.11.1
    • Affects Version/s: None
    • Component/s: Tests
    • None

      test_collection.TestCollection.test_index_haystack started failing on MongoDB latest recently:

       [2020/11/05 22:57:00.642] ======================================================================
       [2020/11/05 22:57:00.642] ERROR [0.026s]: test_index_haystack (test_collection.TestCollection)
       [2020/11/05 22:57:00.642] ----------------------------------------------------------------------
       [2020/11/05 22:57:00.642] Traceback (most recent call last):
       [2020/11/05 22:57:00.642]   File "/data/mci/b4483b131c0209e78fca4e1538010e9c/src/test/__init__.py", line 444, in wrap
       [2020/11/05 22:57:00.642]     return f(*args, **kwargs)
       [2020/11/05 22:57:00.642]   File "/data/mci/b4483b131c0209e78fca4e1538010e9c/src/test/test_collection.py", line 472, in test_index_haystack
       [2020/11/05 22:57:00.642]     results = db.command(SON([
       [2020/11/05 22:57:00.642]   File "/data/mci/b4483b131c0209e78fca4e1538010e9c/src/pymongo/database.py", line 738, in command
       [2020/11/05 22:57:00.643]     return self._command(sock_info, command, slave_ok, value,
       [2020/11/05 22:57:00.643]   File "/data/mci/b4483b131c0209e78fca4e1538010e9c/src/pymongo/database.py", line 626, in _command
       [2020/11/05 22:57:00.643]     return sock_info.command(
       [2020/11/05 22:57:00.643]   File "/data/mci/b4483b131c0209e78fca4e1538010e9c/src/pymongo/pool.py", line 706, in command
       [2020/11/05 22:57:00.643]     return command(self, dbname, spec, slave_ok,
       [2020/11/05 22:57:00.643]   File "/data/mci/b4483b131c0209e78fca4e1538010e9c/src/pymongo/network.py", line 159, in command
       [2020/11/05 22:57:00.643]     helpers._check_command_response(
       [2020/11/05 22:57:00.643]   File "/data/mci/b4483b131c0209e78fca4e1538010e9c/src/pymongo/helpers.py", line 160, in _check_command_response
       [2020/11/05 22:57:00.643]     raise OperationFailure(errmsg, code, response, max_wire_version)
       [2020/11/05 22:57:00.643] pymongo.errors.OperationFailure: no such command: 'geoSearch', full error: {'ok': 0.0, 'errmsg': "no such command: 'geoSearch'", 'code': 59, 'codeName': 'CommandNotFound'}
      

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_python_version_requires_openssl_102_plus_test_ssl__platform~ubuntu_16.04_auth_ssl~auth_ssl_python_version~3.8_test_latest_standalone_patch_c92e5520b52a9b2ae482a20903f28c8286e5ddbd_5fa47d9457e85a0732baa8fc_20_11_05_22_32_53

            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: