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

Tests should avoid blocking indefinitely on majority writes

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Tests should avoid blocking indefinitely on majority writes to avoid blocking when the server crashes:

       [2023/10/20 17:44:56.782] test/test_encryption.py::TestDataKeyDoubleEncryption::test_data_key_local PASSED [ 84%]
       [2023/10/20 18:09:56.782] Timeout (0:25:00)!
      ...
       [2023/10/20 18:09:56.782] Thread 0x00000eac (most recent call first):
       [2023/10/20 18:09:56.782]   File "Z:\data\mci\b407decbc9c4e25dd76872f64c891dc6\src\pymongo\network.py", line 340 in _receive_data_on_socket
       [2023/10/20 18:09:56.782]   File "Z:\data\mci\b407decbc9c4e25dd76872f64c891dc6\src\pymongo\network.py", line 257 in receive_message
       [2023/10/20 18:09:56.782]   File "Z:\data\mci\b407decbc9c4e25dd76872f64c891dc6\src\pymongo\network.py", line 182 in command
       [2023/10/20 18:09:56.782]   File "Z:\data\mci\b407decbc9c4e25dd76872f64c891dc6\src\pymongo\pool.py", line 932 in command
       [2023/10/20 18:09:56.782]   File "Z:\data\mci\b407decbc9c4e25dd76872f64c891dc6\src\pymongo\helpers.py", line 322 in inner
       [2023/10/20 18:09:56.782]   File "Z:\data\mci\b407decbc9c4e25dd76872f64c891dc6\src\pymongo\collection.py", line 308 in _command
       [2023/10/20 18:09:56.782]   File "Z:\data\mci\b407decbc9c4e25dd76872f64c891dc6\src\pymongo\collection.py", line 2009 in __create_indexes
       [2023/10/20 18:09:56.782]   File "Z:\data\mci\b407decbc9c4e25dd76872f64c891dc6\src\pymongo\_csot.py", line 107 in csot_wrapper
       [2023/10/20 18:09:56.782]   File "Z:\data\mci\b407decbc9c4e25dd76872f64c891dc6\src\pymongo\collection.py", line 2136 in create_index
       [2023/10/20 18:09:56.782]   File "Z:\data\mci\b407decbc9c4e25dd76872f64c891dc6\src\test\test_encryption.py", line 741 in create_key_vault
       [2023/10/20 18:09:56.782]   File "Z:\data\mci\b407decbc9c4e25dd76872f64c891dc6\src\test\test_encryption.py", line 886 in _test_external_key_vault
       [2023/10/20 18:09:56.782]   File "Z:\data\mci\b407decbc9c4e25dd76872f64c891dc6\src\test\test_encryption.py", line 944 in test_external_key_vault_1
      
      ...
       [2023/10/20 18:36:41.392] Hit exec timeout (1h0m0s).
      
      

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_windows_encryption__platform~windows_64_vsMulti_small_auth_ssl~noauth_nossl_python_version_windows~3.10_encryption~encryption_test_latest_sharded_cluster_61269c0f892a14c0e86c32d94dc66a7ff0d831b2_23_10_19_18_46_21

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: