Source: bmap-tools
Version: 3.7-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240615 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 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build" 
> module
> I: pybuild base:311: python3.11 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11  
> * Building wheel...
> Successfully built bmaptools-3.7.0-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; 
> python3.11 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.9, pytest-8.2.2, pluggy-1.5.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build
> configfile: pyproject.toml
> collected 19 items
> 
> tests/test_CLI.py ..F..                                                  [ 
> 26%]
> tests/test_api_base.py .                                                 [ 
> 31%]
> tests/test_bmap_helpers.py ...........                                   [ 
> 89%]
> tests/test_compat.py .                                                   [ 
> 94%]
> tests/test_filemap.py .                                                  
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _________________________ TestCLI.test_valid_signature 
> _________________________
> 
> self = <tests.test_CLI.TestCLI testMethod=test_valid_signature>
> 
>     def test_valid_signature(self):
>         completed_process = subprocess.run(
>             [
>                 "bmaptool",
>                 "copy",
>                 "--bmap",
>                 "tests/test-data/test.image.bmap.v2.0",
>                 "--bmap-sig",
>                 "tests/test-data/signatures/test.image.bmap.v2.0.valid-sig",
>                 "tests/test-data/test.image.gz",
>                 self.tmpfile,
>             ],
>             stdout=subprocess.PIPE,
>             stderr=subprocess.STDOUT,
>             check=False,
>         )
> >       self.assertEqual(completed_process.returncode, 0, 
> > completed_process.stdout)
> E       AssertionError: 1 != 0 : b'bmaptool: \x1b[91mERROR\x1b[0m: An error 
> occurred, here is the traceback:\nTraceback (most recent call last):\n  File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/bmaptools/CLI.py", line 214, 
> in verify_detached_bmap_signature\n    sigs = context.verify(signed_data, 
> signature, None)[1].signatures\n           
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File 
> "/usr/lib/python3/dist-packages/gpg/core.py", line 558, in verify\n    raise 
> errors.BadSignatures(results[1], results=results)\n\nbmaptool: 
> \x1b[91mERROR\x1b[0m: discovered a BAD GPG signature: 
> tests/test-data/signatures/test.image.bmap.v2.0.valid-sig\n\n\n'
> 
> tests/test_CLI.py:43: AssertionError
> =========================== short test summary info 
> ============================
> FAILED tests/test_CLI.py::TestCLI::test_valid_signature - AssertionError: 1 
> !...
> =================== 1 failed, 18 passed in 87.41s (0:01:27) 
> ====================
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/bmap-tools_3.7-2_unstable.log

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