Source: python-pbr
Version: 5.11.1-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 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 
> 'pbr\.tests(?!.*test_packaging\.TestRequirementParsing\.test_requirement_parsing.*|.*test_core\.TestCore\.test_setup_py_keywords.*|.*test_packaging\.TestPEP517Support\.test_pep_517_support.*|.*test_wsgi\.TestWsgiScripts\.test_wsgi_script_install.*)'
> + 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.12 3.11
> + [ yes = no ]
> + [ no = yes ]
> + [ 3.12 = disabled ]
> + echo 3.12
> + 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.12 stestr run --parallel --subunit 
> pbr\.tests(?!.*test_packaging\.TestRequirementParsing\.test_requirement_parsing.*|.*test_core\.TestCore\.test_setup_py_keywords.*|.*test_packaging\.TestPEP517Support\.test_pep_517_support.*|.*test_wsgi\.TestWsgiScripts\.test_wsgi_script_install.*)
> + subunit2pyunit
> 
> =========================
> Failures during discovery
> =========================
> --- import errors ---
> Failed to import test module: pbr.tests.test_integration
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
>     module = self._get_module_from_name(name)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.12/unittest/loader.py", line 337, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/pbr/tests/test_integration.py", line 28, in <module>
>     from pbr.tests import test_packaging
>   File "/<<PKGBUILDDIR>>/pbr/tests/test_packaging.py", line 43, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> Failed to import test module: pbr.tests.test_packaging
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
>     module = self._get_module_from_name(name)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.12/unittest/loader.py", line 337, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/pbr/tests/test_packaging.py", line 43, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> ================================================================================
> 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.473s
> 
> OK
> + stestr slowest
> make[1]: *** [debian/rules:25: override_dh_auto_test] Error 3


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/python-pbr_5.11.1-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&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