ExportXMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Done
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • 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:

      test.asynchronous.test_retryable_reads.TestRetryableReads.test_retryable_reads_are_retried_on_a_different_mongos_when_one_is_available

      Link to task:

      https://spruce.mongodb.com/task/mongo_python_driver_test_win32_test_standard_latest_python3.12_async_auth_ssl_sharded_cluster_patch_59d94f397bb36202a8292d170b6fd80e5a61abf0_688a846e0b9c6300072db923_25_07_30_20_45_35/tests?execution=0&sorts=STATUS%3AASC

      Context of when and why the failure occurred:

      Windows32 only.

      Stack trace:

       [2025/07/30 14:27:23.634] FAILURE: AssertionError: OperationFailure not raised ()
       [2025/07/30 14:27:23.634] self = <test.asynchronous.test_retryable_reads.TestRetryableReads testMethod=test_retryable_reads_are_retried_on_a_different_mongos_when_one_is_available>
       [2025/07/30 14:27:23.634]     @async_client_context.require_multiple_mongoses
       [2025/07/30 14:27:23.634]     @async_client_context.require_failCommand_fail_point
       [2025/07/30 14:27:23.634]     async def test_retryable_reads_are_retried_on_a_different_mongos_when_one_is_available(self):
       [2025/07/30 14:27:23.634]         fail_command = {
       [2025/07/30 14:27:23.634]             "configureFailPoint": "failCommand",
       [2025/07/30 14:27:23.634]             "mode": {"times": 1},
       [2025/07/30 14:27:23.634]             "data": {"failCommands": ["find"], "errorCode": 6},
       [2025/07/30 14:27:23.634]         }
       [2025/07/30 14:27:23.634]     
       [2025/07/30 14:27:23.634]         mongos_clients = []
       [2025/07/30 14:27:23.634]     
       [2025/07/30 14:27:23.634]         for mongos in async_client_context.mongos_seeds().split(","):
       [2025/07/30 14:27:23.634]             client = await self.async_rs_or_single_client(mongos)
       [2025/07/30 14:27:23.634]             await async_set_fail_point(client, fail_command)
       [2025/07/30 14:27:23.634]             mongos_clients.append(client)
       [2025/07/30 14:27:23.634]     
       [2025/07/30 14:27:23.634]         listener = OvertCommandListener()
       [2025/07/30 14:27:23.634]         client = await self.async_rs_or_single_client(
       [2025/07/30 14:27:23.634]             async_client_context.mongos_seeds(),
       [2025/07/30 14:27:23.634]             event_listeners=[listener],
       [2025/07/30 14:27:23.634]             retryReads=True,
       [2025/07/30 14:27:23.634]         )
       [2025/07/30 14:27:23.634]     
       [2025/07/30 14:27:23.634] >       with self.assertRaises(OperationFailure):
       [2025/07/30 14:27:23.634] E       AssertionError: OperationFailure not raised
       [2025/07/30 14:27:23.634] test\asynchronous\test_retryable_reads.py:171: AssertionError
      

            Assignee:
            Noah Stapp
            Reporter:
            Noah Stapp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: