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

Serverless failure - TestUnifiedRunCursorCommand::test_returns_pinned_connections_to_the_pool_when_the_cursor_is_exhausted

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.6
    • Affects Version/s: None
    • Component/s: None
    • None

      1. https://spruce.mongodb.com/task/mongo_python_driver_serverless__platform~rhel8_auth_ssl~auth_ssl_python_version~3.11_serverless~enabled_test_serverless_c9f8829749f213da728d7617178bd1806e2a3329_23_08_23_15_34_07/logs?execution=4&sortBy=STATUS&sortDir=ASC
      [2023/08/29 18:47:45.308] FAILURE: AssertionError: '$db' not found in SON([('getMore', 308644285295067228), ('collection', 'collection'), ('batchSize', 2), ('lsid', {'id': Binary(b'v\xd2-\x00m\rA%\xab/\xb1\xf9\x13\xb0+\xfc', 4)}), ('$clusterTime', {'clusterTime': Timestamp(1693334838, 21), 'signature': {'hash': b'[\xb9&?\xaf(\x04Pn<\xdc\x0c\xe6\x96\x8e\xd5^{\x8d\xdc', 'keyId': 7217942937521356802}})]) ()
      [2023/08/29 18:47:45.308] self = <test.test_run_command.TestUnifiedRunCursorCommand testMethod=test_returns_pinned_connections_to_the_pool_when_the_cursor_is_exhausted>
      [2023/08/29 18:47:45.308]     def test_case(self):
      [2023/08/29 18:47:45.308] >       self.run_scenario(spec)
      [2023/08/29 18:47:45.308] test/unified_format.py:1705:
      [2023/08/29 18:47:45.308] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
      [2023/08/29 18:47:45.308] test/unified_format.py:1657: in run_scenario
      [2023/08/29 18:47:45.308]     self._run_scenario(spec, uri)
      [2023/08/29 18:47:45.308] test/unified_format.py:1688: in _run_scenario
      [2023/08/29 18:47:45.308]     self.check_events(expect_events)
      [2023/08/29 18:47:45.308] test/unified_format.py:1613: in check_events
      [2023/08/29 18:47:45.308]     self.match_evaluator.match_event(event_type, expected_event, actual_events[idx])
      [2023/08/29 18:47:45.308] test/unified_format.py:789: in match_event
      [2023/08/29 18:47:45.308]     self.match_result(command, actual.command)
      [2023/08/29 18:47:45.308] test/unified_format.py:729: in match_result
      [2023/08/29 18:47:45.308]     return self._match_document(expectation, actual, is_root=not in_recursive_call)
      [2023/08/29 18:47:45.308] test/unified_format.py:717: in _match_document
      [2023/08/29 18:47:45.308]     self.test.assertIn(key, actual)
      [2023/08/29 18:47:45.308] E   AssertionError: '$db' not found in SON([('getMore', 308644285295067228), ('collection', 'collection'), ('batchSize', 2), ('lsid', {'id': Binary(b'v\xd2-\x00m\rA%\xab/\xb1\xf9\x13\xb0+\xfc', 4)}), ('$clusterTime', {'clusterTime': Timestamp(1693334838, 21), 'signature': {'hash': b'[\xb9&?\xaf(\x04Pn<\xdc\x0c\xe6\x96\x8e\xd5^{\x8d\xdc', 'keyId': 7217942937521356802}})])
      

            Assignee:
            noah.stapp@mongodb.com Noah Stapp
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: