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

Test failure - test_pool_paused_error_is_retryable

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Tests

      This issue is cropping up again in PyPy tests:

       [2022/11/14 17:05:48.282] FAIL [1.096s]: test_pool_paused_error_is_retryable (test_retryable_reads.TestPoolPausedError)
       [2022/11/14 17:05:48.282] ----------------------------------------------------------------------
       [2022/11/14 17:05:48.282] Traceback (most recent call last):
       [2022/11/14 17:05:48.282]   File "/data/mci/c4635f0de16c5c87d68f2a243064c584/src/test/__init__.py", line 603, in wrap
       [2022/11/14 17:05:48.282]     return f(*args, **kwargs)
       [2022/11/14 17:05:48.282]   File "/data/mci/c4635f0de16c5c87d68f2a243064c584/src/test/__init__.py", line 228, in wrap
       [2022/11/14 17:05:48.282]     return f(*args, **kwargs)
       [2022/11/14 17:05:48.282]   File "/data/mci/c4635f0de16c5c87d68f2a243064c584/src/test/test_retryable_reads.py", line 203, in test_pool_paused_error_is_retryable
       [2022/11/14 17:05:48.282]     self.assertIsInstance(cmap_events[1], PoolClearedEvent, msg)
       [2022/11/14 17:05:48.282] AssertionError: ConnectionCheckOutFailedEvent(('localhost', 27018), 'connectionError') is not an instance of <class 'pymongo.monitoring.PoolClearedEvent'> : [PoolReadyEvent(('localhost', 27018)),
       [2022/11/14 17:05:48.282]  PoolCreatedEvent(('localhost', 27017), {'maxPoolSize': 1}),
       [2022/11/14 17:05:48.282]  PoolCreatedEvent(('localhost', 27019), {'maxPoolSize': 1}),
       [2022/11/14 17:05:48.282]  ConnectionCheckOutStartedEvent(('localhost', 27018)),
       [2022/11/14 17:05:48.282]  ConnectionCheckOutStartedEvent(('localhost', 27018)),
       [2022/11/14 17:05:48.282]  ConnectionCreatedEvent(('localhost', 27018), 1),
       [2022/11/14 17:05:48.282]  PoolReadyEvent(('localhost', 27017)),
       [2022/11/14 17:05:48.282]  ConnectionReadyEvent(('localhost', 27018), 1),
       [2022/11/14 17:05:48.282]  ConnectionCheckedOutEvent(('localhost', 27018), 1),
       [2022/11/14 17:05:48.282]  ConnectionCheckOutFailedEvent(('localhost', 27018), 'connectionError'),
       [2022/11/14 17:05:48.282]  PoolClearedEvent(('localhost', 27018), None),
       [2022/11/14 17:05:48.282]  ConnectionCheckedInEvent(('localhost', 27018), 1),
       [2022/11/14 17:05:48.282]  ConnectionClosedEvent(('localhost', 27018), 1, 'stale'),
       [2022/11/14 17:05:48.282]  PoolReadyEvent(('localhost', 27018)),
       [2022/11/14 17:05:48.282]  ConnectionCheckOutStartedEvent(('localhost', 27018)),
       [2022/11/14 17:05:48.282]  ConnectionCreatedEvent(('localhost', 27018), 2),
       [2022/11/14 17:05:48.282]  ConnectionCheckOutStartedEvent(('localhost', 27018)),
       [2022/11/14 17:05:48.282]  ConnectionReadyEvent(('localhost', 27018), 2),
       [2022/11/14 17:05:48.282]  ConnectionCheckedOutEvent(('localhost', 27018), 2),
       [2022/11/14 17:05:48.282]  ConnectionCheckedInEvent(('localhost', 27018), 2),
       [2022/11/14 17:05:48.282]  ConnectionCheckedOutEvent(('localhost', 27018), 2),
       [2022/11/14 17:05:48.282]  ConnectionCheckedInEvent(('localhost', 27018), 2)]
      

      https://spruce.mongodb.com/task/mongo_python_driver_tests_python_version_ubuntu18_test_ssl__platform~ubuntu_18.04_auth_ssl~auth_ssl_python_version~pypy3.7_coverage~coverage_test_6.0_replica_set_79aa5e6757fe816c7aaadf08b56120e4375b904e_22_11_14_16_50_08/tests?execution=0&sortBy=STATUS&sortDir=ASC

            Assignee:
            Unassigned Unassigned
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: