Test Failure (PyPy) - test.test_retryable_writes_unified.TestUnifiedHandshakeError.test_collection_findOneAndReplace_succeeds_after_retryable_handshake_server_error__ShutdownInProgress_

XMLWordPrintableJSON

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

      Name of Failure:

      test.test_retryable_writes_unified.TestUnifiedHandshakeError.test_collection_findOneAndReplace_succeeds_after_retryable_handshake_server_error_ShutdownInProgress

      Link to task:

      https://spruce.mongodb.com/task/mongo_python_driver_mongodb_rapid_test_pypy3.10_auth_nossl_replica_set_patch_e6a4a7145eccb0b6c76c84aa539f29b40f3424b3_67fec6138250720007260f95_25_04_15_20_49_09?execution=0&sortBy=STATUS&sortDir=ASC

      Context of when and why the failure occurred:

      Stack trace:

       [2025/04/15 14:09:50.831] FAILURE: AssertionError: 3 != 4 : expected events:
       [2025/04/15 14:09:50.831] {'connectionCheckOutStartedEvent': {}}
       [2025/04/15 14:09:50.831] {'connectionCheckOutStartedEvent': {}}
       [2025/04/15 14:09:50.831] {'connectionCheckOutStartedEvent': {}}
       [2025/04/15 14:09:50.831] {'connectionCheckOutStartedEvent': {}}
       [2025/04/15 14:09:50.831] actual events:
       [2025/04/15 14:09:50.831] ConnectionCheckOutStartedEvent(('localhost', 27017))
       [2025/04/15 14:09:50.831] ConnectionCheckOutStartedEvent(('localhost', 27017))
       [2025/04/15 14:09:50.831] ConnectionCheckOutStartedEvent(('localhost', 27017)) ()
       [2025/04/15 14:09:50.831] self = <test.test_retryable_writes_unified.TestUnifiedHandshakeError testMethod=test_collection_findOneAndReplace_succeeds_after_retryable_handshake_server_error_(ShutdownInProgress)>
       [2025/04/15 14:09:50.831]     def test_case(self):
       [2025/04/15 14:09:50.831] >       self.run_scenario(spec)
       [2025/04/15 14:09:50.831] test/unified_format.py:1464: 
       [2025/04/15 14:09:50.831] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
       [2025/04/15 14:09:50.831] test/unified_format.py:1407: in run_scenario
       [2025/04/15 14:09:50.831]     self._run_scenario(spec, uri)
       [2025/04/15 14:09:50.831] test/unified_format.py:1447: in _run_scenario
       [2025/04/15 14:09:50.831]     self.check_events(expect_events)
       [2025/04/15 14:09:50.831] test/unified_format.py:1275: in check_events
       [2025/04/15 14:09:50.831]     self.assertEqual(
       [2025/04/15 14:09:50.831] E   AssertionError: 3 != 4 : expected events:
       [2025/04/15 14:09:50.831] E   {'connectionCheckOutStartedEvent': {}}
       [2025/04/15 14:09:50.831] E   {'connectionCheckOutStartedEvent': {}}
       [2025/04/15 14:09:50.831] E   {'connectionCheckOutStartedEvent': {}}
       [2025/04/15 14:09:50.831] E   {'connectionCheckOutStartedEvent': {}}
       [2025/04/15 14:09:50.831] E   actual events:
       [2025/04/15 14:09:50.831] E   ConnectionCheckOutStartedEvent(('localhost', 27017))
       [2025/04/15 14:09:50.831] E   ConnectionCheckOutStartedEvent(('localhost', 27017))
       [2025/04/15 14:09:50.831] E   ConnectionCheckOutStartedEvent(('localhost', 27017))
      

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

              Created:
              Updated: