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

Report information
The Basics
Id:
121406
Status:
open
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
thompsonl [...] logh.net
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: WWW::Mechanize::PhantomJS Freezes During Test
Date: Wed, 26 Apr 2017 13:51:20 -0700
To: bug-WWW-Mechanize-PhantomJS@rt.cpan.org
From: Lee Thompson <thompsonl@logh.net>
OS: Windows 7 (x64) SP1 Perl: Strawberry Perl v5.18.4 PhantomJS: v2.1.1 WWW::Mechanize::PhantomJS: 0.15 Attempting to cpan install WWW::Mechanize::PhantomJS it freezes during the test: t/00-load.t ................... ok t/49-mech-get-file.t .......... # Testing with C:\Tools\phantomjs.exe # PhantomJS version '2.1.1', ghostdriver version '1.1.0' t/49-mech-get-file.t .......... 1/12 # Loading C:\Perl\cpan\build\WWW-Mechanize-PhantomJS-0.15-Rb8ZXF\t\49-mech-get-file.html # Loading C:\Perl\cpan\build\WWW-Mechanize-PhantomJS-0.15-Rb8ZXF\t\49-mech-get-file.html t/49-mech-get-file.t .......... ok t/49-mech-nav.t ............... # Testing with C:\Tools\phantomjs.exe # PhantomJS version '2.1.1', ghostdriver version '1.1.0' t/49-mech-nav.t ............... 1/3 # Going back # Going forward t/49-mech-nav.t ............... 3/3
Subject: Re: [rt.cpan.org #121406] WWW::Mechanize::PhantomJS Freezes During Test
Date: Thu, 27 Apr 2017 17:33:05 +0200
To: bug-WWW-Mechanize-PhantomJS@rt.cpan.org
From: Max Maischein <corion@corion.net>
Hello Lee,
Show quoted text
> OS: Windows 7 (x64) SP1 > Perl: Strawberry Perl v5.18.4 > PhantomJS: v2.1.1 > WWW::Mechanize::PhantomJS: 0.15 > > Attempting to cpan install WWW::Mechanize::PhantomJS it freezes during > the test: > > t/00-load.t ................... ok > t/49-mech-get-file.t .......... # Testing with C:\Tools\phantomjs.exe > # PhantomJS version '2.1.1', ghostdriver version '1.1.0' > t/49-mech-get-file.t .......... 1/12 # Loading > C:\Perl\cpan\build\WWW-Mechanize-PhantomJS-0.15-Rb8ZXF\t\49-mech-get-file.html > # Loading > C:\Perl\cpan\build\WWW-Mechanize-PhantomJS-0.15-Rb8ZXF\t\49-mech-get-file.html > t/49-mech-get-file.t .......... ok > t/49-mech-nav.t ............... # Testing with C:\Tools\phantomjs.exe > # PhantomJS version '2.1.1', ghostdriver version '1.1.0' > t/49-mech-nav.t ............... 1/3 # Going back > # Going forward > t/49-mech-nav.t ............... 3/3 >
Weird - this looks like a problem I already know. The tests run until the end but the process hangs on cleanup of the localhost server. I added some code to work around this problem in version 0.15 and both on my local machine (Win 7, SP1, with Strawberry Perl 5.20, phantomjs in various versions) and on Travis CI, the behaviour doesn't occur. Can you please send me the output of running t\00-load.t? Maybe there is a problematic prerequisite module or something that gives me a hint where the differences between our setups cause the problem... -max
Subject: Re: [rt.cpan.org #121406] WWW::Mechanize::PhantomJS Freezes During Test
Date: Sun, 30 Apr 2017 11:00:43 -0700
To: bug-WWW-Mechanize-PhantomJS@rt.cpan.org
From: Lee Thompson <thompsonl@logh.net>
How do I capture the log for t\00-load.t? (The one log I saw being made from task manager was 0 bytes and wasn't flushing.) On 4/27/2017 9:09 AM, Max Maischein via RT wrote:
Show quoted text
> Weird - this looks like a problem I already know. The tests run until > the end but the process hangs on cleanup of the localhost server. I > added some code to work around this problem in version 0.15 and both on > my local machine (Win 7, SP1, with Strawberry Perl 5.20, phantomjs in > various versions) and on Travis CI, the behaviour doesn't occur. > > Can you please send me the output of running t\00-load.t? Maybe there is > a problematic prerequisite module or something that gives me a hint > where the differences between our setups cause the problem... > > -max >
-- Lee Thompson thompsonl@logh.net


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.