Source: distro-info
Version: 1.0
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211104 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> ./test-debian-distro-info
> cd perl && ./test.pl
> testAlias
> testAll
> testDevel
> testOldstable
> py3versions: no X-Python3-Version in control file, using supported versions
> cd python && python3.9 setup.py test
> testStable
> 1..35
> testSupported
> ok 1 - unique: Matching lists
> ok 2 - symmetric_difference: Matching lists
> ok 3 - unique: 1 Unique Item
> ok 4 - unique: 1 Unique Item in the haystack
> ok 5 - symmetric_difference: 1 Unique Item
> testLTS
> ok 6 - Debian all
> ok 7 - Debian devel
> ok 8 - Debian oldstable
> ok 9 - Debian stable
> ok 10 - Debian testing
> ok 11 - Debian valid
> ok 12 - Debian valid
> ok 13 - Debian invalid
> ok 14 - Debian supported
> ok 15 - Debian LTS
> ok 16 - Debian ELTS
> ok 17 - Debian unsupported
> ok 18 - Debian codename, invalid
> ok 19 - Debian codename
> ok 20 - Debian version, invalid
> ok 21 - Debian version
> ok 22 - Ubuntu all
> ok 23 - Ubuntu version
> ok 24 - Ubuntu LTS version
> ok 25 - Ubuntu devel
> ok 26 - Ubuntu LTS
> ok 27 - Ubuntu stable
> ok 28 - Ubuntu valid
> ok 29 - Ubuntu invalid
> ok 30 - Ubuntu is_lts
> ok 31 - Ubuntu !is_lts
> ok 32 - Ubuntu !is_lts
> ok 33 - Ubuntu supported
> ok 34 - Ubuntu ESM
> ok 35 - Ubuntu unsupported
> testELTS
> testUnsupported
> testTesting
> testFullname
> testRelease
> 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.
> running egg_info
> creating distro_info.egg-info
> writing distro_info.egg-info/PKG-INFO
> writing dependency_links to distro_info.egg-info/dependency_links.txt
> writing top-level names to distro_info.egg-info/top_level.txt
> writing manifest file 'distro_info.egg-info/SOURCES.txt'
> reading manifest file 'distro_info.egg-info/SOURCES.txt'
> writing manifest file 'distro_info.egg-info/SOURCES.txt'
> testSeries
> running build_ext
> testCombinedShortform
> testReleaseDate
> test_pylint (distro_info_test.test_pylint.PylintTestCase)
> Test: Run pylint on Python source code ... Running following command:
> /usr/bin/python3.9 -m pylint 
> --rcfile=/<<PKGBUILDDIR>>/python/distro_info_test/pylint.conf -- 
> debian-distro-info ubuntu-distro-info distro_info.py setup.py
> testHelp
> testExactlyOne
> testUnrecognizedOption
> testUnrecognizedArguments
> testMissingArgumentAlias
> testMissingArgumentDate
> testMissingArgumentSeries
> testInvalidAlias
> testInvalidDate
> testInvalidSeries
> testMultipleAlias
> testMultipleDates
> testMultipleSeries
> testUnknownSeries
> testDays
> 
> Ran 30 tests.
> 
> OK
> ./test-ubuntu-distro-info
> testAll
> testDevel
> testLatest
> testLTS
> testStable
> testSupported
> testUnsupported
> testFullname
> testRelease
> testSeries
> testCombinedShortform
> testReleaseDate
> testHelp
> testExactlyOne
> testUnrecognizedOption
> testUnrecognizedArguments
> testMissingArgumentDate
> testMissingArgumentSeries
> testDistributionDataOutdated
> testInvalidDate
> testInvalidSeries
> testMultipleDates
> testMultipleSeries
> testUnknownSeries
> testDays
> 
> Ran 25 tests.
> 
> OK
> FAIL
> test_all (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: List all known Debian distributions. ... ok
> test_codename (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Codename decoding ... ok
> test_codename_result 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Check result set to codename. ... ok
> test_devel (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Get latest development Debian distribution. ... ok
> test_elts_supported 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: List all ELTS supported Debian distribution. ... ok
> test_fullname (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Check result set to fullname. ... ok
> test_lts_supported 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: List all LTS supported Debian distribution. ... ok
> test_old (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Get old (stable) Debian distribution. ... ok
> test_release (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Check result set to release. ... ok
> test_stable (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Get latest stable Debian distribution. ... ok
> test_supported (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: List all supported Debian distribution. ... ok
> test_testing (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Get latest testing Debian distribution. ... ok
> test_unsupported (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: List all unsupported Debian distribution. ... ok
> test_valid (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Check for valid Debian distribution. ... ok
> test_version (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Version decoding ... ok
> test_all (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: List all known Ubuntu distributions. ... ok
> test_codename (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Check result set to codename. ... ok
> test_current_unsupported 
> (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: List all unsupported Ubuntu distributions today. ... ok
> test_devel (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Get latest development Ubuntu distribution. ... ok
> test_fullname (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Check result set to fullname. ... ok
> test_is_lts (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Check if Ubuntu distribution is an LTS. ... ok
> test_lts (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Get latest long term support (LTS) Ubuntu distribution. ... ok
> test_release (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Check result set to release. ... ok
> test_stable (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Get latest stable Ubuntu distribution. ... ok
> test_supported (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: List all supported Ubuntu distribution. ... ok
> test_unsupported (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: List all unsupported Ubuntu distributions. ... ok
> test_valid (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Check for valid Ubuntu distribution. ... ok
> test_version (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Check result set to version. ... ok
> test_flake8 (distro_info_test.test_flake8.Flake8TestCase)
> Test: Run flake8 on Python source code ... Running following command:
> /usr/bin/python3.9 -m flake8 --ignore H301,H403,H405,W504,W503 
> --max-line-length=99 debian-distro-info ubuntu-distro-info distro_info.py 
> setup.py
> ok
> 
> ======================================================================
> FAIL: test_pylint (distro_info_test.test_pylint.PylintTestCase)
> Test: Run pylint on Python source code
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/python/distro_info_test/test_pylint.py", line 76, in 
> test_pylint
>     self.fail("\n".join(msgs))
> AssertionError: pylint found issues:
> ************* Module debian-distro-info
> debian-distro-info:31:12: C0209: Formatting a regular string which could be a 
> f-string (consider-using-f-string)
> debian-distro-info:32:13: C0209: Formatting a regular string which could be a 
> f-string (consider-using-f-string)
> ************* Module ubuntu-distro-info
> ubuntu-distro-info:31:12: C0209: Formatting a regular string which could be a 
> f-string (consider-using-f-string)
> ubuntu-distro-info:32:13: C0209: Formatting a regular string which could be a 
> f-string (consider-using-f-string)
> ************* Module distro_info
> distro_info.py:109:18: W1514: Using open without explicitly specifying an 
> encoding (unspecified-encoding)
> distro_info.py:109:18: R1732: Consider using 'with' for resource-allocating 
> operations (consider-using-with)
> ************* Module setup
> setup.py:19:15: R1732: Consider using 'with' for resource-allocating 
> operations (consider-using-with)
> 
> ----------------------------------------------------------------------
> Ran 30 tests in 2.612s
> 
> FAILED (failures=1)
> Test failed: <unittest.runner.TextTestResult run=30 errors=0 failures=1>
> error: Test failed: <unittest.runner.TextTestResult run=30 errors=0 
> failures=1>
> make[1]: *** [Makefile:39: test-python] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j4 test returned exit code 2


The full build log is available from:
http://qa-logs.debian.net/2021/11/04/distro-info_1.0_unstable.log

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 marking 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