Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Reporter-Transport-Metabase CPAN distribution.

Report information
The Basics
Id: 69398
Status: open
Priority: 0/
Queue: Test-Reporter-Transport-Metabase

People
Owner: Nobody in particular
Requestors: abraxxa [...] cpan.org
Cc: BINGOS [...] cpan.org
AdminCc:

Bug Information
Severity: Important
Broken in: 1.999008
Fixed in: (no value)



Subject: can't submit test results using a proxy
I've configured CPANPLUS to report test results but it fails with the below error although the proxy reported in the error message is correct and also reachable. [ERROR] Could not send 'pass' report for 'Env-1.03': Test::Reporter: error from 'Test::Reporter::Transport::Metabase:' fact submission failed: Can't connect to our.proxy.tld:8080 at /home/ahartmai/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/Metabase/Client/Simple.pm line 111 Metabase::Client::Simple::submit_fact('Metabase::Client::Simple=HASH(0x4d29fa8)', 'CPAN::Testers::Report=HASH(0x61262f8)') called at /home/ahartmai/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/Test/Reporter/Transport/Metabase.pm line 132 Test::Reporter::Transport::Metabase::send('Test::Reporter::Transport::Metabase=HASH(0x62c90d0)', 'Test::Reporter=HASH(0x40feca8)') called at /home/ahartmai/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/Test/Reporter.pm line 279 eval {...} called at /home/ahartmai/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/Test/Reporter.pm line 279 Test::Reporter::send('Test::Reporter=HASH(0x40feca8)') called at /home/ahartmai/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/CPANPLUS/Internals/Report.pm line 593 eval {...} called at /home/ahartmai/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/CPANPLUS/Internals/Report.pm line 592 CPANPLUS::Internals::Report::_send_report('CPANPLUS::Backend=HASH(0x34a70f0)', 'module', 'CPANPLUS::Module=HASH(0x6ddacc8)', 'failed', undef, 'buffer', '[MSG] [Mon Jul 11 09:58:46 2011] Checking if your kit is comp...', 'verbose', 0, ...) called at /home/ahartmai/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/CPANPLUS/Dist/MM.pm line 726 CPANPLUS::Dist::MM::create('CPANPLUS::Dist::MM=HASH(0x5f27738)', 'verbose', 0, 'force', 0) called at /home/ahartmai/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/CPANPLUS/Module.pm line 826 CPANPLUS::Module::dist('CPANPLUS::Module=HASH(0x6ddacc8)', 'format', 'CPANPLUS::Dist::MM', 'target', 'install', 'args', 'HASH(0x6d5ee58)') called at /home/ahartmai/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/CPANPLUS/Module.pm line 1068 CPANPLUS::Module::install('CPANPLUS::Module=HASH(0x6ddacc8)', 'target', 'install') called at /home/ahartmai/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/CPANPLUS/Shell/Default.pm line 912 CPANPLUS::Shell::Default::_install('CPANPLUS::Shell=HASH(0x34a7f90)', 'modules', 'ARRAY(0x33768a8)', 'options', 'HASH(0x66c0ca0)', 'input', 2, 'choice', 'i', ...) called at /home/ahartmai/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/CPANPLUS/Shell/Default.pm line 380 eval {...} called at /home/ahartmai/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/CPANPLUS/Shell/Default.pm line 380 CPANPLUS::Shell::Default::dispatch_on_input('CPANPLUS::Shell=HASH(0x34a7f90)', 'input', 'i 2') called at /home/ahartmai/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/CPANPLUS/Shell/Default.pm line 245 CPANPLUS::Shell::Default::_input_loop('CPANPLUS::Shell=HASH(0x34a7f90)') called at /home/ahartmai/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/CPANPLUS/Shell/Default.pm line 225 CPANPLUS::Shell::Default::shell('CPANPLUS::Shell=HASH(0x34a7f90)') called at /home/ahartmai/perl5/perlbrew/bin/cpanp line 30
On Mon Jul 11 04:01:47 2011, ABRAXXA wrote: Show quoted text
> I've configured CPANPLUS to report test results but it fails with the > below error although the proxy reported in the error message is > correct > and also reachable.
Thank you for the bug report. Right now, T::R::T::Metabase uses Metabase::Client::Simple, which uses LWP::UserAgent with "env_proxy" turned on. I have no idea how CPANPLUS handles proxy settings, so I'm copying Chris Williams in the hope that he can shed some light on the situation. Given that this is a connectivity issue and not fundamental breakage, I'm downgrading the severity to normal. -- David
Am Mo 11. Jul 2011, 08:05:27, DAGOLDEN schrieb: Show quoted text
> Right now, T::R::T::Metabase uses Metabase::Client::Simple, which uses > LWP::UserAgent with "env_proxy" turned on. I have no idea how CPANPLUS > handles proxy settings, so I'm copying Chris Williams in the hope that > he can shed some light on the situation.
My env vars are set and it seems to pick them up correctly too. The error message is printed immediatly so no connection timeout seems to be involved.