[Build Failure] dropIndex behavior change

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Name of Failure:

      FAILURE: AssertionError: Excepted error

      {'isClientError': False, 'isTimeoutError': False}

      but "dropIndex" succeeded: None ()

      Link to task:

      https://spruce.mongodb.com/task/mongo_python_driver_compression_snappy_rhel8_test_standard_latest_python3.11_async_noauth_ssl_replica_set_patch_bbb6f88fae5593ab14c36b9578b07d2e0f0fce62_68963ecbfb28c800073524cd_25_08_08_18_15_40/tests?execution=0&sorts=STATUS%3AASC

      Context of when and why the failure occurred:

      SERVER-90152

      Stack trace:

       [2025/08/08 13:27:05.742] FAILURE: AssertionError: Excepted error {'isClientError': False, 'isTimeoutError': False} but "dropIndex" succeeded: None ()
       [2025/08/08 13:27:05.742] self = <test.asynchronous.test_csot.TestCsotDeprecatedOptions testMethod=test_maxTimeMS_is_ignored_if_timeoutMS_is_set_-_dropIndex_on_collection>
       [2025/08/08 13:27:05.742]     async def test_case(self):
       [2025/08/08 13:27:05.742] >       await self.run_scenario(spec)
       [2025/08/08 13:27:05.742] test/asynchronous/unified_format.py:1463: 
       [2025/08/08 13:27:05.742] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
       [2025/08/08 13:27:05.742] test/asynchronous/unified_format.py:1403: in run_scenario
       [2025/08/08 13:27:05.742]     await decorator(self._run_scenario)(spec, uri)
       [2025/08/08 13:27:05.742] test/asynchronous/utils.py:205: in wrapper
       [2025/08/08 13:27:05.742]     raise e
       [2025/08/08 13:27:05.742] test/asynchronous/utils.py:199: in wrapper
       [2025/08/08 13:27:05.742]     result = await target_func(*args, **kwargs)
       [2025/08/08 13:27:05.742]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       [2025/08/08 13:27:05.742] test/asynchronous/unified_format.py:1440: in _run_scenario
       [2025/08/08 13:27:05.742]     await self.run_operations(spec["operations"])
       [2025/08/08 13:27:05.742] test/asynchronous/unified_format.py:1248: in run_operations
       [2025/08/08 13:27:05.742]     await self.run_entity_operation(op)
       [2025/08/08 13:27:05.742] test/asynchronous/unified_format.py:998: in run_entity_operation
       [2025/08/08 13:27:05.742]     self.fail(f'Excepted error {expect_error} but "{opname}" succeeded: {result}')
       [2025/08/08 13:27:05.742] E   AssertionError: Excepted error {'isClientError': False, 'isTimeoutError': False} but "dropIndex" succeeded: None
      

              Assignee:
              Jib Adegunloye
              Reporter:
              Steve Silvester
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: