[Python-modules-team] Bug#946633: libcloud autopkg tests failing

Matthias Klose doko at debian.org
Thu Dec 12 11:48:30 GMT 2019


Package: src:libcloud
Version: 2.5.0-1
Severity: serious
Tags: sid bullseye

libcloud autopkg tests failing. Missing test dependency.  Please run the autopkg
tests before uploading.

============================= test session starts ==============================
platform linux -- Python 3.7.5, pytest-3.10.1, py-1.8.0, pluggy-0.13.0
rootdir: /tmp/autopkgtest-lxc.bb1ngl0y/downtmp/build.umS/src, inifile: setup.cfg
plugins: requests-mock-1.6.0
collected 9512 items / 1 errors

==================================== ERRORS ====================================
__________ ERROR collecting libcloud/test/loadbalancer/test_nttcis.py __________
ImportError while importing test module
'/tmp/autopkgtest-lxc.bb1ngl0y/downtmp/build.umS/src/libcloud/test/loadbalancer/test_nttcis.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
libcloud/loadbalancer/drivers/nttcis.py:17: in <module>
    import OpenSSL
E   ModuleNotFoundError: No module named 'OpenSSL'

During handling of the above exception, another exception occurred:
libcloud/test/loadbalancer/test_nttcis.py:25: in <module>
    from libcloud.loadbalancer.drivers.nttcis import NttCisLBDriver
libcloud/loadbalancer/drivers/nttcis.py:20: in <module>
    raise ImportError('Missing "OpenSSL" dependency. You can install it '
E   ImportError: Missing "OpenSSL" dependency. You can install it using pip -
pip install pyopenssl
=============================== warnings summary ===============================
libcloud/test/compute/test_cloudsigma_v1_0.py:117

/tmp/autopkgtest-lxc.bb1ngl0y/downtmp/build.umS/src/libcloud/test/compute/test_cloudsigma_v1_0.py:117:
DeprecationWarning: invalid escape sequence \c
    string = 'mem 1024\ncpu 2200\n\nmem2048\cpu 1100'

libcloud/compute/drivers/vcloud.py:1691

/tmp/autopkgtest-lxc.bb1ngl0y/downtmp/build.umS/src/libcloud/compute/drivers/vcloud.py:1691:
DeprecationWarning: invalid escape sequence \-

'^(([a-zA-Z]|[a-zA-Z][a-zA-Z0-9]*)[\-])*([A-Za-z]|[A-Za-z][A-Za-z0-9]*[A-Za-z0-9])$')
 # NOQA

-- Docs: https://docs.pytest.org/en/latest/warnings.html
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
===================== 2 warnings, 1 error in 5.38 seconds ======================



More information about the Python-modules-team mailing list