Subject: | Dependency problem (resolved) |
Date: | Thu, 12 Nov 2009 11:51:20 +0100 |
To: | bug-Parallel-SubFork [...] rt.cpan.org |
From: | Patrick Schulz <patrick.schulz [...] globalfoundries.com> |
Hello,
when I tried to install Parallel-SubFork-0.06 in our perl-5.8.8
installation (x86_64 GNU/Linux) the tests failed like for may other
testers. Same happened with perl-5.8.9.
When I looked into the code I found that you use Time::HiRes (but it's
not mentioned in the doc). After upgrading Time::HiRes from version
v1.86 to v1.9719 all tests were passed (on perl-5.8.8 and perl-5.8.9).
So it seems to be important to have the right version of Time::HiRes
installed. Please state this in the documentation and check for it in
the Makefile.
Regards,
Patrick.
PS: The detailed output of the failed tests looks like this:
perladmin@rincewind:~/cpan/build/Parallel-SubFork-0.06-LJBk7o$ perl -I
./lib t/02-task-timeout.t
1..29
ok 1 - use Parallel::SubFork::Task;
ok 2 - The object isa IPC::Semaphore
ok 3 - Semaphore cleared
ok 4 - Semaphore cleared
ok 5 - The object isa Parallel::SubFork::Task
ok 6 - Taks has a different PID
ok 7 - Child process still running
ok 8
not ok 9
# Failed test at t/02-task-timeout.t line 65.
ok 10 - Removed resource to semaphore B
not ok 11 - Task exit code is fine
# Failed test 'Task exit code is fine'
# at
/home/perladmin/cpan/build/Parallel-SubFork-0.06-LJBk7o/t/Tsemaphore.pm
line 191.
# got: '1'
# expected: '57'
not ok 12 - Task status is fine
# Failed test 'Task status is fine'
# at
/home/perladmin/cpan/build/Parallel-SubFork-0.06-LJBk7o/t/Tsemaphore.pm
line 192.
# got: '14'
# expected: '14592'
ok 13 - Task args are intact
not ok 14 - Second wait on the same task, exit code fine
# Failed test 'Second wait on the same task, exit code fine'
# at
/home/perladmin/cpan/build/Parallel-SubFork-0.06-LJBk7o/t/Tsemaphore.pm
line 202.
# got: '1'
# expected: '57'
not ok 15 - Second wait on the same task, status fine
# Failed test 'Second wait on the same task, status fine'
# at
/home/perladmin/cpan/build/Parallel-SubFork-0.06-LJBk7o/t/Tsemaphore.pm
line 203.
# got: '14'
# expected: '14592'
ok 16 - No more processes
ok 17 - Semaphore cleared
ok 18 - The object isa Parallel::SubFork::Task
ok 19 - Taks has a different PID
ok 20 - Child process still running
ok 21
not ok 22
# Failed test at t/02-task-timeout.t line 65.
ok 23 - Removed resource to semaphore B
not ok 24 - Task exit code is fine
# Failed test 'Task exit code is fine'
# at
/home/perladmin/cpan/build/Parallel-SubFork-0.06-LJBk7o/t/Tsemaphore.pm
line 191.
# got: '1'
# expected: '57'
not ok 25 - Task status is fine
# Failed test 'Task status is fine'
# at
/home/perladmin/cpan/build/Parallel-SubFork-0.06-LJBk7o/t/Tsemaphore.pm
line 192.
# got: '14'
# expected: '14592'
ok 26 - Task args are intact
not ok 27 - Second wait on the same task, exit code fine
# Failed test 'Second wait on the same task, exit code fine'
# at
/home/perladmin/cpan/build/Parallel-SubFork-0.06-LJBk7o/t/Tsemaphore.pm
line 202.
# got: '1'
# expected: '57'
not ok 28 - Second wait on the same task, status fine
# Failed test 'Second wait on the same task, status fine'
# at
/home/perladmin/cpan/build/Parallel-SubFork-0.06-LJBk7o/t/Tsemaphore.pm
line 203.
# got: '14'
# expected: '14592'
ok 29 - No more processes
# Looks like you failed 10 tests of 29.
--
Patrick Schulz
Yield Engineering
T +49 (0) 351 277-4233
F +49 (0) 351 277-94233
M/S: E32-YE
patrick.schulz@globalfoundries.com
http://www.globalfoundries.com/
GLOBALFOUNDRIES Dresden Module One Limited Liability Company & Co. KG
Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Sitz Dresden I Registergericht Dresden HRA 5255
Vertretungsberechtigter Komplementär: GLOBALFOUNDRIES Dresden Module One
LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der GLOBALFOUNDRIES Dresden Module One LLC: James E.
Doran, Bruce McDougall, Kelly Ann Smales
------
vmunix: panic - no coffee detected, user halted.