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

Test failure - test_pool_paused_error_is_retryable

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None

      Description

      Failing sporadically, most often on PyPy, Gevent, and Eventlet. For example:

       [2021/01/27 21:15:12.543] FAIL [0.522s]: test_pool_paused_error_is_retryable (test_cmap.TestCMAP)
       [2021/01/27 21:15:12.543] ----------------------------------------------------------------------
       [2021/01/27 21:15:12.543] Traceback (most recent call last):
       [2021/01/27 21:15:12.543]   File "/data/mci/fd07b95cdf6b560ea49164bf4575b162/src/test/__init__.py", line 485, in wrap
       [2021/01/27 21:15:12.543]     return f(*args, **kwargs)
       [2021/01/27 21:15:12.543]   File "/data/mci/fd07b95cdf6b560ea49164bf4575b162/src/test/__init__.py", line 485, in wrap
       [2021/01/27 21:15:12.543]     return f(*args, **kwargs)
       [2021/01/27 21:15:12.543]   File "/data/mci/fd07b95cdf6b560ea49164bf4575b162/src/test/__init__.py", line 485, in wrap
       [2021/01/27 21:15:12.543]     return f(*args, **kwargs)
       [2021/01/27 21:15:12.543]   File "/data/mci/fd07b95cdf6b560ea49164bf4575b162/src/test/test_cmap.py", line 463, in test_pool_paused_error_is_retryable
       [2021/01/27 21:15:12.543]     2, cmap_listener.event_count(ConnectionCheckOutFailedEvent))
       [2021/01/27 21:15:12.543] AssertionError: 2 != 1
      

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_python_version_rhel62_test_ssl__platform~rhel62_auth~noauth_ssl~nossl_python_version~pypy3.6_coverage~coverage_test_4.2_sharded_cluster_6ff2883f82753f83189393eb19c9d7c9fd64c879_21_01_27_21_08_44

      Could be a bug in the test or a bug in the Pool added in PYTHON-2462.

      There does seem to be a pattern of the Gevent failures but this could be a red herring:

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shane.harvey Shane Harvey
              Reporter:
              shane.harvey Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: