-
Type: Build Failure
-
Resolution: Done
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
Python Drivers
Name of Failure:
test.test_load_balancer.TestLoadBalancerSdamErrorHandling.test_errors_during_the_initial_connection_hello_are_ignored
test.test_load_balancer.TestLoadBalancerTransactions.test_pinned_connection_is_released_after_a_transient_network_commit_error
Link to task:
Context of when and why the failure occurred:
PYTHON-4031 Add driver tests for Serverless Proxy incremental rollout
Stack trace:
[2024/03/05 13:52:36.487] FAILURE: AssertionError: Excepted error {'isClientError': True} but "insertOne" succeeded: InsertOneResult(ObjectId('65e776bcaf13b5b4c13aba5e'), acknowledged=True) () [2024/03/05 13:52:36.487] self = <test.test_load_balancer.TestLoadBalancerSdamErrorHandling testMethod=test_errors_during_the_initial_connection_hello_are_ignored> [2024/03/05 13:52:36.487] def test_case(self): [2024/03/05 13:52:36.487] > self.run_scenario(spec) [2024/03/05 13:52:36.487] test/unified_format.py:1854: [2024/03/05 13:52:36.487] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2024/03/05 13:52:36.487] test/unified_format.py:1801: in run_scenario [2024/03/05 13:52:36.487] self._run_scenario(spec, uri) [2024/03/05 13:52:36.487] test/unified_format.py:1831: in _run_scenario [2024/03/05 13:52:36.487] self.run_operations(spec["operations"]) [2024/03/05 13:52:36.487] test/unified_format.py:1693: in run_operations [2024/03/05 13:52:36.487] self.run_entity_operation(op) [2024/03/05 13:52:36.487] test/unified_format.py:1446: in run_entity_operation [2024/03/05 13:52:36.487] self.fail(f'Excepted error {expect_error} but "{opname}" succeeded: {result}') [2024/03/05 13:52:36.487] E AssertionError: Excepted error {'isClientError': True} but "insertOne" succeeded: InsertOneResult(ObjectId('65e776bcaf13b5b4c13aba5e'), acknowledged=True)
[2024/03/05 13:52:36.545] FAILURE: AssertionError: 0 != 1 () [2024/03/05 13:52:36.545] self = <test.test_load_balancer.TestLoadBalancerTransactions testMethod=test_pinned_connection_is_released_after_a_transient_network_commit_error> [2024/03/05 13:52:36.545] def test_case(self): [2024/03/05 13:52:36.545] > self.run_scenario(spec) [2024/03/05 13:52:36.545] test/unified_format.py:1854: [2024/03/05 13:52:36.545] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2024/03/05 13:52:36.545] test/unified_format.py:1801: in run_scenario [2024/03/05 13:52:36.545] self._run_scenario(spec, uri) [2024/03/05 13:52:36.545] test/unified_format.py:1831: in _run_scenario [2024/03/05 13:52:36.545] self.run_operations(spec["operations"]) [2024/03/05 13:52:36.545] test/unified_format.py:1691: in run_operations [2024/03/05 13:52:36.545] self.run_special_operation(op) [2024/03/05 13:52:36.545] test/unified_format.py:1686: in run_special_operation [2024/03/05 13:52:36.545] method(spec["arguments"]) [2024/03/05 13:52:36.545] test/unified_format.py:1556: in _testOperation_assertNumberConnectionsCheckedOut [2024/03/05 13:52:36.545] self.assertEqual(spec["connections"], pool.active_sockets) [2024/03/05 13:52:36.545] E AssertionError: 0 != 1
- is duplicated by
-
PYTHON-4074 Investigate the expected result of Transactions test
- Closed
- related to
-
DRIVERS-2812 Address failing tests in Serverless Proxy incremental rollout
- Closed