-
Type: Build Failure
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
test_load_balancer is failing after the changes in PYTHON-2683:
[2022/06/08 02:54:46.758] FAIL [0.107s]: test_errors_during_the_initial_connection_hello_are_ignored (test_load_balancer.TestLoadBalancerSdamErrorHandling) [2022/06/08 02:54:46.758] ---------------------------------------------------------------------- [2022/06/08 02:54:46.758] Traceback (most recent call last): [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1277, in test_case [2022/06/08 02:54:46.758] self.run_scenario(spec) [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1260, in run_scenario [2022/06/08 02:54:46.758] self.check_events(expect_events) [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1205, in check_events [2022/06/08 02:54:46.758] self.assertEqual(len(actual_events), len(events), actual_events) [2022/06/08 02:54:46.758] AssertionError: 4 != 3 : [ConnectionCreatedEvent(('127.0.0.1', 8000), 1), ConnectionClosedEvent(('127.0.0.1', 8000), 1, 'error'), ConnectionCheckOutFailedEvent(('127.0.0.1', 8000), 'connectionError'), PoolClearedEvent(('127.0.0.1', 8000), None)] [2022/06/08 02:54:46.758] ====================================================================== [2022/06/08 02:54:46.758] FAIL [3.589s]: test_pinned_connection_is_released_after_a_non-transient_abort_error (test_load_balancer.TestLoadBalancerTransactions) [2022/06/08 02:54:46.758] ---------------------------------------------------------------------- [2022/06/08 02:54:46.758] Traceback (most recent call last): [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1277, in test_case [2022/06/08 02:54:46.758] self.run_scenario(spec) [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1260, in run_scenario [2022/06/08 02:54:46.758] self.check_events(expect_events) [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1205, in check_events [2022/06/08 02:54:46.758] self.assertEqual(len(actual_events), len(events), actual_events) [2022/06/08 02:54:46.758] AssertionError: 6 != 5 : [ConnectionReadyEvent(('127.0.0.1', 8001), 1), ConnectionCheckedOutEvent(('127.0.0.1', 8001), 1), ConnectionCheckedInEvent(('127.0.0.1', 8001), 1), ConnectionCheckedOutEvent(('127.0.0.1', 8001), 1), ConnectionCheckedInEvent(('127.0.0.1', 8001), 1), ConnectionClosedEvent(('127.0.0.1', 8001), 1, 'stale')] [2022/06/08 02:54:46.758] ====================================================================== [2022/06/08 02:54:46.758] FAIL [0.101s]: test_pinned_connection_is_released_after_a_transient_non-network_abort_error (test_load_balancer.TestLoadBalancerTransactions) [2022/06/08 02:54:46.758] ---------------------------------------------------------------------- [2022/06/08 02:54:46.758] Traceback (most recent call last): [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1277, in test_case [2022/06/08 02:54:46.758] self.run_scenario(spec) [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1260, in run_scenario [2022/06/08 02:54:46.758] self.check_events(expect_events) [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1205, in check_events [2022/06/08 02:54:46.758] self.assertEqual(len(actual_events), len(events), actual_events) [2022/06/08 02:54:46.758] AssertionError: 6 != 5 : [ConnectionReadyEvent(('127.0.0.1', 8001), 1), ConnectionCheckedOutEvent(('127.0.0.1', 8001), 1), ConnectionCheckedInEvent(('127.0.0.1', 8001), 1), ConnectionCheckedOutEvent(('127.0.0.1', 8001), 1), ConnectionCheckedInEvent(('127.0.0.1', 8001), 1), ConnectionClosedEvent(('127.0.0.1', 8001), 1, 'stale')] [2022/06/08 02:54:46.758] ====================================================================== [2022/06/08 02:54:46.758] FAIL [4.295s]: test_pinned_connection_is_released_after_a_transient_non-network_commit_error (test_load_balancer.TestLoadBalancerTransactions) [2022/06/08 02:54:46.758] ---------------------------------------------------------------------- [2022/06/08 02:54:46.758] Traceback (most recent call last): [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1277, in test_case [2022/06/08 02:54:46.758] self.run_scenario(spec) [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1260, in run_scenario [2022/06/08 02:54:46.758] self.check_events(expect_events) [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1205, in check_events [2022/06/08 02:54:46.758] self.assertEqual(len(actual_events), len(events), actual_events) [2022/06/08 02:54:46.758] AssertionError: 6 != 5 : [ConnectionReadyEvent(('127.0.0.1', 8001), 1), ConnectionCheckedOutEvent(('127.0.0.1', 8001), 1), ConnectionCheckedInEvent(('127.0.0.1', 8001), 1), ConnectionCheckedOutEvent(('127.0.0.1', 8001), 1), ConnectionCheckedInEvent(('127.0.0.1', 8001), 1), ConnectionClosedEvent(('127.0.0.1', 8001), 1, 'stale')] [2022/06/08 02:54:46.758] ====================================================================== [2022/06/08 02:54:46.758] FAIL [0.200s]: test_wait_queue_timeout_errors_include_cursor_statistics (test_load_balancer.TestLoadBalancerWaitQueueTimeouts) [2022/06/08 02:54:46.758] ---------------------------------------------------------------------- [2022/06/08 02:54:46.758] Traceback (most recent call last): [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1277, in test_case [2022/06/08 02:54:46.758] self.run_scenario(spec) [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1260, in run_scenario [2022/06/08 02:54:46.758] self.check_events(expect_events) [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1205, in check_events [2022/06/08 02:54:46.758] self.assertEqual(len(actual_events), len(events), actual_events) [2022/06/08 02:54:46.758] AssertionError: 3 != 2 : [ConnectionCheckedOutEvent(('127.0.0.1', 8001), 1), ConnectionCheckOutFailedEvent(('127.0.0.1', 8001), 'timeout'), ConnectionCheckOutFailedEvent(('127.0.0.1', 8001), 'timeout')] [2022/06/08 02:54:46.758] ====================================================================== [2022/06/08 02:54:46.758] FAIL [0.232s]: test_wait_queue_timeout_errors_include_transaction_statistics (test_load_balancer.TestLoadBalancerWaitQueueTimeouts) [2022/06/08 02:54:46.758] ---------------------------------------------------------------------- [2022/06/08 02:54:46.758] Traceback (most recent call last): [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1277, in test_case [2022/06/08 02:54:46.758] self.run_scenario(spec) [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1260, in run_scenario [2022/06/08 02:54:46.758] self.check_events(expect_events) [2022/06/08 02:54:46.758] File "/data/mci/b93e5e8afe8b663e2f1c7d4a2323ab12/src/test/unified_format.py", line 1205, in check_events [2022/06/08 02:54:46.758] self.assertEqual(len(actual_events), len(events), actual_events) [2022/06/08 02:54:46.758] AssertionError: 3 != 2 : [ConnectionCheckedOutEvent(('127.0.0.1', 8001), 1), ConnectionCheckOutFailedEvent(('127.0.0.1', 8001), 'timeout'), ConnectionCheckOutFailedEvent(('127.0.0.1', 8001), 'timeout')]
- is caused by
-
PYTHON-2683 Convert change stream spec tests to unified test format
- Closed
- is related to
-
PYTHON-2933 Clarify clearing behavior for load balanced pools
- Backlog