briandfoy / net-ssh-perl

Development on the Net::SSH::Perl module to support latest ciphers, key exchange mechanisms, etc.
Other
4 stars 1 forks source link

Testing hangs on t/03-packet.t #37

Open briandfoy opened 1 year ago

briandfoy commented 1 year ago

This ticket was imported from rt.cpan.org 69453

I'm not able to install Net::SSH::Perl

$ sudo cpanm Net::SSH::Perl

fails silently and never returns

$ perl -v
This is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-multi-2level
$ uname -a
Darwin macmook 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
$ sudo cpanm -v Net::SSH::Perl
cpanm (App::cpanminus) 1.4008 on perl 5.012003 built for darwin-multi-2level
Work directory is /Users/pdbailey/.cpanm/work/1310592705.78600
You have make /usr/bin/make
You have LWP 6.02
You have /usr/bin/tar: bsdtar 2.6.2 - libarchive 2.6.2
You have /usr/bin/unzip
Searching Net::SSH::Perl on cpanmetadb ...
--> Working on Net::SSH::Perl
Fetching http://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/Net-SSH-Perl-1.34.tar.gz ... OK
Unpacking Net-SSH-Perl-1.34.tar.gz
x Net-SSH-Perl-1.34/
x Net-SSH-Perl-1.34/lib/
x Net-SSH-Perl-1.34/lib/Net/
x Net-SSH-Perl-1.34/lib/Net/SSH/
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Auth/
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Auth/KeyboardInt.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Auth/Rhosts.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Auth/Password.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Auth/PublicKey.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Auth/RSA.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Auth/Rhosts_RSA.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Auth/ChallengeResponse.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Agent.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Util/
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Util/RSA.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Util/Authfile.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Util/SSH1MP.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Util/Hosts.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Util/SSH1Misc.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Util/Term.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Util/SSH2MP.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Cipher/
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Cipher/IDEA.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Cipher/CFB.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Cipher/Blowfish.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Cipher/RC4.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Cipher/CBC.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Cipher/DES3.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Cipher/DES.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Handle/
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Handle/SSH2.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Handle/SSH1.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Comp/
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Comp/Zlib.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Mac.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/SSH2.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Cipher.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Config.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Subsystem/
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Subsystem/Server.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Subsystem/Client.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Util.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Handle.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Key/
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Key/RSA.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Key/RSA1.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Key/DSA.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/AuthMgr.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Auth.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Comp.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Kex.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/ChannelMgr.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Kex/
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Kex/DH1.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Key.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Buffer.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Constants.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Channel.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/SSH1.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl/Packet.pm
x Net-SSH-Perl-1.34/lib/Net/SSH/Perl.pm
x Net-SSH-Perl-1.34/t/
x Net-SSH-Perl-1.34/t/06-circular.t
x Net-SSH-Perl-1.34/t/04-config.t
x Net-SSH-Perl-1.34/t/99-spellcheck.t
x Net-SSH-Perl-1.34/t/config
x Net-SSH-Perl-1.34/t/psshd
x Net-SSH-Perl-1.34/t/03-packet.t
x Net-SSH-Perl-1.34/t/99-yaml.t
x Net-SSH-Perl-1.34/t/06-auth.t
x Net-SSH-Perl-1.34/t/99-perlcritic.t
x Net-SSH-Perl-1.34/t/00-signature.t
x Net-SSH-Perl-1.34/t/05-cipher.t
x Net-SSH-Perl-1.34/t/01-compile.t
x Net-SSH-Perl-1.34/t/02-buffer.t
x Net-SSH-Perl-1.34/t/test-common.pl
x Net-SSH-Perl-1.34/t/99-pod.t
x Net-SSH-Perl-1.34/Changes
x Net-SSH-Perl-1.34/eg/
x Net-SSH-Perl-1.34/eg/pssh
x Net-SSH-Perl-1.34/eg/cmd.pl
x Net-SSH-Perl-1.34/eg/pssh-keygen
x Net-SSH-Perl-1.34/eg/pscp
x Net-SSH-Perl-1.34/eg/remoteinteract2.pl
x Net-SSH-Perl-1.34/eg/remoteinteract.pl
x Net-SSH-Perl-1.34/MANIFEST
x Net-SSH-Perl-1.34/README
x Net-SSH-Perl-1.34/LICENSE
x Net-SSH-Perl-1.34/SIGNATURE
x Net-SSH-Perl-1.34/.perlcriticrc
x Net-SSH-Perl-1.34/META.yml
x Net-SSH-Perl-1.34/MANIFEST.SKIP
x Net-SSH-Perl-1.34/ToDo
x Net-SSH-Perl-1.34/Makefile.PL
Entering Net-SSH-Perl-1.34
Checking configure dependencies from META.yml
Configuring Net-SSH-Perl-1.34 ... Running Makefile.PL
This is Net::SSH::Perl.

As of version 1.00, Net::SSH::Perl supports both the SSH1 and
SSH2 protocols natively. The two protocols have different
module prerequisitives, so you need to decide which protocol(s)
you plan to use. If you use one or the other, only those modules
for your chosen protocol will be installed; if you choose both,
all of the supporting modules will be installed. Please choose
the protocols you'd like to use from the following list ("Both"
is the default).

    [1] SSH1
    [2] SSH2
    [3] Both SSH1 and SSH2

Which protocol(s) do you plan to use? [3] 

Some of the Net::SSH::Perl ciphers depend on a Crypt:: module from
CPAN. You may already have the necessary modules installed, in which
case you don't need to bother with this step. Otherwise you'll need
to install at least one cipher to use Net::SSH::Perl. Please choose
at least one from the following list (Crypt::IDEA is the default).

    [1] IDEA
    [2] DES
    [3] DES3
    [4] Blowfish
    [5] RC4

Enter your choices, separated by spaces: [1] 

Checking for optional modules

Checking if your kit is complete...
Looks good
Writing Makefile for Net::SSH::Perl
OK
Finding PREREQ from Makefile ...
Checking if you have Scalar::Util 0 ... Yes (1.23)
Checking if you have Crypt::DSA 0.11 ... Yes (1.17)
Checking if you have Digest::SHA1 2.10 ... Yes (2.13)
Checking if you have Convert::PEM 0.05 ... Yes (0.08)
Checking if you have String::CRC32 1.2 ... Yes (1.4)
Checking if you have Crypt::IDEA 0 ... Yes (undef)
Checking if you have Digest::HMAC_SHA1 0 ... Yes (1.01)
Checking if you have Math::Pari 2.001804 ... Yes (2.01080605)
Checking if you have Digest::HMAC_MD5 0 ... Yes (1.01)
Checking if you have MIME::Base64 0 ... Yes (3.13)
Checking if you have IO::Socket 0 ... Yes (1.31)
Checking if you have Digest::MD5 0 ... Yes (2.51)
Checking if you have Crypt::DH 0.01 ... Yes (0.06)
Checking if you have Math::GMP 1.04 ... Yes (2.06)
Building and testing Net-SSH-Perl-1.34 ... cp lib/Net/SSH/Perl/Agent.pm blib/lib/Net/SSH/Perl/Agent.pm
cp lib/Net/SSH/Perl/Auth/KeyboardInt.pm blib/lib/Net/SSH/Perl/Auth/KeyboardInt.pm
cp lib/Net/SSH/Perl/Util/RSA.pm blib/lib/Net/SSH/Perl/Util/RSA.pm
cp lib/Net/SSH/Perl/AuthMgr.pm blib/lib/Net/SSH/Perl/AuthMgr.pm
cp lib/Net/SSH/Perl/Auth/Rhosts.pm blib/lib/Net/SSH/Perl/Auth/Rhosts.pm
cp lib/Net/SSH/Perl/Cipher/IDEA.pm blib/lib/Net/SSH/Perl/Cipher/IDEA.pm
cp lib/Net/SSH/Perl/Util/Authfile.pm blib/lib/Net/SSH/Perl/Util/Authfile.pm
cp lib/Net/SSH/Perl/Handle/SSH2.pm blib/lib/Net/SSH/Perl/Handle/SSH2.pm
cp lib/Net/SSH/Perl/Util/SSH1MP.pm blib/lib/Net/SSH/Perl/Util/SSH1MP.pm
cp lib/Net/SSH/Perl/Util/Hosts.pm blib/lib/Net/SSH/Perl/Util/Hosts.pm
cp lib/Net/SSH/Perl/Auth.pm blib/lib/Net/SSH/Perl/Auth.pm
cp lib/Net/SSH/Perl/Util/Term.pm blib/lib/Net/SSH/Perl/Util/Term.pm
cp lib/Net/SSH/Perl/Handle/SSH1.pm blib/lib/Net/SSH/Perl/Handle/SSH1.pm
cp lib/Net/SSH/Perl/Cipher/CBC.pm blib/lib/Net/SSH/Perl/Cipher/CBC.pm
cp lib/Net/SSH/Perl/Comp.pm blib/lib/Net/SSH/Perl/Comp.pm
cp lib/Net/SSH/Perl/Auth/PublicKey.pm blib/lib/Net/SSH/Perl/Auth/PublicKey.pm
cp lib/Net/SSH/Perl/Subsystem/Client.pm blib/lib/Net/SSH/Perl/Subsystem/Client.pm
cp lib/Net/SSH/Perl/Kex.pm blib/lib/Net/SSH/Perl/Kex.pm
cp lib/Net/SSH/Perl/ChannelMgr.pm blib/lib/Net/SSH/Perl/ChannelMgr.pm
cp lib/Net/SSH/Perl/Auth/RSA.pm blib/lib/Net/SSH/Perl/Auth/RSA.pm
cp lib/Net/SSH/Perl/Cipher/CFB.pm blib/lib/Net/SSH/Perl/Cipher/CFB.pm
cp lib/Net/SSH/Perl/Util/SSH1Misc.pm blib/lib/Net/SSH/Perl/Util/SSH1Misc.pm
cp lib/Net/SSH/Perl/Comp/Zlib.pm blib/lib/Net/SSH/Perl/Comp/Zlib.pm
cp lib/Net/SSH/Perl/Mac.pm blib/lib/Net/SSH/Perl/Mac.pm
cp lib/Net/SSH/Perl/Kex/DH1.pm blib/lib/Net/SSH/Perl/Kex/DH1.pm
cp lib/Net/SSH/Perl/SSH2.pm blib/lib/Net/SSH/Perl/SSH2.pm
cp lib/Net/SSH/Perl/Auth/Password.pm blib/lib/Net/SSH/Perl/Auth/Password.pm
cp lib/Net/SSH/Perl/Key/RSA1.pm blib/lib/Net/SSH/Perl/Key/RSA1.pm
cp lib/Net/SSH/Perl/Auth/Rhosts_RSA.pm blib/lib/Net/SSH/Perl/Auth/Rhosts_RSA.pm
cp lib/Net/SSH/Perl/Cipher/Blowfish.pm blib/lib/Net/SSH/Perl/Cipher/Blowfish.pm
cp lib/Net/SSH/Perl/Key.pm blib/lib/Net/SSH/Perl/Key.pm
cp lib/Net/SSH/Perl/Buffer.pm blib/lib/Net/SSH/Perl/Buffer.pm
cp lib/Net/SSH/Perl/Key/DSA.pm blib/lib/Net/SSH/Perl/Key/DSA.pm
cp lib/Net/SSH/Perl/Cipher/DES3.pm blib/lib/Net/SSH/Perl/Cipher/DES3.pm
cp lib/Net/SSH/Perl/Cipher/RC4.pm blib/lib/Net/SSH/Perl/Cipher/RC4.pm
cp lib/Net/SSH/Perl/Cipher.pm blib/lib/Net/SSH/Perl/Cipher.pm
cp lib/Net/SSH/Perl/Config.pm blib/lib/Net/SSH/Perl/Config.pm
cp lib/Net/SSH/Perl/Constants.pm blib/lib/Net/SSH/Perl/Constants.pm
cp lib/Net/SSH/Perl/Subsystem/Server.pm blib/lib/Net/SSH/Perl/Subsystem/Server.pm
cp lib/Net/SSH/Perl/Util.pm blib/lib/Net/SSH/Perl/Util.pm
cp lib/Net/SSH/Perl/Handle.pm blib/lib/Net/SSH/Perl/Handle.pm
cp lib/Net/SSH/Perl/Util/SSH2MP.pm blib/lib/Net/SSH/Perl/Util/SSH2MP.pm
cp lib/Net/SSH/Perl.pm blib/lib/Net/SSH/Perl.pm
cp lib/Net/SSH/Perl/Auth/ChallengeResponse.pm blib/lib/Net/SSH/Perl/Auth/ChallengeResponse.pm
cp lib/Net/SSH/Perl/Channel.pm blib/lib/Net/SSH/Perl/Channel.pm
cp lib/Net/SSH/Perl/SSH1.pm blib/lib/Net/SSH/Perl/SSH1.pm
cp lib/Net/SSH/Perl/Cipher/DES.pm blib/lib/Net/SSH/Perl/Cipher/DES.pm
cp lib/Net/SSH/Perl/Packet.pm blib/lib/Net/SSH/Perl/Packet.pm
cp lib/Net/SSH/Perl/Key/RSA.pm blib/lib/Net/SSH/Perl/Key/RSA.pm
Manifying blib/man3/Net::SSH::Perl::Auth::KeyboardInt.3pm
Manifying blib/man3/Net::SSH::Perl::Agent.3pm
Manifying blib/man3/Net::SSH::Perl::Auth::Rhosts.3pm
Manifying blib/man3/Net::SSH::Perl::AuthMgr.3pm
Manifying blib/man3/Net::SSH::Perl::Cipher::IDEA.3pm
Manifying blib/man3/Net::SSH::Perl::Auth.3pm
Manifying blib/man3/Net::SSH::Perl::Cipher::CBC.3pm
Manifying blib/man3/Net::SSH::Perl::Comp.3pm
Manifying blib/man3/Net::SSH::Perl::Auth::PublicKey.3pm
Manifying blib/man3/Net::SSH::Perl::Subsystem::Client.3pm
Manifying blib/man3/Net::SSH::Perl::Kex.3pm
Manifying blib/man3/Net::SSH::Perl::ChannelMgr.3pm
Manifying blib/man3/Net::SSH::Perl::Cipher::CFB.3pm
Manifying blib/man3/Net::SSH::Perl::Auth::RSA.3pm
Manifying blib/man3/Net::SSH::Perl::Comp::Zlib.3pm
Manifying blib/man3/Net::SSH::Perl::Kex::DH1.3pm
Manifying blib/man3/Net::SSH::Perl::Mac.3pm
Manifying blib/man3/Net::SSH::Perl::SSH2.3pm
Manifying blib/man3/Net::SSH::Perl::Auth::Password.3pm
Manifying blib/man3/Net::SSH::Perl::Key::RSA1.3pm
Manifying blib/man3/Net::SSH::Perl::Auth::Rhosts_RSA.3pm
Manifying blib/man3/Net::SSH::Perl::Cipher::Blowfish.3pm
Manifying blib/man3/Net::SSH::Perl::Key.3pm
Manifying blib/man3/Net::SSH::Perl::Buffer.3pm
Manifying blib/man3/Net::SSH::Perl::Key::DSA.3pm
Manifying blib/man3/Net::SSH::Perl::Cipher::DES3.3pm
Manifying blib/man3/Net::SSH::Perl::Cipher::RC4.3pm
Manifying blib/man3/Net::SSH::Perl::Cipher.3pm
Manifying blib/man3/Net::SSH::Perl::Constants.3pm
Manifying blib/man3/Net::SSH::Perl::Config.3pm
Manifying blib/man3/Net::SSH::Perl::Subsystem::Server.3pm
Manifying blib/man3/Net::SSH::Perl::Handle.3pm
Manifying blib/man3/Net::SSH::Perl::Util.3pm
Manifying blib/man3/Net::SSH::Perl.3pm
Manifying blib/man3/Net::SSH::Perl::Channel.3pm
Manifying blib/man3/Net::SSH::Perl::SSH1.3pm
Manifying blib/man3/Net::SSH::Perl::Cipher::DES.3pm
Manifying blib/man3/Net::SSH::Perl::Key::RSA.3pm
Manifying blib/man3/Net::SSH::Perl::Packet.3pm
PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-signature.t ... skipped: Set the environment variable TEST_SIGNATURE to enable this test
t/01-compile.t ..... ok   
t/02-buffer.t ...... ok     
t/03-packet.t ...... 1/10 

This is where it stalls. Nothing is running and using more than 1% of CPU time.

Paul

briandfoy commented 1 year ago

from schwigon@cpan.org


I'm not able to install Net::SSH::Perl

$ sudo cpanm Net::SSH::Perl

fails silently and never returns

Looks similar to RT #67586. I adapted the subject. Can you please retry with latest version v1.35? Thanks!

Kind regards, Steffen

Steffen Schwigon ss5@renormalist.net Dresden Perl Mongers http://dresden-pm.org/

briandfoy commented 1 year ago

This may be related to #6 in this repo