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

Test-latest-replica_set failing across all variants.

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      These tests have started failing consistently, but I cannot reproduce locally.

       [2023/02/04 05:26:41.759] ======================================================================
       [2023/02/04 05:26:41.759] ERROR [0.288s]: test_supported_single_statement_supported_cluster (test_retryable_writes.TestRetryableWrites)
       [2023/02/04 05:26:41.759] ----------------------------------------------------------------------
       [2023/02/04 05:26:41.759] Traceback (most recent call last):
       [2023/02/04 05:26:41.759]   File "/data/mci/37532b8ebf8f8f1df9ba162605bc7874/src/test/__init__.py", line 603, in wrap
       [2023/02/04 05:26:41.759]     return f(*args, **kwargs)
       [2023/02/04 05:26:41.759]   File "/data/mci/37532b8ebf8f8f1df9ba162605bc7874/src/test/test_retryable_writes.py", line 288, in test_supported_single_statement_supported_cluster
       [2023/02/04 05:26:41.759]     retry_attempt = commands_started[1]
       [2023/02/04 05:26:41.759] IndexError: list index out of range
       [2023/02/04 05:26:41.759] ======================================================================
       [2023/02/04 05:26:41.759] FAIL [0.240s]: test_retry_timeout_raises_original_error (test_retryable_writes.TestRetryableWrites)
       [2023/02/04 05:26:41.759] A ServerSelectionTimeoutError on the retry attempt raises the
       [2023/02/04 05:26:41.759] ----------------------------------------------------------------------
       [2023/02/04 05:26:41.759] Traceback (most recent call last):
       [2023/02/04 05:26:41.759]   File "/data/mci/37532b8ebf8f8f1df9ba162605bc7874/src/test/__init__.py", line 603, in wrap
       [2023/02/04 05:26:41.759]     return f(*args, **kwargs)
       [2023/02/04 05:26:41.759]   File "/data/mci/37532b8ebf8f8f1df9ba162605bc7874/src/test/__init__.py", line 603, in wrap
       [2023/02/04 05:26:41.759]     return f(*args, **kwargs)
       [2023/02/04 05:26:41.759]   File "/data/mci/37532b8ebf8f8f1df9ba162605bc7874/src/test/test_retryable_writes.py", line 381, in test_retry_timeout_raises_original_error
       [2023/02/04 05:26:41.759]     method(*args, **kwargs)
       [2023/02/04 05:26:41.759] AssertionError: ConnectionFailure not raised : bulk_write(*[[ReplaceOne({}, {}, False, None, None)]], **{})
       [2023/02/04 05:26:41.851] ----------------------------------------------------------------------
       [2023/02/04 05:26:41.851] Ran 3725 tests in 624.713s
       [2023/02/04 05:26:41.851] FAILED (failures=1, errors=1, skipped=534, expected failures=22)
      

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_python_version_ubuntu18_test_ssl__platform~ubuntu_18.04_auth_ssl~auth_ssl_python_version~pypy3.8_coverage~coverage_test_latest_replica_set_79ccf4e2874c7ed73fb17fa880806bc75dc1b8de_23_02_04_05_10_30

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            julius.park@mongodb.com Julius Park (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: