Skip Menu |

This queue is for tickets about the HTTP-Proxy CPAN distribution.

Report information
The Basics
Id: 71354
Status: open
Priority: 0/
Queue: HTTP-Proxy

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
goneri [...] rulezlan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.25
  • 0.300
  • 0.301
  • 0.304
Fixed in: (no value)



Subject: Test-suite fails on Win32
Hello Book, The test-suite hangs on Win32. Best regards, C:\strawberry\cpan\build\POE-Component-Server-HTTP-0.09-G0QQPK>dmake install Installing C:\strawberry\perl\site\lib\POE\Component\Server\HTTP.pm Installing C:\strawberry\perl\site\lib\POE\Component\Server\HTTP\Connection.pm Installing C:\strawberry\perl\site\lib\POE\Component\Server\HTTP\Request.pm Installing C:\strawberry\perl\site\lib\POE\Component\Server\HTTP\Response.pm Appending installation info to C:\strawberry\perl\lib/perllocal.pod C:\strawberry\cpan\build\POE-Component-Server-HTTP-0.09-G0QQPK>cd .. C:\strawberry\cpan\build>cd HTTP-Proxy-0.25-k2ERzP C:\strawberry\cpan\build\HTTP-Proxy-0.25-k2ERzP>make te C:\strawberry\cpan\build\HTTP-Proxy-0.25-k2ERzP>dmake test dmake: Error: -- Don't know how to make `test' C:\strawberry\cpan\build\HTTP-Proxy-0.25-k2ERzP>perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for HTTP::Proxy C:\strawberry\cpan\build\HTTP-Proxy-0.25-k2ERzP>dmake test Skip blib\lib\HTTP\Proxy\Engine\Legacy.pm (unchanged) Skip blib\lib\HTTP\Proxy\BodyFilter\htmlparser.pm (unchanged) Skip blib\lib\HTTP\Proxy\Engine\Threaded.pm (unchanged) Skip blib\lib\HTTP\Proxy\BodyFilter.pm (unchanged) Skip blib\lib\HTTP\Proxy\BodyFilter\htmltext.pm (unchanged) Skip blib\lib\HTTP\Proxy.pm (unchanged) Skip blib\lib\HTTP\Proxy\FilterStack.pm (unchanged) Skip blib\lib\HTTP\Proxy\HeaderFilter.pm (unchanged) Skip blib\lib\HTTP\Proxy\HeaderFilter\standard.pm (unchanged) Skip blib\lib\HTTP\Proxy\HeaderFilter\simple.pm (unchanged) Skip blib\lib\HTTP\Proxy\Engine\NoFork.pm (unchanged) Skip blib\lib\HTTP\Proxy\Engine\ScoreBoard.pm (unchanged) Skip blib\lib\HTTP\Proxy\BodyFilter\lines.pm (unchanged) Skip blib\lib\HTTP\Proxy\BodyFilter\simple.pm (unchanged) Skip blib\lib\HTTP\Proxy\BodyFilter\complete.pm (unchanged) Skip blib\lib\HTTP\Proxy\Engine.pm (unchanged) Skip blib\lib\HTTP\Proxy\BodyFilter\save.pm (unchanged) Skip blib\lib\HTTP\Proxy\BodyFilter\tags.pm (unchanged) C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/00basic.t ......... ok t/01pod.t ........... skipped: Test::Pod 1.14 required for testing POD t/02pod-coverage.t .. skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/05new.t ........... ok t/10init.t .......... ok t/11log.t ........... ok t/15accessors.t ..... 1/30 maxconn is deprecated, please use max_connections at t/15accessors.t line 42 maxserve is deprecated, please use max_keep_alive_requests at t/15accessors.t li ne 42 t/15accessors.t ..... ok t/15deprecated.t .... ok t/16stash.t ......... ok t/17fstack.t ........ ok t/18engine.t ........ ok t/20dummy.t ......... skipped: This test fails on MSWin32. HTTP::Proxy is usable on Win32 with maxchild => 0 t/20keepalive.t ..... skipped: This test fails on MSWin32. HTTP::Proxy is usable on Win32 with maxchild => 0 t/22http.t .......... 1/5 # Failed test 'Got an answer (500)' # at t/22http.t line 71. # '500' # doesn't match '(?-xism:^200$)' # Failed test 'Got an answer (500)' # at t/22http.t line 71. # '500' # doesn't match '(?-xism:^301$)' t/22http.t .......... 3/5 # Failed test 'Got an answer (500)' # at t/22http.t line 71. # '500' # doesn't match '(?-xism:^404$)' t/22http.t .......... 4/5 (frozen)
From: MichaelRpdx

Message body is not shown because it is too large.

t/20dummy...........skipped all skipped: This test fails on MSWin32. HTTP::Proxy is usable on Win32 with maxchild => 0 t/20keepalive.......skipped all skipped: This test fails on MSWin32. HTTP::Proxy is usable on Win32 with maxchild => 0 t/22http............ <-___________ Hangs on win32 with perl v5.8.8 built for MSWin32-x86-multi-thread to!
Version 0.26 is hanging on t/51simple2.t Strawberry Perl 5.12.3 on Windows 7 C:\Users\mmusgrove\Desktop>cpan There seems to be running another CPAN process (pid 5068). Contacting... Other job not responding. Shall I overwrite the lockfile 'C:\strawberry\cpan\.lo ck'? (Y/n) [y] y cpan shell -- CPAN exploration and modules installation (v1.9800) Enter 'h' for help. Show quoted text
cpan> look HTTP::Proxy
Database was generated on Fri, 08 Feb 2013 14:15:10 GMT Running look for module 'HTTP::Proxy' Trying to open a subshell in the build directory... Checksum for C:\strawberry\cpan\sources\authors\id\B\BO\BOOK\HTTP-Proxy-0.26.tar .gz ok Scanning cache C:\strawberry\cpan\build for sizes ...........................................................................-DONE DEL(1/1): C:\strawberry\cpan\build\CHI-0.56-Ycww8N Working directory is C:\strawberry\cpan\build\HTTP-Proxy-0.26-iYMIxN Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\strawberry\cpan\build\HTTP-Proxy-0.26-iYMIxN>perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for HTTP::Proxy Writing MYMETA.yml and MYMETA.json C:\strawberry\cpan\build\HTTP-Proxy-0.26-iYMIxN>dmake cp lib/HTTP/Proxy/Engine/Legacy.pm blib\lib\HTTP\Proxy\Engine\Legacy.pm cp lib/HTTP/Proxy/BodyFilter/htmlparser.pm blib\lib\HTTP\Proxy\BodyFilter\htmlpa rser.pm cp lib/HTTP/Proxy/Engine/Threaded.pm blib\lib\HTTP\Proxy\Engine\Threaded.pm cp lib/HTTP/Proxy/BodyFilter.pm blib\lib\HTTP\Proxy\BodyFilter.pm cp lib/HTTP/Proxy/BodyFilter/htmltext.pm blib\lib\HTTP\Proxy\BodyFilter\htmltext .pm cp lib/HTTP/Proxy.pm blib\lib\HTTP\Proxy.pm cp lib/HTTP/Proxy/FilterStack.pm blib\lib\HTTP\Proxy\FilterStack.pm cp lib/HTTP/Proxy/HeaderFilter.pm blib\lib\HTTP\Proxy\HeaderFilter.pm cp lib/HTTP/Proxy/HeaderFilter/standard.pm blib\lib\HTTP\Proxy\HeaderFilter\stan dard.pm cp lib/HTTP/Proxy/HeaderFilter/simple.pm blib\lib\HTTP\Proxy\HeaderFilter\simple .pm cp lib/HTTP/Proxy/Engine/NoFork.pm blib\lib\HTTP\Proxy\Engine\NoFork.pm cp lib/HTTP/Proxy/Engine/ScoreBoard.pm blib\lib\HTTP\Proxy\Engine\ScoreBoard.pm cp lib/HTTP/Proxy/BodyFilter/lines.pm blib\lib\HTTP\Proxy\BodyFilter\lines.pm cp lib/HTTP/Proxy/BodyFilter/simple.pm blib\lib\HTTP\Proxy\BodyFilter\simple.pm cp lib/HTTP/Proxy/BodyFilter/complete.pm blib\lib\HTTP\Proxy\BodyFilter\complete .pm cp lib/HTTP/Proxy/Engine.pm blib\lib\HTTP\Proxy\Engine.pm cp lib/HTTP/Proxy/BodyFilter/save.pm blib\lib\HTTP\Proxy\BodyFilter\save.pm cp lib/HTTP/Proxy/BodyFilter/tags.pm blib\lib\HTTP\Proxy\BodyFilter\tags.pm C:\strawberry\cpan\build\HTTP-Proxy-0.26-iYMIxN>dmake test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/00basic.t ......... ok t/01pod.t ........... ok t/02pod-coverage.t .. ok t/05new.t ........... ok t/10init.t .......... ok t/11log.t ........... ok t/15accessors.t ..... 1/30 maxconn is deprecated, please use max_connections at t/15accessors.t line 42. maxserve is deprecated, please use max_keep_alive_requests at t/15accessors.t li ne 42. t/15accessors.t ..... ok t/15deprecated.t .... ok t/16stash.t ......... ok t/17fstack.t ........ ok t/18engine.t ........ ok t/20dummy.t ......... skipped: This test fails on MSWin32. HTTP::Proxy is usable on Win32 with maxchild => 0 t/20keepalive.t ..... skipped: This test fails on MSWin32. HTTP::Proxy is usable on Win32 with maxchild => 0 t/22http.t .......... ok t/22transparent.t ... skipped: This test fails on MSWin32. HTTP::Proxy is usable on Win32 with maxchild => 0 t/23connect.t ....... skipped: Unable to make this test work correctly t/23https.t ......... skipped: Can't make this work with Crypt::SSLeay t/40push_filters.t .. ok t/41filters.t ....... ok t/42will_modify.t ... ok t/50hopbyhop.t ...... ok t/50standard.t ...... skipped: This test fails on MSWin32. HTTP::Proxy is usable on Win32 with maxchild => 0 t/50via.t ........... skipped: This test fails on MSWin32. HTTP::Proxy is usable on Win32 with maxchild => 0 t/51simple.t ........ ok t/51simple2.t .......
For me, on version 0.300 only 90httpstatus.t hangs 1..45 ok 1 - 200 => 200 OK (hangs) -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #71354] Test-suite fails on Win32
Date: Mon, 8 Apr 2013 10:25:53 +0200
To: Alexandr Ciornii via RT <bug-HTTP-Proxy [...] rt.cpan.org>
From: "Philippe Bruhat (BooK)" <book [...] cpan.org>
On Sun, Apr 07, 2013 at 05:08:37PM -0400, Alexandr Ciornii via RT wrote: Show quoted text
> Queue: HTTP-Proxy > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=71354 > > > For me, on version 0.300 only 90httpstatus.t hangs > > 1..45 > ok 1 - 200 => 200 OK > (hangs) >
Does the script access the web via a proxy? Does it hang every time? -- Philippe Bruhat (BooK) There is no greater magic than knowing exactly who and what you are. (Moral from Groo #2 (Image))
From: goneri [...] rulezlan.org
Le Lun 08 Avr 2013 04:26:11, BOOK a écrit : Show quoted text
> On Sun, Apr 07, 2013 at 05:08:37PM -0400, Alexandr Ciornii via RT wrote:
> > Queue: HTTP-Proxy > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=71354 > > > > > For me, on version 0.300 only 90httpstatus.t hangs
Yes, it's the same here with release 0.300. Show quoted text
> > 1..45 > > ok 1 - 200 => 200 OK > > (hangs) > >
> > Does the script access the web via a proxy?
No Show quoted text
> Does it hang every time?
Yes. DB<5> LWP::Protocol::http::SocketMethods::can_read(C:/strawberry/perl/vendor/lib/LWP/ rotocol/http.pm:463): 463: my($self, $timeout) = @_; DB<5> LWP::Protocol::http::SocketMethods::can_read(C:/strawberry/perl/vendor/lib/LWP/ rotocol/http.pm:464): 464: my $fbits = ''; DB<5> LWP::Protocol::http::SocketMethods::can_read(C:/strawberry/perl/vendor/lib/LWP/ rotocol/http.pm:465): 465: vec($fbits, fileno($self), 1) = 1; DB<5> LWP::Protocol::http::SocketMethods::can_read(C:/strawberry/perl/vendor/lib/LWP/ rotocol/http.pm:468): 468: my $before; DB<5> LWP::Protocol::http::SocketMethods::can_read(C:/strawberry/perl/vendor/lib/LWP/ rotocol/http.pm:466): 466: SELECT: 467: { DB<5> LWP::Protocol::http::SocketMethods::can_read(C:/strawberry/perl/vendor/lib/LWP/ rotocol/http.pm:469): 469: $before = time if $timeout; DB<5> LWP::Protocol::http::SocketMethods::can_read(C:/strawberry/perl/vendor/lib/LWP/ rotocol/http.pm:470): 470: my $nfound = select($fbits, undef, undef, $timeout); DB<5> freezed!! I try to turn keepAlive off without success. I believe this is a bug in LWP itself.
On Fri Feb 08 09:22:59 2013, MMUSGROVE wrote: Show quoted text
> Version 0.26 is hanging on t/51simple2.t > Strawberry Perl 5.12.3 on Windows 7 > > C:\Users\mmusgrove\Desktop>cpan > > There seems to be running another CPAN process (pid 5068). > Contacting... > Other job not responding. Shall I overwrite the lockfile > 'C:\strawberry\cpan\.lo > ck'? (Y/n) [y] y > > cpan shell -- CPAN exploration and modules installation (v1.9800) > Enter 'h' for help. > >
> cpan> look HTTP::Proxy
> Database was generated on Fri, 08 Feb 2013 14:15:10 GMT > Running look for module 'HTTP::Proxy' > > Trying to open a subshell in the build directory... > Checksum for > C:\strawberry\cpan\sources\authors\id\B\BO\BOOK\HTTP-Proxy-0.26.tar > .gz ok > Scanning cache C:\strawberry\cpan\build for sizes > ...........................................................................- > DONE > > DEL(1/1): C:\strawberry\cpan\build\CHI-0.56-Ycww8N > Working directory is C:\strawberry\cpan\build\HTTP-Proxy-0.26-iYMIxN > Microsoft Windows [Version 6.1.7601] > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > > C:\strawberry\cpan\build\HTTP-Proxy-0.26-iYMIxN>perl Makefile.PL > Checking if your kit is complete... > Looks good > Writing Makefile for HTTP::Proxy > Writing MYMETA.yml and MYMETA.json > > C:\strawberry\cpan\build\HTTP-Proxy-0.26-iYMIxN>dmake > cp lib/HTTP/Proxy/Engine/Legacy.pm > blib\lib\HTTP\Proxy\Engine\Legacy.pm > cp lib/HTTP/Proxy/BodyFilter/htmlparser.pm > blib\lib\HTTP\Proxy\BodyFilter\htmlpa > rser.pm > cp lib/HTTP/Proxy/Engine/Threaded.pm > blib\lib\HTTP\Proxy\Engine\Threaded.pm > cp lib/HTTP/Proxy/BodyFilter.pm blib\lib\HTTP\Proxy\BodyFilter.pm > cp lib/HTTP/Proxy/BodyFilter/htmltext.pm > blib\lib\HTTP\Proxy\BodyFilter\htmltext > .pm > cp lib/HTTP/Proxy.pm blib\lib\HTTP\Proxy.pm > cp lib/HTTP/Proxy/FilterStack.pm blib\lib\HTTP\Proxy\FilterStack.pm > cp lib/HTTP/Proxy/HeaderFilter.pm blib\lib\HTTP\Proxy\HeaderFilter.pm > cp lib/HTTP/Proxy/HeaderFilter/standard.pm > blib\lib\HTTP\Proxy\HeaderFilter\stan > dard.pm > cp lib/HTTP/Proxy/HeaderFilter/simple.pm > blib\lib\HTTP\Proxy\HeaderFilter\simple > .pm > cp lib/HTTP/Proxy/Engine/NoFork.pm > blib\lib\HTTP\Proxy\Engine\NoFork.pm > cp lib/HTTP/Proxy/Engine/ScoreBoard.pm > blib\lib\HTTP\Proxy\Engine\ScoreBoard.pm > cp lib/HTTP/Proxy/BodyFilter/lines.pm > blib\lib\HTTP\Proxy\BodyFilter\lines.pm > cp lib/HTTP/Proxy/BodyFilter/simple.pm > blib\lib\HTTP\Proxy\BodyFilter\simple.pm > cp lib/HTTP/Proxy/BodyFilter/complete.pm > blib\lib\HTTP\Proxy\BodyFilter\complete > .pm > cp lib/HTTP/Proxy/Engine.pm blib\lib\HTTP\Proxy\Engine.pm > cp lib/HTTP/Proxy/BodyFilter/save.pm > blib\lib\HTTP\Proxy\BodyFilter\save.pm > cp lib/HTTP/Proxy/BodyFilter/tags.pm > blib\lib\HTTP\Proxy\BodyFilter\tags.pm > > C:\strawberry\cpan\build\HTTP-Proxy-0.26-iYMIxN>dmake test > C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" > "test_harness(0, > 'blib\lib', 'blib\arch')" t/*.t > t/00basic.t ......... ok > t/01pod.t ........... ok > t/02pod-coverage.t .. ok > t/05new.t ........... ok > t/10init.t .......... ok > t/11log.t ........... ok > t/15accessors.t ..... 1/30 maxconn is deprecated, please use > max_connections at > t/15accessors.t line 42. > maxserve is deprecated, please use max_keep_alive_requests at > t/15accessors.t li > ne 42. > t/15accessors.t ..... ok > t/15deprecated.t .... ok > t/16stash.t ......... ok > t/17fstack.t ........ ok > t/18engine.t ........ ok > t/20dummy.t ......... skipped: This test fails on MSWin32. HTTP::Proxy > is usable > on Win32 with maxchild => 0 > t/20keepalive.t ..... skipped: This test fails on MSWin32. HTTP::Proxy > is usable > on Win32 with maxchild => 0 > t/22http.t .......... ok > t/22transparent.t ... skipped: This test fails on MSWin32. HTTP::Proxy > is usable > on Win32 with maxchild => 0 > t/23connect.t ....... skipped: Unable to make this test work correctly > t/23https.t ......... skipped: Can't make this work with Crypt::SSLeay > t/40push_filters.t .. ok > t/41filters.t ....... ok > t/42will_modify.t ... ok > t/50hopbyhop.t ...... ok > t/50standard.t ...... skipped: This test fails on MSWin32. HTTP::Proxy > is usable > on Win32 with maxchild => 0 > t/50via.t ........... skipped: This test fails on MSWin32. HTTP::Proxy > is usable > on Win32 with maxchild => 0 > t/51simple.t ........ ok > t/51simple2.t .......
I got exactly the same problem on Windows 7 with Strawberry Perl (64-bit) 5.16.3.1-64bit with 0.304 version of HTTP::Proxy