Subject: | pidwatch issue on cygwin-thread-multi-64int |
This issue is reported as an error in t/20-pidstat.t on
cygwin-thread-multi-64int, as shown at the end of this report. It
appears that the pidstat script is encountering some sort of issue with
the server that is preventing it from executing the remote command.
When I manually run the PidServer on port 66666, and then run the
command-line tool by itself, like:
perl -Iblib/arch -Iblib/lib script/pidwatch --port 12345 --pid 10 "echo
hello"
I get the following response:
Hangup
The details of t/20-pidstat.t are as follows:
$ perl -Mlib=blib/lib,blib/arch t/20_pidstat.t
1..14
# Running under perl version 5.008007 for cygwin
# Current time local: Tue May 15 13:16:40 2007
# Current time GMT: Tue May 15 17:16:40 2007
# Using Test.pm version 1.25
ok 1
IPC::PidStat VERSION 1.470
ok 2
ok 3
ok 4
ok 5
Got response EXIS 1234 0 localhost
Pid 1234 Exists on localhost? 0
ok 6
Got response EXIS 66666 0 localhost
Pid 66666 Exists on localhost? 0
ok 7
Got response EXIS 3932 1 localhost
Pid 3932 Exists on localhost? 1
ok 8
ok 9
pidwatch ok:
returns:
ok 10
not ok 11
# Failed test 11 in t/20_pidstat.t at line 76
# t/20_pidstat.t line 76 is: ok($rtn eq "hello");
pidwatch fail:
returns:
ok 12
pidwatch immediate exit:
returns:
ok 13
check_pidstat:
ok 14 # skip nagios not installed (harmless)