Re: [MTT devel] UH in summary stats?

2007-08-30 Thread Josh Hursey
Nothing is hardcoded in the collection script, but the orgs are  
hardcoded in the stats table once the data has been gathered. That's  
why the stats page is so quick to load, since it is referencing a  
single relatively small table.


On the stats php page the list of orgs is determined by the date  
range specified.  So if org X did not contribute in the interval  
being looked at then they don't appear in the list. Same with all the  
other fields.


The reason UH didn't appear in the list is because they started  
contributing after the stats collector had been turned off. I turned  
back on the stats collector, but it is currently working on  
2007-08-21 - 2007-08-22.


Once it finishes coming upto date then I'll put it in a crontab and  
have it run everyday.


I'll let you know when it is live again.

-- Josh

On Aug 30, 2007, at 4:35 PM, Jeff Squyres wrote:


Oh, I see -- it's a hard-coded list of org's.  I thought it got them
from the db.

No rush -- I just saw it today and was curious.


On Aug 30, 2007, at 4:32 PM, Josh Hursey wrote:


I haven't updated them in a couple days (since monday actually). I
was working on updateing the script so it can run once a day. Should
be done later tonight sometime.

So that's why UH isn't in there yet.

-- josh

On Aug 30, 2007, at 3:35 PM, Jeff Squyres wrote:


Shouldn't UH now show up in the summary stats?

http://www.open-mpi.org/mtt/stats/

I only see cisco, iu, sun, ibm, hlrs for a query of 2007-08-01 -
2007-08-30.

--
Jeff Squyres
Cisco Systems

___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel


___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel



--
Jeff Squyres
Cisco Systems

___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel




Re: [MTT devel] No nightly summary last night?

2007-08-30 Thread Jeff Squyres

It could be that we're more stringent now.

What URL are you requesting, specifically?


On Aug 30, 2007, at 4:53 PM, Ethan Mallove wrote:


cron/alerts.php said this last night:

  Sorry, this page is not mirrored.  Please see the http://www.open-mpi.org/;>original version of this
  page on the main Open MPI web site.

Is "curl" confused by deny_mirror()'s new location (see
r949)?

-Ethan


On Thu, Aug/30/2007 04:34:34PM, Josh Hursey wrote:

Humm. I think Ethan has this in his crontab and should be able to
check if it is giving errors.

I'm not currently subscribed to the nightly emails, I probably should
do that again.

-- Josh

On Aug 30, 2007, at 3:30 PM, Jeff Squyres wrote:


Come to think of it, I didn't get mails this morning, either.

And -- arrgh -- we'll have to fix the index.php <--> reporter.php,
thing, too.  But that change was made after 9am this morning, so it
should not have affected last night's / this morning's e-mails.


On Aug 30, 2007, at 3:26 PM, Jeff Squyres wrote:

I don't have nightly summary mails from last night -- did anyone  
else

get them?

--
Jeff Squyres
Cisco Systems

___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel



--
Jeff Squyres
Cisco Systems

___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel


___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel

___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel



--
Jeff Squyres
Cisco Systems



Re: [MTT devel] No nightly summary last night?

2007-08-30 Thread Ethan Mallove
cron/alerts.php said this last night:

  Sorry, this page is not mirrored.  Please see the http://www.open-mpi.org/;>original version of this
  page on the main Open MPI web site.

Is "curl" confused by deny_mirror()'s new location (see
r949)?

-Ethan


On Thu, Aug/30/2007 04:34:34PM, Josh Hursey wrote:
> Humm. I think Ethan has this in his crontab and should be able to  
> check if it is giving errors.
> 
> I'm not currently subscribed to the nightly emails, I probably should  
> do that again.
> 
> -- Josh
> 
> On Aug 30, 2007, at 3:30 PM, Jeff Squyres wrote:
> 
> > Come to think of it, I didn't get mails this morning, either.
> >
> > And -- arrgh -- we'll have to fix the index.php <--> reporter.php,
> > thing, too.  But that change was made after 9am this morning, so it
> > should not have affected last night's / this morning's e-mails.
> >
> >
> > On Aug 30, 2007, at 3:26 PM, Jeff Squyres wrote:
> >
> >> I don't have nightly summary mails from last night -- did anyone else
> >> get them?
> >>
> >> -- 
> >> Jeff Squyres
> >> Cisco Systems
> >>
> >> ___
> >> mtt-devel mailing list
> >> mtt-de...@open-mpi.org
> >> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel
> >
> >
> > -- 
> > Jeff Squyres
> > Cisco Systems
> >
> > ___
> > mtt-devel mailing list
> > mtt-de...@open-mpi.org
> > http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel
> 
> ___
> mtt-devel mailing list
> mtt-de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel


Re: [MTT devel] UH in summary stats?

2007-08-30 Thread Jeff Squyres
Oh, I see -- it's a hard-coded list of org's.  I thought it got them  
from the db.


No rush -- I just saw it today and was curious.


On Aug 30, 2007, at 4:32 PM, Josh Hursey wrote:


I haven't updated them in a couple days (since monday actually). I
was working on updateing the script so it can run once a day. Should
be done later tonight sometime.

So that's why UH isn't in there yet.

-- josh

On Aug 30, 2007, at 3:35 PM, Jeff Squyres wrote:


Shouldn't UH now show up in the summary stats?

http://www.open-mpi.org/mtt/stats/

I only see cisco, iu, sun, ibm, hlrs for a query of 2007-08-01 -
2007-08-30.

--
Jeff Squyres
Cisco Systems

___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel


___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel



--
Jeff Squyres
Cisco Systems



Re: [MTT devel] No nightly summary last night?

2007-08-30 Thread Josh Hursey
Humm. I think Ethan has this in his crontab and should be able to  
check if it is giving errors.


I'm not currently subscribed to the nightly emails, I probably should  
do that again.


-- Josh

On Aug 30, 2007, at 3:30 PM, Jeff Squyres wrote:


Come to think of it, I didn't get mails this morning, either.

And -- arrgh -- we'll have to fix the index.php <--> reporter.php,
thing, too.  But that change was made after 9am this morning, so it
should not have affected last night's / this morning's e-mails.


On Aug 30, 2007, at 3:26 PM, Jeff Squyres wrote:


I don't have nightly summary mails from last night -- did anyone else
get them?

--
Jeff Squyres
Cisco Systems

___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel



--
Jeff Squyres
Cisco Systems

___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel




Re: [MTT devel] UH in summary stats?

2007-08-30 Thread Josh Hursey
I haven't updated them in a couple days (since monday actually). I  
was working on updateing the script so it can run once a day. Should  
be done later tonight sometime.


So that's why UH isn't in there yet.

-- josh

On Aug 30, 2007, at 3:35 PM, Jeff Squyres wrote:


Shouldn't UH now show up in the summary stats?

http://www.open-mpi.org/mtt/stats/

I only see cisco, iu, sun, ibm, hlrs for a query of 2007-08-01 -
2007-08-30.

--
Jeff Squyres
Cisco Systems

___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel




[MTT devel] UH in summary stats?

2007-08-30 Thread Jeff Squyres

Shouldn't UH now show up in the summary stats?

http://www.open-mpi.org/mtt/stats/

I only see cisco, iu, sun, ibm, hlrs for a query of 2007-08-01 -  
2007-08-30.


--
Jeff Squyres
Cisco Systems



Re: [MTT devel] No nightly summary last night?

2007-08-30 Thread Jeff Squyres

Come to think of it, I didn't get mails this morning, either.

And -- arrgh -- we'll have to fix the index.php <--> reporter.php,  
thing, too.  But that change was made after 9am this morning, so it  
should not have affected last night's / this morning's e-mails.



On Aug 30, 2007, at 3:26 PM, Jeff Squyres wrote:


I don't have nightly summary mails from last night -- did anyone else
get them?

--
Jeff Squyres
Cisco Systems

___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel



--
Jeff Squyres
Cisco Systems



[MTT devel] No nightly summary last night?

2007-08-30 Thread Jeff Squyres
I don't have nightly summary mails from last night -- did anyone else  
get them?


--
Jeff Squyres
Cisco Systems



Re: [MTT devel] [MTT svn] svn:mtt-svn r964

2007-08-30 Thread Pak Lui
Oh you mean why would anyone want to submit their intel test results to 
the database??


So the scenario is like this, I have a dev ws setup for a pending CMR 
for my PML changes. The changes are also in my tmp branch. The point of 
running the test to make sure my new dev stuff works before putting back 
to v1.2 branch.


So I guess one could argue I could have MTT to bring over the test from 
tmp branch instead of my dev ws to run the tests.


Ethan Mallove wrote:

Pak, we're scratching our heads on this new "developer
results into central database" use case. Could you give more
details?

-Ethan


On Thu, Aug/30/2007 01:32:26PM, Jeff Squyres wrote:

Ethan --

Did Pak really mean to submit to the database?

On Aug 30, 2007, at 1:22 PM, jjhur...@osl.iu.edu wrote:


Author: jjhursey
Date: 2007-08-30 13:22:06 EDT (Thu, 30 Aug 2007)
New Revision: 964
URL: https://svn.open-mpi.org/trac/mtt/changeset/964

Log:
Increase the 'mpi_version' char length due to the following error:

SQL QUERY: INSERT INTO mpi_get
(mpi_get_id, mpi_name, mpi_version) VALUES
('507', 'developer',
'_workspace_paklui_ompi-paklui-1.2-pml_shared- 
install_SunOS_sparc_2007.08.29_bin_mpirun')

SQL ERROR: ERROR:  value too long for type character varying(32)
SQL ERROR:



Text files modified:
   trunk/server/sql/v3/schemas-v3.sql | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/server/sql/v3/schemas-v3.sql
== 


--- trunk/server/sql/v3/schemas-v3.sql  (original)
+++ trunk/server/sql/v3/schemas-v3.sql	2007-08-30 13:22:06 EDT  
(Thu, 30 Aug 2007)

@@ -107,7 +107,7 @@
 -- Current Max: 21 chars
 mpi_namevarchar(64) NOT NULL DEFAULT 'bogus',
 -- Current Max: 24 chars
-mpi_version varchar(32) NOT NULL DEFAULT 'bogus',
+mpi_version varchar(128) NOT NULL DEFAULT 'bogus',

 UNIQUE (
 mpi_name,
___
mtt-svn mailing list
mtt-...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-svn


--
Jeff Squyres
Cisco Systems

___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel



--

- Pak Lui
pak@sun.com


Re: [MTT devel] [MTT svn] svn:mtt-svn r964

2007-08-30 Thread Ethan Mallove
Pak, we're scratching our heads on this new "developer
results into central database" use case. Could you give more
details?

-Ethan


On Thu, Aug/30/2007 01:32:26PM, Jeff Squyres wrote:
> Ethan --
> 
> Did Pak really mean to submit to the database?
> 
> On Aug 30, 2007, at 1:22 PM, jjhur...@osl.iu.edu wrote:
> 
> > Author: jjhursey
> > Date: 2007-08-30 13:22:06 EDT (Thu, 30 Aug 2007)
> > New Revision: 964
> > URL: https://svn.open-mpi.org/trac/mtt/changeset/964
> >
> > Log:
> > Increase the 'mpi_version' char length due to the following error:
> >
> > SQL QUERY: INSERT INTO mpi_get
> > (mpi_get_id, mpi_name, mpi_version) VALUES
> > ('507', 'developer',
> > '_workspace_paklui_ompi-paklui-1.2-pml_shared- 
> > install_SunOS_sparc_2007.08.29_bin_mpirun')
> > SQL ERROR: ERROR:  value too long for type character varying(32)
> > SQL ERROR:
> >
> >
> >
> > Text files modified:
> >trunk/server/sql/v3/schemas-v3.sql | 2 +-
> >1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > Modified: trunk/server/sql/v3/schemas-v3.sql
> > == 
> > 
> > --- trunk/server/sql/v3/schemas-v3.sql  (original)
> > +++ trunk/server/sql/v3/schemas-v3.sql  2007-08-30 13:22:06 EDT  
> > (Thu, 30 Aug 2007)
> > @@ -107,7 +107,7 @@
> >  -- Current Max: 21 chars
> >  mpi_namevarchar(64) NOT NULL DEFAULT 'bogus',
> >  -- Current Max: 24 chars
> > -mpi_version varchar(32) NOT NULL DEFAULT 'bogus',
> > +mpi_version varchar(128) NOT NULL DEFAULT 'bogus',
> >
> >  UNIQUE (
> >  mpi_name,
> > ___
> > mtt-svn mailing list
> > mtt-...@open-mpi.org
> > http://www.open-mpi.org/mailman/listinfo.cgi/mtt-svn
> 
> 
> -- 
> Jeff Squyres
> Cisco Systems
> 
> ___
> mtt-devel mailing list
> mtt-de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel


Re: [MTT devel] reporter.php

2007-08-30 Thread Josh Hursey
I just finished cleaning up the warnings in the stats php script.  
There is one warning I don't know how to fix:

-
PHP Warning:  Missing argument 1 for print_ga() in /nfs/rontok/xraid/ 
data/osl/www/www.open-mpi.org/mtt/google-analytics.inc on line 6,  
referer: http://www.open-mpi.org/mtt/stats/index.php

-

I think this one is for Jeff.

-- Josh

On Aug 30, 2007, at 10:37 AM, Jeff Squyres wrote:


K.  I made the switch index.php <--> reporter.php.

On Aug 30, 2007, at 10:33 AM, Josh Hursey wrote:


FYI: I finished cleaning up the PHP submit script. It seems that
there are some associated issues with the stats PHP script. I'm
cleaning that up at the moment.

-- Josh

On Aug 30, 2007, at 9:47 AM, Josh Hursey wrote:


I donno. But I would favor the index.php route as well.

Also FYI I'm working on the submit.php script a bit this morning.  
I'm

doing 2 things:
  - Cleaning up error messages
  - Inserting a transaction to solve a race condition that was
triggered last night by an IU submit.

-- Josh

On Aug 30, 2007, at 9:39 AM, Jeff Squyres wrote:


So is there any reason we have the reporter in reporter.php instead
of index.php?

Or is this only for hysterical raisins?

For aesthetic reasons, I'd be in favor of moving reporter.php
back to
index.php and putting in a redirect file from reporter.php back to
index.php (or, more specifically, back to .).

--
Jeff Squyres
Cisco Systems

___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel


___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel


___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel



--
Jeff Squyres
Cisco Systems

___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel




Re: [MTT devel] reporter.php

2007-08-30 Thread Jeff Squyres

K.  I made the switch index.php <--> reporter.php.

On Aug 30, 2007, at 10:33 AM, Josh Hursey wrote:


FYI: I finished cleaning up the PHP submit script. It seems that
there are some associated issues with the stats PHP script. I'm
cleaning that up at the moment.

-- Josh

On Aug 30, 2007, at 9:47 AM, Josh Hursey wrote:


I donno. But I would favor the index.php route as well.

Also FYI I'm working on the submit.php script a bit this morning. I'm
doing 2 things:
  - Cleaning up error messages
  - Inserting a transaction to solve a race condition that was
triggered last night by an IU submit.

-- Josh

On Aug 30, 2007, at 9:39 AM, Jeff Squyres wrote:


So is there any reason we have the reporter in reporter.php instead
of index.php?

Or is this only for hysterical raisins?

For aesthetic reasons, I'd be in favor of moving reporter.php  
back to

index.php and putting in a redirect file from reporter.php back to
index.php (or, more specifically, back to .).

--
Jeff Squyres
Cisco Systems

___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel


___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel


___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel



--
Jeff Squyres
Cisco Systems



Re: [MTT devel] reporter.php

2007-08-30 Thread Jeff Squyres

On Aug 30, 2007, at 9:47 AM, Josh Hursey wrote:


I donno. But I would favor the index.php route as well.


K.  I'll make the switch.


Also FYI I'm working on the submit.php script a bit this morning. I'm
doing 2 things:
  - Cleaning up error messages
  - Inserting a transaction to solve a race condition that was
triggered last night by an IU submit.


Kewl.


-- Josh

On Aug 30, 2007, at 9:39 AM, Jeff Squyres wrote:


So is there any reason we have the reporter in reporter.php instead
of index.php?

Or is this only for hysterical raisins?

For aesthetic reasons, I'd be in favor of moving reporter.php back to
index.php and putting in a redirect file from reporter.php back to
index.php (or, more specifically, back to .).

--
Jeff Squyres
Cisco Systems

___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel


___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel



--
Jeff Squyres
Cisco Systems



Re: [MTT devel] reporter.php

2007-08-30 Thread Josh Hursey

I donno. But I would favor the index.php route as well.

Also FYI I'm working on the submit.php script a bit this morning. I'm  
doing 2 things:

 - Cleaning up error messages
 - Inserting a transaction to solve a race condition that was  
triggered last night by an IU submit.


-- Josh

On Aug 30, 2007, at 9:39 AM, Jeff Squyres wrote:


So is there any reason we have the reporter in reporter.php instead
of index.php?

Or is this only for hysterical raisins?

For aesthetic reasons, I'd be in favor of moving reporter.php back to
index.php and putting in a redirect file from reporter.php back to
index.php (or, more specifically, back to .).

--
Jeff Squyres
Cisco Systems

___
mtt-devel mailing list
mtt-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel