Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 2309
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: mstevens [...] etla.org
Cc:
AdminCc:

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



Subject: CPANPLUS fails install tests
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/0-signature.t t/1-basic.t t/2-autoinstall.t t/3-backend.t t/CPANPLUS-Backend.t t/CPANPLUS.t t/0-signature.........# Next time around, consider install Module::Signature, # so you can verify the integrity of this distribution. t/0-signature.........ok 1/1 skipped: Module::Signature not installed t/1-basic.............ok t/2-autoinstall.......ok t/3-backend...........ok 66/74# Connecting to testers.cpan.org; this may take a while Fetch report failed: Internal Server Error in CPANPLUS::Internals::Report::_query_report at Sun Mar 30 23:57:19 2003 at /root/.cpan/build/CPANPLUS-0.042/blib/lib/CPANPLUS/Internals/Report.pm line 319 t/3-backend...........NOK 67# Failed test (t/3-backend.t at line 202) # got: '' # expected: 'ARRAY' Fetch report failed: Internal Server Error in CPANPLUS::Internals::Report::_query_report at Sun Mar 30 23:57:20 2003 at /root/.cpan/build/CPANPLUS-0.042/blib/lib/CPANPLUS/Internals/Report.pm line 319 t/3-backend...........ok 74/74# Looks like you failed 1 tests of 74. t/3-backend...........dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 67 Failed 1/74 tests, 98.65% okay (less 6 skipped tests: 67 okay, 90.54%) t/CPANPLUS-Backend....ok t/CPANPLUS............ok Failed Test Stat Wstat Total Fail Failed List of Failed -------------------------------------------------------------------------------------------------------------- t/3-backend.t 1 256 74 1 1.35% 67 7 subtests skipped. Failed 1/6 test scripts, 83.33% okay. 1/156 subtests failed, 99.36% okay. [root@sapporo CPANPLUS-0.042]# perl -v This is perl, v5.6.1 built for i586-linux
From: mstevens [...] etla.org
[guest - Sun Mar 30 18:00:59 2003]: Show quoted text
> PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM"
"-e" Show quoted text
> "test_harness(0, 'blib/lib', 'blib/arch')" t/0-signature.t
t/1-basic.t Show quoted text
> t/2-autoinstall.t t/3-backend.t t/CPANPLUS-Backend.t t/CPANPLUS.t > t/0-signature.........# Next time around, consider install > Module::Signature, > # so you can verify the integrity of this distribution. > t/0-signature.........ok > 1/1 skipped: Module::Signature not installed > t/1-basic.............ok > t/2-autoinstall.......ok > t/3-backend...........ok 66/74# Connecting to testers.cpan.org;
this Show quoted text
> may take a while > Fetch report failed: Internal Server Error in > CPANPLUS::Internals::Report::_query_report at Sun Mar 30 23:57:19
2003 Show quoted text
> at /root/.cpan/build/CPANPLUS- > 0.042/blib/lib/CPANPLUS/Internals/Report.pm line 319 > t/3-backend...........NOK 67# Failed test (t/3-backend.t at
line Show quoted text
> 202) > # got: '' > # expected: 'ARRAY' > Fetch report failed: Internal Server Error in > CPANPLUS::Internals::Report::_query_report at Sun Mar 30 23:57:20
2003 Show quoted text
> at /root/.cpan/build/CPANPLUS- > 0.042/blib/lib/CPANPLUS/Internals/Report.pm line 319 > t/3-backend...........ok 74/74# Looks like you failed 1 tests of
74. Show quoted text
> t/3-backend...........dubious > Test returned status 1 (wstat 256, 0x100) > DIED. FAILED test 67 > Failed 1/74 tests, 98.65% okay (less 6 skipped tests: 67
okay, Show quoted text
> 90.54%) > t/CPANPLUS-Backend....ok > t/CPANPLUS............ok > Failed Test Stat Wstat Total Fail Failed List of Failed >
-------------------------------------------------------------------------------------------------------------- Show quoted text
> t/3-backend.t 1 256 74 1 1.35% 67 > 7 subtests skipped. > Failed 1/6 test scripts, 83.33% okay. 1/156 subtests failed,
99.36% Show quoted text
> okay. > > [root@sapporo CPANPLUS-0.042]# perl -v > > This is perl, v5.6.1 built for i586-linux > > >
Actually it was [root@sapporo CPANPLUS-0.042]# /usr/local/bin/perl -v This is perl, v5.8.0 built for i586-linux-thread-multi-64int-ld I got the wrong perl the first time.
Date: Mon, 31 Mar 2003 09:42:47 +0200
Subject: Re: [cpan #2309] CPANPLUS fails install tests
From: "Jos I. Boumans" <kane [...] dwim.org>
To: bug-CPANPLUS [...] rt.cpan.org
RT-Send-Cc:
On Monday, Mar 31, 2003, at 01:01 Europe/Amsterdam, Guest via RT wrote: Show quoted text
> t/3-backend...........ok 66/74# Connecting to testers.cpan.org; this > may take a while > Fetch report failed: Internal Server Error in > CPANPLUS::Internals::Report::_query_report at Sun Mar 30 23:57:19 2003 > at > /root/.cpan/build/CPANPLUS-0.042/blib/lib/CPANPLUS/Internals/Report.pm > line 319 > t/3-backend...........NOK 67# Failed test (t/3-backend.t at line > 202) > # got: '' > # expected: 'ARRAY' > Fetch report failed: Internal Server Error in > CPANPLUS::Internals::Report::_query_report at Sun Mar 30 23:57:20 2003 > at > /root/.cpan/build/CPANPLUS-0.042/blib/lib/CPANPLUS/Internals/Report.pm > line 319
[snip] Show quoted text
> Failed 1/6 test scripts, 83.33% okay. 1/156 subtests failed, 99.36% > okay.
testers.cpan.org is to blame for that one.. it must have been down or something. -- Jos Boumans "Whenever you find you are on the side of the majority, it is time to pause and reflect." - Mark Twain CPANPLUS http://cpanplus.sf.net
From: rurban [...] x-ray.at
I can add to "testers.cpan.org is to blame for that one.. it must have been down or something.": They changed their layout! The reports are inside <div> tages now, not inside <dl><dd> tags anymore. I posted a half-way bugfix to the sourceforge bug tracker. Please playsome one else with this hairy regex. I hate regex' like these... CPANPLUS/Internals/Report.pm: ### got the report, start parsing my ($result) = ($response->content =~ /\n<dl>(.*?)\n<\/dl>\n/s); $new_webpage = 0; unless (defined $result) { my ($result) = ($response->content =~ /\n<div class="headers">(.*?)\n<\/div>\n/s); unless (defined $result) { $err->trap( error => loc("Error parsing testers.cpan.org results") ); return 0; } else { $new_webpage = 1; } } if ($new_webpage) { my ($result) = ($response->content =~ /\n<body>\n(.*?)\n<\/body>\n/s); while ($result =~ s/<div class="headers"><b>([^<\n]+)<\/b>\n([\d\D]*?)(?:\n<p>|$)//) { my ($key, $val) = ($1, $2); next unless $dist eq $key or $args{all_versions}; #fixme! while ($val =~ s/(?:<a href="(.*?)">)?.*? alt="([^"]+)"[^\n]*\n[^>]*>([^<]+)<//s) { push @ret, { platform => $3, grade => $2, dist => $key, $1 ? (details => "$url$1") : (), }; } } } else { while ($result =~ s/<dt>\n.*<B>([^<\n]+)<\/B>\n([\d\D]*?)(?:\n<p>|$)//) { [kane@dwim.org - Mon Mar 31 02:42:59 2003]: Show quoted text
> On Monday, Mar 31, 2003, at 01:01 Europe/Amsterdam, Guest via RT > wrote:
> > t/3-backend...........ok 66/74# Connecting to testers.cpan.org; this > > may take a while > > Fetch report failed: Internal Server Error in > > CPANPLUS::Internals::Report::_query_report at Sun Mar 30 23:57:19
> 2003
> > at > > /root/.cpan/build/CPANPLUS-
> 0.042/blib/lib/CPANPLUS/Internals/Report.pm
> > line 319 > > t/3-backend...........NOK 67# Failed test (t/3-backend.t at line > > 202) > > # got: '' > > # expected: 'ARRAY' > > Fetch report failed: Internal Server Error in > > CPANPLUS::Internals::Report::_query_report at Sun Mar 30 23:57:20
> 2003
> > at > > /root/.cpan/build/CPANPLUS-
> 0.042/blib/lib/CPANPLUS/Internals/Report.pm
> > line 319
> > [snip] >
> > Failed 1/6 test scripts, 83.33% okay. 1/156 subtests failed, 99.36% > > okay.
> > testers.cpan.org is to blame for that one.. it must have been down or > something. > > -- > > Jos Boumans
Date: Tue, 26 Aug 2003 15:17:04 +0200
Subject: Re: [cpan #2309] CPANPLUS fails install tests
From: "Jos I. Boumans" <kane [...] dwim.org>
To: bug-CPANPLUS [...] rt.cpan.org
RT-Send-Cc:
On Tuesday, Aug 26, 2003, at 15:10 Europe/Amsterdam, Reini_Urban via RT wrote: Show quoted text
> I can add to "testers.cpan.org is to blame for that one.. it must have > been down or something.": > > They changed their layout! > The reports are inside <div> tages now, not inside <dl><dd> tags > anymore. > I posted a half-way bugfix to the sourceforge bug tracker. > Please playsome one else with this hairy regex. I hate regex' like > these...
There'll be a maintenance release for CPANPLUS within the next week which addresses this and other issues. Please keep an eye out for CPANPLUS 0.043 on a CPAN near you. -- Jos Boumans "You know you are never more indignant in life than when you're shopping at a store you feel is beneath you and one of the other customers mistakes you for one of the employees of that store." - Dennis Miller CPANPLUS http://cpanplus.sf.net