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

Test failure - TestConnectionsSurvivePrimaryStepDown is missing require_test_commands

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

      TestConnectionsSurvivePrimaryStepDown is missing the client_context.require_test_commands decorator:

       [2019/09/16 16:21:11.732] ERROR [0.025s]: test_interrupted_at_shutdown (test_connections_survive_primary_stepdown_spec.TestConnectionsSurvivePrimaryStepDown)
       [2019/09/16 16:21:11.732] ----------------------------------------------------------------------
       [2019/09/16 16:21:11.732] Traceback (most recent call last):
       [2019/09/16 16:21:11.732]   File "/data/mci/6e240a9e9379beca22b6fddccb3a8c1f/src/test/__init__.py", line 432, in wrap
       [2019/09/16 16:21:11.732]     return f(*args, **kwargs)
       [2019/09/16 16:21:11.732]   File "/data/mci/6e240a9e9379beca22b6fddccb3a8c1f/src/test/test_connections_survive_primary_stepdown_spec.py", line 134, in test_interrupted_at_shutdown
       [2019/09/16 16:21:11.732]     self.run_scenario(11600, False, self.verify_pool_cleared)
       [2019/09/16 16:21:11.732]   File "/data/mci/6e240a9e9379beca22b6fddccb3a8c1f/src/test/test_connections_survive_primary_stepdown_spec.py", line 105, in run_scenario
       [2019/09/16 16:21:11.732]     "errorCode": error_code}})
       [2019/09/16 16:21:11.732]   File "/data/mci/6e240a9e9379beca22b6fddccb3a8c1f/src/test/test_connections_survive_primary_stepdown_spec.py", line 63, in set_fail_point
       [2019/09/16 16:21:11.732]     self.client.admin.command(cmd)
       [2019/09/16 16:21:11.732]   File "/data/mci/6e240a9e9379beca22b6fddccb3a8c1f/src/pymongo/database.py", line 733, in command
       [2019/09/16 16:21:11.732]     codec_options, session=session, **kwargs)
       [2019/09/16 16:21:11.732]   File "/data/mci/6e240a9e9379beca22b6fddccb3a8c1f/src/pymongo/database.py", line 630, in _command
       [2019/09/16 16:21:11.732]     client=self.__client)
       [2019/09/16 16:21:11.732]   File "/data/mci/6e240a9e9379beca22b6fddccb3a8c1f/src/pymongo/pool.py", line 613, in command
       [2019/09/16 16:21:11.732]     user_fields=user_fields)
       [2019/09/16 16:21:11.732]   File "/data/mci/6e240a9e9379beca22b6fddccb3a8c1f/src/pymongo/network.py", line 167, in command
       [2019/09/16 16:21:11.732]     parse_write_concern_error=parse_write_concern_error)
       [2019/09/16 16:21:11.732]   File "/data/mci/6e240a9e9379beca22b6fddccb3a8c1f/src/pymongo/helpers.py", line 159, in _check_command_response
       [2019/09/16 16:21:11.732]     raise OperationFailure(msg % errmsg, code, response)
       [2019/09/16 16:21:11.732] OperationFailure: no such command: 'configureFailPoint'
      

      https://evergreen.mongodb.com/build/mongo_python_driver_test_disableTestCommands__platform~rhel62_python_version~2.7_disableTestCommands~disabled_802de40e0d7ac1bbbc066f20263736739e932bdf_19_09_12_23_53_38

            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: