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

Test Failure - test_operation_default_write_concern_3_4_CreateIndex_and_dropIndex_omits_default_write_concern

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • Labels:
      None

      Test failure on Windows 4.0 sharded cluster:

       [2023/04/13 22:57:10.716] ERROR [0.021s]: test_operation_default_write_concern_3_4_CreateIndex_and_dropIndex_omits_default_write_concern (test_read_write_concern_spec.TestOperation)
       [2023/04/13 22:57:10.716] ----------------------------------------------------------------------
       [2023/04/13 22:57:10.716] Traceback (most recent call last):
       [2023/04/13 22:57:10.716]   File "C:\data\mci\172dedb244734f6b1da37ad06037f677\src\test\__init__.py", line 603, in wrap
       [2023/04/13 22:57:10.716]     return f(*args, **kwargs)
       [2023/04/13 22:57:10.716]   File "C:\data\mci\172dedb244734f6b1da37ad06037f677\src\test\__init__.py", line 603, in wrap
       [2023/04/13 22:57:10.716]     return f(*args, **kwargs)
       [2023/04/13 22:57:10.716]   File "C:\data\mci\172dedb244734f6b1da37ad06037f677\src\test\test_read_write_concern_spec.py", line 335, in run_scenario
       [2023/04/13 22:57:10.716]     self.run_scenario(scenario_def, test)
       [2023/04/13 22:57:10.716]   File "C:\data\mci\172dedb244734f6b1da37ad06037f677\src\test\utils_spec_runner.py", line 490, in run_scenario
       [2023/04/13 22:57:10.716]     self.setup_scenario(scenario_def)
       [2023/04/13 22:57:10.716]   File "C:\data\mci\172dedb244734f6b1da37ad06037f677\src\test\utils_spec_runner.py", line 471, in setup_scenario
       [2023/04/13 22:57:10.716]     coll_exists = bool(db.list_collection_names(filter={"name": coll_name}))
       [2023/04/13 22:57:10.716]   File "C:\data\mci\172dedb244734f6b1da37ad06037f677\src\pymongo\database.py", line 973, in list_collection_names
       [2023/04/13 22:57:10.716]     return [result["name"] for result in self.list_collections(session=session, **kwargs)]
       [2023/04/13 22:57:10.716]   File "C:\data\mci\172dedb244734f6b1da37ad06037f677\src\pymongo\database.py", line 925, in list_collections
       [2023/04/13 22:57:10.716]     return self.__client._retryable_read(_cmd, read_pref, session)
       [2023/04/13 22:57:10.716]   File "C:\data\mci\172dedb244734f6b1da37ad06037f677\src\pymongo\_csot.py", line 106, in csot_wrapper
       [2023/04/13 22:57:10.716]     return func(self, *args, **kwargs)
       [2023/04/13 22:57:10.716]   File "C:\data\mci\172dedb244734f6b1da37ad06037f677\src\pymongo\mongo_client.py", line 1464, in _retryable_read
       [2023/04/13 22:57:10.716]     return func(session, server, sock_info, read_pref)
       [2023/04/13 22:57:10.716]   File "C:\data\mci\172dedb244734f6b1da37ad06037f677\src\pymongo\database.py", line 921, in _cmd
       [2023/04/13 22:57:10.716]     return self._list_collections(
       [2023/04/13 22:57:10.716]   File "C:\data\mci\172dedb244734f6b1da37ad06037f677\src\pymongo\database.py", line 872, in _list_collections
       [2023/04/13 22:57:10.716]     cursor = self._command(
       [2023/04/13 22:57:10.716]   File "C:\data\mci\172dedb244734f6b1da37ad06037f677\src\pymongo\database.py", line 702, in _command
       [2023/04/13 22:57:10.716]     return sock_info.command(
       [2023/04/13 22:57:10.716]   File "C:\data\mci\172dedb244734f6b1da37ad06037f677\src\pymongo\pool.py", line 767, in command
       [2023/04/13 22:57:10.716]     return command(
       [2023/04/13 22:57:10.716]   File "C:\data\mci\172dedb244734f6b1da37ad06037f677\src\pymongo\network.py", line 166, in command
       [2023/04/13 22:57:10.716]     helpers._check_command_response(
       [2023/04/13 22:57:10.716]   File "C:\data\mci\172dedb244734f6b1da37ad06037f677\src\pymongo\helpers.py", line 191, in _check_command_response
       [2023/04/13 22:57:10.716]     raise OperationFailure(errmsg, code, response, max_wire_version)
       [2023/04/13 22:57:10.716] pymongo.errors.OperationFailure: operation was interrupted, full error: {'ok': 0.0, 'errmsg': 'operation was interrupted', 'code': 11601, 'codeName': 'Interrupted', 'operationTime': Timestamp(1681426581, 29), '$clusterTime': {'clusterTime': Timestamp(1681426581, 29), 'signature': {'hash': b'Y\xaf\xfc\xf6u\xd6\x8bw:\xb9\x82\xcb\xed}Z\xe3\xbf\xe3\xde2', 'keyId': 7221671046443696159}}}
      

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_windows_python_version_32_bit__platform~windows_64_vsMulti_small_auth_ssl~auth_ssl_python_version_windows_32~3.10_test_4.0_sharded_cluster_be355e2bea995ad72c8d1fde6dedf9ec7a637352_23_04_13_15_30_54

      This error could mean there's a race in the unified test runner tests with how we kill or discard sessions.

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

              Created:
              Updated: