Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-4762

Test Failure - TestUnifiedHandshakeError

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • 4.10
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers

      These TestUnifiedHandshakeError tests are failing (flaky) in similar ways:

       [2024/09/11 08:40:37.077] FAILURE: AssertionError: 3 != 4 : expected events:
       [2024/09/11 08:40:37.077] {'connectionCheckOutStartedEvent': {}}
       [2024/09/11 08:40:37.077] {'connectionCheckOutStartedEvent': {}}
       [2024/09/11 08:40:37.077] {'connectionCheckOutStartedEvent': {}}
       [2024/09/11 08:40:37.077] {'connectionCheckOutStartedEvent': {}}
       [2024/09/11 08:40:37.077] actual events:
       [2024/09/11 08:40:37.077] ConnectionCheckOutStartedEvent(('localhost', 27018))
       [2024/09/11 08:40:37.077] ConnectionCheckOutStartedEvent(('localhost', 27018))
       [2024/09/11 08:40:37.077] ConnectionCheckOutStartedEvent(('localhost', 27018)) ()
       [2024/09/11 08:40:37.077] self = <test.test_retryable_reads_unified.TestUnifiedHandshakeError testMethod=test_database_aggregate_succeeds_after_retryable_handshake_server_error_(ShutdownInProgress)>
       [2024/09/11 08:40:37.077]     def test_case(self):
       [2024/09/11 08:40:37.077] >       self.run_scenario(spec)
       [2024/09/11 08:40:37.077] test/unified_format.py:2077: 
       [2024/09/11 08:40:37.077] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
       [2024/09/11 08:40:37.077] test/unified_format.py:2021: in run_scenario
       [2024/09/11 08:40:37.077]     self._run_scenario(spec, uri)
       [2024/09/11 08:40:37.077] test/unified_format.py:2060: in _run_scenario
       [2024/09/11 08:40:37.077]     self.check_events(expect_events)
       [2024/09/11 08:40:37.077] test/unified_format.py:1892: in check_events
       [2024/09/11 08:40:37.077]     self.assertEqual(
       [2024/09/11 08:40:37.077] E   AssertionError: 3 != 4 : expected events:
       [2024/09/11 08:40:37.077] E   {'connectionCheckOutStartedEvent': {}}
       [2024/09/11 08:40:37.077] E   {'connectionCheckOutStartedEvent': {}}
       [2024/09/11 08:40:37.077] E   {'connectionCheckOutStartedEvent': {}}
       [2024/09/11 08:40:37.077] E   {'connectionCheckOutStartedEvent': {}}
       [2024/09/11 08:40:37.077] E   actual events:
       [2024/09/11 08:40:37.077] E   ConnectionCheckOutStartedEvent(('localhost', 27018))
       [2024/09/11 08:40:37.077] E   ConnectionCheckOutStartedEvent(('localhost', 27018))
       [2024/09/11 08:40:37.077] E   ConnectionCheckOutStartedEvent(('localhost', 27018))
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: