Skip Menu |

This queue is for tickets about the Net-Z3950-ZOOM CPAN distribution.

Report information
The Basics
Id: 58104
Status: open
Priority: 0/
Queue: Net-Z3950-ZOOM

People
Owner: Nobody in particular
Requestors: chris.nighswonger [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.25
Fixed in: (no value)



Subject: 'make test' fails due to non-existent url referenced in test
Attempts to connect to z3950.indexdata.com/gils fail and thus subsequent tests fail. Browsing to this url results in a 404 error. Partial output of 'make test': C:\strawberry\cpan\build\Net-Z3950-ZOOM-1.25-a0jzCQ>dmake test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\ar ch')" t/*.t t/1-Net-Z3950-ZOOM.t .... 4/23 # Failed test 'connection to 'z3950.indexdata.com/gils'' t/1-Net-Z3950-ZOOM.t .... 5/23 # at t/1-Net-Z3950-ZOOM.t line 28. # Failed test 'delayed connection to 'z3950.indexdata.com/gils'' t/1-Net-Z3950-ZOOM.t .... 8/23 # at t/1-Net-Z3950-ZOOM.t line 39.
On Thu Jun 03 22:07:06 2010, https://www.google.com/accounts/o8/id? id=AItOawkymaXy4QwnuFGcBKVjFb6QURfP5Bz57go wrote: Show quoted text
> Attempts to connect to z3950.indexdata.com/gils fail and thus
subsequent Show quoted text
> tests fail. Browsing to this url results in a 404 error. > > > Partial output of 'make test': > > C:\strawberry\cpan\build\Net-Z3950-ZOOM-1.25-a0jzCQ>dmake test > C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib\lib', 'blib\ar > ch')" t/*.t > t/1-Net-Z3950-ZOOM.t .... 4/23 > # Failed test 'connection to 'z3950.indexdata.com/gils'' > t/1-Net-Z3950-ZOOM.t .... 5/23 # at t/1-Net-Z3950-ZOOM.t line 28. > > # Failed test 'delayed connection to 'z3950.indexdata.com/gils'' > t/1-Net-Z3950-ZOOM.t .... 8/23 # at t/1-Net-Z3950-ZOOM.t line 39.
Thanks for spotting this. The test server was down; we've now restarted it, and I've verified that the ZOOM-Perl test-suite once more runs correctly: $ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1-Net-Z3950-ZOOM......ok t/10-options............ok t/11-option-callback....ok t/12-query..............ok t/13-resultset..........ok t/14-sorting............ok t/15-scan...............ok t/16-packages...........ok t/17-logging............ok t/18-charset............ok t/19-events.............ok t/2-ZOOM................ok t/20-options............ok t/21-option-callback....ok t/22-query..............ok t/23-resultset..........ok t/24-sorting............ok t/25-scan...............ok t/26-packages...........ok t/27-logging............ok t/28-charset............ok t/29-events.............ok All tests successful. Files=22, Tests=712, 128 wallclock secs ( 2.29 cusr + 0.45 csys = 2.74 CPU) By the way, z3950.indexdata.com/gils is not a URL, or at least not an HTTP URL -- it's a ZOOM target address. If you feed it to a web browser then it'll try to access it via HTTP on port 80 (the default for that protocol) and there is indeed no page there so 404 is correct. But when used as a ZOOM address, the default port is 210, and that does now work again: $ zoomsh Show quoted text
ZOOM>open z3950.indexdata.com/gils ZOOM>find mineral
z3950.indexdata.com/gils: 18 hits Show quoted text
ZOOM>
Subject: Re: [rt.cpan.org #58104] 'make test' fails due to non-existent url referenced in test
Date: Fri, 4 Jun 2010 08:40:43 -0400
To: bug-Net-Z3950-ZOOM [...] rt.cpan.org
From: Christopher Nighswonger <chris.nighswonger [...] gmail.com>
Thanks Mike! On Fri, Jun 4, 2010 at 6:51 AM, Mike Taylor via RT <bug-Net-Z3950-ZOOM@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=58104 > > > On Thu Jun 03 22:07:06 2010, https://www.google.com/accounts/o8/id? > id=AItOawkymaXy4QwnuFGcBKVjFb6QURfP5Bz57go wrote:
>> Attempts to connect to z3950.indexdata.com/gils fail and thus
> subsequent
>> tests fail. Browsing to this url results in a 404 error. >> >> >> Partial output of 'make test': >> >> C:\strawberry\cpan\build\Net-Z3950-ZOOM-1.25-a0jzCQ>dmake test >> C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" >> "test_harness(0, 'blib\lib', 'blib\ar >> ch')" t/*.t >> t/1-Net-Z3950-ZOOM.t .... 4/23 >> #   Failed test 'connection to 'z3950.indexdata.com/gils'' >> t/1-Net-Z3950-ZOOM.t .... 5/23 #   at t/1-Net-Z3950-ZOOM.t line 28. >> >> #   Failed test 'delayed connection to 'z3950.indexdata.com/gils'' >> t/1-Net-Z3950-ZOOM.t .... 8/23 #   at t/1-Net-Z3950-ZOOM.t line 39.
> > Thanks for spotting this.  The test server was down; we've now restarted > it, and I've verified that the ZOOM-Perl test-suite once more runs > correctly: > > $ make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/1-Net-Z3950-ZOOM......ok > t/10-options............ok > t/11-option-callback....ok > t/12-query..............ok > t/13-resultset..........ok > t/14-sorting............ok > t/15-scan...............ok > t/16-packages...........ok > t/17-logging............ok > t/18-charset............ok > t/19-events.............ok > t/2-ZOOM................ok > t/20-options............ok > t/21-option-callback....ok > t/22-query..............ok > t/23-resultset..........ok > t/24-sorting............ok > t/25-scan...............ok > t/26-packages...........ok > t/27-logging............ok > t/28-charset............ok > t/29-events.............ok > All tests successful. > Files=22, Tests=712, 128 wallclock secs ( 2.29 cusr +  0.45 csys =  2.74 > CPU) > > By the way, z3950.indexdata.com/gils is not a URL, or at least not an > HTTP URL -- it's a ZOOM target address.  If you feed it to a web browser > then it'll try to access it via HTTP on port 80 (the default for that > protocol) and there is indeed no page there so 404 is correct.  But when > used as a ZOOM address, the default port is 210, and that does now work > again: > > $ zoomsh
> ZOOM>open z3950.indexdata.com/gils > ZOOM>find mineral
> z3950.indexdata.com/gils: 18 hits
> ZOOM>
> > >