-
Type:
Build Failure
-
Resolution: Duplicate
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Name of Failure:
test.test_discovery_and_monitoring.TestUnifiedHelloTimeout.test_Network_timeout_on_Monitor_check
test.test_discovery_and_monitoring.TestUnifiedHelloTimeout.test_Network_timeout_on_Monitor_handshake
test.test_discovery_and_monitoring.TestUnifiedInterruptInUsePoolClear.test_Connection_pool_clear_uses_interruptInUseConnections_true_after_monitor_timeout
test.test_discovery_and_monitoring.TestUnifiedInterruptInUsePoolClear.test_Error_returned_from_connection_pool_clear_with_interruptInUseConnections_true_is_retryable
test.test_discovery_and_monitoring.TestUnifiedInterruptInUsePoolClear.test_Error_returned_from_connection_pool_clear_with_interruptInUseConnections_true_is_retryable_for_write
Link to task:
Context of when and why the failure occurred:
Stack trace:
[2025/09/15 09:05:34.434] FAILURE: AssertionError: Didn't ever find 1 {'serverDescriptionChangedEvent': {'newDescription': {'type': 'Unknown'}}} event(s) () [2025/09/15 09:05:34.434] self = <test.test_discovery_and_monitoring.TestUnifiedHelloTimeout testMethod=test_Network_timeout_on_Monitor_handshake> [2025/09/15 09:05:34.434] def test_case(self): [2025/09/15 09:05:34.434] > self.run_scenario(spec) [2025/09/15 09:05:34.434] test/unified_format.py:1522: [2025/09/15 09:05:34.434] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2025/09/15 09:05:34.434] test/unified_format.py:1464: in run_scenario [2025/09/15 09:05:34.434] decorator(self._run_scenario)(spec, uri) [2025/09/15 09:05:34.434] test/utils.py:203: in wrapper [2025/09/15 09:05:34.434] raise e [2025/09/15 09:05:34.434] test/utils.py:197: in wrapper [2025/09/15 09:05:34.434] result = target_func(*args, **kwargs) [2025/09/15 09:05:34.434] test/unified_format.py:1499: in _run_scenario [2025/09/15 09:05:34.434] self.run_operations(spec["operations"]) [2025/09/15 09:05:34.434] test/unified_format.py:1307: in run_operations [2025/09/15 09:05:34.434] self.run_special_operation(op) [2025/09/15 09:05:34.434] test/unified_format.py:1302: in run_special_operation [2025/09/15 09:05:34.434] method(spec["arguments"]) [2025/09/15 09:05:34.434] test/unified_format.py:1198: in _testOperation_waitForEvent [2025/09/15 09:05:34.434] wait_until( [2025/09/15 09:05:34.434] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2025/09/15 09:05:34.434] predicate = <function UnifiedSpecTestMixinV1._testOperation_waitForEvent.<locals>.<lambda> at 0x7f762352b8b0> [2025/09/15 09:05:34.434] success_description = "find 1 {'serverDescriptionChangedEvent': {'newDescription': {'type': 'Unknown'}}} event(s)" [2025/09/15 09:05:34.434] timeout = 10 [2025/09/15 09:05:34.434] def wait_until(predicate, success_description, timeout=10): [2025/09/15 09:05:34.434] """Wait up to 10 seconds (by default) for predicate to be true. [2025/09/15 09:05:34.434] [2025/09/15 09:05:34.434] E.g.: [2025/09/15 09:05:34.434] [2025/09/15 09:05:34.434] wait_until(lambda: client.primary == ('a', 1), [2025/09/15 09:05:34.434] 'connect to the primary') [2025/09/15 09:05:34.434] [2025/09/15 09:05:34.434] If the lambda-expression isn't true after 10 seconds, we raise [2025/09/15 09:05:34.434] AssertionError("Didn't ever connect to the primary"). [2025/09/15 09:05:34.434] [2025/09/15 09:05:34.434] Returns the predicate's first true value. [2025/09/15 09:05:34.434] """ [2025/09/15 09:05:34.434] start = time.time() [2025/09/15 09:05:34.434] interval = min(float(timeout) / 100, 0.1) [2025/09/15 09:05:34.434] while True: [2025/09/15 09:05:34.434] if iscoroutinefunction(predicate): [2025/09/15 09:05:34.434] retval = predicate() [2025/09/15 09:05:34.434] else: [2025/09/15 09:05:34.434] retval = predicate() [2025/09/15 09:05:34.434] if retval: [2025/09/15 09:05:34.434] return retval [2025/09/15 09:05:34.434] [2025/09/15 09:05:34.434] if time.time() - start > timeout: [2025/09/15 09:05:34.434] > raise AssertionError("Didn't ever %s" % success_description) [2025/09/15 09:05:34.434] E AssertionError: Didn't ever find 1 {'serverDescriptionChangedEvent': {'newDescription': {'type': 'Unknown'}}} event(s) [2025/09/15 09:05:34.434] test/utils.py:81: AssertionError
Note: we'll be dropping Eventlet support when we drop Python 3.9 support, so we should close this as won't do when we close PYTHON-4755.
- is related to
-
PYTHON-4755 Stop supporting and testing against Eventlet
-
- Closed
-