-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
Name of Failure:
test.test_command_logging.TestCommandLoggingServiceId.test_command_log_messages_include_serviceId_when_in_LB_mode
Link to task:
Context of when and why the failure occurred:
Started failing when PYTHON-3457 was merged.
Stack trace:
[2024/02/22 06:22:53.346] FAILURE: AssertionError: ObjectId('65d36bf2ef8abe88bb30bc28') is not an instance of (<class 'str'>,) () [2024/02/22 06:22:53.346] self = <test.test_command_logging.TestCommandLoggingServiceId testMethod=test_command_log_messages_include_serviceId_when_in_LB_mode> [2024/02/22 06:22:53.346] def test_case(self): [2024/02/22 06:22:53.346] > self.run_scenario(spec) [2024/02/22 06:22:53.346] test/unified_format.py:1851: [2024/02/22 06:22:53.346] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2024/02/22 06:22:53.346] test/unified_format.py:1798: in run_scenario [2024/02/22 06:22:53.346] self._run_scenario(spec, uri) [2024/02/22 06:22:53.346] test/unified_format.py:1825: in _run_scenario [2024/02/22 06:22:53.346] self.check_log_messages(spec["operations"], expect_log_messages) [2024/02/22 06:22:53.346] test/unified_format.py:1759: in check_log_messages [2024/02/22 06:22:53.346] self.match_evaluator.match_result(expected_data, actual_data) [2024/02/22 06:22:53.346] test/unified_format.py:791: in match_result [2024/02/22 06:22:53.346] return self._match_document(expectation, actual, is_root=not in_recursive_call) [2024/02/22 06:22:53.346] test/unified_format.py:776: in _match_document [2024/02/22 06:22:53.346] if self._evaluate_if_special_operation(expectation, actual, key): [2024/02/22 06:22:53.346] test/unified_format.py:763: in _evaluate_if_special_operation [2024/02/22 06:22:53.346] self._evaluate_special_operation( [2024/02/22 06:22:53.346] test/unified_format.py:728: in _evaluate_special_operation [2024/02/22 06:22:53.346] method(spec, actual, key_to_compare) [2024/02/22 06:22:53.346] test/unified_format.py:684: in _operation_type [2024/02/22 06:22:53.346] self.test.assertIsInstance(value, permissible_types) [2024/02/22 06:22:53.346] E AssertionError: ObjectId('65d36bf2ef8abe88bb30bc28') is not an instance of (<class 'str'>,)