==> Building on shinx ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ .SRCINFO 774 100% 0.00kB/s 0:00:00 774 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=3/5) .nvchecker.toml 54 100% 52.73kB/s 0:00:00 54 100% 52.73kB/s 0:00:00 (xfr#2, to-chk=2/5) PKGBUILD 1,355 100% 1.29MB/s 0:00:00 1,355 100% 1.29MB/s 0:00:00 (xfr#3, to-chk=1/5) python-pyftpdlib-1.5.10-1.log 451 100% 440.43kB/s 0:00:00 451 100% 440.43kB/s 0:00:00 (xfr#4, to-chk=0/5) sent 1,670 bytes received 107 bytes 1,184.67 bytes/sec total size is 2,375 speedup is 1.34 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root15 on remote host... ]2;🔵 Container arch-nspawn-172986 on shinx.felixc.at[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root15]...done ==> Making package: python-pyftpdlib 1.5.10-1 (Mon Jul 22 20:36:45 2024) ==> Retrieving sources...  -> Downloading python-pyftpdlib-1.5.10.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13151 0 13151 0 0 22285 0 --:--:-- --:--:-- --:--:-- 22285 100 253k 0 253k 0 0 357k 0 --:--:-- --:--:-- --:--:-- 2007k ==> Validating source files with sha256sums... python-pyftpdlib-1.5.10.tar.gz ... Passed ]2;🔵 Container arch-nspawn-173983 on shinx.felixc.at==> Making package: python-pyftpdlib 1.5.10-1 (Mon Jul 22 20:37:04 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (28) New Version Net Change extra/python-autocommand 2.2.2-6 0.08 MiB extra/python-cffi 1.16.0-2 1.32 MiB extra/python-cryptography 42.0.6-1 4.51 MiB extra/python-fastjsonschema 2.20.0-1 0.27 MiB extra/python-inflect 7.3.1-1 0.36 MiB extra/python-iniconfig 2.0.0-5 0.04 MiB extra/python-jaraco.context 4.3.0-4 0.03 MiB extra/python-jaraco.functools 4.0.1-1 0.07 MiB extra/python-jaraco.text 3.14.0-1 0.08 MiB extra/python-more-itertools 10.3.0-1 0.63 MiB extra/python-ordered-set 4.1.0-5 0.06 MiB extra/python-packaging 24.1-1 0.49 MiB extra/python-platformdirs 4.2.2-1 0.24 MiB extra/python-pluggy 1.5.0-1 0.20 MiB extra/python-pycparser 2.22-2 1.71 MiB extra/python-pyproject-hooks 1.1.0-1 0.10 MiB extra/python-tomli 2.0.1-4 0.10 MiB extra/python-trove-classifiers 2024.7.1-1 0.12 MiB extra/python-typeguard 4.3.0-1 0.41 MiB extra/python-typing_extensions 4.12.2-1 0.41 MiB extra/python-validate-pyproject 0.18-1 0.33 MiB extra/python-build 1.2.1-3 0.19 MiB extra/python-installer 0.7.0-8 0.18 MiB extra/python-psutil 5.9.8-4 3.06 MiB extra/python-pyopenssl 24.1.0-1 0.72 MiB extra/python-pytest 1:8.3.1-1 3.90 MiB extra/python-setuptools 1:69.0.3-6 4.39 MiB extra/python-wheel 0.43.0-4 0.25 MiB Total Installed Size: 24.25 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-installer... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-typing_extensions... installing python-typeguard... installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures installing python-psutil... installing python-pycparser... installing python-cffi... Optional dependencies for python-cffi python-setuptools: "limited api" version checking in cffi.setuptools_ext [installed] installing python-cryptography... installing python-pyopenssl... installing python-iniconfig... installing python-pluggy... installing python-pytest... [?25h==> Retrieving sources...  -> Found python-pyftpdlib-1.5.10.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-pyftpdlib-1.5.10.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... * Building wheel... running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/pyftpdlib copying pyftpdlib/__init__.py -> build/lib/pyftpdlib copying pyftpdlib/__main__.py -> build/lib/pyftpdlib copying pyftpdlib/_asynchat.py -> build/lib/pyftpdlib copying pyftpdlib/_asyncore.py -> build/lib/pyftpdlib copying pyftpdlib/_compat.py -> build/lib/pyftpdlib copying pyftpdlib/authorizers.py -> build/lib/pyftpdlib copying pyftpdlib/filesystems.py -> build/lib/pyftpdlib copying pyftpdlib/handlers.py -> build/lib/pyftpdlib copying pyftpdlib/ioloop.py -> build/lib/pyftpdlib copying pyftpdlib/log.py -> build/lib/pyftpdlib copying pyftpdlib/prefork.py -> build/lib/pyftpdlib copying pyftpdlib/servers.py -> build/lib/pyftpdlib running build_scripts creating build/scripts-3.12 copying and adjusting scripts/ftpbench -> build/scripts-3.12 changing mode of build/scripts-3.12/ftpbench from 644 to 755 installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/pyftpdlib copying build/lib/pyftpdlib/__init__.py -> build/bdist.linux-riscv64/wheel/pyftpdlib copying build/lib/pyftpdlib/__main__.py -> build/bdist.linux-riscv64/wheel/pyftpdlib copying build/lib/pyftpdlib/_asynchat.py -> build/bdist.linux-riscv64/wheel/pyftpdlib copying build/lib/pyftpdlib/_asyncore.py -> build/bdist.linux-riscv64/wheel/pyftpdlib copying build/lib/pyftpdlib/_compat.py -> build/bdist.linux-riscv64/wheel/pyftpdlib copying build/lib/pyftpdlib/authorizers.py -> build/bdist.linux-riscv64/wheel/pyftpdlib copying build/lib/pyftpdlib/filesystems.py -> build/bdist.linux-riscv64/wheel/pyftpdlib copying build/lib/pyftpdlib/handlers.py -> build/bdist.linux-riscv64/wheel/pyftpdlib copying build/lib/pyftpdlib/ioloop.py -> build/bdist.linux-riscv64/wheel/pyftpdlib copying build/lib/pyftpdlib/log.py -> build/bdist.linux-riscv64/wheel/pyftpdlib copying build/lib/pyftpdlib/prefork.py -> build/bdist.linux-riscv64/wheel/pyftpdlib copying build/lib/pyftpdlib/servers.py -> build/bdist.linux-riscv64/wheel/pyftpdlib running install_egg_info running egg_info creating pyftpdlib.egg-info writing pyftpdlib.egg-info/PKG-INFO writing dependency_links to pyftpdlib.egg-info/dependency_links.txt writing requirements to pyftpdlib.egg-info/requires.txt writing top-level names to pyftpdlib.egg-info/top_level.txt writing manifest file 'pyftpdlib.egg-info/SOURCES.txt' reading manifest file 'pyftpdlib.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pyftpdlib.egg-info/SOURCES.txt' Copying pyftpdlib.egg-info to build/bdist.linux-riscv64/wheel/pyftpdlib-1.5.10-py3.12.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/pyftpdlib-1.5.10.data creating build/bdist.linux-riscv64/wheel/pyftpdlib-1.5.10.data/scripts copying build/scripts-3.12/ftpbench -> build/bdist.linux-riscv64/wheel/pyftpdlib-1.5.10.data/scripts changing mode of build/bdist.linux-riscv64/wheel/pyftpdlib-1.5.10.data/scripts/ftpbench to 755 creating build/bdist.linux-riscv64/wheel/pyftpdlib-1.5.10.dist-info/WHEEL creating '/build/python-pyftpdlib/src/pyftpdlib-release-1.5.10/dist/.tmp-a7atrsja/pyftpdlib-1.5.10-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'pyftpdlib/__init__.py' adding 'pyftpdlib/__main__.py' adding 'pyftpdlib/_asynchat.py' adding 'pyftpdlib/_asyncore.py' adding 'pyftpdlib/_compat.py' adding 'pyftpdlib/authorizers.py' adding 'pyftpdlib/filesystems.py' adding 'pyftpdlib/handlers.py' adding 'pyftpdlib/ioloop.py' adding 'pyftpdlib/log.py' adding 'pyftpdlib/prefork.py' adding 'pyftpdlib/servers.py' adding 'pyftpdlib-1.5.10.data/scripts/ftpbench' adding 'pyftpdlib-1.5.10.dist-info/LICENSE' adding 'pyftpdlib-1.5.10.dist-info/METADATA' adding 'pyftpdlib-1.5.10.dist-info/WHEEL' adding 'pyftpdlib-1.5.10.dist-info/top_level.txt' adding 'pyftpdlib-1.5.10.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built pyftpdlib-1.5.10-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.12.4, pytest-8.3.1, pluggy-1.5.0 rootdir: /build/python-pyftpdlib/src/pyftpdlib-release-1.5.10 configfile: pyproject.toml plugins: typeguard-4.3.0 collected 796 items pyftpdlib/test/test_authorizers.py ....sssssssssssssssssssssssssssssssss [ 4%] s [ 4%] pyftpdlib/test/test_cli.py .......... [ 6%] pyftpdlib/test/test_filesystems.py ....... [ 6%] pyftpdlib/test/test_functional.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 11%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 20%] FFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFF [ 27%] pyftpdlib/test/test_functional_ssl.py FFFFFFFFFEFFEFFFFFFFFFFFFFFFFFFFFF [ 31%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFEFFFFFFFFFFFFFFFFF [ 40%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFsFEFFFFFFFFFFFFFFF [ 49%] FFsFsFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFEFFFFFFFFFFFFF [ 55%] pyftpdlib/test/test_ioloop.py .......................................... [ 60%] ...ssssssssssssssssss...................... [ 66%] pyftpdlib/test/test_servers.py FFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 71%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFEFFFFFFFFFFFFF.FFFFFFFFFFFFFFFFFFFF [ 79%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFF [ 88%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFEFFFFFFFFFFFFFFFFF [ 97%] FFFFFFFFFFFFFFFEFFFFFF [100%] ==================================== ERRORS ==================================== _______ ERROR at teardown of TestConfigurableOptions.test_use_gmt_times ________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________ ERROR at teardown of TestCornerCases.test_error_on_callback __________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______ ERROR at teardown of TestConfigurableOptions.test_use_gmt_times ________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________ ERROR at teardown of TestCornerCases.test_error_on_callback __________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ ERROR at teardown of TestFtpStoreData.test_stou ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________ ERROR at teardown of TestFtpStoreData.test_stou_orphaned_file _________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____ ERROR at teardown of TestFtpStoreDataTLSMixin.test_stou_orphaned_file _____ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___ ERROR at teardown of TestConfigurableOptionsTLSMixin.test_use_gmt_times ____ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____ ERROR at teardown of TestCornerCasesTLSMixin.test_error_on_callback ______ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________ ERROR at teardown of TestCornerCases.test_error_on_callback __________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ ERROR at teardown of TestFtpStoreData.test_stou ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________ ERROR at teardown of TestFtpStoreData.test_stou_orphaned_file _________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________ ERROR at teardown of TestFtpStoreDataThreadMixin.test_stou __________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___ ERROR at teardown of TestFtpStoreDataThreadMixin.test_stou_orphaned_file ___ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____ ERROR at teardown of TestCornerCasesThreadMixin.test_error_on_callback ____ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________ ERROR at teardown of TestFtpStoreDataMProcMixin.test_stou ___________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___ ERROR at teardown of TestFtpStoreDataMProcMixin.test_stou_orphaned_file ____ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____ ERROR at teardown of TestCornerCasesMProcMixin.test_error_on_callback _____ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError =================================== FAILURES =================================== _____________________ TestFtpAuthentication.test_anon_auth _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpAuthentication.test_auth_failed ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpAuthentication.test_auth_ok ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpAuthentication.test_max_auth ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpAuthentication.test_rein ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpAuthentication.test_rein_during_transfer ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpAuthentication.test_user ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpAuthentication.test_user_during_transfer ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpAuthentication.test_wrong_cmds_order __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_allo __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_feat __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_help __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_mode __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_noop __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpDummyCmds.test_opts_feat ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_quit __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_rest __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_site __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpDummyCmds.test_site_help ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_stru __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_syst __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_type __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpCmdsSemantic.test_arg_cmds _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpCmdsSemantic.test_auth_cmds ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpCmdsSemantic.test_no_arg_cmds _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpCmdsSemantic.test_no_auth_cmds _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpFsOperations.test_cdup _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpFsOperations.test_cwd _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpFsOperations.test_dele _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpFsOperations.test_invalid_mfmt_timeval _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpFsOperations.test_mdtm _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpFsOperations.test_mfmt _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ TestFtpFsOperations.test_missing_mfmt_timeval_arg _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpFsOperations.test_mkd _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpFsOperations.test_pwd _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpFsOperations.test_rmd _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpFsOperations.test_rnfr_rnto ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpFsOperations.test_site_chmod ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpFsOperations.test_size _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpStoreData.test_appe __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpStoreData.test_appe_rest ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpStoreData.test_failing_rest_on_stor __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpStoreData.test_quit_during_transfer __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpStoreData.test_rest_on_stor ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpStoreData.test_stor __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpStoreData.test_stor_active _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpStoreData.test_stor_ascii _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpStoreData.test_stor_ascii_2 ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpStoreData.test_stor_empty_file _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpStoreData.test_stou __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpStoreData.test_stou_orphaned_file ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpStoreData.test_stou_rest ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpStoreDataNoSendfile.test_appe _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpStoreDataNoSendfile.test_appe_rest ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________ TestFtpStoreDataNoSendfile.test_failing_rest_on_stor _____________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________ TestFtpStoreDataNoSendfile.test_quit_during_transfer _____________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpStoreDataNoSendfile.test_rest_on_stor _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpStoreDataNoSendfile.test_stor _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpStoreDataNoSendfile.test_stor_active __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpStoreDataNoSendfile.test_stor_ascii __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpStoreDataNoSendfile.test_stor_ascii_2 _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpStoreDataNoSendfile.test_stor_empty_file ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpStoreDataNoSendfile.test_stou _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ TestFtpStoreDataNoSendfile.test_stou_orphaned_file ______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpStoreDataNoSendfile.test_stou_rest ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpStoreDataWithCustomIO.test_appe ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpStoreDataWithCustomIO.test_appe_rest __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________ TestFtpStoreDataWithCustomIO.test_failing_rest_on_stor ____________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________ TestFtpStoreDataWithCustomIO.test_quit_during_transfer ____________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpStoreDataWithCustomIO.test_rest_on_stor ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpStoreDataWithCustomIO.test_stor ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpStoreDataWithCustomIO.test_stor_active _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpStoreDataWithCustomIO.test_stor_ascii _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpStoreDataWithCustomIO.test_stor_ascii_2 ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ TestFtpStoreDataWithCustomIO.test_stor_empty_file _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpStoreDataWithCustomIO.test_stou ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________ TestFtpStoreDataWithCustomIO.test_stou_orphaned_file _____________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpStoreDataWithCustomIO.test_stou_rest __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpRetrieveData.test_restore_on_retr ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpRetrieveData.test_retr _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpRetrieveData.test_retr_ascii ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpRetrieveData.test_retr_ascii_already_crlf _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpRetrieveData.test_retr_empty_file ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ TestFtpRetrieveDataNoSendfile.test_restore_on_retr ______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpRetrieveDataNoSendfile.test_retr ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpRetrieveDataNoSendfile.test_retr_ascii _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________ TestFtpRetrieveDataNoSendfile.test_retr_ascii_already_crlf __________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ TestFtpRetrieveDataNoSendfile.test_retr_empty_file ______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpRetrieveDataCustomIO.test_restore_on_retr _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpRetrieveDataCustomIO.test_retr _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpRetrieveDataCustomIO.test_retr_ascii __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________ TestFtpRetrieveDataCustomIO.test_retr_ascii_already_crlf ___________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpRetrieveDataCustomIO.test_retr_empty_file _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpListingCmds.test_list _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpListingCmds.test_mlsd _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpListingCmds.test_mlsd_all_facts ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpListingCmds.test_mlst _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpListingCmds.test_nlst _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpListingCmds.test_stat _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpListingCmds.test_unforeseen_time_event _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpAbort.test_abor_during_transfer ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpAbort.test_abor_no_data ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpAbort.test_abor_pasv __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpAbort.test_abor_port __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpAbort.test_oob_abor __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestThrottleBandwidth.test_throttle_recv ___________________ self = def tearDown(self): close_client(self.client) self.server.handler.dtp_handler.read_limit = 0 self.server.handler.dtp_handler.write_limit = 0 self.server.handler.dtp_handler = DTPHandler > self.server.stop() pyftpdlib/test/test_functional.py:1494: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestThrottleBandwidth.test_throttle_send ___________________ self = def tearDown(self): close_client(self.client) self.server.handler.dtp_handler.read_limit = 0 self.server.handler.dtp_handler.write_limit = 0 self.server.handler.dtp_handler = DTPHandler > self.server.stop() pyftpdlib/test/test_functional.py:1494: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestTimeouts.test_data_timeout ________________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestTimeouts.test_data_timeout_not_reached __________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestTimeouts.test_disabled_data_timeout ____________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestTimeouts.test_disabled_idle_timeout ____________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestTimeouts.test_disabled_pasv_timeout ____________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestTimeouts.test_disabled_port_timeout ____________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestTimeouts.test_idle_data_timeout1 _____________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestTimeouts.test_idle_data_timeout2 _____________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestTimeouts.test_pasv_timeout ________________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestConfigurableOptions.test_banner ______________________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestConfigurableOptions.test_masquerade_address ________________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________ TestConfigurableOptions.test_masquerade_address_map ______________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestConfigurableOptions.test_max_connections _________________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________ TestConfigurableOptions.test_max_connections_per_ip ______________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestConfigurableOptions.test_max_login_attempts ________________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestConfigurableOptions.test_passive_ports __________________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestConfigurableOptions.test_passive_ports_busy ________________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestConfigurableOptions.test_use_gmt_times __________________ self = @retry_on_failure() def test_use_gmt_times(self): testfn = self.get_testfn() touch(testfn) # use GMT time self.server = self.server_class() self.server.handler.use_gmt_times = True self.server.start() self.connect() gmt1 = self.client.sendcmd('mdtm ' + testfn) gmt2 = self.client.sendcmd('mlst ' + testfn) gmt3 = self.client.sendcmd('stat ' + testfn) # use local time > self.tearDown() pyftpdlib/test/test_functional.py:1916: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/test_functional.py:1730: in tearDown self.server.stop() pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestCallbacks.test_on_disconnect _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1993: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestCallbacks.test_on_file_received ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1993: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestCallbacks.test_on_file_sent ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1993: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestCallbacks.test_on_incomplete_file_received ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1993: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestCallbacks.test_on_incomplete_file_sent __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1993: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestCallbacks.test_on_login_failed ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1993: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestCallbacks.test_on_logout_no_pass _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1993: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestCallbacks.test_on_logout_quit _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1993: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestCallbacks.test_on_logout_rein _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1993: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestCallbacks.test_on_logout_user_issued_twice ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1993: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestIPv4Environment.test_eprt _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv4Environment.test_eprt_v4 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestIPv4Environment.test_epsv _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestIPv4Environment.test_epsv_all _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv4Environment.test_pasv_v4 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv4Environment.test_port_v4 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestIPv6Environment.test_eprt _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv6Environment.test_eprt_v6 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestIPv6Environment.test_epsv _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestIPv6Environment.test_epsv_all _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv6Environment.test_pasv_v6 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv6Environment.test_port_v6 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestIPv6MixedEnvironment.test_eprt_v4 _____________________ self = def tearDown(self): if self.client is not None: close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2352: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestIPv6MixedEnvironment.test_epsv_v4 _____________________ self = def tearDown(self): if self.client is not None: close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2352: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestIPv6MixedEnvironment.test_pasv_v4 _____________________ self = def tearDown(self): if self.client is not None: close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2352: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestIPv6MixedEnvironment.test_port_v4 _____________________ self = def tearDown(self): if self.client is not None: close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2352: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestCornerCases.test_active_conn_error ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestCornerCases.test_error_on_callback ____________________ self = def test_error_on_callback(self): # test that the server do not crash in case an error occurs # while firing a scheduled function > self.tearDown() pyftpdlib/test/test_functional.py:2492: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/test_functional.py:2434: in tearDown self.server.stop() pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestCornerCases.test_ioloop_fileno ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestCornerCases.test_port_race_condition ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestCornerCases.test_quick_connect ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestCornerCases.test_repr ___________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestCornerCases.test_sendfile _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestCornerCases.test_sendfile_enabled _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ ThreadedFTPTests.test_idle_timeout ______________________ self = def tearDown(self): if self.client: close_client(self.client) if self.server: > self.server.stop() pyftpdlib/test/test_functional.py:2748: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ ThreadedFTPTests.test_permit_foreign_address_false ______________ self = def tearDown(self): if self.client: close_client(self.client) if self.server: > self.server.stop() pyftpdlib/test/test_functional.py:2748: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ------------------------------ Captured log call ------------------------------- WARNING pyftpdlib:handlers.py:2040 9.9.9.9:41012-[user] Rejected data connection to foreign address 127.0.0.1:41012. ______________ ThreadedFTPTests.test_permit_foreign_address_true _______________ self = def tearDown(self): if self.client: close_client(self.client) if self.server: > self.server.stop() pyftpdlib/test/test_functional.py:2748: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ ThreadedFTPTests.test_permit_privileged_ports _________________ self = def tearDown(self): if self.client: close_client(self.client) if self.server: > self.server.stop() pyftpdlib/test/test_functional.py:2748: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ ThreadedFTPTests.test_sendfile_fails _____________________ self = def tearDown(self): if self.client: close_client(self.client) if self.server: > self.server.stop() pyftpdlib/test/test_functional.py:2748: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ------------------------------ Captured log call ------------------------------- WARNING pyftpdlib:handlers.py:858 sendfile() failed; falling back on using plain send _____________________ ThreadedFTPTests.test_stou_max_tries _____________________ self = def tearDown(self): if self.client: close_client(self.client) if self.server: > self.server.stop() pyftpdlib/test/test_functional.py:2748: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestConfigurableOptions.test_banner ______________________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestConfigurableOptions.test_masquerade_address ________________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________ TestConfigurableOptions.test_masquerade_address_map ______________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestConfigurableOptions.test_max_connections _________________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________ TestConfigurableOptions.test_max_connections_per_ip ______________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestConfigurableOptions.test_max_login_attempts ________________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestConfigurableOptions.test_passive_ports __________________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestConfigurableOptions.test_passive_ports_busy ________________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestConfigurableOptions.test_use_gmt_times __________________ self = @retry_on_failure() def test_use_gmt_times(self): testfn = self.get_testfn() touch(testfn) # use GMT time self.server = self.server_class() self.server.handler.use_gmt_times = True self.server.start() self.connect() gmt1 = self.client.sendcmd('mdtm ' + testfn) gmt2 = self.client.sendcmd('mlst ' + testfn) gmt3 = self.client.sendcmd('stat ' + testfn) # use local time > self.tearDown() pyftpdlib/test/test_functional.py:1916: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/test_functional.py:1730: in tearDown self.server.stop() pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestCornerCases.test_active_conn_error ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestCornerCases.test_error_on_callback ____________________ self = def test_error_on_callback(self): # test that the server do not crash in case an error occurs # while firing a scheduled function > self.tearDown() pyftpdlib/test/test_functional.py:2492: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/test_functional.py:2434: in tearDown self.server.stop() pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestCornerCases.test_ioloop_fileno ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestCornerCases.test_port_race_condition ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestCornerCases.test_quick_connect ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestCornerCases.test_repr ___________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestCornerCases.test_sendfile _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestCornerCases.test_sendfile_enabled _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpAbort.test_abor_during_transfer ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpAbort.test_abor_no_data ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpAbort.test_abor_pasv __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpAbort.test_abor_port __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpAbort.test_oob_abor __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpAuthentication.test_anon_auth _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpAuthentication.test_auth_failed ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpAuthentication.test_auth_ok ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpAuthentication.test_max_auth ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpAuthentication.test_rein ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpAuthentication.test_rein_during_transfer ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpAuthentication.test_user ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpAuthentication.test_user_during_transfer ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpAuthentication.test_wrong_cmds_order __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpCmdsSemantic.test_arg_cmds _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpCmdsSemantic.test_auth_cmds ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpCmdsSemantic.test_no_arg_cmds _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpCmdsSemantic.test_no_auth_cmds _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_allo __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_feat __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_help __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_mode __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_noop __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpDummyCmds.test_opts_feat ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_quit __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_rest __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_site __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpDummyCmds.test_site_help ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_stru __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_syst __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_type __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpFsOperations.test_cdup _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpFsOperations.test_cwd _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpFsOperations.test_dele _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpFsOperations.test_invalid_mfmt_timeval _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpFsOperations.test_mdtm _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpFsOperations.test_mfmt _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ TestFtpFsOperations.test_missing_mfmt_timeval_arg _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpFsOperations.test_mkd _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpFsOperations.test_pwd _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpFsOperations.test_rmd _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpFsOperations.test_rnfr_rnto ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpFsOperations.test_site_chmod ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpFsOperations.test_size _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpListingCmds.test_list _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpListingCmds.test_mlsd _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpListingCmds.test_mlsd_all_facts ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpListingCmds.test_mlst _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpListingCmds.test_nlst _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpListingCmds.test_stat _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpListingCmds.test_unforeseen_time_event _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpRetrieveData.test_restore_on_retr ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpRetrieveData.test_retr _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpRetrieveData.test_retr_ascii ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpRetrieveData.test_retr_ascii_already_crlf _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpRetrieveData.test_retr_empty_file ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpStoreData.test_appe __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpStoreData.test_appe_rest ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpStoreData.test_failing_rest_on_stor __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpStoreData.test_quit_during_transfer __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpStoreData.test_rest_on_stor ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpStoreData.test_stor __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpStoreData.test_stor_active _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpStoreData.test_stor_ascii _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpStoreData.test_stor_ascii_2 ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpStoreData.test_stor_empty_file _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpStoreData.test_stou __________________________ self = def test_stou(self): data = b'abcde12345' * 100000 self.dummy_sendfile.write(data) self.dummy_sendfile.seek(0) self.client.voidcmd('TYPE I') # filename comes in as "1xx FILE: " > filename = self.client.sendcmd('stou').split('FILE: ')[1] pyftpdlib/test/test_functional.py:878: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/ftplib.py:281: in sendcmd return self.getresp() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def getresp(self): resp = self.getmultiline() if self.debugging: print('*resp*', self.sanitize(resp)) self.lastresp = resp[:3] c = resp[:1] if c in {'1', '2', '3'}: return resp if c == '4': > raise error_temp(resp) E ftplib.error_temp: 450 No usable unique file name found. /usr/lib/python3.12/ftplib.py:252: error_temp ___________________ TestFtpStoreData.test_stou_orphaned_file ___________________ self = def test_stou_orphaned_file(self): # Check that no orphaned file gets left behind when STOU fails. # Even if STOU fails the file is first created and then erased. # Since we can't know the name of the file the best way that # we have to test this case is comparing the content of the # directory before and after STOU has been issued. # Assuming that testfn is supposed to be a "reserved" file # name we shouldn't get false positives. # login as a limited user in order to make STOU fail self.client.login('anonymous', '@nopasswd') before = os.listdir(HOME) with pytest.raises(ftplib.error_perm): > self.client.sendcmd('stou ' + self.testfn) pyftpdlib/test/test_functional.py:929: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/ftplib.py:281: in sendcmd return self.getresp() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def getresp(self): resp = self.getmultiline() if self.debugging: print('*resp*', self.sanitize(resp)) self.lastresp = resp[:3] c = resp[:1] if c in {'1', '2', '3'}: return resp if c == '4': > raise error_temp(resp) E ftplib.error_temp: 450 No usable unique file name found. /usr/lib/python3.12/ftplib.py:252: error_temp _______________________ TestFtpStoreData.test_stou_rest ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestIPv4Environment.test_eprt _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv4Environment.test_eprt_v4 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestIPv4Environment.test_epsv _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestIPv4Environment.test_epsv_all _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv4Environment.test_pasv_v4 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv4Environment.test_port_v4 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestIPv6Environment.test_eprt _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv6Environment.test_eprt_v6 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestIPv6Environment.test_epsv _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestIPv6Environment.test_epsv_all _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv6Environment.test_pasv_v6 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv6Environment.test_port_v6 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestTimeouts.test_data_timeout ________________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestTimeouts.test_data_timeout_not_reached __________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestTimeouts.test_disabled_data_timeout ____________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestTimeouts.test_disabled_idle_timeout ____________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestTimeouts.test_disabled_pasv_timeout ____________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestTimeouts.test_disabled_port_timeout ____________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestTimeouts.test_idle_data_timeout1 _____________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestTimeouts.test_idle_data_timeout2 _____________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestTimeouts.test_pasv_timeout ________________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpAuthenticationTLSMixin.test_anon_auth _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpAuthenticationTLSMixin.test_auth_failed ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpAuthenticationTLSMixin.test_auth_ok __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpAuthenticationTLSMixin.test_max_auth __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpAuthenticationTLSMixin.test_rein ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________ TestFtpAuthenticationTLSMixin.test_rein_during_transfer ____________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpAuthenticationTLSMixin.test_user ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________ TestFtpAuthenticationTLSMixin.test_user_during_transfer ____________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________ TestFtpAuthenticationTLSMixin.test_wrong_cmds_order ______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestTFtpDummyCmdsTLSMixin.test_allo ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestTFtpDummyCmdsTLSMixin.test_feat ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestTFtpDummyCmdsTLSMixin.test_help ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestTFtpDummyCmdsTLSMixin.test_mode ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestTFtpDummyCmdsTLSMixin.test_noop ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestTFtpDummyCmdsTLSMixin.test_opts_feat ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestTFtpDummyCmdsTLSMixin.test_quit ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestTFtpDummyCmdsTLSMixin.test_rest ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestTFtpDummyCmdsTLSMixin.test_site ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestTFtpDummyCmdsTLSMixin.test_site_help ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestTFtpDummyCmdsTLSMixin.test_stru ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestTFtpDummyCmdsTLSMixin.test_syst ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestTFtpDummyCmdsTLSMixin.test_type ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpCmdsSemanticTLSMixin.test_arg_cmds ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpCmdsSemanticTLSMixin.test_auth_cmds __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpCmdsSemanticTLSMixin.test_no_arg_cmds _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpCmdsSemanticTLSMixin.test_no_auth_cmds _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpFsOperationsTLSMixin.test_cdup _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpFsOperationsTLSMixin.test_cwd _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpFsOperationsTLSMixin.test_dele _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________ TestFtpFsOperationsTLSMixin.test_invalid_mfmt_timeval _____________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpFsOperationsTLSMixin.test_mdtm _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpFsOperationsTLSMixin.test_mfmt _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________ TestFtpFsOperationsTLSMixin.test_missing_mfmt_timeval_arg ___________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpFsOperationsTLSMixin.test_mkd _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpFsOperationsTLSMixin.test_pwd _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpFsOperationsTLSMixin.test_rmd _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpFsOperationsTLSMixin.test_rnfr_rnto __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpFsOperationsTLSMixin.test_site_chmod __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpFsOperationsTLSMixin.test_size _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpStoreDataTLSMixin.test_appe ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpStoreDataTLSMixin.test_appe_rest ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ TestFtpStoreDataTLSMixin.test_failing_rest_on_stor ______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ TestFtpStoreDataTLSMixin.test_quit_during_transfer ______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpStoreDataTLSMixin.test_rest_on_stor __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpStoreDataTLSMixin.test_stor ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpStoreDataTLSMixin.test_stor_active ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpStoreDataTLSMixin.test_stor_ascii ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpStoreDataTLSMixin.test_stor_ascii_2 __________________ pyftpdlib/test/test_functional.py:777: in tearDown self.server.stop() pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpStoreDataTLSMixin.test_stor_empty_file _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpStoreDataTLSMixin.test_stou_orphaned_file _______________ self = def test_stou_orphaned_file(self): # Check that no orphaned file gets left behind when STOU fails. # Even if STOU fails the file is first created and then erased. # Since we can't know the name of the file the best way that # we have to test this case is comparing the content of the # directory before and after STOU has been issued. # Assuming that testfn is supposed to be a "reserved" file # name we shouldn't get false positives. # login as a limited user in order to make STOU fail self.client.login('anonymous', '@nopasswd') before = os.listdir(HOME) with pytest.raises(ftplib.error_perm): > self.client.sendcmd('stou ' + self.testfn) pyftpdlib/test/test_functional.py:929: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/ftplib.py:281: in sendcmd return self.getresp() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def getresp(self): resp = self.getmultiline() if self.debugging: print('*resp*', self.sanitize(resp)) self.lastresp = resp[:3] c = resp[:1] if c in {'1', '2', '3'}: return resp if c == '4': > raise error_temp(resp) E ftplib.error_temp: 450 No usable unique file name found. /usr/lib/python3.12/ftplib.py:252: error_temp ___________________ TestFtpStoreDataTLSMixin.test_stou_rest ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpRetrieveDataTLSMixin.test_restore_on_retr _______________ pyftpdlib/test/test_functional.py:1098: in tearDown self.server.stop() pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpRetrieveDataTLSMixin.test_retr _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpRetrieveDataTLSMixin.test_retr_ascii __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________ TestFtpRetrieveDataTLSMixin.test_retr_ascii_already_crlf ___________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpRetrieveDataTLSMixin.test_retr_empty_file _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpListingCmdsTLSMixin.test_list _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpListingCmdsTLSMixin.test_mlsd _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpListingCmdsTLSMixin.test_mlsd_all_facts ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpListingCmdsTLSMixin.test_mlst _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpListingCmdsTLSMixin.test_nlst _____________________ pyftpdlib/test/test_functional.py:1222: in tearDown self.server.stop() pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpListingCmdsTLSMixin.test_stat _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________ TestFtpListingCmdsTLSMixin.test_unforeseen_time_event _____________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpAbortTLSMixin.test_abor_during_transfer ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpAbortTLSMixin.test_abor_no_data ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpAbortTLSMixin.test_abor_pasv ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpAbortTLSMixin.test_abor_port ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTimeoutsTLSMixin.test_data_timeout ____________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestTimeoutsTLSMixin.test_disabled_data_timeout ________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestTimeoutsTLSMixin.test_disabled_idle_timeout ________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestTimeoutsTLSMixin.test_disabled_pasv_timeout ________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestTimeoutsTLSMixin.test_disabled_port_timeout ________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestTimeoutsTLSMixin.test_idle_data_timeout1 _________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestTimeoutsTLSMixin.test_idle_data_timeout2 _________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTimeoutsTLSMixin.test_pasv_timeout ____________________ self = def tearDown(self): if self.client is not None and self.server is not None: close_client(self.client) self.server.handler.timeout = 300 self.server.handler.dtp_handler.timeout = 300 self.server.handler.passive_dtp.timeout = 30 self.server.handler.active_dtp.timeout = 30 > self.server.stop() pyftpdlib/test/test_functional.py:1567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestConfigurableOptionsTLSMixin.test_banner __________________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________ TestConfigurableOptionsTLSMixin.test_masquerade_address ____________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________ TestConfigurableOptionsTLSMixin.test_masquerade_address_map __________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________ TestConfigurableOptionsTLSMixin.test_max_connections _____________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________ TestConfigurableOptionsTLSMixin.test_max_connections_per_ip __________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________ TestConfigurableOptionsTLSMixin.test_max_login_attempts ____________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ TestConfigurableOptionsTLSMixin.test_passive_ports ______________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________ TestConfigurableOptionsTLSMixin.test_passive_ports_busy ____________ self = def tearDown(self): if self.client is not None: close_client(self.client) # set back options to their original value if self.server is not None: self.server.server.max_cons = 0 self.server.server.max_cons_per_ip = 0 self.server.handler.banner = "pyftpdlib ready." self.server.handler.max_login_attempts = 3 self.server.handler.auth_failed_timeout = 5 self.server.handler.masquerade_address = None self.server.handler.masquerade_address_map = {} self.server.handler.permit_privileged_ports = False self.server.handler.permit_foreign_addresses = False self.server.handler.passive_ports = None self.server.handler.use_gmt_times = True self.server.handler.tcp_no_delay = hasattr(socket, 'TCP_NODELAY') > self.server.stop() pyftpdlib/test/test_functional.py:1730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ TestConfigurableOptionsTLSMixin.test_use_gmt_times ______________ self = @retry_on_failure() def test_use_gmt_times(self): testfn = self.get_testfn() touch(testfn) # use GMT time self.server = self.server_class() self.server.handler.use_gmt_times = True self.server.start() self.connect() gmt1 = self.client.sendcmd('mdtm ' + testfn) gmt2 = self.client.sendcmd('mlst ' + testfn) gmt3 = self.client.sendcmd('stat ' + testfn) # use local time > self.tearDown() pyftpdlib/test/test_functional.py:1916: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/test_functional.py:1730: in tearDown self.server.stop() pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestIPv4EnvironmentTLSMixin.test_eprt _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestIPv4EnvironmentTLSMixin.test_eprt_v4 ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestIPv4EnvironmentTLSMixin.test_epsv _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestIPv4EnvironmentTLSMixin.test_epsv_all ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestIPv4EnvironmentTLSMixin.test_pasv_v4 ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestIPv4EnvironmentTLSMixin.test_port_v4 ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestIPv6EnvironmentTLSMixin.test_eprt _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestIPv6EnvironmentTLSMixin.test_eprt_v6 ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestIPv6EnvironmentTLSMixin.test_epsv _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestIPv6EnvironmentTLSMixin.test_epsv_all ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestIPv6EnvironmentTLSMixin.test_pasv_v6 ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestIPv6EnvironmentTLSMixin.test_port_v6 ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestCornerCasesTLSMixin.test_active_conn_error ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestCornerCasesTLSMixin.test_error_on_callback ________________ self = def test_error_on_callback(self): # test that the server do not crash in case an error occurs # while firing a scheduled function > self.tearDown() pyftpdlib/test/test_functional.py:2492: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/test_functional.py:2434: in tearDown self.server.stop() pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestCornerCasesTLSMixin.test_ioloop_fileno __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestCornerCasesTLSMixin.test_port_race_condition _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestCornerCasesTLSMixin.test_quick_connect __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestCornerCasesTLSMixin.test_repr _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestCornerCasesTLSMixin.test_sendfile _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestCornerCasesTLSMixin.test_sendfile_enabled _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________________ TestFTPS.test_auth ______________________________ self = def tearDown(self): if self.client is not None: self.client.ssl_version = ssl.PROTOCOL_SSLv23 close_client(self.client) if self.server is not None: self.server.handler.ssl_protocol = ssl.PROTOCOL_SSLv23 self.server.handler.tls_control_required = False self.server.handler.tls_data_required = False > self.server.stop() pyftpdlib/test/test_functional_ssl.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________________ TestFTPS.test_feat ______________________________ self = def tearDown(self): if self.client is not None: self.client.ssl_version = ssl.PROTOCOL_SSLv23 close_client(self.client) if self.server is not None: self.server.handler.ssl_protocol = ssl.PROTOCOL_SSLv23 self.server.handler.tls_control_required = False self.server.handler.tls_data_required = False > self.server.stop() pyftpdlib/test/test_functional_ssl.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________________ TestFTPS.test_pbsz ______________________________ self = def tearDown(self): if self.client is not None: self.client.ssl_version = ssl.PROTOCOL_SSLv23 close_client(self.client) if self.server is not None: self.server.handler.ssl_protocol = ssl.PROTOCOL_SSLv23 self.server.handler.tls_control_required = False self.server.handler.tls_data_required = False > self.server.stop() pyftpdlib/test/test_functional_ssl.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________________ TestFTPS.test_prot ______________________________ self = def tearDown(self): if self.client is not None: self.client.ssl_version = ssl.PROTOCOL_SSLv23 close_client(self.client) if self.server is not None: self.server.handler.ssl_protocol = ssl.PROTOCOL_SSLv23 self.server.handler.tls_control_required = False self.server.handler.tls_data_required = False > self.server.stop() pyftpdlib/test/test_functional_ssl.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFTPS.test_tls_control_required ______________________ self = def tearDown(self): if self.client is not None: self.client.ssl_version = ssl.PROTOCOL_SSLv23 close_client(self.client) if self.server is not None: self.server.handler.ssl_protocol = ssl.PROTOCOL_SSLv23 self.server.handler.tls_control_required = False self.server.handler.tls_data_required = False > self.server.stop() pyftpdlib/test/test_functional_ssl.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFTPS.test_tls_data_required ________________________ self = def tearDown(self): if self.client is not None: self.client.ssl_version = ssl.PROTOCOL_SSLv23 close_client(self.client) if self.server is not None: self.server.handler.ssl_protocol = ssl.PROTOCOL_SSLv23 self.server.handler.tls_control_required = False self.server.handler.tls_data_required = False > self.server.stop() pyftpdlib/test/test_functional_ssl.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFTPS.test_unforseen_ssl_shutdown _____________________ self = def tearDown(self): if self.client is not None: self.client.ssl_version = ssl.PROTOCOL_SSLv23 close_client(self.client) if self.server is not None: self.server.handler.ssl_protocol = ssl.PROTOCOL_SSLv23 self.server.handler.tls_control_required = False self.server.handler.tls_data_required = False > self.server.stop() pyftpdlib/test/test_functional_ssl.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestCornerCases.test_active_conn_error ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestCornerCases.test_error_on_callback ____________________ self = def test_error_on_callback(self): # test that the server do not crash in case an error occurs # while firing a scheduled function > self.tearDown() pyftpdlib/test/test_functional.py:2492: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/test_functional.py:2434: in tearDown self.server.stop() pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestCornerCases.test_ioloop_fileno ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestCornerCases.test_port_race_condition ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestCornerCases.test_quick_connect ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestCornerCases.test_repr ___________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestCornerCases.test_sendfile _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestCornerCases.test_sendfile_enabled _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpAbort.test_abor_during_transfer ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpAbort.test_abor_no_data ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpAbort.test_abor_pasv __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpAbort.test_abor_port __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpAbort.test_oob_abor __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpAuthentication.test_anon_auth _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpAuthentication.test_auth_failed ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpAuthentication.test_auth_ok ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpAuthentication.test_max_auth ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpAuthentication.test_rein ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpAuthentication.test_rein_during_transfer ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpAuthentication.test_user ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpAuthentication.test_user_during_transfer ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpAuthentication.test_wrong_cmds_order __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpCmdsSemantic.test_arg_cmds _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpCmdsSemantic.test_auth_cmds ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpCmdsSemantic.test_no_arg_cmds _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpCmdsSemantic.test_no_auth_cmds _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_allo __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_feat __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_help __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_mode __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_noop __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpDummyCmds.test_opts_feat ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_quit __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_rest __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_site __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpDummyCmds.test_site_help ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_stru __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_syst __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpDummyCmds.test_type __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpFsOperations.test_cdup _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpFsOperations.test_cwd _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpFsOperations.test_dele _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpFsOperations.test_invalid_mfmt_timeval _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpFsOperations.test_mdtm _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpFsOperations.test_mfmt _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ TestFtpFsOperations.test_missing_mfmt_timeval_arg _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpFsOperations.test_mkd _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpFsOperations.test_pwd _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpFsOperations.test_rmd _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpFsOperations.test_rnfr_rnto ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpFsOperations.test_site_chmod ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpFsOperations.test_size _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpListingCmds.test_list _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpListingCmds.test_mlsd _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpListingCmds.test_mlsd_all_facts ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpListingCmds.test_mlst _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpListingCmds.test_nlst _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________________ TestFtpListingCmds.test_stat _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpListingCmds.test_unforeseen_time_event _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpRetrieveData.test_restore_on_retr ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestFtpRetrieveData.test_retr _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestFtpRetrieveData.test_retr_ascii ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpRetrieveData.test_retr_ascii_already_crlf _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpRetrieveData.test_retr_empty_file ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpStoreData.test_appe __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpStoreData.test_appe_rest ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpStoreData.test_failing_rest_on_stor __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpStoreData.test_quit_during_transfer __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpStoreData.test_rest_on_stor ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpStoreData.test_stor __________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpStoreData.test_stor_active _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestFtpStoreData.test_stor_ascii _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestFtpStoreData.test_stor_ascii_2 ______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpStoreData.test_stor_empty_file _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________________ TestFtpStoreData.test_stou __________________________ self = def test_stou(self): data = b'abcde12345' * 100000 self.dummy_sendfile.write(data) self.dummy_sendfile.seek(0) self.client.voidcmd('TYPE I') # filename comes in as "1xx FILE: " > filename = self.client.sendcmd('stou').split('FILE: ')[1] pyftpdlib/test/test_functional.py:878: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/ftplib.py:281: in sendcmd return self.getresp() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def getresp(self): resp = self.getmultiline() if self.debugging: print('*resp*', self.sanitize(resp)) self.lastresp = resp[:3] c = resp[:1] if c in {'1', '2', '3'}: return resp if c == '4': > raise error_temp(resp) E ftplib.error_temp: 450 No usable unique file name found. /usr/lib/python3.12/ftplib.py:252: error_temp ___________________ TestFtpStoreData.test_stou_orphaned_file ___________________ self = def test_stou_orphaned_file(self): # Check that no orphaned file gets left behind when STOU fails. # Even if STOU fails the file is first created and then erased. # Since we can't know the name of the file the best way that # we have to test this case is comparing the content of the # directory before and after STOU has been issued. # Assuming that testfn is supposed to be a "reserved" file # name we shouldn't get false positives. # login as a limited user in order to make STOU fail self.client.login('anonymous', '@nopasswd') before = os.listdir(HOME) with pytest.raises(ftplib.error_perm): > self.client.sendcmd('stou ' + self.testfn) pyftpdlib/test/test_functional.py:929: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/ftplib.py:281: in sendcmd return self.getresp() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def getresp(self): resp = self.getmultiline() if self.debugging: print('*resp*', self.sanitize(resp)) self.lastresp = resp[:3] c = resp[:1] if c in {'1', '2', '3'}: return resp if c == '4': > raise error_temp(resp) E ftplib.error_temp: 450 No usable unique file name found. /usr/lib/python3.12/ftplib.py:252: error_temp _______________________ TestFtpStoreData.test_stou_rest ________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestIPv4Environment.test_eprt _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv4Environment.test_eprt_v4 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestIPv4Environment.test_epsv _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestIPv4Environment.test_epsv_all _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv4Environment.test_pasv_v4 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv4Environment.test_port_v4 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestIPv6Environment.test_eprt _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv6Environment.test_eprt_v6 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________________ TestIPv6Environment.test_epsv _________________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________________ TestIPv6Environment.test_epsv_all _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv6Environment.test_pasv_v6 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________________ TestIPv6Environment.test_port_v6 _______________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:514: in stop assert_free_resources() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = None def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFTPServer.test_sock_instead_of_addr ____________________ self = def tearDown(self): if self.client is not None: close_client(self.client) if self.server is not None: > self.server.stop() pyftpdlib/test/test_servers.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpAuthenticationThreadMixin.test_anon_auth ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ TestFtpAuthenticationThreadMixin.test_auth_failed _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpAuthenticationThreadMixin.test_auth_ok _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpAuthenticationThreadMixin.test_max_auth ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpAuthenticationThreadMixin.test_rein __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________ TestFtpAuthenticationThreadMixin.test_rein_during_transfer __________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpAuthenticationThreadMixin.test_user __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________ TestFtpAuthenticationThreadMixin.test_user_during_transfer __________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________ TestFtpAuthenticationThreadMixin.test_wrong_cmds_order ____________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsThreadMixin.test_allo ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsThreadMixin.test_feat ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsThreadMixin.test_help ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsThreadMixin.test_mode ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsThreadMixin.test_noop ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestTFtpDummyCmdsThreadMixin.test_opts_feat __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsThreadMixin.test_quit ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsThreadMixin.test_rest ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsThreadMixin.test_site ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestTFtpDummyCmdsThreadMixin.test_site_help __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsThreadMixin.test_stru ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsThreadMixin.test_syst ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsThreadMixin.test_type ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpCmdsSemanticThreadMixin.test_arg_cmds _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpCmdsSemanticThreadMixin.test_auth_cmds _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpCmdsSemanticThreadMixin.test_no_arg_cmds ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpCmdsSemanticThreadMixin.test_no_auth_cmds _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpFsOperationsThreadMixin.test_cdup ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpFsOperationsThreadMixin.test_cwd ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpFsOperationsThreadMixin.test_dele ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________ TestFtpFsOperationsThreadMixin.test_invalid_mfmt_timeval ___________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpFsOperationsThreadMixin.test_mdtm ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpFsOperationsThreadMixin.test_mfmt ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________ TestFtpFsOperationsThreadMixin.test_missing_mfmt_timeval_arg _________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpFsOperationsThreadMixin.test_mkd ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpFsOperationsThreadMixin.test_pwd ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpFsOperationsThreadMixin.test_rmd ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpFsOperationsThreadMixin.test_rnfr_rnto _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpFsOperationsThreadMixin.test_site_chmod ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpFsOperationsThreadMixin.test_size ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpStoreDataThreadMixin.test_appe _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpStoreDataThreadMixin.test_appe_rest __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________ TestFtpStoreDataThreadMixin.test_failing_rest_on_stor _____________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________ TestFtpStoreDataThreadMixin.test_quit_during_transfer _____________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpStoreDataThreadMixin.test_rest_on_stor _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpStoreDataThreadMixin.test_stor _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpStoreDataThreadMixin.test_stor_active _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpStoreDataThreadMixin.test_stor_ascii __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpStoreDataThreadMixin.test_stor_ascii_2 _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpStoreDataThreadMixin.test_stor_empty_file _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpStoreDataThreadMixin.test_stou _____________________ self = def test_stou(self): data = b'abcde12345' * 100000 self.dummy_sendfile.write(data) self.dummy_sendfile.seek(0) self.client.voidcmd('TYPE I') # filename comes in as "1xx FILE: " > filename = self.client.sendcmd('stou').split('FILE: ')[1] pyftpdlib/test/test_functional.py:878: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/ftplib.py:281: in sendcmd return self.getresp() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def getresp(self): resp = self.getmultiline() if self.debugging: print('*resp*', self.sanitize(resp)) self.lastresp = resp[:3] c = resp[:1] if c in {'1', '2', '3'}: return resp if c == '4': > raise error_temp(resp) E ftplib.error_temp: 450 No usable unique file name found. /usr/lib/python3.12/ftplib.py:252: error_temp _____________ TestFtpStoreDataThreadMixin.test_stou_orphaned_file ______________ self = def test_stou_orphaned_file(self): # Check that no orphaned file gets left behind when STOU fails. # Even if STOU fails the file is first created and then erased. # Since we can't know the name of the file the best way that # we have to test this case is comparing the content of the # directory before and after STOU has been issued. # Assuming that testfn is supposed to be a "reserved" file # name we shouldn't get false positives. # login as a limited user in order to make STOU fail self.client.login('anonymous', '@nopasswd') before = os.listdir(HOME) with pytest.raises(ftplib.error_perm): > self.client.sendcmd('stou ' + self.testfn) pyftpdlib/test/test_functional.py:929: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/ftplib.py:281: in sendcmd return self.getresp() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def getresp(self): resp = self.getmultiline() if self.debugging: print('*resp*', self.sanitize(resp)) self.lastresp = resp[:3] c = resp[:1] if c in {'1', '2', '3'}: return resp if c == '4': > raise error_temp(resp) E ftplib.error_temp: 450 No usable unique file name found. /usr/lib/python3.12/ftplib.py:252: error_temp __________________ TestFtpStoreDataThreadMixin.test_stou_rest __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:777: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________ TestFtpRetrieveDataThreadMixin.test_restore_on_retr ______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpRetrieveDataThreadMixin.test_retr ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpRetrieveDataThreadMixin.test_retr_ascii ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________ TestFtpRetrieveDataThreadMixin.test_retr_ascii_already_crlf __________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________ TestFtpRetrieveDataThreadMixin.test_retr_empty_file ______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpListingCmdsThreadMixin.test_list ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpListingCmdsThreadMixin.test_mlsd ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ TestFtpListingCmdsThreadMixin.test_mlsd_all_facts _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpListingCmdsThreadMixin.test_mlst ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpListingCmdsThreadMixin.test_nlst ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestFtpListingCmdsThreadMixin.test_stat ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________ TestFtpListingCmdsThreadMixin.test_unforeseen_time_event ___________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ TestFtpAbortThreadMixin.test_abor_during_transfer _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpAbortThreadMixin.test_abor_no_data ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpAbortThreadMixin.test_abor_pasv ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpAbortThreadMixin.test_abor_port ____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestFtpAbortThreadMixin.test_oob_abor _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:1385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestIPv4EnvironmentThreadMixin.test_eprt ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestIPv4EnvironmentThreadMixin.test_eprt_v4 __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestIPv4EnvironmentThreadMixin.test_epsv ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestIPv4EnvironmentThreadMixin.test_epsv_all _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestIPv4EnvironmentThreadMixin.test_pasv_v4 __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestIPv4EnvironmentThreadMixin.test_port_v4 __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestIPv6EnvironmentThreadMixin.test_eprt ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestIPv6EnvironmentThreadMixin.test_eprt_v6 __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestIPv6EnvironmentThreadMixin.test_epsv ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestIPv6EnvironmentThreadMixin.test_epsv_all _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestIPv6EnvironmentThreadMixin.test_pasv_v6 __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestIPv6EnvironmentThreadMixin.test_port_v6 __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ TestCornerCasesThreadMixin.test_active_conn_error _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ______________ TestCornerCasesThreadMixin.test_error_on_callback _______________ self = def test_error_on_callback(self): # test that the server do not crash in case an error occurs # while firing a scheduled function > self.tearDown() pyftpdlib/test/test_functional.py:2492: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/test_functional.py:2434: in tearDown self.server.stop() pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestCornerCasesThreadMixin.test_ioloop_fileno _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________ TestCornerCasesThreadMixin.test_port_race_condition ______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestCornerCasesThreadMixin.test_quick_connect _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _____________________ TestCornerCasesThreadMixin.test_repr _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ___________________ TestCornerCasesThreadMixin.test_sendfile ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestCornerCasesThreadMixin.test_sendfile_enabled _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:2434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpAuthenticationMProcMixin.test_anon_auth ________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _______________ TestFtpAuthenticationMProcMixin.test_auth_failed _______________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpAuthenticationMProcMixin.test_auth_ok _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ________________ TestFtpAuthenticationMProcMixin.test_max_auth _________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpAuthenticationMProcMixin.test_rein ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________ TestFtpAuthenticationMProcMixin.test_rein_during_transfer ___________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestFtpAuthenticationMProcMixin.test_user ___________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________ TestFtpAuthenticationMProcMixin.test_user_during_transfer ___________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________ TestFtpAuthenticationMProcMixin.test_wrong_cmds_order _____________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsMProcMixin.test_allo _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsMProcMixin.test_feat _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsMProcMixin.test_help _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsMProcMixin.test_mode _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsMProcMixin.test_noop _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestTFtpDummyCmdsMProcMixin.test_opts_feat __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsMProcMixin.test_quit _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsMProcMixin.test_rest _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsMProcMixin.test_site _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError __________________ TestTFtpDummyCmdsMProcMixin.test_site_help __________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsMProcMixin.test_stru _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsMProcMixin.test_syst _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError ____________________ TestTFtpDummyCmdsMProcMixin.test_type _____________________ self = def tearDown(self): close_client(self.client) > self.server.stop() pyftpdlib/test/test_functional.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/__init__.py:484: in stop assert_free_resources(self.parent_pid) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ parent_pid = 2493 def assert_free_resources(parent_pid=None): # check orphaned threads ts = threading.enumerate() assert len(ts) == 1, ts # check orphaned process children this_proc = psutil.Process(parent_pid or os.getpid()) children = this_proc.children() if children: warnings.warn( "some children didn't terminate %r" % str(children), UserWarning, stacklevel=2, ) for child in children: try: child.kill() child.wait(GLOBAL_TIMEOUT) except psutil.NoSuchProcess: pass # check unclosed connections if POSIX: cons = [ x > for x in this_proc.net_connections('tcp') if x.status != psutil.CONN_CLOSE_WAIT ] E AttributeError: 'Process' object has no attribute 'net_connections'. Did you mean: 'connections'? pyftpdlib/test/__init__.py:382: AttributeError _________________ TestFtpCmdsSemanticMProcMixin.test_arg_cmds __________________ self =