Commit Graph

86 Commits

Author SHA1 Message Date
Albert Cheng
c21fd488e5 [svn-r12384] Purpose:
feature.

Description:
Added the option of -64 which is similar to -n32.  This is needed by
Atlantia which has the ABI as -n32.

Platforms tested:
Pretty straight forward but not testable by h5committest.
Will be tested when daily tests run.
2006-05-29 16:46:11 -05:00
Albert Cheng
d0f565c5c0 [svn-r12366] Purpose:
fix.

Description:
More machines stop supporting "rsh machine command".
Worse yet, it hangs the "rsh machine command" process.

Solution:
Switch the order of testing remote execution to use
ssh first, then rsh.

Platforms tested:
no h5committest since it does not test this command.
Change is trivial and will monitor Daily test tonight.
2006-05-23 10:06:23 -05:00
Albert Cheng
f88e94b3b8 [svn-r12213] Turned off copyright checking until what need copyright is decided. 2006-04-07 12:46:03 -05:00
Albert Cheng
bdb6d1af4f [svn-r11877] Purpose:
Bug fix.

Description:
Fixed a typo and also moved initialization of n_xxxx variables to the
common declaration place.

Platforms tested:
Tested in v1.6 branch already.
2006-01-10 08:17:14 -05:00
Albert Cheng
c8f5be4e3c [svn-r11868] Purpose:
Feature.

Description:
Added counters for number of tests passed, failed and skipped.

Platforms tested:
Will be tested by daily test.
2006-01-08 00:04:47 -05:00
Albert Cheng
9c0f8180e7 [svn-r11695] Purpose:
Improvement

Description:
The previous HTML files strategy was to expect the very first comment
block is the copyright notice. That did not work well as more and more
other comments appear now.

Solution:
Changed the strategy to look for the only the essential body of copyright
notice.  This no longer verifies this body of text is a comment block. But
the previous strategy is not really bullet-proof either.

Platforms tested:
tested in heping.
2005-11-09 17:23:58 -05:00
Albert Cheng
b24462f543 [svn-r11632] Purpose:
Bug fix.

Description:
chkcopyright has been changed to return an exit code whether it passes
or not.  Changed the detection accordingly.

Platforms tested:
heping.
2005-10-30 22:23:33 -05:00
Albert Cheng
d0bb35ceb3 [svn-r11569] Purpose:
Improvement.

Description:
The df command sometimes hangs because of file system problem.

Solution:
Run the df command as background process and wait for it 10 seconds
to finish, then just continues.

Platforms tested:
Should work.  Daily test will test it.
2005-10-16 17:52:34 -05:00
Albert Cheng
1199296120 [svn-r11563] Purpose:
Added commands to show host status such as uptime and disk usages.

Platforms tested:
Eyeballed.  Will check the output of daily test.
2005-10-14 15:37:52 -05:00
Albert Cheng
692194d16b [svn-r11464] Purpose:
Feature.

Description:
Added the copyright checking--most settings are temporary.  Need
cleanup or fixes when most copyrights notices are completed.

Platforms tested:
Tested by hand.
2005-09-26 11:14:02 -05:00
Albert Cheng
bad0d32449 [svn-r10821] Purpose:
Feature.  Allow timelimit file to contain comment lines which are lines
beginning with #.
2005-05-28 16:26:58 -05:00
Albert Cheng
4843de7410 [svn-r10819] Purpose:
Use timelimit file to specify the time limit for timekeeper.
2005-05-28 16:07:16 -05:00
Albert Cheng
aed9bf19db [svn-r10814] Purpose:
Feature.

Description:
The temporary output filename of each remote host test is now
a combination of hostname and configname.

Platforms tested:
Will be tested by Daily test.
2005-05-27 22:46:30 -05:00
Albert Cheng
c7984f2914 [svn-r10642] Changed the TMPFILE to reside in snapshot log area. 2005-04-21 23:40:09 -05:00
Albert Cheng
2f2e652655 [svn-r10539] Purpose:
Bug fix

Description:
When chkmanifest failed, output is not dumped to failed detail section
and people tend to ignore it.

Solution:
Buffer the output of chkmanifest in a file and dump it to failed detail
section if it fails.  Else, just output to standout.

Platforms tested:
Tested by hand in heping.
2005-04-05 11:55:27 -05:00
Albert Cheng
50a248d644 [svn-r10537] Purpose:
Improvement

Description:
Dumping the beginning 10 lines of log files does not give much
useful information and they sort of mix up with the last 30 lines.

Solution:
Do not dump the beginning 10 lines any more.

Platforms tested:
Tested by hand.
2005-04-05 11:31:41 -05:00
Albert Cheng
51d7ba738f [svn-r10101] Purpose:
Another attempt to change the format of the failed details reporting.
2005-02-27 18:29:44 -05:00
Albert Cheng
a9b7b7d971 [svn-r10097] Purpose:
modified the output format of dumping logfile when failures have occurred.
2005-02-26 16:41:16 -05:00
Albert Cheng
b67493fcda [svn-r10080] Purpose:
Feature

Description:
Added code to dump the beginnng and last few lines of the
test log file if errors have occurred.

Platforms tested:
Tested the code itself separatedly but daily test is where
it is really tested.  Should work.
2005-02-24 17:12:10 -05:00
HDF Admin
738eb4d830 [svn-r10073] Purpose:
feature

Description:
Starting to add a feature that will print out details from the snapshot
test logfile when the test fails.  Only a debug statment is added to
see if snapshot is reporting error status correctly.

Platforms tested:
Not tested.  Wait for daily test to show the result.
2005-02-23 21:57:53 -05:00
Albert Cheng
d7f580b7cc [svn-r9784] Purpose:
slight improvement

Description:
Added a time stamp when a host is not reachable.
Added a pause to let timekeeper to complete.

Platforms tested:
It should work.
2005-01-08 16:25:18 -05:00
Albert Cheng
ac59d1115e [svn-r9720] Purpose:
Updated to call timekeeper with minutes.
Also put all timekeeper output to a separated logfile.

Platforms tested:
Did not test since it is hard to test without starting the whole daily test.
The change is trivial too.
2004-12-25 12:18:24 -05:00
Albert Cheng
a1fa6e2aff [svn-r9716] Purpose:
Feature

Description:
Added the deploydir feature.

Platforms tested:
Hand tested.
2004-12-24 00:55:16 -05:00
Albert Cheng
9d241be57f [svn-r9714] Purpose:
bug fix

Description:
Setup the time limit with the wrong unit concept.  300 is only
300 seconds, not 300 minutes.  Set them to the correct values.
2004-12-23 18:42:57 -05:00
Albert Cheng
f381ef7b59 [svn-r9711] Purpose:
Feature

Description:
Added the timekeeper feature.

Platforms tested:
tested by hand.
2004-12-23 15:52:13 -05:00
Albert Cheng
e793077523 [svn-r9692] Purpose:
feature.

Description:
Added the configure feature of deploy.

Platforms tested:
Hand tested in heping.
2004-12-18 17:47:29 -05:00
Albert Cheng
e0c4a752e6 [svn-r9340] Purpose:
Bug fix.

Description:
There was a historical hack to prevent runtest in multiple
hosts to run cvs update while they were launched by the daily test.
But a more proper fix has been implemented to prevent that but
this hack was not removed.  It ended up enforcing one CVS update
per day.  But if someone tested runtest during the day, it would
prevent the evening daily from doing update.  That is not good.

Solution:
Removed the hack which is not need any more.

Platforms tested:
NO h5committest since it does test runtest.  Tested it by
hand in eirene and heping.

Misc. update:
2004-09-29 14:18:49 -05:00
Albert Cheng
74c322019f [svn-r9319] Purpose:
Feature

Description:
Added code to support the -configname feature.

Platforms tested:
no h5committest which does not test this command.
ran it by hand in eirene comparing tg-login1 and tg-login2.

Misc. update:
2004-09-25 16:48:51 -05:00
Albert Cheng
fd476c92c5 [svn-r8913] Purpose:
Bug fix and feature.

Description:
The setenv was done in runtest but it has the effect will linger
onto the next test.  So, if the first test sets $CXX to a certain
value, it lingers on the all following tests of the same host.
This is usually not desired.

Solution:
Move the actual setenv code to snapshot.  Runtest now just parses them
and pass along the setenv request to snapshot.

Platforms tested:
no h5comittest which does not really test the change.
Hand tested in eirene with Tg-NCSA.

Misc. update:
2004-07-21 15:15:59 -05:00
Albert Cheng
d8a499cd87 [svn-r8386] Purpose:
Bug fix.

Description:
LOGFILE was showing both hostname and srcdirname when srcdirname is used.
Fixed it.

Platforms tested:
Tested in LANL QSC.
2004-04-18 23:04:16 -05:00
Albert Cheng
52a46001cb [svn-r7965] Purpose:
feature

Description:
Added the ability to handle srcdirname as the build-directory.

Platforms tested:
No h5comittest but tested in LANL QSC machine.
2003-12-16 16:34:24 -05:00
Albert Cheng
991bd6c9e3 [svn-r7960] Purpose:
feature.

Description:
Output skipped tests to a different file for better printout.

Platforms tested:
Just eyeballed it since the changes are trivial.
2003-12-15 22:30:34 -05:00
Albert Cheng
faa4216e99 [svn-r7958] Purpose:
Just trivial editing of comments.
Platforms tested:
   Eyeballed since the changes are all trivial and involved comments only.

Misc. update:
2003-12-15 14:06:24 -05:00
Albert Cheng
4947888c56 [svn-r7940] Purpose:
cleanup.
Description:
   Removed the old command that parses setenv2 and setenv3 which are
   replaced by setenvN.

Platforms tested:
No h5committest since it does not test this script.
Pretty sure it works.
2003-12-11 15:28:03 -05:00
Albert Cheng
e4e37e6d4a [svn-r7910] Purpose:
feature

Description:
-setup now also sets up or updates the current source directory.

Platforms tested:
LANL Theta.

Misc. update:
2003-12-03 12:09:21 -05:00
HDF Admin
0f45aeb53a [svn-r7859] Purpose:
new feature

Description:
Added the -setup option so that it can setup the snapshot test
directory structure.  This will help the setup of snapshot test
in a new machine, especially remote machine much easier.

Platforms tested:
no h5committest becuase it does not test this script.
Tested in tg-ncsa.
2003-11-19 23:48:25 -05:00
HDF Admin
0ebcd58d18 [svn-r7517] Purpose:
bug fix

Description:
Removed an extra export command in the parse of setenvN

Platforms tested:
Tested by hand.

Misc. update:
2003-09-25 22:29:41 -05:00
Albert Cheng
c6c38fb1bd [svn-r7504] Purpose:
Bug fix

Description:
The op-snapshot checkout "ate" the next option by mistake.

Solution:
Remove the extra shift.

Platforms tested:
Can't really test it without doing a real snapshot test.
Pretty sure it is correct and will watch the result tomorrow.

Misc. update:
2003-09-22 23:45:05 -05:00
Albert Cheng
2e3693aa8b [svn-r7488] Purpose:
Improvement

Description:
The -w timeout option is not supported by all hosts.
Added the "ping -c 3" possible PING command.

Platforms tested:
Tested in eirene by hand only.

Misc. update:
2003-09-18 12:22:54 -05:00
Albert Cheng
b89fbdd877 [svn-r7425] Purpose:
new feature

Description:
Added a new option of "setenvN" which does
  set environment variable with $1 values
  e.g., setenvN 3 x a b c is same as setenv x="a b c".

Platforms tested:
No h5committest.  Tested by hand in copper.

Misc. update:
2003-08-27 23:41:11 -05:00
HDF Admin
43ae120471 [svn-r7388] Purpose:
new feature

Description:
Added a new test option of
    op-snapshot <option>       snapshot option

This allows snapshot.cfg to tell runtest to run snapshot with a
special option.

Platforms tested:
Not h5committest because it is outside of its scope.
Tested by hand.

Misc. update:
2003-08-21 18:42:50 -05:00
HDF Admin
540431b983 [svn-r7179] Purpose:
Bug fix


Description:
If the base directory (.../snapshot-...) does not exist yet,
the runtest and snapshot will continue on till it bumped into
a "wall".


Solution:
Added verification that the BASEDIR does exist.
2003-07-07 12:03:08 -05:00
Albert Cheng
fafa33c06d [svn-r7089] Purpose:
bug fixes

Description:
The "fs flush" actually discards the local caches information,
NOT pushing the local file out to the servers.  It does not
help the AFS problems we had but probably made it worse by
creating more demands on the servers.

Solution:
Removed the FLUSH_FILES code.

Platforms tested:
Can't be tested by h5committest and I am pretty sure the
change is safe.

Misc. update:
2003-06-24 09:25:59 -05:00
Albert Cheng
3198f06a63 [svn-r6692] Purpose:
feature.

Description:
Added the option of "setenv3" which sets the environment variable
that has three components like env AR="ar -X 64".  It is another
kludge like setenv2.  Got to code in a better 'setenv' option.

Platforms tested:
Copper (because its -64 compiling needs that AR set as above).
Eirene (where it usually launches).
Did not do h5committest which does not test bin/runtest.

Misc. update:
2003-04-16 16:11:45 -05:00
Albert Cheng
bf10a762df [svn-r6548] Purpose:
New Feature

Description:
Some machine has a different hostname from its official name (e.g., copper
is called Cu12) and some machine name are dynamic aliases (e.g., titan is
mapped user01 or user02).  Some names are cryptic (who could remember
hn0? are platinum hosts while user0? are for titan).  We had to hardcode
those names into the snaptest.cfg file.  An ongoing maintenance PAIN.

Solution:
Added -configname <name> option where
   "use <name> as hostname in the parsing of the snaptest configure file"
Changed RSH code to append the hostname used in the Allhostfile.  Now, we
need not worry about machine name mapped to a different host and it is
much cleaner to match up entries between allhostfile and snaptest.cfg files.


Platforms tested:
Did not use h5committest which does not cover this code.
Tested in eirene, titan, platinum and copper.

Misc. update:
2003-03-31 14:05:41 -05:00
Albert Cheng
9dedbf110e [svn-r6529] Purpose:
Improvement

Description:
Added a 5 seconds timeout to the PING command so that it can detect
host not online quicker.

Platforms tested:
The three platforms tests do not cover this command.
Test it in eirene where it is usually run.

Misc. update:
2003-03-29 12:36:35 -05:00
Albert Cheng
4857e382ba [svn-r6523] Purpose:
Bug fix.

Description:
n_test must be inited to 1 when it is for tests within one machine.
Undid my previous mistake.

Platforms tested:
Eirene.
Did not do the h5committest because this is a script and if it works
in one machine, it most like will work in all Unix platform.

Misc. update:
2003-03-26 18:08:24 -05:00
Albert Cheng
6cfa419f9a [svn-r6522] Purpose:
new feature and some bug fixes

Description:
Add a new feature to "skip" some tests.
Sometimes, a machine has problem (e.g. titan and sleipnir having AFS
problems).  Sometimes some feature in a machine is temporary off (e.g.,
PGI compilers in eirene.)  The tests will be reported being SKIPPED
which will be reminder to remove the skipping once the problem is fixed.

I installed the skipping control in snaptest.cfg rather than in
allhostsfile to have a finer control to skip just a subset of the
tests of a machine, rather than skipping the all tests of a machine.

Bug fixes: fixed the miscounting of number of tests ran.  It was
reporting one too many.

Platforms tested:
Only tested in eirene since eirene is the one uses it directly.

Misc. update:
2003-03-26 17:14:35 -05:00
Albert Cheng
ef67cef161 [svn-r6488] Purpose:
New feature

Description:
Added feature to print a summary of total number of tests and time spent
in each host.

Platforms tested:
Did not run h5committest because it does not test this script.
Did test it out in eirene and burrwhite.

Misc. update:
No document change.
2003-03-19 10:22:22 -05:00
Albert Cheng
aaf7818a66 [svn-r5621] Purpose:
feature
Description:
    Removed the search of HDF4 library specifically.
    Replaced the locate_hdf4 with a more general locate_sw.
    Added the search of zlib.
Platforms tested:
    eirene and all hdf group machines.
2002-06-13 06:52:22 -05:00