Skip Menu |

This queue is for tickets about the Proc-PersistentControl CPAN distribution.

Report information
The Basics
Id: 102727
Status: resolved
Priority: 0/
Queue: Proc-PersistentControl

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

Bug Information
Severity: Important
Broken in: 1.0
Fixed in: 1.2



Subject: Proc-PersistentControl.t hangs on Windows
C:\strawberry160\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib\lib', 'blib\arch')" t/*.t read() on closed filehandle X at C:\strawberry160\cpan\build\Proc-PersistentControl-1.0-KDDWF4\blib\lib/Proc/PersistentControl/winjob.pl line 75. C:\strawberry160\cpan\build\Proc-PersistentControl-1.0-KDDWF4\blib\lib/Proc/PersistentControl/winjob.pl: Could not spawn job to run '/gippsnich': Inappropriate I/O control operation (The system cannot find the file specified) StartProc could not start child process after 9.9 s at t/Proc-PersistentControl.t line 27. Can't call method "IsAlive" on an undefined value at t/Proc-PersistentControl.t line 30. (hangs) t/Proc-PersistentControl.t .. 1..12 # Running under perl version 5.016000 for MSWin32 # Current time local: Thu Mar 12 17:01:25 2015 # Current time GMT: Thu Mar 12 15:01:25 2015 # Using Test.pm version 1.25_02 ok 1 ok 2 Dubious, test returned 2 (wstat 512, 0x200) Failed 10/12 subtests Test Summary Report ------------------- t/Proc-PersistentControl.t (Wstat: 512 Tests: 2 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 12 tests but ran 2. Files=1, Tests=2, 114 wallclock secs ( 0.03 usr + 0.04 sys = 0.07 CPU) Result: FAIL Failed 1/1 test programs. 0/2 subtests failed. 1 extra process still exists -- Alexandr Ciornii, http://chorny.net
Actually I do not know why the test hanged. But the root cause was trying to call a method on an undef value, which failed (and then hanged on Windows...). I modified the test so it does not try to do that.