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

Test failure - test_discovery_and_monitoring_integration_rediscover_quickly_after_step_down_Rediscover_quickly_after_replSetStepDown

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Resyncing Spec Tests, Tests
    • None

      This test fails occasionally on Windows due to slow elections:

      [2020/07/14 03:15:57.166] FAIL [8.079s]: test_discovery_and_monitoring_integration_rediscover_quickly_after_step_down_Rediscover_quickly_after_replSetStepDown (test_discovery_and_monitoring.TestIntegration)
      [2020/07/14 03:15:57.166] ----------------------------------------------------------------------
      [2020/07/14 03:15:57.166] Traceback (most recent call last):
      [2020/07/14 03:15:57.166]   File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\__init__.py", line 444, in wrap
      [2020/07/14 03:15:57.166]     return f(*args, **kwargs)
      [2020/07/14 03:15:57.166]   File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\__init__.py", line 444, in wrap
      [2020/07/14 03:15:57.166]     return f(*args, **kwargs)
      [2020/07/14 03:15:57.166]   File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\test_discovery_and_monitoring.py", line 411, in run_scenario
      [2020/07/14 03:15:57.166]     self.run_scenario(scenario_def, test)
      [2020/07/14 03:15:57.166]   File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\utils_spec_runner.py", line 641, in run_scenario
      [2020/07/14 03:15:57.166]     self.run_test_ops(sessions, collection, test)
      [2020/07/14 03:15:57.166]   File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\utils_spec_runner.py", line 547, in run_test_ops
      [2020/07/14 03:15:57.166]     self.run_operations(sessions, collection, test['operations'])
      [2020/07/14 03:15:57.166]   File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\utils_spec_runner.py", line 458, in run_operations
      [2020/07/14 03:15:57.166]     self._run_op(sessions, collection, op, in_with_transaction)
      [2020/07/14 03:15:57.166]   File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\utils_spec_runner.py", line 448, in _run_op
      [2020/07/14 03:15:57.166]     result = self.run_operation(sessions, collection, op.copy())
      [2020/07/14 03:15:57.166]   File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\utils_spec_runner.py", line 393, in run_operation
      [2020/07/14 03:15:57.166]     result = cmd(**dict(arguments))
      [2020/07/14 03:15:57.166]   File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\test_discovery_and_monitoring.py", line 380, in wait_for_primary_change
      [2020/07/14 03:15:57.166]     wait_until(primary_changed, 'change primary', timeout=timeout)
      [2020/07/14 03:15:57.166]   File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\utils.py", line 695, in wait_until
      [2020/07/14 03:15:57.166]     raise AssertionError("Didn't ever %s" % success_description)
      [2020/07/14 03:15:57.167] AssertionError: Didn't ever change primary
      

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_windows_python_version__platform~windows_64_vsMulti_small_auth_ssl~auth_ssl_python_version_windows~3.5_test_latest_replica_set_05267fb46578640c6479928d13a07de4b83bcbf7_20_07_13_18_03_29

      This should be fixed by resyncing the spec tests changed in SPEC-1708.

            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: