Hi Marc,
[Marc Beyer via RT, Thu, Sep 10, 2009 at 11:51:57AM -0400]
Show quoted text> Could you tell me which version of IPC::Run3 you
> have installed on your machine?
$ /usr/bin/perl -e 'use IPC::Run3; print $IPC::Run3::VERSION;'
0.043
Show quoted text
Fails -- see log below; I have also tried 0.0.6, with no success. On
older Solaris machines I have 0.0.5 installed, so I guess that was the
last version to install without problems.
# perl -MCPAN -e shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')
Show quoted textCPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 09 Sep 2009 10:27:06 GMT
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://mirror.switch.ch/mirror/CPAN/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
LWP not available
Fetching with Net::FTP:
ftp://mirror.switch.ch/mirror/CPAN/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Fri, 11 Sep 2009 04:27:17 GMT
HTTP::Date not available
There's a new CPAN.pm version (v1.9402) available!
[Current version is v1.7601]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless upgrade
while we are running...
LWP not available
Fetching with Net::FTP:
ftp://mirror.switch.ch/mirror/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Running make for
http://search.cpan.org/CPAN/authors/id/M/MA/MARCB/Unix-Lsof/Unix-Lsof-0.0.7.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/http:/search.cpan.org/CPAN/authors/id/M/MA/MARCB/Unix-Lsof/Unix-Lsof-0.0.7.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Deleting from cache: /root/.cpan/build/version-0.7701 (10.1>10.0 MB)
x Unix-Lsof-0.0.7, 0 bytes, 0 tape blocks
x Unix-Lsof-0.0.7/Makefile.PL, 760 bytes, 2 tape blocks
x Unix-Lsof-0.0.7/MANIFEST, 182 bytes, 1 tape blocks
x Unix-Lsof-0.0.7/Changes, 1002 bytes, 2 tape blocks
x Unix-Lsof-0.0.7/t, 0 bytes, 0 tape blocks
x Unix-Lsof-0.0.7/t/20.lsof-result.t, 7874 bytes, 16 tape blocks
x Unix-Lsof-0.0.7/t/10.procedural.t, 3147 bytes, 7 tape blocks
x Unix-Lsof-0.0.7/t/pod-coverage.t, 173 bytes, 1 tape blocks
x Unix-Lsof-0.0.7/t/30.parse_lsof_output.t, 3294 bytes, 7 tape blocks
x Unix-Lsof-0.0.7/t/pod.t, 140 bytes, 1 tape blocks
x Unix-Lsof-0.0.7/README, 677 bytes, 2 tape blocks
x Unix-Lsof-0.0.7/META.yml, 512 bytes, 1 tape blocks
x Unix-Lsof-0.0.7/Build.PL, 683 bytes, 2 tape blocks
x Unix-Lsof-0.0.7/lib, 0 bytes, 0 tape blocks
x Unix-Lsof-0.0.7/lib/Unix, 0 bytes, 0 tape blocks
x Unix-Lsof-0.0.7/lib/Unix/Lsof.pm, 18265 bytes, 36 tape blocks
x Unix-Lsof-0.0.7/lib/Unix/Lsof, 0 bytes, 0 tape blocks
x Unix-Lsof-0.0.7/lib/Unix/Lsof/Result.pm, 20636 bytes, 41 tape blocks
Removing previously used /root/.cpan/build/Unix-Lsof-0.0.7
CPAN.pm: Going to build
http://search.cpan.org/CPAN/authors/id/M/MA/MARCB/Unix-Lsof/Unix-Lsof-0.0.7.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Unix::Lsof
cp lib/Unix/Lsof/Result.pm blib/lib/Unix/Lsof/Result.pm
cp lib/Unix/Lsof.pm blib/lib/Unix/Lsof.pm
Manifying blib/man3/Unix::Lsof::Result.3
Manifying blib/man3/Unix::Lsof.3
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/10.procedural...........NOK 15
# Failed test 'A record with the current PID exists'
# at t/10.procedural.t line 68.
t/10.procedural...........NOK 16# Failed test 'Correct inode reported'
# at t/10.procedural.t line 71.
# got: undef
# expected: '259105'
t/10.procedural...........ok 19/19# Looks like you failed 2 tests of 19.
t/10.procedural...........dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 15-16
Failed 2/19 tests, 89.47% okay (less 10 skipped tests: 7 okay, 36.84%)
t/20.lsof-result..........ok 16/62process id is not in the list of fields returned by lsof at /root/.cpan/build/Unix-Lsof-0.0.7/blib/lib/Unix/Lsof/Result.pm line 285.
t/20.lsof-result..........NOK 18
# Failed test 'Correct process number reported'
# at t/20.lsof-result.t line 78.
# got: undef
# expected: '6950'
t/20.lsof-result..........ok 19/62
t/20.lsof-result..........NOK 20# Failed test 'returns true when it has any output'
# at t/20.lsof-result.t line 81.
process id is not in the list of fields returned by lsof at /root/.cpan/build/Unix-Lsof-0.0.7/blib/lib/Unix/Lsof/Result.pm line 285.
t/20.lsof-result..........NOK 21# Failed test 'Correct process number reported'
# at t/20.lsof-result.t line 82.
# got: undef
# expected: '6950'
t/20.lsof-result..........ok 24/62
t/20.lsof-result..........NOK 25# Failed test 'Correct file name in the list'
# at t/20.lsof-result.t line 94.
t/20.lsof-result..........ok 27/62
t/20.lsof-result..........NOK 28# Failed test 'Got correct file name with get_arrayof_rows'
# at t/20.lsof-result.t line 101.
Use of uninitialized value in array element at t/20.lsof-result.t line 104.
t/20.lsof-result..........NOK 29# Failed test 'Correct inode for file name'
# at t/20.lsof-result.t line 104.
# got: '259105'
# expected: '0'
t/20.lsof-result..........ok 30/62
t/20.lsof-result..........NOK 31# Failed test 'Second file handle shown when file descriptor output required'
# at t/20.lsof-result.t line 111.
# got: undef
# expected: anything else
Use of uninitialized value in array element at t/20.lsof-result.t line 112.
t/20.lsof-result..........NOK 32# Failed test 'Dual file handle is reported twice with same inode'
# at t/20.lsof-result.t line 112.
# got: '259105'
# expected: '0'
Use of uninitialized value in array element at t/20.lsof-result.t line 117.
t/20.lsof-result..........ok 33/62
t/20.lsof-result..........NOK 34# Failed test 'correct inode in the same row as file name'
# at t/20.lsof-result.t line 117.
# got: '259105'
# expected: '0'
Use of uninitialized value in array element at t/20.lsof-result.t line 122.
t/20.lsof-result..........ok 35/62
t/20.lsof-result..........NOK 36# Failed test 'correct inode in the same row as file name'
# at t/20.lsof-result.t line 122.
# got: '259105'
# expected: '0'
Use of uninitialized value in array element at t/20.lsof-result.t line 123.
t/20.lsof-result..........ok 37/62
t/20.lsof-result..........NOK 38# Failed test 'Specified number filter'
# at t/20.lsof-result.t line 131.
t/20.lsof-result..........NOK 39# Failed test 'Correct array returned'
# at t/20.lsof-result.t line 133.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0x83aa070)
t/20.lsof-result..........NOK 40# Failed test 'Specified regex filter'
# at t/20.lsof-result.t line 131.
t/20.lsof-result..........NOK 41# Failed test 'Correct array returned'
# at t/20.lsof-result.t line 133.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0x83afbb8)
t/20.lsof-result..........NOK 42# Failed test 'Specified string filter'
# at t/20.lsof-result.t line 131.
t/20.lsof-result..........NOK 43# Failed test 'Correct array returned'
# at t/20.lsof-result.t line 133.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0x83afb64)
t/20.lsof-result..........NOK 44# Failed test 'Specified anonymous sub filter'
# at t/20.lsof-result.t line 131.
t/20.lsof-result..........NOK 45# Failed test 'Correct array returned'
# at t/20.lsof-result.t line 133.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ARRAY(0x83b1ce0)
t/20.lsof-result..........ok 47/62
t/20.lsof-result..........NOK 48# Failed test 'Returned correct file name'
# at t/20.lsof-result.t line 141.
# got: undef
# expected: '/root/.cpan/build/Unix-Lsof-0.0.7/README'
t/20.lsof-result..........NOK 49# Failed test 'Filtered hash of rows'
# at t/20.lsof-result.t line 143.
t/20.lsof-result..........NOK 50# Failed test 'Only one value with correct ppid returned'
# at t/20.lsof-result.t line 144.
# Structures begin differing at:
# $got->{/root/.cpan/build/Unix-Lsof-0.0.7/README} = Does not exist
# $expected->{/root/.cpan/build/Unix-Lsof-0.0.7/README} = ARRAY(0x83aa118)
t/20.lsof-result..........NOK 51# Failed test 'Returned something on get_values'
# at t/20.lsof-result.t line 146.
t/20.lsof-result..........NOK 52# Failed test 'Array with single correct inode returned'
# at t/20.lsof-result.t line 147.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = '259105'
t/20.lsof-result..........ok 53/62
t/20.lsof-result..........NOK 54# Failed test 'Returned ok with filter and garbage added'
# at t/20.lsof-result.t line 151.
t/20.lsof-result..........NOK 55# Failed test 'Array with single correct pid returned'
# at t/20.lsof-result.t line 152.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = '6950'
t/20.lsof-result..........ok 56/62
t/20.lsof-result..........NOK 57# Failed test 'Array with single correct filename returned'
# at t/20.lsof-result.t line 154.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = '/root/.cpan/build/Unix-Lsof-0.0.7/README'
t/20.lsof-result..........ok 62/62# Looks like you failed 26 tests of 62.
t/20.lsof-result..........dubious
Test returned status 26 (wstat 6656, 0x1a00)
DIED. FAILED tests 18, 20-21, 25, 28-29, 31-32, 34, 36, 38-45, 48-52, 54-55, 57
Failed 26/62 tests, 58.06% okay (less 6 skipped tests: 30 okay, 48.39%)
t/30.parse_lsof_output....ok
7/10 skipped: various reasons
t/pod-coverage............skipped
all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage
t/pod.....................skipped
all skipped: Test::Pod 1.14 required for testing POD
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/10.procedural.t 2 512 19 2 10.53% 15-16
t/20.lsof-result.t 26 6656 62 26 41.94% 18 20-21 25 28-29 31-32 34 36
38-45 48-52 54-55 57
2 tests and 23 subtests skipped.
Failed 2/5 test scripts, 60.00% okay. 28/91 subtests failed, 69.23% okay.
make: *** [test_dynamic] Error 29
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Kind regards,
Riccardo