Bug#960899: paramiko: autopkgtests failures

2020-05-17 Thread Gianfranco Costamagna
Source: paramiko
Version: 2.7.1-1
Severity: serious

Hello, looks like the latest paramiko version is now failing its autopkgtests.

Not sure if
a) "invoke" should be moved from recommends to depends
b) the autopkgtest needs to install recommends too
c) something else

Processing triggers for libc-bin (2.30-8) ...
(Reading database ... 13936 files and directories currently installed.)
Removing autopkgtest-satdep (0) ...
autopkgtest [19:10:54]: test upstream: [---
= test session starts ==
platform linux -- Python 3.8.3, pytest-4.6.9, py-1.8.1, pluggy-0.13.0 -- 
/usr/bin/python3
cachedir: .pytest_cache
rootdir: /tmp/autopkgtest-lxc.5uagjxdu/downtmp/build.uH0/src, inifile: setup.cfg
collecting ... collected 257 items / 1 errors / 256 selected

 ERRORS 
 ERROR collecting tests/test_config.py _
ImportError while importing test module 
'/tmp/autopkgtest-lxc.5uagjxdu/downtmp/build.uH0/src/tests/test_config.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_config.py:9: in 
from invoke import Result
E   ModuleNotFoundError: No module named 'invoke'
!!! Interrupted: 1 errors during collection 
=== 1 error in 0.59 seconds 
autopkgtest [19:10:55]: test upstream: ---]
autopkgtest [19:10:55]: test upstream:  - - - - - - - - - - results - - - - - - 
- - - -
upstream FAIL non-zero exit status 2
autopkgtest [19:10:55]:  summary

cheers,

Gianfranco



Bug#960899: paramiko: autopkgtests failures

2020-05-19 Thread Gianfranco Costamagna
Hello,
after trying approach "b"
> b) the autopkgtest needs to install recommends too

I get some new autopkgtests failures such as:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/amd64/p/paramiko/20200518_022340_86e27@/log.gz

(they are all new tests)

G.



Bug#960899: paramiko: autopkgtests failures

2020-05-21 Thread Brian Murray
I'm pretty sure its because the configs folder from usptream isn't
included in the package at all.

https://github.com/paramiko/paramiko/tree/master/tests/configs

--
Brian Murray @ubuntu.com



Bug#960899: [Python-modules-team] Bug#960899: paramiko: autopkgtests failures

2020-07-25 Thread Sandro Tosi
On Thu, May 21, 2020 at 4:36 PM Brian Murray  wrote:
>
> I'm pretty sure its because the configs folder from usptream isn't
> included in the package at all.
>
> https://github.com/paramiko/paramiko/tree/master/tests/configs

it's not (at least not the cause of _this_ failure):

tests/test_config.py:9: in 
from invoke import Result
E   ModuleNotFoundError: No module named 'invoke'
!!! Interrupted: 1 errors during collection 

is because there's a missing dependency on python3-invoke; for some
reason we dont run test at build (i'm addressing that right now) and
so we didnt notice a new dependency was introduced. autopkgtests will
be addressed by installing the updated b-d


-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi