Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #319326

Bug#1010214: paramiko breaks libcloud autopkgtest: SSHException not raised by connect

From Paul Gevers <elbrus@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1010214: paramiko breaks libcloud autopkgtest: SSHException not raised by connect
Date 2022-04-26 17:10 +0200
Message-ID <EguZb-blAM-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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-ci@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

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1010214: paramiko breaks libcloud autopkgtest: SSHException not raised by connect Paul Gevers <elbrus@debian.org> - 2022-04-26 17:10 +0200
  Processed: paramiko breaks libcloud autopkgtest: SSHException not  raised by connect "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-04-26 17:10 +0200
  Bug#1010214: 1010214 Jeroen Ploemen <jcfp@debian.org> - 2022-05-09 19:30 +0200
    Bug#1010214: paramiko breaks libcloud autopkgtest: SSHException not raised by connect Håvard F. Aasen <havard.f.aasen@pfft.no> - 2022-05-14 20:20 +0200
  Bug#1010214: marked as done (paramiko breaks libcloud  autopkgtest: SSHException not raised by connect) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-05-15 12:40 +0200

csiph-web