🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6094

Bug#1155280: python-apt: FTBFS: FAIL: test_verify_file (test_hashes.TestHashStringList.test_verify_file)

#6094
From: Santiago Vila
Date: Wed, 25 Nov 2026 13:10
54 lines
4498 bytes
Package: src:python-apt
Version: 3.1.0
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202611/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-apt, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
  res = self._cache.update(fetch_progress, slist, pulse_interval)
../<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_apt/build/apt/cache.py:565: Warning: W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:Repositories should provide a clear-signed InRelease file, but none found at copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed/InRelease., W:Repositories should provide a clear-signed InRelease file, but none found at copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/unsigned/InRelease., W:The repository 'copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/unsigned  Release' is not signed.
  res = self._cache.update(fetch_progress, slist, pulse_interval)
...................s
======================================================================
FAIL: test_verify_file (test_hashes.TestHashStringList.test_verify_file)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_hashes.py", line 197, in test_verify_file
    self.assertFalse(hsl.verify_file(apt_pkg.__file__))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: True is not false

----------------------------------------------------------------------
Ran 115 tests in 6.274s

FAILED (failures=1, skipped=3)
E: pybuild pybuild:485: test: plugin custom failed with: exit code=1: env PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_apt/build python3.14 tests/test_all.py
dh_auto_test: error: pybuild --test -i python{version} -p "3.15 3.14" --parallel=2 returned exit code 13
make[1]: *** [debian/rules:48: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:17: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID: <O3kV4-e4zH-27@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155280: python-apt: FTBFS: FAIL: test_verify_file (test_hashes.TestHashStringList.test_verify_file)
Date: Wed, 25 Nov 2026 14:10:02 +0100
Message-ID: <O3kV4-e4zH-27@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Nov 25 13:06:15 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1155280@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sanvila@debian.org, deity@lists.debian.org
X-Debian-Pr-Message: report 1155280
X-Debian-Pr-Package: src:python-apt
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: python-apt
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004929
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 54
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 25 Nov 2026 13:04:17 +0000
X-Original-Message-ID: <E1xWCfZ-008iK9-0S@paradis.debian.org>