niwadhwa / bugzilla-vcs

Automatically exported from code.google.com/p/bugzilla-vcs
0 stars 0 forks source link

Running hook.pl causes xmlrpc.cgi to hang at 100% CPU #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  Bugzilla 3.6.6, Bzr 2.4.1, Ubuntu 11.10, VCS 0.7.1
2.  Manually run hook.pl
3.  On the bugzilla server, xmlrpc.cgi hangs forever at 100% CPU

I'm manually running hook.pl from a separate client similar to this:

./hook.pl --bug=2 --revision=5120 --project="/Platform/trunk" 
--config=hook.config

On the bugzilla server, a top shows that xmlrpc.cgi sits there spinning forever 
at 100% CPU.  If I kill the xmlrpc.cgi process, I see this.  However, I'm able 
to do a 'bzr log' from the bugzilla machine just fine:

Bugzilla Error: (32000) An error occurred while attempting to fetch commit 5120 
from the "Platform/trunk" project in the "bzr+http://code.machine.local/repo/" 
repository. Sometimes this means that you specified an invalid repository or 
project. The error was: /usr/bin/bzr log --show-ids --xml 
bzr+http://code.machine.local/repo/Platform/trunk failed: at 
/usr/local/share/perl/5.12.4/VCI/VCS/Bzr.pm line 97 
VCI::VCS::Bzr::x_do('VCI::VCS::Bzr=HASH(0x5454348)', 'HASH(0x556fa88)') called 
at /usr/local/share/perl/5.12.4/VCI/VCS/Bzr/Project.pm line 17 
VCI::VCS::Bzr::Project::_build_history('VCI::VCS::Bzr::Project=HASH(0x556fbd8)')
 called at reader VCI::Abstract::Project::history (defined at 
/usr/local/share/perl/5.12.4/VCI/Abstract/Project.pm line 10) line 8 
VCI::Abstract::Project::history('VCI::VCS::Bzr::Project=HASH(0x556fbd8)') 
called at /usr/local/share/perl/5.12.4/VCI/Abstract/Project.pm line 57 
VCI::Abstract::Project::get_commit('VCI::VCS::Bzr::Project=HASH(0x556fbd8)', 
'HASH(0x556fba8)') called at /loader/0x3b18138/Bugzilla/Extension/VCS/Commit.pm 
line 308 eval {...} called at 
/loader/0x3b18138/Bugzilla/Extension/VCS/Commit.pm line 308 
Bugzilla::Extension::VCS::Commit::get_commit('Bugzilla::Extension::VCS::Commit',
 'HASH(0x5109708)') called at 
/loader/0x3b18138/Bugzilla/Extension/VCS/Commit.pm line 229 
Bugzilla::Extension::VCS::Commit::_check_revision('Bugzilla::Extension::VCS::Com
mit', 5120, undef, 'HASH(0x2f4f390)') called at 
/loader/0x3b18138/Bugzilla/Extension/VCS/Commit.pm line 121 
Bugzilla::Extension::VCS::Commit::run_create_validators('Bugzilla::Extension::VC
S::Commit', 'HASH(0x41e3648)') called at 
/loader/0x3b18138/Bugzilla/Extension/VCS/Commit.pm line 164 
Bugzilla::Extension::VCS::Commit::create('Bugzilla::Extension::VCS::Commit', 
'HASH(0x41e3648)') called at 
/loader/0x3b18138/Bugzilla/Extension/VCS/WebService.pm line 37 
Bugzilla::Extension::VCS::WebService::add_commit('Bugzilla::Extension::VCS::WebS
ervice', 'HASH(0x41e3648)') called at /usr/share/perl5/SOAP/Lite.pm line 2799 
eval {...} called at /usr/share/perl5/SOAP/Lite.pm line 2784 eval {...} called 
at /usr/share/perl5/SOAP/Lite.pm line 2750 
SOAP::Server::handle('Bugzilla::WebService::Server::XMLRPC=HASH(0x411b4a8)', 
'<?xml version="1.0" encoding="us-ascii"?><methodCall><methodN...') called at 
/usr/share/perl5/SOAP/Transport/HTTP.pm line 432 
SOAP::Transport::HTTP::Server::handle('Bugzilla::WebService::Server::XMLRPC=HASH
(0x411b4a8)') called at /usr/share/perl5/SOAP/Transport/HTTP.pm line 590 
SOAP::Transport::HTTP::CGI::handle('Bugzilla::WebService::Server::XMLRPC=HASH(0x
411b4a8)') called at /var/www/bugzilla.machine.local/bugzilla/xmlrpc.cgi line 48

Original issue reported on code.google.com by msoli...@spkaa.com on 20 Dec 2011 at 8:47