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: 105121
Status: resolved
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: gabor [...] szabgab.com
Cc:
AdminCc:

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



Subject: test of WWW-Mechanize-1.75 stuck on OSX perl 5.22
Date: Tue, 9 Jun 2015 13:53:33 +0300
To: bug-www-mechanize [...] rt.cpan.org
From: Gabor Szabo <gabor [...] szabgab.com>
$ cpanx --look WWW::Mechanize --look WWW::Mechanize Constants from lexical variables potentially modified elsewhere are deprecated at /loader/0x7fcdd3836e70/aliased.pm line 1. --> Working on WWW::Mechanize Fetching http://www.cpan.org/authors/id/E/ET/ETHER/WWW-Mechanize-1.75.tar.gz ... OK Entering /Users/gabor/.cpanm/work/1433847018.25862/WWW-Mechanize-1.75 with /bin/bash bash-3.2$ perl Makefile.PL WWW::Mechanize likes to have a lot of test modules for some of its tests. The following are modules that would be nice to have, but not required. Test::Taint Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for WWW::Mechanize Writing MYMETA.yml and MYMETA.json bash-3.2$ make cp lib/WWW/Mechanize/Cookbook.pod blib/lib/WWW/Mechanize/Cookbook.pod cp lib/WWW/Mechanize/Link.pm blib/lib/WWW/Mechanize/Link.pm cp lib/WWW/Mechanize/FAQ.pod blib/lib/WWW/Mechanize/FAQ.pod cp lib/WWW/Mechanize/Examples.pod blib/lib/WWW/Mechanize/Examples.pod cp lib/WWW/Mechanize/Image.pm blib/lib/WWW/Mechanize/Image.pm cp lib/WWW/Mechanize.pm blib/lib/WWW/Mechanize.pm cp bin/mech-dump blib/script/mech-dump "/Users/gabor/perl5/perlbrew/perls/perl-5.22.0_WITH_THREADS/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/mech-dump Manifying 1 pod document Manifying 6 pod documents bash-3.2$ make test PERL_DL_NONLAZY=1 "/Users/gabor/perl5/perlbrew/perls/perl-5.22.0_WITH_THREADS/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; 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/content.t t/cookies.t t/credentials-api.t t/credentials.t t/die.t t/dump.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/form_with_fields.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/content.t t/local/encoding.t t/local/failure.t t/local/follow.t t/local/form.t t/local/get.t t/local/nonascii.t t/local/overload.t t/local/page_stack.t t/local/referer.t t/local/reload.t t/local/submit.t t/mech-dump/mech-dump.t t/00-load.t .............. 1/2 # Testing WWW::Mechanize 1.75, with LWP 6.13, Perl 5.022000, /Users/gabor/perl5/perlbrew/perls/perl-5.22.0_WITH_THREADS/bin/perl # Test::Memory::Cycle 1.04 is 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/content.t .............. ok t/cookies.t .............. # Test server http://127.0.0.1:33997 as PID 26234 t/cookies.t .............. ok t/credentials-api.t ...... ok t/credentials.t .......... ok t/die.t .................. ok t/dump.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/form_with_fields.t ..... 1/? There are 2 forms with the named fields. The first one was used. at t/form_with_fields.t line 27. ^Cmake: *** [test_dynamic] Interrupt: 2
On 2015-06-09 03:53:53, gabor@szabgab.com wrote: Show quoted text
> t/form_with_fields.t ..... 1/? There are 2 forms with the named fields. > The first one was used. at t/form_with_fields.t line 27. > ^Cmake: *** [test_dynamic] Interrupt: 2
Works for me, although there is a significant (~1minute) delay in t/local/content. It would be helpful if you ran the tests in verbose mode so we could see where exactly you're encountering an issue.
Subject: Re: [rt.cpan.org #105121] test of WWW-Mechanize-1.75 stuck on OSX perl 5.22
Date: Sun, 14 Jun 2015 10:55:58 +0300
To: bug-WWW-Mechanize [...] rt.cpan.org
From: Gabor Szabo <gabor [...] szabgab.com>
I ran it again, this time I left it running in a separate window. The result is that all tests passed, but it took 30 min to do so. Test Summary Report ------------------- t/local/click_button.t (Wstat: 0 Tests: 19 Failed: 0) TODO passed: 15-17, 19 Files=55, Tests=602, 1862 wallclock secs ( 0.28 usr 0.16 sys + 11.62 cusr 1.90 csys = 13.96 CPU) Result: PASS real 31m2.370s user 0m11.997s sys 0m2.104s Then I tried manually: $ time prove -lv t/local/back.t ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - 'this $mech starts with a cookie jar' isa 'HTTP::Cookies' ok 4 - An object of class 'LocalServer' 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? Sometime it gets stuck after ok 6, sometimes after ok 10 and sometime later. when I ran time prove -lv t everything finished in 3 seconds, so it seems only tests deeper in the directory hierarchy cause delays. then I ran this: time prove -lvr --timer -j1 t > out 2>&1 It took real 22m13.058s user 0m13.867s sys 0m1.982s and the output is attached. Gabor

Message body is not shown because sender requested not to inline it.