Subject: | Net-Ping-2.31 "make test" errors: non-answering hosts |
Trying to upgrade to Net-Ping-2.31 (from version 2.20).
I'm seeing a fair amount of failures in "make test" that
all seem to be attributable to hosts that used to answer
pings that now have them turned off. Would think that a newer
list of ping sites would be appropriate for the next version.
This applies to multiple environments:
Perl version 5.6.1 .
OS: Solaris 2.7
uname -a:
SunOS fsun 5.7 Generic_106541-16 sun4u sparc
Perl version 5.8.0 .
OS: Win2K SP3
uname -a:
CYGWIN_NT-5.0 sadl6275 1.5.7(0.109/3/2) 2004-01-30 19:32 i686 unknown unknown Cygwin
--------------------- Output from "make test" step -------------------
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/100_load...........ok
t/110_icmp_inst......ok
t/120_udp_inst.......ok
t/130_tcp_inst.......ok
t/140_stream_inst....ok
t/150_syn_inst.......ok
t/190_alarm..........ok
t/200_ping_tcp.......ok 6/13# Failed test 7 in t/200_ping_tcp.t at line 60
# t/200_ping_tcp.t line 60 is: ok $p -> ping("www.geocities.com");
t/200_ping_tcp.......NOK 7# Failed test 8 in t/200_ping_tcp.t at line 61
# t/200_ping_tcp.t line 61 is: ok $p -> ping("ftp.geocities.com");
t/200_ping_tcp.......NOK 8# Failed test 9 in t/200_ping_tcp.t at line 63
# t/200_ping_tcp.t line 63 is: ok $p -> ping("www.freeservers.com");
t/200_ping_tcp.......NOK 9# Failed test 10 in t/200_ping_tcp.t at line 64
# t/200_ping_tcp.t line 64 is: ok $p -> ping("ftp.freeservers.com");
t/200_ping_tcp.......NOK 10# Failed test 11 in t/200_ping_tcp.t at line 66
# t/200_ping_tcp.t line 66 is: ok $p -> ping("yahoo.com");
t/200_ping_tcp.......NOK 11# Failed test 12 in t/200_ping_tcp.t at line 67
# t/200_ping_tcp.t line 67 is: ok $p -> ping("www.yahoo.com");
t/200_ping_tcp.......NOK 12# Failed test 13 in t/200_ping_tcp.t at line 68
# t/200_ping_tcp.t line 68 is: ok $p -> ping("www.about.com");
t/200_ping_tcp.......FAILED tests 7-13
Failed 7/13 tests, 46.15% okay
t/250_ping_hires.....ok
t/300_ping_stream....skipped
all skipped: loopback tcp echo service is off (Connection refused)
t/400_ping_syn.......ok 12/19# Failed test 13 in t/400_ping_syn.t at line 98
# t/400_ping_syn.t line 98 is: if (!ok !$webs->{$host}) {
DOWN: http://www.yahoo.com./ [Timed out]
# Failed test 14 in t/400_ping_syn.t at line 98 fail #2
t/400_ping_syn.......NOK 13DOWN: http://www.freeservers.com./ [Timed out]
# Failed test 15 in t/400_ping_syn.t at line 98 fail #3
DOWN: http://yahoo.com./ [Timed out]
t/400_ping_syn.......NOK 14# Failed test 16 in t/400_ping_syn.t at line 98 fail #4
DOWN: http://www.geocities.com./ [Timed out]
# Failed test 17 in t/400_ping_syn.t at line 98 fail #5
DOWN: http://www.about.com./ [Timed out]
t/400_ping_syn.......NOK 15# Failed test 19 in t/400_ping_syn.t at line 98 fail #7
t/400_ping_syn.......NOK 16DOWN: http://www.microsoft.com./ [Timed out]
t/400_ping_syn.......FAILED tests 13-17, 19
Failed 6/19 tests, 68.42% okay
t/410_syn_host.......ok 13/19# Failed test 14 in t/410_syn_host.t at line 93 fail #3
# t/410_syn_host.t line 93 is: if (!ok (($on && $webs->{$host}) ||
DOWN: http://www.about.com./ [Timed out]
t/410_syn_host.......NOK 14# Failed test 15 in t/410_syn_host.t at line 93 fail #4
DOWN: http://www.freeservers.com./ [Timed out]
t/410_syn_host.......NOK 15# Failed test 16 in t/410_syn_host.t at line 93 fail #5
DOWN: http://www.geocities.com./ [Timed out]
t/410_syn_host.......NOK 16# Failed test 17 in t/410_syn_host.t at line 93 fail #6
DOWN: http://www.microsoft.com./ [Timed out]
t/410_syn_host.......NOK 17# Failed test 18 in t/410_syn_host.t at line 93 fail #7
DOWN: http://www.yahoo.com./ [Timed out]
t/410_syn_host.......NOK 18# Failed test 19 in t/410_syn_host.t at line 93 fail #8
DOWN: http://yahoo.com./ [Timed out]
t/410_syn_host.......FAILED tests 14-19
Failed 6/19 tests, 68.42% okay
t/450_service........ok
t/500_ping_icmp......ok
t/510_ping_udp.......ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/200_ping_tcp.t 13 7 53.85% 7-13
t/400_ping_syn.t 19 6 31.58% 13-17 19
t/410_syn_host.t 19 6 31.58% 14-19
1 test skipped.
Failed 3/15 test scripts, 80.00% okay. 19/106 subtests failed, 82.08% okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK