...
Panel |
---|
title | System Test Run Example |
---|
|
Log into a machine with access to the batch farm. > ssh noric.slac.stanford.edu The glastsys password is stored in escrow. > su glastsys Create the version result directory in the package result directory. If space on the system test disk, u17, is slim, delete the mc.root, digi.root, recon.root, and result.root files for old tests. > cd $SYSTESTS/GlastRelease > mkdir $SYSTESTS/ Grab a recent config file from another version directory and edit for this run. See the example below. > cp ../v17r35p14/Config.txt ./ Now run the tests. These will be submitted to the batch queue. > $SYSTESTS/src/exec/runSysTests.sh Optionally, you can specify a different configuration file name. > $SYSTESTS/src/exec/runSysTests.sh Config_soemthingelse.txt packag GlastRelease pversion v17r35p20 sversion v15r47p12gr11 ksthresh 0.5 builddir /nfs/farm/g/glast/u30/builds/rhel4_gcc34opt/GlastRelease/GlastRelease-v17r35p20 cmtpath /nfs/farm/g/glast/u30/builds/rhel4_gcc34opt/GlastRelease/GlastRelease-v17r35p20 cmtconfig rhel4_gcc34opt executable /nfs/farm/g/glast/u30/builds/rhel4_gcc34opt/GlastRelease/GlastRelease-v17r35p20/Gleam/*/rhel4_gcc34opt/Gleam.exe systests /nfs/farm/g/glast/u17/systests/src/GRtests output /nfs/farm/g/glast/u17/systests/ glastext /afs/slac/g/glast/ground/GLAST_EXT/rhel4_gcc34opt |
Now run the tests. These will be submitted to the batch queue.
> $SYSTESTS/src/exec/runSysTests.sh
Optionally, you can specify a different configuration file name.
> $SYSTESTS/src/exec/runSysTests.sh Config_soemthingelse.txt
Panel |
---|
You will see lots of console output, but the jobs are submitted to the batch queue and do not require you to stay logged in to the terminal. You can come back and find top level errors in the version result directory in testerr. The output files and logs will be in the test result directories, e.g., $SYSTESTS/GlastRelease/v17r35p20/<test_name>/linux/ You can check on the runs using bjobs and looking at the output files. If there is a problem with the tests or you want to end the run early, you can kill the jobs with bkill 0. It is fine to do this and start them again. A run will completely overwrite a previous run with the same version name unless you set special options in the config file. To examine the output of the job see http://glast-ground.slac.stanford.edu/SystemTests/summary.jsp. You will see completed jobs appear there, but no histograms or comparison results until you do the next step. Once all the runs have finished, you will need to load the histograms and results to the database for web viewing. Panel |
---|
title | Loading the histograms and comparison results to the database |
---|
| |
> cd $SYSTESTS/src/exec > source setup.csh > python insert_metadata_version_sequence.py -b <version_name> |
...