Source: python-oslo.vmware
Version: 4.1.1-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230726 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> pkgos-dh_auto_test --no-py2 
> 'oslo_vmware\.tests\.(?!(.*test_service\.MemoryCacheTest\.test_shared_cache.*|.*test_exceptions\.ExceptionsTest\.test_vim_fault_exception_with_cause_and_details.*|.*test_exceptions\.ExceptionsTest\.test_vim_fault_exception.*))'
> + PKGOS_TEST_PARALLEL=yes
> + PKGOS_TEST_SERIAL=no
> + PYTHONS=disabled
> + PYTHON3S=disabled
> + TEST_PARALLEL_OPT=--parallel
> + TEST_SERIAL_OPT=
> + echo WARNING: --no-py2 is deprecated, and always on.
> WARNING: --no-py2 is deprecated, and always on.
> + shift
> + py3versions -vr
> + PYTHON3S=3.11
> + [ yes = no ]
> + [ no = yes ]
> + [ 3.11 = disabled ]
> + echo 3.11
> + cut -d. -f1
> + PYMAJOR=3
> + echo ===> Testing with python (python3)
> ===> Testing with python (python3)
> + pwd
> + [ -d /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages ]
> + [ -e .stestr.conf ]
> + [ -x /usr/bin/python3-stestr ]
> + STESTR=stestr
> + rm -rf .stestr
> + PYTHON=python3.11 stestr run --parallel --subunit 
> oslo_vmware\.tests\.(?!(.*test_service\.MemoryCacheTest\.test_shared_cache.*|.*test_exceptions\.ExceptionsTest\.test_vim_fault_exception_with_cause_and_details.*|.*test_exceptions\.ExceptionsTest\.test_vim_fault_exception.*))
> + subunit2pyunit
> 
> =========================
> Failures during discovery
> =========================
> --- import errors ---
> Failed to import test module: oslo_vmware.tests.test_api
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 407, in _find_test_path
>     module = self._get_module_from_name(name)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/loader.py", line 350, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/oslo_vmware/tests/test_api.py", line 22, in <module>
>     from eventlet import greenthread
>   File "/usr/lib/python3/dist-packages/eventlet/__init__.py", line 17, in 
> <module>
>     from eventlet import convenience
>   File "/usr/lib/python3/dist-packages/eventlet/convenience.py", line 7, in 
> <module>
>     from eventlet.green import socket
>   File "/usr/lib/python3/dist-packages/eventlet/green/socket.py", line 21, in 
> <module>
>     from eventlet.support import greendns
>   File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 
> 79, in <module>
>     setattr(dns, pkg, import_patched('dns.' + pkg))
>                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 
> 61, in import_patched
>     return patcher.import_patched(module_name, **modules)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/eventlet/patcher.py", line 132, in 
> import_patched
>     return inject(
>            ^^^^^^^
>   File "/usr/lib/python3/dist-packages/eventlet/patcher.py", line 109, in 
> inject
>     module = __import__(module_name, {}, {}, module_name.split('.')[:-1])
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/dns/dnssecalgs/__init__.py", line 5, 
> in <module>
>     from dns.dnssecalgs.dsa import PrivateDSA, PrivateDSANSEC3SHA1
>   File "/usr/lib/python3/dist-packages/dns/dnssecalgs/dsa.py", line 3, in 
> <module>
>     from cryptography.hazmat.backends import default_backend
> ModuleNotFoundError: No module named 'cryptography'
> 
> Failed to import test module: oslo_vmware.tests.test_image_transfer
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 407, in _find_test_path
>     module = self._get_module_from_name(name)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/loader.py", line 350, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/oslo_vmware/tests/test_image_transfer.py", line 22, 
> in <module>
>     from oslo_vmware import image_transfer
>   File "/<<PKGBUILDDIR>>/oslo_vmware/image_transfer.py", line 23, in <module>
>     from eventlet import timeout
>   File "/usr/lib/python3/dist-packages/eventlet/__init__.py", line 17, in 
> <module>
>     from eventlet import convenience
>   File "/usr/lib/python3/dist-packages/eventlet/convenience.py", line 7, in 
> <module>
>     from eventlet.green import socket
>   File "/usr/lib/python3/dist-packages/eventlet/green/socket.py", line 21, in 
> <module>
>     from eventlet.support import greendns
>   File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 
> 79, in <module>
>     setattr(dns, pkg, import_patched('dns.' + pkg))
>                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 
> 61, in import_patched
>     return patcher.import_patched(module_name, **modules)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/eventlet/patcher.py", line 132, in 
> import_patched
>     return inject(
>            ^^^^^^^
>   File "/usr/lib/python3/dist-packages/eventlet/patcher.py", line 109, in 
> inject
>     module = __import__(module_name, {}, {}, module_name.split('.')[:-1])
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/dns/dnssecalgs/__init__.py", line 5, 
> in <module>
>     from dns.dnssecalgs.dsa import PrivateDSA, PrivateDSANSEC3SHA1
>   File "/usr/lib/python3/dist-packages/dns/dnssecalgs/dsa.py", line 3, in 
> <module>
>     from cryptography.hazmat.backends import default_backend
> ModuleNotFoundError: No module named 'cryptography'
> 
> ================================================================================
> The above traceback was encountered during test discovery which imports all 
> the found test modules in the specified test_path.
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.948s
> 
> OK
> + stestr slowest
> make[1]: *** [debian/rules:21: override_dh_auto_test] Error 3


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/python-oslo.vmware_4.1.1-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to