Hi,

the relevant line in the test script is:
pattern=`hostname`"|"`perl -e 'print join("|",split(" +","$@"));'`

This has been changed recently by Bernard:
ganglia/testing> svn diff -r PREV test_user
Index: test_user
===================================================================
--- test_user   (Revision 3940)
+++ test_user   (Arbeitskopie)
@@ -37,7 +37,7 @@
 numhosts=`expr $clients + 1`

 # use gstat to determine number of hosts ganglia has detected
-pattern=`hostname`"|"`perl -e "print join(\"|\",split(\" +\",\"[EMAIL 
PROTECTED]"));"`
+pattern=`hostname`"|"`perl -e 'print join("|",split(" +","$@"));'`

 # simple test which counts the number of detected nodes (via gstat) with
 # the number of expected nodes (from argument)

In the current version of the code the variable $@ cannot be expanded because
it is enclosed in single quotes.


Bernard, I remember an email from you on this where you try to get rid of the
error message: 
Can't find string terminator '"' anywhere before EOF at -e line 1.

I cannot see any mistake in the original line, but it could be stripped a bit
by replacing it with
pattern=`hostname`"|"`perl -e "print join('|',split(/ +/,\"[EMAIL 
PROTECTED]"))"`

The only place where this didn't work was Bernard's RHEL4.2 test. Bernard, can
you please check this line there?

Thanks,
best regards,
Erich


On Thursday 17 November 2005 22:21, Thomas Naughton wrote:
> FWIW, here's the ganglia.err and the output from a basic 'gstat' cmd.
> 
> 
> [EMAIL PROTECTED]:$ cat /tmp/ganglia.err 
> Client nodes: oscarnode1.oscardomain
> Match pattern: headnode|
> Number of hosts matched: 3
> Gstat output:
> CLUSTER INFORMATION
>         Name: OSCAR Cluster
>        Hosts: 2
> Gexec Hosts: 0
>   Dead Hosts: 0
>    Localtime: Thu Nov 17 16:01:45 2005
> 
> CLUSTER HOSTS
> Hostname                     LOAD                       CPU
> Gexec
>   CPUs (Procs/Total) [     1,     5, 15min] [  User,  Nice, System, Idle,
> Wio]
> 
> headnode
>      2 (    0/  112) [  0.02,  0.07,  0.04] [   0.1,   0.0,   0.4,  98.5,
> 1.0] OFF
> oscarnode1.oscardomain
>      2 (    0/   55) [  0.07,  0.02,  0.08] [   0.9,   0.0,   0.3,  98.5,
> 0.3] OFF
> 
> The number of nodes expected is different from the number of nodes
> detected.
> Check to see if gmond is running on all your nodes and make sure that you
> are not having any network issues.
> 
> 
> 
> 
> 
> [EMAIL PROTECTED]:$ cat /tmp/gstat.output 
> CLUSTER INFORMATION
>         Name: OSCAR Cluster
>        Hosts: 2
> Gexec Hosts: 0
>   Dead Hosts: 0
>    Localtime: Thu Nov 17 16:19:18 2005
> 
> There are no hosts running gexec at this time
> 



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to