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

[Build Failure] test_Database-level_aggregate_with__out_includes_read_preference_for_5_0__server

    • Type: Icon: Build Failure Build Failure
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      test.test_crud_unified.TestUnifiedDbAggregateWriteReadPreference.test_Database-level_aggregate_with_out_includes_read_preference_for_5_0_server

      https://spruce.mongodb.com/task/mongo_python_driver_tests_windows_python_version_32_bit__platform~windows_64_vsMulti_small_auth_ssl~auth_ssl_python_version_windows_32~3.11_test_6.0_replica_set_8422edf3abced2b9492123bf72ac91ab3586a69d_23_12_07_21_46_46/tests?execution=0&sortBy=STATUS&sortDir=ASC

       [2023/12/08 12:20:12.963] FAILURE: AssertionError: Lists differ: [{'_id': 1}] != []
       [2023/12/08 12:20:12.963] First list contains 1 additional elements.
       [2023/12/08 12:20:12.963] First extra element 0:
       [2023/12/08 12:20:12.963] {'_id': 1}
       [2023/12/08 12:20:12.963] - [{'_id': 1}]
       [2023/12/08 12:20:12.963] + [] ()
       [2023/12/08 12:20:12.963] self = <test.test_crud_unified.TestUnifiedDbAggregateWriteReadPreference testMethod=test_Database-level_aggregate_with_$out_includes_read_preference_for_5_0+_server>
       [2023/12/08 12:20:12.963]     def test_case(self):
       [2023/12/08 12:20:12.963] >       self.run_scenario(spec)
       [2023/12/08 12:20:12.963] test\unified_format.py:1748:
       [2023/12/08 12:20:12.963] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
       [2023/12/08 12:20:12.963] test\unified_format.py:1700: in run_scenario
       [2023/12/08 12:20:12.963]     self._run_scenario(spec, uri)
       [2023/12/08 12:20:12.963] test\unified_format.py:1734: in _run_scenario
       [2023/12/08 12:20:12.963]     self.verify_outcome(spec.get("outcome", []))
       [2023/12/08 12:20:12.963] test\unified_format.py:1679: in verify_outcome
       [2023/12/08 12:20:12.963]     self.assertListEqual(sorted_expected_documents, actual_documents)
       [2023/12/08 12:20:12.963] E   AssertionError: Lists differ: [{'_id': 1}] != []
       [2023/12/08 12:20:12.963] E
       [2023/12/08 12:20:12.963] E   First list contains 1 additional elements.
       [2023/12/08 12:20:12.963] E   First extra element 0:
       [2023/12/08 12:20:12.963] E   {'_id': 1}
       [2023/12/08 12:20:12.963] E
       [2023/12/08 12:20:12.963] E   - [{'_id': 1}]
       [2023/12/08 12:20:12.963] E   + []
      

      The failure is intermittent, since a second execution passed.

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: