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

Test Failure - test_transaction_starts_with_batched_write

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.13, 4.2
    • Affects Version/s: None
    • Component/s: Tests
    • None

      test_transaction_starts_with_batched_write often fails:

       [2022/05/09 22:55:47.750] ERROR [6.303s]: test_transaction_starts_with_batched_write (test_transactions.TestTransactions)
       [2022/05/09 22:55:47.750] ----------------------------------------------------------------------
       [2022/05/09 22:55:47.750] Traceback (most recent call last):
       [2022/05/09 22:55:47.750]   File "/data/mci/7b0a88b399a4598372b3e35dbd80f317/src/test/__init__.py", line 574, in wrap
       [2022/05/09 22:55:47.750]     return f(*args, **kwargs)
       [2022/05/09 22:55:47.750]   File "/data/mci/7b0a88b399a4598372b3e35dbd80f317/src/test/__init__.py", line 574, in wrap
       [2022/05/09 22:55:47.750]     return f(*args, **kwargs)
       [2022/05/09 22:55:47.750]   File "/data/mci/7b0a88b399a4598372b3e35dbd80f317/src/test/test_transactions.py", line 337, in test_transaction_starts_with_batched_write
       [2022/05/09 22:55:47.750]     coll.bulk_write(ops, session=session)
      ...
       [2022/05/09 22:55:47.750]   File "/data/mci/7b0a88b399a4598372b3e35dbd80f317/src/pymongo/helpers.py", line 196, in _raise_write_concern_error
       [2022/05/09 22:55:47.750]     raise WriteConcernError(error.get("errmsg"), error.get("code"), error)
       [2022/05/09 22:55:47.750] pymongo.errors.WriteConcernError: operation was interrupted because the transaction exceeded the configured 'transactionLifetimeLimitSeconds', full error: {'code': 290, 'codeName': 'TransactionExceededLifetimeLimitSeconds', 'errmsg': "operation was interrupted because the transaction exceeded the configured 'transactionLifetimeLimitSeconds'", 'errInfo': {'writeConcern': {'w': 'majority', 'wtimeout': 0, 'provenance': 'implicitDefault'}}}
      

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_python_version_ubuntu18_test_ssl__platform~ubuntu_18.04_auth_ssl~noauth_nossl_python_version~pypy3.7_coverage~coverage_test_latest_sharded_cluster_a1c33e0b84743b26a8f44a5fd67a60304b0c92cd_22_05_09_22_37_48

            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: