CC: | <dbrobins [...] cpan.org> |
Subject: | Test failing: t/03-packet......ok 1/10syswrite() on unopened filehandle FH at blib/lib/Net/SSH/Perl/Packet.pm line 276 |
Date: | Wed, 25 Apr 2007 00:32:35 -0400 |
To: | <bug-Net-SSH-Perl [...] rt.cpan.org> |
From: | "Vohra, Naveen" <Naveen.Vohra [...] premiereglobal.com> |
Dear maintainer(s),
After a lot of juggling I have been able to install Net-SSH-Perl-1.30
with its numerous dependencies on perl5.6.1. But 1/10 test script is
failing as below.
I would appreciate if you could let me know the reason for failure or
whether this is a known bug and the fix/workaround.
$ PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
-I/home/nvohra/Build/psshbld/1-0-Latest/psshlib/lib/sun4-solaris \
-I/home/nvohra/Build/psshbld/1-0-Latest/psshlib/lib
-I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 \
-e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests
@ARGV;' t/*.t;> >
t/01-compile.....ok
t/02-buffer......ok
t/03-packet......ok 1/10syswrite() on unopened filehandle FH at
blib/lib/Net/SSH/Perl/Packet.pm line 276.
Use of uninitialized value in numeric eq (==) at
blib/lib/Net/SSH/Perl/Packet.pm line 52.
Connection closed by remote host. at t/03-packet.t line 44
# Looks like you planned 10 tests but only ran 1.
# Looks like your test died just after 1.
t/03-packet......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-10
Failed 9/10 tests, 10.00% okay
t/04-config......ok
t/05-cipher......ok
t/06-circular....ok
Failed Test Stat Wstat Total Fail List of Failed
------------------------------------------------------------------------
-------
t/03-packet.t 255 65280 10 18 2-10
Failed 1/6 test scripts. 9/116 subtests failed.
Files=6, Tests=116, 10 wallclock secs ( 6.05 cusr + 1.07 csys = 7.12
CPU)
Failed 1/6 test programs. 9/116 subtests failed.
---------------------------
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.5.1, archname=sun4-solaris
uname='sunos devbld1 5.5.1 generic_103640-35 sun4u sparc
sunw,ultra-60 '
config_args='-de -Dinstallprefix=/usr/local -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags =' ',
optimize='-O',
cppflags=''
ccversion='WorkShop Compilers 4.2 30 Oct 1996 C 4.2', gccversion='',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib -L/opt/SUNWspro/SC4.2/lib '
libpth=/usr/local/lib /opt/SUNWspro/SC4.2/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib
-L/opt/SUNWspro/SC4.2/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Jan 18 2002 13:08:59
@INC:
/usr/local/lib/perl5/5.6.1/sun4-solaris
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris
/usr/local/lib/perl5/site_perl/5.005
/usr/local/lib/perl5/site_perl
------------------
$ uname -a
SunOS fldev1 5.5.1 Generic_103640-29 sun4u sparc SUNW,Ultra-2
------------------
Also are there any tips to speed up the Net::SSH::Perl? I already have
installed Math::BigInt::GMP and the libgmp.so.
But its still taking around 36 secs to execute a simple command on two
hosts.
Thanks,
Naveen