running pytest running egg_info creating paramiko.egg-info writing paramiko.egg-info/PKG-INFO writing dependency_links to paramiko.egg-info/dependency_links.txt writing requirements to paramiko.egg-info/requires.txt writing top-level names to paramiko.egg-info/top_level.txt writing manifest file 'paramiko.egg-info/SOURCES.txt' reading manifest file 'paramiko.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*' under directory 'docs' adding license file 'LICENSE' writing manifest file 'paramiko.egg-info/SOURCES.txt' running build_ext ============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 rootdir: /build/python-paramiko/src/paramiko-2.9.2, configfile: pytest.ini collected 405 items tests/test_agent.py ... [ 0%] tests/test_auth.py ......... [ 2%] tests/test_buffered_pipe.py .... [ 3%] tests/test_channelfile.py ........... [ 6%] tests/test_client.py ..ss..............s........s....... [ 15%] tests/test_config.py ................................................... [ 27%] s........ssssss.................................................. [ 43%] tests/test_file.py ............s... [ 47%] tests/test_gssapi.py sss [ 48%] tests/test_hostkeys.py ...... [ 50%] tests/test_kex.py .................. [ 54%] tests/test_kex_gss.py ss [ 55%] tests/test_message.py .... [ 56%] tests/test_packetizer.py ... [ 56%] tests/test_pkey.py .......s...................................... [ 68%] tests/test_proxy.py ........... [ 70%] tests/test_sftp.py ................................s...s. [ 80%] tests/test_sftp_big.py .......... [ 82%] tests/test_ssh_exception.py ......... [ 84%] tests/test_ssh_gss.py ss [ 85%] tests/test_transport.py ..s............................................. [ 97%] ..... [ 98%] tests/test_util.py ...... [100%][67203.4842967987] DEBUG:paramiko.transport:EOF in transport thread [67217.66066551208] DEBUG:paramiko.transport:EOF in transport thread [67230.0477027893] DEBUG:paramiko.transport:EOF in transport thread [67240.3290271759] DEBUG:paramiko.transport:EOF in transport thread [67255.64789772034] DEBUG:paramiko.transport:EOF in transport thread [67255.74898719788] DEBUG:paramiko.transport:EOF in transport thread [67255.83219528198] DEBUG:paramiko.transport:EOF in transport thread [67274.60074424744] DEBUG:paramiko.transport:EOF in transport thread --- Logging error --- Traceback (most recent call last): File "/build/python-paramiko/src/paramiko-2.9.2/paramiko/transport.py", line 2109, in run ptype, m = self.packetizer.read_message() File "/build/python-paramiko/src/paramiko-2.9.2/paramiko/packet.py", line 459, in read_message header = self.read_all(self.__block_size_in, check_rekey=True) File "/build/python-paramiko/src/paramiko-2.9.2/paramiko/packet.py", line 324, in read_all raise EOFError() EOFError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/logging/__init__.py", line 1101, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/python3.10/threading.py", line 966, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1009, in _bootstrap_inner self.run() File "/build/python-paramiko/src/paramiko-2.9.2/paramiko/transport.py", line 2192, in run self._log(DEBUG, "EOF in transport thread") File "/build/python-paramiko/src/paramiko-2.9.2/paramiko/transport.py", line 1873, in _log self.logger.log(level, msg, *args) Message: 'EOF in transport thread' Arguments: () --- Logging error --- Traceback (most recent call last): File "/build/python-paramiko/src/paramiko-2.9.2/paramiko/transport.py", line 2109, in run ptype, m = self.packetizer.read_message() File "/build/python-paramiko/src/paramiko-2.9.2/paramiko/packet.py", line 459, in read_message header = self.read_all(self.__block_size_in, check_rekey=True) File "/build/python-paramiko/src/paramiko-2.9.2/paramiko/packet.py", line 324, in read_all raise EOFError() EOFError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/logging/__init__.py", line 1101, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/python3.10/threading.py", line 966, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1009, in _bootstrap_inner self.run() File "/build/python-paramiko/src/paramiko-2.9.2/paramiko/transport.py", line 2192, in run self._log(DEBUG, "EOF in transport thread") File "/build/python-paramiko/src/paramiko-2.9.2/paramiko/transport.py", line 1873, in _log self.logger.log(level, msg, *args) Message: 'EOF in transport thread' Arguments: () =============================== warnings summary =============================== ../../../../usr/lib/python3.10/site-packages/invoke/loader.py:3 /usr/lib/python3.10/site-packages/invoke/loader.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp ../../../../usr/lib/python3.10/site-packages/_pytest/config/__init__.py:1233 /usr/lib/python3.10/site-packages/_pytest/config/__init__.py:1233: PytestConfigWarning: Unknown config option: looponfailroots self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") tests/test_auth.py: 18 warnings tests/test_client.py: 70 warnings tests/test_sftp.py: 72 warnings tests/test_sftp_big.py: 20 warnings tests/test_transport.py: 115 warnings /build/python-paramiko/src/paramiko-2.9.2/paramiko/transport.py:453: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead self.setDaemon(True) tests/test_auth.py: 527 warnings tests/test_buffered_pipe.py: 14 warnings tests/test_channelfile.py: 2 warnings tests/test_client.py: 2238 warnings tests/test_config.py: 4 warnings tests/test_kex.py: 2 warnings tests/test_packetizer.py: 11 warnings tests/test_sftp.py: 3291 warnings tests/test_sftp_big.py: 12711 warnings tests/test_transport.py: 3283 warnings tests/test_util.py: 2 warnings /build/python-paramiko/src/paramiko-2.9.2/paramiko/util.py:235: DeprecationWarning: currentThread() is deprecated, use current_thread() instead tid = id(threading.currentThread()) tests/test_auth.py: 131 warnings tests/test_packetizer.py: 2 warnings tests/test_sftp.py: 2236 warnings tests/test_sftp_big.py: 23091 warnings tests/test_transport.py: 3377 warnings /build/python-paramiko/src/paramiko-2.9.2/tests/loop.py:84: DeprecationWarning: notifyAll() is deprecated, use notify_all() instead self.__cv.notifyAll() tests/test_buffered_pipe.py: 4 warnings tests/test_client.py: 42 warnings tests/test_sftp.py: 1580 warnings tests/test_sftp_big.py: 22746 warnings tests/test_transport.py: 1090 warnings /build/python-paramiko/src/paramiko-2.9.2/paramiko/buffered_pipe.py:104: DeprecationWarning: notifyAll() is deprecated, use notify_all() instead self._cv.notifyAll() tests/test_buffered_pipe.py: 3 warnings tests/test_client.py: 174 warnings tests/test_sftp.py: 16 warnings tests/test_transport.py: 132 warnings /build/python-paramiko/src/paramiko-2.9.2/paramiko/buffered_pipe.py:206: DeprecationWarning: notifyAll() is deprecated, use notify_all() instead self._cv.notifyAll() tests/test_channelfile.py::TestChannelStdinFile::test_defaults_to_unbuffered_reading tests/test_channelfile.py::TestChannelStdinFile::test_can_override_mode_and_bufsize /usr/lib/python3.10/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: Traceback (most recent call last): File "/build/python-paramiko/src/paramiko-2.9.2/paramiko/file.py", line 66, in __del__ self.close() File "/build/python-paramiko/src/paramiko-2.9.2/paramiko/channel.py", line 1392, in close self.channel.shutdown_write() File "/build/python-paramiko/src/paramiko-2.9.2/paramiko/channel.py", line 991, in shutdown_write self.shutdown(1) File "/build/python-paramiko/src/paramiko-2.9.2/paramiko/channel.py", line 967, in shutdown self.transport._send_user_message(m) AttributeError: 'NoneType' object has no attribute '_send_user_message' warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/test_client.py: 44 warnings tests/test_sftp.py: 4 warnings tests/test_transport.py: 42 warnings /build/python-paramiko/src/paramiko-2.9.2/paramiko/channel.py:1233: DeprecationWarning: notifyAll() is deprecated, use notify_all() instead self.out_buffer_cv.notifyAll() tests/test_client.py::SSHClientTest::test_update_environment /build/python-paramiko/src/paramiko-2.9.2/tests/test_client.py:615: DeprecationWarning: isSet() is deprecated, use is_set() instead self.assertTrue(self.event.isSet()) tests/test_sftp.py: 1 warning tests/test_sftp_big.py: 36 warnings /build/python-paramiko/src/paramiko-2.9.2/paramiko/sftp_file.py:530: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead t.setDaemon(True) tests/test_sftp.py: 36 warnings tests/test_sftp_big.py: 154 warnings tests/test_transport.py: 2 warnings /build/python-paramiko/src/paramiko-2.9.2/paramiko/channel.py:1069: DeprecationWarning: notifyAll() is deprecated, use notify_all() instead self.out_buffer_cv.notifyAll() tests/test_transport.py::TransportTest::test_rekey_deadlock /build/python-paramiko/src/paramiko-2.9.2/tests/test_transport.py:759: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead self.setDaemon(True) tests/test_transport.py::TransportTest::test_rekey_deadlock /build/python-paramiko/src/paramiko-2.9.2/tests/test_transport.py:783: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead self.setDaemon(True) -- Docs: https://docs.pytest.org/en/stable/warnings.html ========== 382 passed, 23 skipped, 77330 warnings in 66.86s (0:01:06) ==========