Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 63272
Status: resolved
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: peter.john.acklam [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.66
Fixed in: (no value)



Subject: "make test" hangs on Cygwin
The "make test" step hangs. The module appears to work just fine if I interrupt the "make test" and run "make install", though. Here is the result from "make test" until I interrupt it: $ make test PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/00-load.t t/add_header.t t/aliases.t t/area_link.t t/autocheck.t t/clone.t t/cookies.t t/credentials-api.t t/credentials.t t/die.t t/field.t t/find_frame.t t/find_image.t t/find_inputs.t t/find_link-warnings.t t/find_link.t t/find_link_id.t t/form-parsing.t t/frames.t t/image-new.t t/image-parse.t t/link-base.t t/link-relative.t t/link.t t/new.t t/pod-coverage.t t/pod.t t/regex-error.t t/save_content.t t/select.t t/taint.t t/tick.t t/untaint.t t/upload.t t/warn.t t/warnings.t t/local/back.t t/local/click.t t/local/click_button.t t/local/failure.t t/local/follow.t t/local/form.t t/local/get.t t/local/overload.t t/local/page_stack.t t/local/referer.t t/local/reload.t t/local/submit.t t/live/encoding.t t/live/wikipedia.t t/mech-dump/mech-dump.t t/00-load.t .............. 1/2 # Testing WWW::Mechanize 1.66, with LWP 5.837, Perl 5.010001, /usr/bin/perl # Test::Memory::Cycle is not installed. t/00-load.t .............. ok t/add_header.t ........... ok t/aliases.t .............. ok t/area_link.t ............ ok t/autocheck.t ............ ok t/clone.t ................ ok t/cookies.t .............. # Test server http://127.0.0.1:33612 as PID 5952 t/cookies.t .............. ok t/credentials-api.t ...... ok t/credentials.t .......... ok t/die.t .................. ok t/field.t ................ ok t/find_frame.t ........... ok t/find_image.t ........... ok t/find_inputs.t .......... ok t/find_link-warnings.t ... ok t/find_link.t ............ ok t/find_link_id.t ......... ok t/form-parsing.t ......... ok t/frames.t ............... ok t/image-new.t ............ ok t/image-parse.t .......... ok t/link-base.t ............ ok t/link-relative.t ........ ok t/link.t ................. ok t/live/encoding.t ........ ok t/live/wikipedia.t ....... 1/15 Error GETing http://en.wikipedia.org/: Can't connect to en.wikipedia.org:80 (Bad hostname 'en.wikipedia.org') at t/live/wikipedia.t line 26 # Looks like you planned 15 tests but ran 2. # Looks like your test exited with 22 just after 2. t/live/wikipedia.t ....... Dubious, test returned 22 (wstat 5632, 0x1600) Failed 13/15 subtests t/local/back.t ........... 1/47 # Started http://localhost:3586/ make: *** [test_dynamic] Interrupt
... and here are the results from testing "t/local/back.t" manually. After test 47, it all hangs. $ perl -Ilib t/local/back.t 1..47 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - this $mech starts with a cookie jar isa HTTP::Cookies # Started http://localhost:3635/ ok 4 - The object isa LocalServer ok 5 - With no stack, no going back ok 6 - Fetched OK ok 7 - Followed OK ok 8 - Back should succeed ok 9 - Did the base get set back? ok 10 - Title set back? ok 11 - Followed OK ok 12 - Back should succeed ok 13 - Did the base get set back? ok 14 - Title set back? ok 15 - Pre-search check ok 16 - Searched for Perl ok 17 - Right page title ok 18 - POST is in the stack ok 19 - HEAD succeeded ok 20 - HEAD is not in the stack ok 21 - Back should succeed ok 22 - Back ok 23 - Did the base get set back? ok 24 - Title set back? ok 25 - Post-search check ok 26 - Back should succeed ok 27 - reload() does not push page to stack ok 28 - $mech still has a cookie jar after a number of back() ok 29 # skip Test::Memory::Cycle not installed ok 30 - The object isa WWW::Mechanize ok 31 - Got root URL ok 32 - Pre-404 check ok 33 - 404 check ok 34 - Even 404s get on the stack ok 35 - Back should succeed ok 36 - Back from the 404 ok 37 - Post-404 check ok 38 - Get /scripts ok 39 - Back should succeed ok 40 - Back from /scripts ok 41 - Get /ports/ ok 42 - Back should succeed ok 43 - Back from /ports/ ok 44 - Get modules/ ok 45 - Back should succeed ok 46 - Back from modules/ ok 47 # skip Test::Memory::Cycle not installed