[kgb-maintainers] Bug#842722: kgb-bot: FTBFS (failing tests)

Santiago Vila sanvila at debian.org
Mon Oct 31 16:42:43 UTC 2016


Package: src:kgb-bot
Version: 1.34-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep
   dh_testdir -i
   dh_update_autotools_config -i
   dh_auto_configure -i
	perl -I. Build.PL --installdirs vendor --config "optimize=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" --config "ld=x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -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.34'
   dh_auto_build -i
	perl Build
Building App-KGB
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
LANG=bg_BG.utf8 LC_ALL=bg_BG.utf8 dh_auto_test
	perl Build test --verbose 1
t/00-compile.t ................. 
ok 1 - blib/lib/App/KGB.pm compiles
ok 2 - blib/lib/WWW/Shorten/Debli.pm compiles
ok 3 - blib/lib/App/KGB/Client.pm compiles
ok 4 - blib/lib/App/KGB/API.pm compiles
ok 5 - blib/lib/App/KGB/Commit.pm compiles
ok 6 - blib/lib/App/KGB/Painter.pm compiles
ok 7 - blib/lib/App/KGB/Change.pm compiles
ok 8 - blib/lib/App/KGB/Commit/Tag.pm compiles
ok 9 - blib/lib/App/KGB/Client/ServerRef.pm compiles
ok 10 - blib/lib/App/KGB/Client/Subversion.pm compiles
ok 11 - blib/lib/App/KGB/Client/Fake.pm compiles
ok 12 - blib/lib/App/KGB/Client/RelayMsg.pm compiles
ok 13 - blib/lib/App/KGB/Client/Git.pm compiles
ok 14 - blib/lib/App/KGB/Client/CVS.pm compiles
ok 15 - blib/lib/JSON/RPC/Client/Any.pm compiles
1..15
ok
script/kgb-add-project syntax OK
script/kgb-ci-report syntax OK
script/kgb-bot syntax OK
script/kgb-client syntax OK
script/kgb-split-config syntax OK
t/00-compile_scripts.t ......... 
1..5
ok 1 - script/kgb-add-project compiles
ok 2 - script/kgb-ci-report compiles
ok 3 - script/kgb-bot compiles
ok 4 - script/kgb-client compiles
ok 5 - script/kgb-split-config 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
# test bot listening on 127.0.0.1:5392, pid: 2593  at t/TestBot.pm line 117.
# Test bot started on 127.0.0.1:5392
# $>=924 $<=924 $ENV{USER}=buildd getpwuid($>)=buildd
# stopping test bot, pid 2593
# Removing directory /<<PKGBUILDDIR>>/t/bot
t/50-client.t .................. 
Checked out revision 0.
A         file
Adding         file
Transmitting file data .done
Committing transaction...
Committed revision 1.
Sending        file
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] (kgb/trunk/script/kgb-bot) =~ (^([^/]+)/(trunk|tags)/ ^([^/]+)/branches/([^/]+)/ ^(website)/())
ok 15 - module detection in [real example] (kgb/trunk/script/kgb-bot) =~ (^([^/]+)/(trunk|tags)/ ^([^/]+)/branches/([^/]+)/ ^(website)/())
ok 16 - file list for [real example]
ok 17 - branch detection in [multi-file in one dir] (kgb/trunk/script/kgb-bot kgb/trunk/script/kgb-client) =~ (^([^/]+)/(trunk|tags)/ ^([^/]+)/branches/([^/]+)/ ^(website)/())
ok 18 - module detection in [multi-file in one dir] (kgb/trunk/script/kgb-bot kgb/trunk/script/kgb-client) =~ (^([^/]+)/(trunk|tags)/ ^([^/]+)/branches/([^/]+)/ ^(website)/())
ok 19 - file list for [multi-file in one dir]
ok 20 - branch detection in [multi-module] (trunk/foo/debian/moo trunk/bar/debian/goo) =~ (^(trunk|tags)/([^/]+)/ ^branches/([^/]+)/([^/]+)/ ^(website)/())
ok 21 - module detection in [multi-module] (trunk/foo/debian/moo trunk/bar/debian/goo) =~ (^(trunk|tags)/([^/]+)/ ^branches/([^/]+)/([^/]+)/ ^(website)/())
ok 22 - file list for [multi-module]
ok 23 - branch detection in [multi-module with separated modules] (foo/trunk/debian/moo bar/trunk/debian/goo) =~ (^([^/]+)/(trunk|tags)/ ^([^/]+)/branches/([^/]+)/ ^(website)/())
ok 24 - module detection in [multi-module with separated modules] (foo/trunk/debian/moo bar/trunk/debian/goo) =~ (^([^/]+)/(trunk|tags)/ ^([^/]+)/branches/([^/]+)/ ^(website)/())
ok 25 - file list for [multi-module with separated modules]
1..25
ok
# trying port 5392
# test bot listening on 127.0.0.1:5392, pid: 2634  at t/TestBot.pm line 117.
fatal: независими истории не може да се слеят
merge allnew: command returned error: 128
# stopping test bot, pid 2634
# Removing directory /<<PKGBUILDDIR>>/t/bot
# Tests were run but no plan was declared and done_testing() was not seen.
t/52-client-git.t .............. 
Initialized empty Git repository in /tmp/kgb-UxHeMBc/there.git/
Initialized empty Git repository in /tmp/kgb-UxHeMBc/here/.git/
ok 1 - local repository allocated
ok 2 - An object of class 'Git' isa 'Git'
ok 3 - An object of class 'App::KGB::Client::Git' isa 'App::KGB::Client::Git'
ok 4 - post-receive hook logs
ok 5 - commit 1 present
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12 - commit 2 present
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20 - commit 3 present
ok 21 - commit 3 branch is "master"
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27 - commit 4 present
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35 - commit 5 present
ok 36 - commit 5 id
ok 37 - commit 5 branch
ok 38 - commit 5 log
ok 39 - commit 5 author
ok 40 - commit 5 changes
ok 41 - commit 6 present
ok 42
ok 43
ok 44
ok 45
ok 46
ok 47
ok 48 - annotated tag here
ok 49
ok 50
ok 51
ok 52
ok 53 - annotated tag log
ok 54 - hollow branch described
ok 55 - hollow commit is 2884f56
ok 56 - hollow commit branch is 'hollow'
ok 57 - no changes in hollow commit
ok 58 - hollow commit log is 'branch created'
ok 59 - hollow branch has no commits
ok 60 - UTF-8 commit exists
ok 61
ok 62
ok 63
ok 64
ok 65 - empty branch creation commit exists
ok 66 - empty branch name
ok 67 - empty branch log
ok 68
Dubious, test returned 254 (wstat 65024, 0xfe00)
All 68 subtests passed 
# trying port 5392
# test bot listening on 127.0.0.1:5392, pid: 3017  at t/TestBot.pm line 117.
# stopping test bot, pid 3017
# Removing directory /<<PKGBUILDDIR>>/t/bot
t/53-client-git-merges.t ....... 
Initialized empty Git repository in /tmp/kgb-kr8bFgj/there.git/
Initialized empty Git repository in /tmp/kgb-kr8bFgj/here/.git/
ok 1 - local repository allocated
ok 2 - An object of class 'Git' isa 'Git'
ok 3 - An object of class 'App::KGB::Client::Git' isa 'App::KGB::Client::Git'
ok 4 - initial import commit
ok 5 - no more commits
ok 6 - merge commit exists
ok 7
ok 8
ok 9 - merge commit exists
ok 10
ok 11
ok 12 - first a-new commit exists
ok 13
ok 14
ok 15 - second a-new commit exists
ok 16
ok 17
ok 18 - first new-content commit exists
ok 19
ok 20
ok 21 - second new-content commit exists
ok 22
ok 23
ok 24
ok 25
1..25
ok
# trying port 5392
# test bot listening on 127.0.0.1:5392, pid: 3165  at t/TestBot.pm line 117.
# stopping test bot, pid 3165
# Removing directory /<<PKGBUILDDIR>>/t/bot
t/54-client-git-squash.t ....... 
Initialized empty Git repository in /tmp/kgb-0r8s7hl/there.git/
Initialized empty Git repository in /tmp/kgb-0r8s7hl/here/.git/
ok 1 - local repository allocated
ok 2 - An object of class 'Git' isa 'Git'
ok 3 - An object of class 'App::KGB::Client::Git' isa 'App::KGB::Client::Git'
ok 4 - first commit exists
ok 5
ok 6
ok 7
ok 8 - squashed commit exists
ok 9 - squashed commit is a plain string
ok 10 - squashed new branch commit exists
ok 11 - squashed commit is a plain string
ok 12
ok 13
1..13
ok
# trying port 5392
# test bot listening on 127.0.0.1:5392, pid: 3327  at t/TestBot.pm line 117.
# stopping test bot, pid 3327
# Removing directory /<<PKGBUILDDIR>>/t/bot
t/55-client-git-merges-ff.t .... 
Initialized empty Git repository in /tmp/kgb-YWlIR7x/there.git/
Initialized empty Git repository in /tmp/kgb-YWlIR7x/here/.git/
ok 1 - local repository allocated
ok 2 - An object of class 'Git' isa 'Git'
ok 3 - An object of class 'App::KGB::Client::Git' isa 'App::KGB::Client::Git'
ok 4 - initial import commit
ok 5 - no more commits
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
1..14
ok
# trying port 5392
# test bot listening on 127.0.0.1:5392, pid: 3488  at t/TestBot.pm line 117.
# stopping test bot, pid 3488
# Removing directory /<<PKGBUILDDIR>>/t/bot
t/56-client-git-ff-merge-2.t ... 
Initialized empty Git repository in /tmp/kgb-aEnBHTf/there.git/
Initialized empty Git repository in /tmp/kgb-aEnBHTf/here/.git/
ok 1 - local repository allocated
ok 2 - An object of class 'Git' isa 'Git'
ok 3 - An object of class 'App::KGB::Client::Git' isa 'App::KGB::Client::Git'
ok 4 - initial import commit
ok 5 - no more commits
ok 6 - changing commit
ok 7 - branch is 'separate'
ok 8
ok 9 - no more commits
ok 10 - ff commit exists
ok 11
ok 12
ok 13
ok 14
ok 15
1..15
ok
# trying port 5392
# test bot listening on 127.0.0.1:5392, pid: 3635  at t/TestBot.pm line 117.
# stopping test bot, pid 3635
# Removing directory /<<PKGBUILDDIR>>/t/bot
t/57-client-git-squash-tags.t .. 
Initialized empty Git repository in /tmp/kgb-OODvxW2/there.git/
Initialized empty Git repository in /tmp/kgb-OODvxW2/here/.git/
ok 1 - local repository allocated
ok 2 - An object of class 'Git' isa 'Git'
ok 3 - An object of class 'App::KGB::Client::Git' isa 'App::KGB::Client::Git'
ok 4 - first commit exists
ok 5
ok 6
ok 7
ok 8
ok 9
1..9
ok
t/critic.t ..................... skipped: Test::Perl::Critic required to criticise code
t/pod-coverage.t ............... 
1..15
ok 1 - Pod coverage on App::KGB
ok 2 - Pod coverage on WWW::Shorten::Debli
ok 3 - Pod coverage on App::KGB::Client
ok 4 - Pod coverage on App::KGB::API
ok 5 - Pod coverage on App::KGB::Commit
ok 6 - Pod coverage on App::KGB::Painter
ok 7 - Pod coverage on App::KGB::Change
ok 8 - Pod coverage on App::KGB::Commit::Tag
ok 9 - Pod coverage on App::KGB::Client::ServerRef
ok 10 - Pod coverage on App::KGB::Client::Subversion
ok 11 - Pod coverage on App::KGB::Client::Fake
ok 12 - Pod coverage on App::KGB::Client::RelayMsg
ok 13 - Pod coverage on App::KGB::Client::Git
ok 14 - Pod coverage on App::KGB::Client::CVS
ok 15 - Pod coverage on JSON::RPC::Client::Any
ok
t/pod.t ........................ 
1..23
ok 1 - POD test for blib/lib/WWW/Shorten/Debli.pm
ok 2 - POD test for blib/lib/App/KGB.pm
ok 3 - POD test for blib/lib/App/KGB/Client.pm
ok 4 - POD test for blib/lib/App/KGB/API.pm
ok 5 - POD test for blib/lib/App/KGB/Commit.pm
ok 6 - POD test for blib/lib/App/KGB/Painter.pm
ok 7 - POD test for blib/lib/App/KGB/Change.pm
ok 8 - POD test for blib/lib/App/KGB/Commit/Tag.pm
ok 9 - POD test for blib/lib/App/KGB/Client/ServerRef.pm
ok 10 - POD test for blib/lib/App/KGB/Client/Subversion.pm
ok 11 - POD test for blib/lib/App/KGB/Client/Fake.pm
ok 12 - POD test for blib/lib/App/KGB/Client/RelayMsg.pm
ok 13 - POD test for blib/lib/App/KGB/Client/Git.pm
ok 14 - POD test for blib/lib/App/KGB/Client/CVS.pm
ok 15 - POD test for blib/lib/JSON/RPC/Client/Any.pm
ok 16 - POD test for blib/sbin/kgb-add-project
ok 17 - POD test for blib/sbin/kgb-bot
ok 18 - POD test for blib/sbin/kgb-split-config
ok 19 - POD test for blib/script/kgb-ci-report
ok 20 - POD test for blib/script/kgb-client
ok 21 - POD test for man5/kgb.conf.pod
ok 22 - POD test for man5/kgb-client.conf.pod
ok 23 - POD test for man7/kgb-protocol.pod
ok
t/version.t .................... 
ok 1 - App::KGB version (1.34) matches kgb-bot version (1.34)
1..1
ok

Test Summary Report
-------------------
t/52-client-git.t            (Wstat: 65024 Tests: 68 Failed: 0)
  Non-zero exit status: 254
  Parse errors: No plan found in TAP output
Files=16, Tests=263, 30 wallclock secs ( 0.12 usr  0.02 sys + 23.70 cusr  2.00 csys = 25.84 CPU)
Result: FAIL
Failed 1/16 test programs. 0/263 subtests failed.
dh_auto_test: perl Build test --verbose 1 returned exit code 255
debian/rules:12: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:4: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The relevant part of the build log is included above.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the page for this package.

If you could not reproduce this using sbuild on a single CPU virtual machine (as I did),
please do not downgrade or mark as unreproducible, I would then consider giving you access
to a virtual machine on which I can reproduce it so that you can as well.
(In such case, please contact me off-list for details).

Thanks.



More information about the kgb-maintainers mailing list