Bug#1057932: kgb-bot: FTBFS: Failed test 'Changes contains all valid release dates'
COntrol: tag -1 + confirmed On Sun, 10 Dec 2023 20:17:56 +0100, Santiago Vila wrote: > During a rebuild of all packages in unstable, your package failed to build: > # Failed test 'Changes contains all valid release dates' > # at t/changes.t line 6. > # ERR: No date for version 1.59 (line 1) > # Looks like you failed 1 test of 6. > t/changes.t ... > ok 1 - Changes is loadable > ok 2 - Changes contains at least one release > not ok 3 - Changes contains all valid release dates > ok 4 - Changes contains all valid release versions > ok 5 - Changes has an entry for version 1.59 > ok 6 - Changes version 1.59 has content > 1..6 > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/6 subtests t/changes.t uses Test::CPAN::Changes in libcpan-changes-perl, which was recently updated. I guess, writing the "headers" in ./Changes as "1.59 2023-10-30" or "1.59 - 2023-10-30" instead of "1.59 (2023-10-30)" could work. (Maybe also guarding a few tests in t/ with RELEASE_TESTING …) Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- signature.asc Description: Digital Signature
Bug#1057932: kgb-bot: FTBFS: Failed test 'Changes contains all valid release dates'
Package: src:kgb-bot Version: 1.59-1 Severity: serious Tags: ftbfs Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: [...] debian/rules binary dh binary dh_update_autotools_config dh_autoreconf debian/rules override_dh_auto_configure make[1]: Entering directory '/<>' [ "1.59" = "1.59" ] \ || ( echo "Package version (1.59) doesn't match module version (1.59)"; exit 1 ) dh_auto_configure /usr/bin/perl Build.PL --installdirs vendor --config "optimize=-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" --config "ld=x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro" Checking prerequisites... test_requires: ! Test::Perl::Critic is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Run 'Build installdeps' to install missing prerequisites. Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'App-KGB' version '1.59' make[1]: Leaving directory '/<>' dh_auto_build /usr/bin/perl Build Building App-KGB debian/rules override_dh_auto_test make[1]: Entering directory '/<>' LANG=bg_BG.utf8 LC_ALL=bg_BG.utf8 dh_auto_test /usr/bin/perl Build test --verbose 1 t/00-compile.t ok 1 - blib/lib/App/KGB.pm compiles ok 2 - blib/lib/App/KGB/API.pm compiles ok 3 - blib/lib/App/KGB/Change.pm compiles ok 4 - blib/lib/App/KGB/Client.pm compiles ok 5 - blib/lib/App/KGB/Client/Fake.pm compiles ok 6 - blib/lib/App/KGB/Client/Git.pm compiles ok 7 - blib/lib/App/KGB/Client/RelayMsg.pm compiles ok 8 - blib/lib/App/KGB/Client/ServerRef.pm compiles ok 9 - blib/lib/App/KGB/Client/Subversion.pm compiles ok 10 - blib/lib/App/KGB/Commit.pm compiles ok 11 - blib/lib/App/KGB/Commit/Tag.pm compiles ok 12 - blib/lib/App/KGB/Painter.pm compiles ok 13 - blib/lib/JSON/RPC/Client/Any.pm compiles ok 14 - blib/lib/WWW/Shorten/Debli.pm compiles 1..14 ok t/00-compile_scripts.t 1..2 ok 1 - blib/script/kgb-ci-report compiles ok 2 - blib/script/kgb-client compiles ok t/00-compile_shell_scripts.t .. ok 1 1..1 ok t/30-bot-changes.t ok 1 ok 2 ok 3 1..3 ok # trying port 5392 # port 5392 is available # test bot listening on 127.0.0.1:5392, pid: 629908 at t/TestBot.pm line 133. # Test bot started on 127.0.0.1:5392 # $>=924 $<=924 $ENV{USER}=buildd getpwuid($>)=buildd # stopping test bot, pid 629908 # Removing directory /<>/t/bot t/50-client.t . Checked out revision 0. A file Adding file Transmitting file data .done Committing transaction... Committed revision 1. Sendingfile Transmitting file data .done Committing transaction... Committed revision 2. D file A file Replacing file Transmitting file data .done Committing transaction... Committed revision 3. ok 1 - Test repository prepared ok 2 - An object of class 'App::KGB::Client::Subversion' isa 'App::KGB::Client::Subversion' ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 # skip UTF-8 locale needed for the test with UTF-8 commit message ok 25 # skip UTF-8 locale needed for the test with UTF-8 commit message ok 26 # skip UTF-8 locale needed for the test with UTF-8 commit message ok 27 # skip UTF-8 locale needed for the test with UTF-8 commit message ok 28 # skip UTF-8 locale needed for the test with UTF-8 commit message ok 29 # skip UTF-8 locale needed for the test with UTF-8 commit message ok 30 # skip UTF-8 locale needed for the test with UTF-8 commit message ok 31 1..31 ok t/51-client_branch_module.t ... ok 1 - An object of class 'App::KGB::Client::Subversion' isa 'App::KGB::Client::Subversion' ok 2 - branch detection in [module and branch] (/kgb/trunk/some/file) =~ (^/([^/]+)/([^/]+)/) ok 3 - module detection in [module and branch] (/kgb/trunk/some/file) =~ (^/([^/]+)/([^/]+)/) ok 4 - file list for [module and branch] ok 5 - branch detection in [branch and module] (/trunk/kgb/some/file) =~ (^/([^/]+)/([^/]+)/) ok 6 - module detection in [branch and module] (/trunk/kgb/some/file) =~ (^/([^/]+)/([^/]+)/) ok 7 - file list for [branch and module] ok 8 - branch detection in [branch only] (/trunk/some/file) =~ (^/([^/]+)/()) ok 9 - module detection in [branch only] (/trunk/some/file) =~ (^/([^/]+)/()) ok 10 - file list for [branch only] ok 11 - branch detection in [module only] (/website/some/file) =~ (^/(website)/()) ok 12 - module detection in [module only] (/website/some/file) =~ (^/(website)/()) ok 13 - file list for [module only] ok 14 - branch detection in [real example]