Debian Bug report logs -
#782079
kgb-bot hangs forever at test suite
Reported by: Holger Levsen <holger@layer-acht.org>
Date: Tue, 7 Apr 2015 12:45:07 UTC
Severity: normal
Tags: confirmed, upstream
Found in version kgb-bot/1.33-2
Fixed in version kgb-bot/1.34-1
Done: gregor herrmann <gregoa@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, Debian KGB Maintainers <kgb-maintainers@lists.alioth.debian.org>:
Bug#782079; Package kgb-bot.
(Tue, 07 Apr 2015 12:45:11 GMT) (full text, mbox, link).
Acknowledgement sent
to Holger Levsen <holger@layer-acht.org>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, Debian KGB Maintainers <kgb-maintainers@lists.alioth.debian.org>.
(Tue, 07 Apr 2015 12:45:11 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
package: kgb-bot
version: 1.33-2
x-debbugs-cc: reproducible-builds@lists.alioth.debian.org
Hi,
while rebuilding kgb-bot for reproducibility we noticed the testsuite hanging
forever as can be seen in
https://jenkins.debian.net/view/reproducible/job/reproducible_builder_zeta/2745/console
or below.
The rebuild was done using pbuilder from wheezy, building in a sid chroot
without networking set up...
If you need any other information or if you have things to test, I'd be glad
to help debugging.
From the build log:
debian/rules build
dh build
dh_testdir
dh_auto_configure
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.33'
dh_auto_build
Module::Build will be removed from the Perl core distribution in the next
major release. Please install the separate libmodule-build-perl package. It is
being used at /usr/share/perl/5.20/base.pm, line 97.
Building App-KGB
debian/rules override_dh_auto_test
make[1]: Entering directory '/tmp/buildd/kgb-bot-1.33'
LANG=bg_BG.utf8 LC_ALL=bg_BG.utf8 dh_auto_test
Module::Build will be removed from the Perl core distribution in the next
major release. Please install the separate libmodule-build-perl package. It is
being used at /usr/share/perl/5.20/base.pm, line 97.
t/00-compile.t ................. ok
script/kgb-client syntax OK
script/kgb-add-project syntax OK
script/kgb-split-config syntax OK
script/kgb-bot syntax OK
t/00-compile_scripts.t ......... ok
t/00-compile_shell_scripts.t ... ok
t/30-bot-changes.t ............. ok
# trying port 5392
# test bot listening on 127.0.0.1:5392, pid: 61116 at t/TestBot.pm line 116.
# Test bot started on 127.0.0.1:5392
# $>=1111 $<=1111 $ENV{USER}=pbuilder1 getpwuid($>)=pbuilder1
# stopping test bot, pid 61116
# Removing directory /tmp/buildd/kgb-bot-1.33/t/bot
t/50-client.t .................. ok
t/51-client_branch_module.t .... ok
# trying port 5392
# test bot listening on 127.0.0.1:5392, pid: 62489 at t/TestBot.pm line 116.
# stopping test bot, pid 62489
# Removing directory /tmp/buildd/kgb-bot-1.33/t/bot
t/52-client-git.t .............. ok
# trying port 5392
# test bot listening on 127.0.0.1:5392, pid: 65397 at t/TestBot.pm line 116.
# stopping test bot, pid 65397
# Removing directory /tmp/buildd/kgb-bot-1.33/t/bot
t/53-client-git-merges.t ....... ok
# trying port 5392
# test bot listening on 127.0.0.1:5392, pid: 1079 at t/TestBot.pm line 116.
# stopping test bot, pid 1079
Build timed out (after 1,560 minutes). Marking the build as aborted.
Build was aborted
Terminated
Thanks for maintaining kgb-bot and the bots - that's a super useful service to
the community!
cheers,
Holger
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian KGB Maintainers <kgb-maintainers@lists.alioth.debian.org>:
Bug#782079; Package kgb-bot.
(Tue, 07 Apr 2015 14:45:04 GMT) (full text, mbox, link).
Message #8 received at 782079@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tags -1 confirmed upstream
Control retitle -1 kgb-bot sometimes hangs forever at test suite
-=| Holger Levsen, 07.04.2015 13:29:41 +0200 |=-
>
> while rebuilding kgb-bot for reproducibility we noticed the testsuite hanging
> forever as can be seen in
> https://jenkins.debian.net/view/reproducible/job/reproducible_builder_zeta/2745/console
> or below.
>
> The rebuild was done using pbuilder from wheezy, building in a sid chroot
> without networking set up...
>
> If you need any other information or if you have things to test, I'd be glad
> to help debugging.
Thanks for the report. I was able to reproduce the problem by looping
over building the package (in a wheezy pbuilder chroot) until the test
suite hung.
> script/kgb-bot syntax OK
> t/00-compile_scripts.t ......... ok
> t/00-compile_shell_scripts.t ... ok
> t/30-bot-changes.t ............. ok
> # trying port 5392
> # test bot listening on 127.0.0.1:5392, pid: 61116 at t/TestBot.pm line 116.
> # Test bot started on 127.0.0.1:5392
> # $>=1111 $<=1111 $ENV{USER}=pbuilder1 getpwuid($>)=pbuilder1
> # stopping test bot, pid 61116
> # Removing directory /tmp/buildd/kgb-bot-1.33/t/bot
> t/50-client.t .................. ok
> t/51-client_branch_module.t .... ok
> # trying port 5392
> # test bot listening on 127.0.0.1:5392, pid: 62489 at t/TestBot.pm line 116.
> # stopping test bot, pid 62489
> # Removing directory /tmp/buildd/kgb-bot-1.33/t/bot
> t/52-client-git.t .............. ok
> # trying port 5392
> # test bot listening on 127.0.0.1:5392, pid: 65397 at t/TestBot.pm line 116.
> # stopping test bot, pid 65397
> # Removing directory /tmp/buildd/kgb-bot-1.33/t/bot
> t/53-client-git-merges.t ....... ok
> # trying port 5392
> # test bot listening on 127.0.0.1:5392, pid: 1079 at t/TestBot.pm line 116.
> # stopping test bot, pid 1079
> Build timed out (after 1,560 minutes). Marking the build as aborted.
In my test it hung after another test, but also in the place when the
test tries to stop the running test bot instance. The test script was
busy-looping checking for the existence of the lock file.
It seems that sometimes the test bot fails to stop (or to clean up),
causing the test to hang.
I'll investigate further these days.
> Thanks for maintaining kgb-bot and the bots - that's a super useful service to
> the community!
:) We have plans to improve the service even further:
https://wiki.debian.org/Services/KGB/GoingDSA
[signature.asc (application/pgp-signature, inline)]
Added tag(s) upstream and confirmed.
Request was from Damyan Ivanov <dmn@debian.org>
to 782079-submit@bugs.debian.org.
(Tue, 07 Apr 2015 14:45:04 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian KGB Maintainers <kgb-maintainers@lists.alioth.debian.org>:
Bug#782079; Package kgb-bot.
(Tue, 07 Apr 2015 15:09:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Holger Levsen <holger@layer-acht.org>:
Extra info received and forwarded to list. Copy sent to Debian KGB Maintainers <kgb-maintainers@lists.alioth.debian.org>.
(Tue, 07 Apr 2015 15:09:05 GMT) (full text, mbox, link).
Message #15 received at 782079@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi Damyan,
On Dienstag, 7. April 2015, Damyan Ivanov wrote:
> Thanks for the report. I was able to reproduce the problem by looping
> over building the package (in a wheezy pbuilder chroot) until the test
> suite hung.
cool!
> > Thanks for maintaining kgb-bot and the bots - that's a super useful
> > service to the community!
> :) We have plans to improve the service even further:
> https://wiki.debian.org/Services/KGB/GoingDSA
very cool!
cheers,
Holger
[signature.asc (application/pgp-signature, inline)]
Added tag(s) pending.
Request was from gregor herrmann <gregoa@debian.org>
to control@bugs.debian.org.
(Thu, 02 Jun 2016 19:48:21 GMT) (full text, mbox, link).
Reply sent
to gregor herrmann <gregoa@debian.org>:
You have taken responsibility.
(Mon, 26 Sep 2016 17:00:09 GMT) (full text, mbox, link).
Notification sent
to Holger Levsen <holger@layer-acht.org>:
Bug acknowledged by developer.
(Mon, 26 Sep 2016 17:00:09 GMT) (full text, mbox, link).
Message #22 received at 782079-close@bugs.debian.org (full text, mbox, reply):
Source: kgb-bot
Source-Version: 1.34-1
We believe that the bug you reported is fixed in the latest version of
kgb-bot, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 782079@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
gregor herrmann <gregoa@debian.org> (supplier of updated kgb-bot package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 26 Sep 2016 18:26:04 +0200
Source: kgb-bot
Binary: kgb-bot kgb-client
Architecture: source
Version: 1.34-1
Distribution: unstable
Urgency: medium
Maintainer: Debian KGB Maintainers <kgb-maintainers@lists.alioth.debian.org>
Changed-By: gregor herrmann <gregoa@debian.org>
Closes: 772747 772749 772750 782079 834597
Description:
kgb-bot - IRC collaboration bot
kgb-client - client for KGB (IRC collaboration bot)
Changes:
kgb-bot (1.34-1) unstable; urgency=medium
.
[ gregor herrmann ]
* kgb-client.conf(5): change example shortening service from Metamark to
TinyURL, following the example of WWW::Shorten. Metamark is not
accepting new URLs anymore.
.
[ Damyan Ivanov ]
* also mention cgit in the web-link description
* add a new script, kgb-ci-report. used to notify about CI failures
* bump years of copyright
.
[ Pierre Schweitzer ]
* kgb-client: use login name when the full user name is not available
Closes: #772747
* Remove ${{project/}} token from the example multi-line message
configuration (already removed from the single-line configuration)
Closes: #772749
* Fix multiline message template
Closes: #772750
.
[ Damyan Ivanov ]
* TestBot:
- when waiting for the PID file to appear, also see if it has any content
- close the PID file after reading it
* kgb-bot:
- add the PID to the "Listening on ..." line in the log
- rewrite the PID management code using OO interface of Proc::PID::File.
This fixes a rather nasty hardly-reproducible bug causing the PID file
to be re-created after being removed, which may fool the tests and make
them hang.
Closes: #782079
* kgb-client: add libwww-perl to Recommends, needed by kgb-ci-report
.
[ gregor herrmann ]
* Update (build) dependencies.
- build-depend on libmodule-build-perl only
Closes: #834597
- move libmodule-build-perl to Build-Depends.
- remove unneeded version from kgb-client dependency
- add build dependency on libdbd-pg-perl
* Update Vcs-* headers-.
* Declare compliance with Debian Policy 3.9.8.
* Bump debhelper compatibility level to 9.
* Build.PL:
- install new kgb-ci-report script
- add DBD::Pg as requirement in Build.PL
* debian/*: Switch some URLs to HTTPS. Thanks to duck.
* Fix some typos in the POD. Thanks to lintian.
* Drop fix-username-in-tests.patch; applied.
* Update years of packaging copyright.
.
[ Martín Ferrari ]
* App::KGB::Client::ServerRef:
- More consistent verbose reporting of server communication.
- Add --dry-run option for debugging.
- Bug fix: use correct method when sending a commit info with
default protocol.
* App::KGB::Client: format_message: Don't lose data.
When the commit object does not have all the info, it still overwrites
data coming from the extra arguments. It meant SVN commits were lacking
branch and module information completely.
.
[ gregor herrmann ]
* Fix t/52-client-git.t to work with newer git versions as well.
Since 2.9.0, git allows merging branches without a common ancestors only
when "--allow-unrelated-histories" is passed. This has lead to test
failures.
Pass the parameter conditionally.
Checksums-Sha1:
34fd33c17bc167dbcd0399e6bc706dbb8ccc1522 2671 kgb-bot_1.34-1.dsc
1e28dd0129e2e322fa28cd58d2467028f7be7a1d 104997 kgb-bot_1.34.orig.tar.gz
37b04a4ff5da5eebfca36a6abf20ee7840db86c6 12892 kgb-bot_1.34-1.debian.tar.xz
Checksums-Sha256:
8c591e8760753998c8b794e388f1bbd5cadbfb3ab56dfd026a2093b5a377e666 2671 kgb-bot_1.34-1.dsc
5b931b168eb0358b76eeb9872cef3f057ecea43df33f68c21fd3c9b73e8318e6 104997 kgb-bot_1.34.orig.tar.gz
1d3b0d17273ab7aacd49581c1b23731fbc9c3daac2c3bfe7e15feee2a61d8e2c 12892 kgb-bot_1.34-1.debian.tar.xz
Files:
787d36a3fa3f8ea5dabb9103f6e581ed 2671 devel optional kgb-bot_1.34-1.dsc
ab035eea46fbddb85da522d39c4b72c6 104997 devel optional kgb-bot_1.34.orig.tar.gz
d6245714179d8d7d9eed3684b0e74da6 12892 devel optional kgb-bot_1.34-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJ8BAEBCgBmBQJX6U07XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREMUUxMzE2RTkzQTc2MEE4MTA0RDg1RkFC
QjNBNjgwMTg2NDlBQTA2AAoJELs6aAGGSaoGJ5cP/jWG4zv3URCmAkr3yoORZCyo
nfYemZyk5FZV+6iTy8aajJY3ZnSPwyAPyKXZVyDQ2c454NC0V8F7XmQqzysuPNPD
J19QAJaE6L+3GHjSaI4/ztpYWjEd79AbKwmFvxrqNKIuqoCmYyBEPaq+x82EwQrs
3vLkL/3pJ+KmasXpmYxFq78ckpvz1asyfk2NQmbCY/iZqlNRFn1tHXVKrP4t/VkF
YxJrcFPmELwY8ZIOyqHDCFrX8fW346QEUEMXKPHYey73YZhJT/STezt5CoIfFpNR
0X4bg3PUAO8I2emp1COA2TwWgSK1r43xotKSeIaJem7YNTjBamM1HaI9HUMFLMFl
QdT3C9CWHZ81l0cYCw6iV6DJ096ylq9jydvSQdISAnEo0p/wjLjsMbQxPCtZ+BKd
987/hklB0hAfO1/9nihXntyAO+uqwLVjS2wsTviHOahO+7My7JFRrNLn7v9ATw4g
954pVOdcnoQzWIOa8x64vKmx0Sytn71o19JL/7Q+KQlfdtZEpb9+pgBR4Jqiry7Z
PLwahGSSwk1swPDNZIH1WMlysl4pyojBx2MO0vtyXk7vsPRvDVgvr1xIqLx29Jwn
efRI2r9EgcRw8TM9w9cAOo0Q0KDyswKdfrJcJH/QB3jv8vSyErv31IFqzzKSAU7+
1YKj3Znh9mTXj7Hd1K02
=0q5f
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 30 Oct 2016 07:36:28 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 14:00:03 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.