Source: lift
Version: 2.6.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240702 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:311: python3.12 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:311: /usr/bin/python3 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/lift
> copying lift/localtest.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/lift
> copying lift/exception.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/lift
> copying lift/remotetest.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/lift
> copying lift/loader.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/lift
> copying lift/basetest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/lift
> copying lift/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/lift
> running build_scripts
> creating build
> creating build/scripts-3.12
> copying and adjusting bin/lift -> build/scripts-3.12
> changing mode of build/scripts-3.12/lift from 644 to 755
> I: pybuild pybuild:334: rst2man doc/lift.rst doc/lift.1 && rst2man 
> doc/lift.yaml.rst doc/lift.yaml.1
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: python3.12 setup.py test 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> creating lift.egg-info
> writing lift.egg-info/PKG-INFO
> writing dependency_links to lift.egg-info/dependency_links.txt
> writing requirements to lift.egg-info/requires.txt
> writing top-level names to lift.egg-info/top_level.txt
> writing manifest file 'lift.egg-info/SOURCES.txt'
> reading manifest file 'lift.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'COPYING'
> adding license file 'AUTHORS'
> writing manifest file 'lift.egg-info/SOURCES.txt'
> running build_ext
> /<<PKGBUILDDIR>>/lift/loader.py:154: SyntaxWarning: invalid escape sequence 
> '\-'
>   match = re.match("^define ([a-zA-Z0-9_\-\.]+)$", item)
> /<<PKGBUILDDIR>>/lift/loader.py:187: SyntaxWarning: invalid escape sequence 
> '\-'
>   match = re.match("^test ([a-zA-Z0-9_\-\.]+)$", section)
> /<<PKGBUILDDIR>>/lift/loader.py:229: SyntaxWarning: invalid escape sequence 
> '\-'
>   match = re.match("^([a-zA-Z0-9_\-\.]+) test ([a-zA-Z0-9_\-\.]+)$", section)
> test_executable (tests.test_localtest.LocalTestTestCase.test_executable)
> Test the directory switching and executable scripts ... ok
> test_run (tests.test_localtest.LocalTestTestCase.test_run)
> Test a simple run ... ok
> test_run_fail (tests.test_localtest.LocalTestTestCase.test_run_fail)
> Test if a test fail as it should ... ok
> test_run_with_environment 
> (tests.test_localtest.LocalTestTestCase.test_run_with_environment)
> Test that the environment is passed to the program ... ok
> test_timeout (tests.test_localtest.LocalTestTestCase.test_timeout)
> Test that the timeout mecanism works ... ok
> test_duplicated_test 
> (tests.test_loader.LoadConfigFileTestCase.test_duplicated_test)
> Check that a proper exception is raised ... ERROR
> test_load (tests.test_loader.LoadConfigFileTestCase.test_load)
> Check a load, without external inheritance ... ok
> test_load_remotes_in_env 
> (tests.test_loader.LoadConfigFileTestCase.test_load_remotes_in_env)
> Check a load with the option to put remotes in tests environment ... ok
> test_load_with_inheritance 
> (tests.test_loader.LoadConfigFileTestCase.test_load_with_inheritance)
> Check a load, with external inheritance ... ok
> test_no_command (tests.test_loader.LoadConfigFileTestCase.test_no_command)
> Check that a proper exception is raised ... ERROR
> test_unknown_remote 
> (tests.test_loader.LoadConfigFileTestCase.test_unknown_remote)
> Check that a proper exception is raised ... ERROR
> test_unknown_section 
> (tests.test_loader.LoadConfigFileTestCase.test_unknown_section)
> Check that a proper exception is raised ... ERROR
> test_no_upper_inheritance 
> (tests.test_loader.LoadUpperInheritanceTestCase.test_no_upper_inheritance)
> No setting should be inheritable in the top-level directory ... ok
> test_upper_inheritance 
> (tests.test_loader.LoadUpperInheritanceTestCase.test_upper_inheritance)
> Check the upper settings inheritance with 1 depth level ... ok
> test_upper_inheritance_with_preset 
> (tests.test_loader.LoadUpperInheritanceTestCase.test_upper_inheritance_with_preset)
> Check the upper settings inheritance with preset remotes ... ok
> test_upper_upper_inheritance 
> (tests.test_loader.LoadUpperInheritanceTestCase.test_upper_upper_inheritance)
> Check the upper settings inheritance with 2 depth levels ... ok
> test_from_bad_string 
> (tests.test_loader.RemoteHandlingTestCase.test_from_bad_string)
> Check that the function returns None with a non-compliant string ... ok
> test_from_string (tests.test_loader.RemoteHandlingTestCase.test_from_string)
> Check with a full string ... ok
> test_from_string_no_pass 
> (tests.test_loader.RemoteHandlingTestCase.test_from_string_no_pass)
> Check without the optional password ... ok
> test_to_string (tests.test_loader.RemoteHandlingTestCase.test_to_string)
> Check with a full remote ... ok
> test_to_string_bad_input 
> (tests.test_loader.RemoteHandlingTestCase.test_to_string_bad_input)
> Check that the function returns None with a non-compliant input ... ok
> test_to_string_no_pass 
> (tests.test_loader.RemoteHandlingTestCase.test_to_string_no_pass)
> Check without the optional password ... ok
> 
> ======================================================================
> ERROR: test_duplicated_test 
> (tests.test_loader.LoadConfigFileTestCase.test_duplicated_test)
> Check that a proper exception is raised
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/test_loader.py", line 203, in 
> test_duplicated_test
>     with self.assertRaisesRegexp(InvalidDescriptionFile, "Duplicated test"):
>          ^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'LoadConfigFileTestCase' object has no attribute 
> 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?
> 
> ======================================================================
> ERROR: test_no_command 
> (tests.test_loader.LoadConfigFileTestCase.test_no_command)
> Check that a proper exception is raised
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/test_loader.py", line 190, in test_no_command
>     with self.assertRaisesRegexp(InvalidDescriptionFile, "No command 
> defined"):
>          ^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'LoadConfigFileTestCase' object has no attribute 
> 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?
> 
> ======================================================================
> ERROR: test_unknown_remote 
> (tests.test_loader.LoadConfigFileTestCase.test_unknown_remote)
> Check that a proper exception is raised
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/test_loader.py", line 216, in 
> test_unknown_remote
>     with self.assertRaisesRegexp(InvalidDescriptionFile, "Unknown remote"):
>          ^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'LoadConfigFileTestCase' object has no attribute 
> 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?
> 
> ======================================================================
> ERROR: test_unknown_section 
> (tests.test_loader.LoadConfigFileTestCase.test_unknown_section)
> Check that a proper exception is raised
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/test_loader.py", line 177, in 
> test_unknown_section
>     with self.assertRaisesRegexp(InvalidDescriptionFile, "Unknown section"):
>          ^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'LoadConfigFileTestCase' object has no attribute 
> 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?
> 
> ----------------------------------------------------------------------
> Ran 22 tests in 1.043s
> 
> FAILED (errors=4)
> Test failed: <unittest.runner.TextTestResult run=22 errors=4 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=22 errors=4 
> failures=0>
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: 
> python3.12 setup.py test 
> dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit 
> code 13


The full build log is available from:
http://qa-logs.debian.net/2024/07/02/lift_2.6.1-1_unstable.log

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