Source: paramiko, libcloud
Control: found -1 paramiko/2.10.3-1
Control: found -1 libcloud/3.4.1-2
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of paramiko the autopkgtest of libcloud fails in testing when that autopkgtest is run with the binary packages of paramiko from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
paramiko               from testing    2.10.3-1
libcloud               from testing    3.4.1-2
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of paramiko to testing [1]. Due to the nature of this issue, I filed this bug report against both packages. Can you please investigate the situation and reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=paramiko

https://ci.debian.net/data/autopkgtest/testing/amd64/libc/libcloud/21182944/log.gz


=================================== FAILURES =================================== __________ ParamikoSSHClientTests.test_key_file_non_pem_format_error ___________

self = <test.compute.test_ssh_client.ParamikoSSHClientTests testMethod=test_key_file_non_pem_format_error>

    @patch('paramiko.SSHClient', Mock)
    @unittest.skipIf(paramiko_version >= '2.7.0',
                     'New versions of paramiko support OPENSSH key format')
    def test_key_file_non_pem_format_error(self):
        path = os.path.join(os.path.dirname(__file__),
                            'fixtures', 'misc',
                            'test_rsa_non_pem_format.key')
            # Supplied as key_material
        with open(path, 'r') as fp:
            private_key = fp.read()
            conn_params = {'hostname': 'dummy.host.org',
                       'username': 'ubuntu',
                       'key_material': private_key}
            mock = ParamikoSSHClient(**conn_params)
            expected_msg = 'Invalid or unsupported key type'
      assertRaisesRegex(self, paramiko.ssh_exception.SSHException,
                          expected_msg, mock.connect)

test/compute/test_ssh_client.py:167: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/libcloud/utils/py3.py:145: in assertRaisesRegex
    return getattr(self, 'assertRaisesRegex')(*args, **kwargs)
E   AssertionError: SSHException not raised by connect
------------------------------ Captured log call -------------------------------
DEBUG    libcloud.compute.ssh:ssh.py:365 Connecting to server

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

  • Bug#1010214: paramiko breaks libcloud autopkgtest: SSHExcep... Paul Gevers

Reply via email to