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

ERROR [0.060s]: test_discovery_and_monitoring_integration_minPoolSize_error_Network_error_on_minPoolSize_background_creation

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.12
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      New failure related to https://github.com/mongodb/mongo-python-driver/commit/b6d1eb3bee9e92af48b2a90e1647ea027fbc4a47

       [2021/06/30 21:23:58.530] ======================================================================
       [2021/06/30 21:23:58.530] ERROR [0.060s]: test_discovery_and_monitoring_integration_minPoolSize_error_Network_error_on_minPoolSize_background_creation (test_discovery_and_monitoring.TestIntegration)
       [2021/06/30 21:23:58.530] ----------------------------------------------------------------------
       [2021/06/30 21:23:58.530] Traceback (most recent call last):
       [2021/06/30 21:23:58.530]   File "/data/mci/c61a2a7d27a4417a31f0ca47ea3ac189/src/test/__init__.py", line 502, in wrap
       [2021/06/30 21:23:58.530]     return f(*args, **kwargs)
       [2021/06/30 21:23:58.530]   File "/data/mci/c61a2a7d27a4417a31f0ca47ea3ac189/src/test/__init__.py", line 502, in wrap
       [2021/06/30 21:23:58.530]     return f(*args, **kwargs)
       [2021/06/30 21:23:58.530]   File "/data/mci/c61a2a7d27a4417a31f0ca47ea3ac189/src/test/test_discovery_and_monitoring.py", line 431, in run_scenario
       [2021/06/30 21:23:58.530]     self.run_scenario(scenario_def, test)
       [2021/06/30 21:23:58.530]   File "/data/mci/c61a2a7d27a4417a31f0ca47ea3ac189/src/test/utils_spec_runner.py", line 562, in run_scenario
       [2021/06/30 21:23:58.530]     self.run_test_ops(sessions, collection, test)
       [2021/06/30 21:23:58.530]   File "/data/mci/c61a2a7d27a4417a31f0ca47ea3ac189/src/test/utils_spec_runner.py", line 467, in run_test_ops
       [2021/06/30 21:23:58.530]     self.run_operations(sessions, collection, test['operations'])
       [2021/06/30 21:23:58.530]   File "/data/mci/c61a2a7d27a4417a31f0ca47ea3ac189/src/test/utils_spec_runner.py", line 378, in run_operations
       [2021/06/30 21:23:58.530]     self._run_op(sessions, collection, op, in_with_transaction)
       [2021/06/30 21:23:58.530]   File "/data/mci/c61a2a7d27a4417a31f0ca47ea3ac189/src/test/utils_spec_runner.py", line 368, in _run_op
       [2021/06/30 21:23:58.530]     result = self.run_operation(sessions, collection, op.copy())
       [2021/06/30 21:23:58.530]   File "/data/mci/c61a2a7d27a4417a31f0ca47ea3ac189/src/test/utils_spec_runner.py", line 309, in run_operation
       [2021/06/30 21:23:58.530]     result = cmd(**dict(arguments))
       [2021/06/30 21:23:58.530]   File "/data/mci/c61a2a7d27a4417a31f0ca47ea3ac189/src/test/test_discovery_and_monitoring.py", line 368, in wait_for_event
       [2021/06/30 21:23:58.530]     wait_until(lambda: self._event_count(event) >= count,
       [2021/06/30 21:23:58.530]   File "/data/mci/c61a2a7d27a4417a31f0ca47ea3ac189/src/test/utils.py", line 730, in wait_until
       [2021/06/30 21:23:58.530]     retval = predicate()
       [2021/06/30 21:23:58.530]   File "/data/mci/c61a2a7d27a4417a31f0ca47ea3ac189/src/test/test_discovery_and_monitoring.py", line 368, in <lambda>
       [2021/06/30 21:23:58.530]     wait_until(lambda: self._event_count(event) >= count,
       [2021/06/30 21:23:58.530]   File "/data/mci/c61a2a7d27a4417a31f0ca47ea3ac189/src/test/test_discovery_and_monitoring.py", line 343, in _event_count
       [2021/06/30 21:23:58.530]     event_type = getattr(monitoring, event)
       [2021/06/30 21:23:58.530] AttributeError: 'module' object has no attribute 'PoolReadyEvent'
      

            Assignee:
            prashant.mital Prashant Mital (Inactive)
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: