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

[Build Failure] TestUnifiedLoggingStandalone.test_Topology_lifecycle

    • Type: Icon: Build Failure Build Failure
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • 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?

      Name of Failure:

      test.test_discovery_and_monitoring.TestUnifiedLoggingStandalone.test_Topology_lifecycle

      Link to task:

      https://spruce.mongodb.com/task/mongo_python_driver_tests_python_version_rhel8_test_ssl__platform~rhel8_auth_ssl~noauth_nossl_python_version~pypy3.10_coverage~coverage_test_7.0_standalone_e6b95f65953e01e435004af069a6976473eaf841_24_08_29_14_02_47/tests?execution=0&sortBy=STATUS&sortDir=ASC

      Context of when and why the failure occurred:

      Introduced by PYTHON-3472.

      Stack trace:

       [2024/08/29 09:26:46.985] FAILURE: AssertionError: 7 != 8 ()
       [2024/08/29 09:26:46.985] self = <test.test_discovery_and_monitoring.TestUnifiedLoggingStandalone testMethod=test_Topology_lifecycle>
       [2024/08/29 09:26:46.985]     def test_case(self):
       [2024/08/29 09:26:46.985] >       self.run_scenario(spec)
       [2024/08/29 09:26:46.985] test/unified_format.py:2074: 
       [2024/08/29 09:26:46.985] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
       [2024/08/29 09:26:46.985] test/unified_format.py:2018: in run_scenario
       [2024/08/29 09:26:46.985]     self._run_scenario(spec, uri)
       [2024/08/29 09:26:46.985] test/unified_format.py:2048: in _run_scenario
       [2024/08/29 09:26:46.985]     self.check_log_messages(spec["operations"], expect_log_messages)
       [2024/08/29 09:26:46.985] test/unified_format.py:1957: in check_log_messages
       [2024/08/29 09:26:46.985]     self.assertEqual(len(client["messages"]), len(actual_logs))
       [2024/08/29 09:26:46.985] E   AssertionError: 7 != 8
      

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

              Created:
              Updated:
              Resolved: