Source: whatmaps
Version: 0.0.13-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 build
> dh build --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 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:311: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/whatmaps
> copying whatmaps/debianpkg.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/whatmaps
> copying whatmaps/command.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/whatmaps
> copying whatmaps/distro.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/whatmaps
> copying whatmaps/rpmpkg.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/whatmaps
> copying whatmaps/process.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/whatmaps
> copying whatmaps/redhatdistro.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/whatmaps
> copying whatmaps/systemd.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/whatmaps
> copying whatmaps/debiandistro.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/whatmaps
> copying whatmaps/pkg.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/whatmaps
> copying whatmaps/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/whatmaps
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; 
> python3.12 -m nose -v tests
> test_filter_security_updates 
> (tests.test_debiandistro.TestDebianDistro.test_filter_security_updates) ... 
> SKIP: apt_pkg not installed
> test_pkg_by_file (tests.test_debiandistro.TestDebianDistro.test_pkg_by_file) 
> ... /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has 
> no addDuration method
>   warnings.warn("TestResult has no addDuration method",
> ok
> Test if None is returned on subcommand erros ... ok
> Test our interaction with the apt pipeline ... ok
> Check Debian distro vars ... ok
> test_services (tests.test_debianpkg.TestDebianPkg.test_services) ... ok
> Check abstract method signatures ... ok
> Detect distro via lsb_release ... SKIP: lsb_release not installed
> test_filter_services_all 
> (tests.test_distro.TestDistro.test_filter_services_all) ... ok
> test_filter_services_empty 
> (tests.test_distro.TestDistro.test_filter_services_empty) ... ok
> test_filter_services_one 
> (tests.test_distro.TestDistro.test_filter_services_one) ... ok
> Check abstract method signatures ... ok
> test_list_contents (tests.test_pkg.TestPkg.test_list_contents) ... ok
> test_repr (tests.test_pkg.TestPkg.test_repr) ... ok
> Test that we raise PkgError ... ok
> Test that we properly match shared objects ... ok
> Continue on unparseable map file ... ok
> Raise error if map file is unreadable ... ok
> Handle symlink to deleted binaries ... ok
> test_existing (tests.test_process.TestWhatmapsProcess.test_existing) ... ok
> Check whether the process maps a shared object at path ... ok
> Check if we don't fail if the process went away ... ok
> No exe link should create an 'empty' object ... ok
> test_pkg_by_file (tests.test_redhatdistro.TestRedHatDistro.test_pkg_by_file) 
> ... ok
> Test if None is returned on subcommand erros ... ok
> Check RedHat distro vars ... ok
> test_services (tests.test_rpmpkg.TestRpmPkg.test_services) ... ok
> Check if we create a systemd object if systemd is the init system in use ... 
> ok
> Check if we raise an exception if systemd isn't tthe init system in use ... ok
> test_process_to_unit (tests.test_systemd.TestSystemd.test_process_to_unit) 
> ... ok
> test_process_user_session 
> (tests.test_systemd.TestSystemd.test_process_user_session) ... ERROR
> 
> ======================================================================
> ERROR: test_process_user_session 
> (tests.test_systemd.TestSystemd.test_process_user_session)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_systemd.py", 
> line 82, in test_process_user_session
>     with self.assertRaisesRegexp(ValueError, "Can't parse service name from 
> session-8762.scope - Session 8762 of user root"):
>          ^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'TestSystemd' object has no attribute 'assertRaisesRegexp'. 
> Did you mean: 'assertRaisesRegex'?
> 
> ----------------------------------------------------------------------
> Ran 31 tests in 0.018s
> 
> FAILED (SKIP=2, errors=1)
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m nose -v tests
> dh_auto_test: error: pybuild --test --test-nose -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/whatmaps_0.0.13-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