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

Test failure - test_database.TestDatabase.test_errors

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

      Failing on latest in v3.11 and v3.12:

       [2021/02/02 04:52:44.185] ERROR [0.080s]: test_errors (test_database.TestDatabase)
       [2021/02/02 04:52:44.185] ----------------------------------------------------------------------
       [2021/02/02 04:52:44.185] Traceback (most recent call last):
       [2021/02/02 04:52:44.185]   File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\test\__init__.py", line 444, in wrap
       [2021/02/02 04:52:44.185]     return f(*args, **kwargs)
       [2021/02/02 04:52:44.185]   File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\test\utils.py", line 743, in wrapper
       [2021/02/02 04:52:44.185]     return wrapped(*args, **kwargs)
       [2021/02/02 04:52:44.185]   File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\test\test_database.py", line 452, in test_errors
       [2021/02/02 04:52:44.185]     db.reset_error_history()
       [2021/02/02 04:52:44.185]   File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\pymongo\database.py", line 1218, in reset_error_history
       [2021/02/02 04:52:44.185]     self.command("reseterror")
       [2021/02/02 04:52:44.185]   File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\pymongo\database.py", line 740, in command
       [2021/02/02 04:52:44.185]     codec_options, session=session, **kwargs)
       [2021/02/02 04:52:44.185]   File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\pymongo\database.py", line 637, in _command
       [2021/02/02 04:52:44.185]     client=self.__client)
       [2021/02/02 04:52:44.185]   File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\pymongo\pool.py", line 694, in command
       [2021/02/02 04:52:44.185]     exhaust_allowed=exhaust_allowed)
       [2021/02/02 04:52:44.185]   File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\pymongo\network.py", line 161, in command
       [2021/02/02 04:52:44.185]     parse_write_concern_error=parse_write_concern_error)
       [2021/02/02 04:52:44.185]   File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\pymongo\helpers.py", line 164, in _check_command_response
       [2021/02/02 04:52:44.185]     raise OperationFailure(errmsg, code, response, max_wire_version)
       [2021/02/02 04:52:44.185] OperationFailure: no such command: 'reseterror', full error: {u'codeName': u'CommandNotFound', u'code': 59, u'ok': 0.0, u'errmsg': u"no such command: 'reseterror'"}
      

      https://evergreen.mongodb.com/task/mongo_python_driver_3.11_tests_windows_python_version__platform~windows_64_vsMulti_small_auth_ssl~auth_ssl_python_version_windows~2.7_test_latest_standalone_d69da74eb6bfbe1c045c83a2fff6ca1a211eaa37_21_01_29_20_51_13

            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: