-
Type:
Build Failure
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: Spec Comp
-
None
-
None
-
Python Drivers
-
Not Needed
-
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:
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 ? ^^