[Test Failure] test.asynchronous.test_dns.TestDNSRepl.test_parent-part-mismatch4

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Name of Failure:

      test.asynchronous.test_dns.TestDNSRepl.test_parent-part-mismatch4

      Link to task:

      https://spruce.corp.mongodb.com/task/mongo_python_driver_mongodb_v4.2_test_server_version_pypy3.11_async_auth_ssl_sharded_cluster_patch_06041261cb9020e4279db749f56a476156820e02_6a26d0d9b9e75f0007a89bfa_26_06_08_14_25_57/tests?execution=0&sorts=STATUS%3AASC

      Context of when and why the failure occurred:

      PyPy garbage collection issues that expose potential socket leaks.

      Stack trace:

      
      
      [2026/06/08 07:37:56.916] ERROR: failed on setup with "ExceptionGroup: multiple unraisable exception warnings (5 sub-exceptions)" ()
      [2026/06/08 07:37:56.916] + Exception Group Traceback (most recent call last):
      [2026/06/08 07:37:56.916]   |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/_pytest/runner.py", line 353, in from_call
      [2026/06/08 07:37:56.916]   |     result: TResult | None = func()
      [2026/06/08 07:37:56.916]   |                              ^^^^^^
      [2026/06/08 07:37:56.916]   |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/_pytest/runner.py", line 245, in <lambda>
      [2026/06/08 07:37:56.916]   |     lambda: runtest_hook(item=item, **kwds),
      [2026/06/08 07:37:56.916]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      [2026/06/08 07:37:56.916]   |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/pluggy/_hooks.py", line 512, in __call__
      [2026/06/08 07:37:56.916]   |     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
      [2026/06/08 07:37:56.916]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      [2026/06/08 07:37:56.916]   |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/pluggy/_manager.py", line 120, in _hookexec
      [2026/06/08 07:37:56.916]   |     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
      [2026/06/08 07:37:56.916]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      [2026/06/08 07:37:56.916]   |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/pluggy/_callers.py", line 167, in _multicall
      [2026/06/08 07:37:56.916]   |     raise exception
      [2026/06/08 07:37:56.916]   |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
      [2026/06/08 07:37:56.916]   |     teardown.throw(exception)
      [2026/06/08 07:37:56.916]   |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/_pytest/logging.py", line 843, in pytest_runtest_setup
      [2026/06/08 07:37:56.916]   |     yield
      [2026/06/08 07:37:56.916]   |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/pluggy/_callers.py", line 139, in _multicall
      [2026/06/08 07:37:56.916]   |     teardown.throw(exception)
      [2026/06/08 07:37:56.916]   |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup
      [2026/06/08 07:37:56.916]   |     return (yield)
      [2026/06/08 07:37:56.916]   |             ^^^^^
      [2026/06/08 07:37:56.916]   |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/pluggy/_callers.py", line 121, in _multicall
      [2026/06/08 07:37:56.916]   |     res = hook_impl.function(*args)
      [2026/06/08 07:37:56.916]   |           ^^^^^^^^^^^^^^^^^^^^^^^^^
      [2026/06/08 07:37:56.916]   |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/_pytest/unraisableexception.py", line 153, in pytest_runtest_setup
      [2026/06/08 07:37:56.916]   |     collect_unraisable(item.config)
      [2026/06/08 07:37:56.916]   |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/_pytest/unraisableexception.py", line 81, in collect_unraisable
      [2026/06/08 07:37:56.916]   |     raise ExceptionGroup("multiple unraisable exception warnings", errors)
      [2026/06/08 07:37:56.916]   | ExceptionGroup: multiple unraisable exception warnings (5 sub-exceptions)
      [2026/06/08 07:37:56.916]   +-+---------------- 1 ----------------
      [2026/06/08 07:37:56.916]     | ResourceWarning: unclosed <socket.socket fd=51, family=2, type=1, proto=6, laddr=('127.0.0.1', 57302), raddr=('127.0.0.1', 27018)>
      [2026/06/08 07:37:56.916]     | 
      [2026/06/08 07:37:56.916]     | The above exception was the direct cause of the following exception:
      [2026/06/08 07:37:56.916]     | 
      [2026/06/08 07:37:56.916]     | Traceback (most recent call last):
      [2026/06/08 07:37:56.916]     |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/_pytest/unraisableexception.py", line 67, in collect_unraisable
      [2026/06/08 07:37:56.916]     |     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
      [2026/06/08 07:37:56.916]     | pytest.PytestUnraisableExceptionWarning: : <socket.socket fd=51, family=2, type=1, proto=6, laddr=('127.0.0.1', 57302), raddr=('127.0.0.1', 27018)>
      [2026/06/08 07:37:56.916]     | 
      [2026/06/08 07:37:56.916]     +---------------- 2 ----------------
      [2026/06/08 07:37:56.916]     | ResourceWarning: unclosed <socket.socket fd=52, family=2, type=1, proto=6, laddr=('127.0.0.1', 57278), raddr=('127.0.0.1', 27018)>
      [2026/06/08 07:37:56.916]     | 
      [2026/06/08 07:37:56.916]     | The above exception was the direct cause of the following exception:
      [2026/06/08 07:37:56.916]     | 
      [2026/06/08 07:37:56.916]     | Traceback (most recent call last):
      [2026/06/08 07:37:56.916]     |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/_pytest/unraisableexception.py", line 67, in collect_unraisable
      [2026/06/08 07:37:56.916]     |     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
      [2026/06/08 07:37:56.916]     | pytest.PytestUnraisableExceptionWarning: : <socket.socket fd=52, family=2, type=1, proto=6, laddr=('127.0.0.1', 57278), raddr=('127.0.0.1', 27018)>
      [2026/06/08 07:37:56.916]     | 
      [2026/06/08 07:37:56.916]     +---------------- 3 ----------------
      [2026/06/08 07:37:56.916]     | ResourceWarning: unclosed <socket.socket fd=23, family=2, type=1, proto=6, laddr=('127.0.0.1', 57080), raddr=('127.0.0.1', 27018)>
      [2026/06/08 07:37:56.916]     | 
      [2026/06/08 07:37:56.916]     | The above exception was the direct cause of the following exception:
      [2026/06/08 07:37:56.916]     | 
      [2026/06/08 07:37:56.916]     | Traceback (most recent call last):
      [2026/06/08 07:37:56.916]     |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/_pytest/unraisableexception.py", line 67, in collect_unraisable
      [2026/06/08 07:37:56.916]     |     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
      [2026/06/08 07:37:56.916]     | pytest.PytestUnraisableExceptionWarning: : <socket.socket fd=23, family=2, type=1, proto=6, laddr=('127.0.0.1', 57080), raddr=('127.0.0.1', 27018)>
      [2026/06/08 07:37:56.916]     | 
      [2026/06/08 07:37:56.916]     +---------------- 4 ----------------
      [2026/06/08 07:37:56.916]     | ResourceWarning: unclosed <socket.socket fd=50, family=2, type=1, proto=6, laddr=('127.0.0.1', 57070), raddr=('127.0.0.1', 27018)>
      [2026/06/08 07:37:56.916]     | 
      [2026/06/08 07:37:56.916]     | The above exception was the direct cause of the following exception:
      [2026/06/08 07:37:56.916]     | 
      [2026/06/08 07:37:56.916]     | Traceback (most recent call last):
      [2026/06/08 07:37:56.916]     |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/_pytest/unraisableexception.py", line 67, in collect_unraisable
      [2026/06/08 07:37:56.916]     |     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
      [2026/06/08 07:37:56.916]     | pytest.PytestUnraisableExceptionWarning: : <socket.socket fd=50, family=2, type=1, proto=6, laddr=('127.0.0.1', 57070), raddr=('127.0.0.1', 27018)>
      [2026/06/08 07:37:56.916]     | 
      [2026/06/08 07:37:56.916]     +---------------- 5 ----------------
      [2026/06/08 07:37:56.916]     | ResourceWarning: unclosed <socket.socket fd=47, family=2, type=1, proto=6, laddr=('127.0.0.1', 56918), raddr=('127.0.0.1', 27018)>
      [2026/06/08 07:37:56.916]     | 
      [2026/06/08 07:37:56.916]     | The above exception was the direct cause of the following exception:
      [2026/06/08 07:37:56.916]     | 
      [2026/06/08 07:37:56.916]     | Traceback (most recent call last):
      [2026/06/08 07:37:56.916]     |   File "/data/mci/b6c39486e452a7125975288e086ec06e/src/.venv/lib/pypy3.11/site-packages/_pytest/unraisableexception.py", line 67, in collect_unraisable
      [2026/06/08 07:37:56.916]     |     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
      [2026/06/08 07:37:56.916]     | pytest.PytestUnraisableExceptionWarning: : <socket.socket fd=47, family=2, type=1, proto=6, laddr=('127.0.0.1', 56918), raddr=('127.0.0.1', 27018)>
      [2026/06/08 07:37:56.916]     | 
      [2026/06/08 07:37:56.916]     +------------------------------------
      

            Assignee:
            Noah Stapp
            Reporter:
            Noah Stapp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: