[Build Failure] Connection_checkout_fails_due_to_error_establishing_connection

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Spec Comp
    • 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:

      test.test_connection_logging.TestConnectionLoggingConnectionLogging.test_Connection_checkout_fails_due_to_error_establishing_connection

      Link to task:

      https://spruce.mongodb.com/task/mongo_python_driver_mongodb_rapid_test_server_version_python3.9_sync_auth_ssl_standalone_cov_bfaab82e2644a9d6867626cff08c1ff7d30517a3_25_07_31_15_40_02/tests?execution=0&sorts=STATUS%3AASC

      Context of when and why the failure occurred:

      Test resync: https://github.com/mongodb/mongo-python-driver/pull/2447

      Stack trace:

       [2025/07/31 11:08:11.336] FAILURE: AssertionError: 'Connection pool cleared' != 'Connection closed'
       [2025/07/31 11:08:11.336] - Connection pool cleared
       [2025/07/31 11:08:11.336] ?            -----  ^^^
       [2025/07/31 11:08:11.336] + Connection closed
       [2025/07/31 11:08:11.336] ?              ^^ ()
       [2025/07/31 11:08:11.336] self = <test.test_connection_logging.TestConnectionLoggingConnectionLogging testMethod=test_Connection_checkout_fails_due_to_error_establishing_connection>
       [2025/07/31 11:08:11.336]     def test_case(self):
       [2025/07/31 11:08:11.336] >       self.run_scenario(spec)
       [2025/07/31 11:08:11.336] test/unified_format.py:1448: 
       [2025/07/31 11:08:11.336] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
       [2025/07/31 11:08:11.336] test/unified_format.py:1392: in run_scenario
       [2025/07/31 11:08:11.336]     self._run_scenario(spec, uri)
       [2025/07/31 11:08:11.336] test/unified_format.py:1422: in _run_scenario
       [2025/07/31 11:08:11.336]     self.check_log_messages(spec["operations"], expect_log_messages)
       [2025/07/31 11:08:11.336] test/unified_format.py:1347: in check_log_messages
       [2025/07/31 11:08:11.336]     self.match_evaluator.match_result(expected_data, actual_data)
       [2025/07/31 11:08:11.336] test/unified_format_shared.py:517: in match_result
       [2025/07/31 11:08:11.336]     return self._match_document(
       [2025/07/31 11:08:11.336] test/unified_format_shared.py:501: in _match_document
       [2025/07/31 11:08:11.336]     if not self.match_result(value, actual[key], in_recursive_call=True, test=test):
       [2025/07/31 11:08:11.336] test/unified_format_shared.py:541: in match_result
       [2025/07/31 11:08:11.336]     self.test.assertEqual(expectation, actual)
       [2025/07/31 11:08:11.336] E   AssertionError: 'Connection pool cleared' != 'Connection closed'
       [2025/07/31 11:08:11.336] E   - Connection pool cleared
       [2025/07/31 11:08:11.336] E   ?            -----  ^^^
       [2025/07/31 11:08:11.336] E   + Connection closed
       [2025/07/31 11:08:11.336] E   ?              ^^
      

            Assignee:
            Noah Stapp
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: