60 likes | 69 Vues
This script interfaces job submission through gLite WMS, creates JDL, allows CE selection, and organizes test results in HTML format.
E N D
WN Testing Liudmila Stepanova
submit_test.sh Script provides an interface to the submission of a job via job management system gLite WMS via NS.Script also creates a JDL.The Executable attribute in JDL is test.shInputSandbox:1.test.sh-executable script2.zaborov_tests.tgz - tarball of the tests.3.tests.list-list of the tests.Arguments: LFC_HOST=prod-lfc-shared-central.cern.chTwo kinds of a choice of CE are incorporated in the script:1. the user wants all his jobs to run on any CE in the domain cern.ch.This can be achieved putting in the JDL file the following expression: 'Requirements=RegExp(".*cern.*",other.GlueCEUniqueID)'2.All CE get for everyone names of sites:CE_HOST_PORT_JOBMANAGER=(`ldapsearch -x -LLL -h \ lcgbdii02.gridpp.rl.ac.uk -p 2170 -b "mds-vo-name=$SITENAME, \ mds-vo-name=local,o=grid" \ '(&(GlueCEUniqueID=*)(GlueCEAccessControlBaseRule=VO:dteam))'|grep \ ^GlueCEUniqueID |cut -d' ' -f2 |tr "\n" " "`)
test.sh The script reads names of tests from a file and starts them. The output is organized in html format in the form of the table: Test Result
Made modifications WN tests are based on UI tests of Zaborov. UI-inf-ldapsearch.shis modified forWN. WN -inf-ldapsearch.sh: This script don't call with -H giishost:port parameters.ldap_uri is gotten from variable $SITE_GIIS_URL:GIIS_HOST=`echo $SITE_GIIS_URL`SITE_GIIS_URL=`host $GIIS_HOST | sed -e 's/^.*address//'`GIIS=ldap://$SITE_GIIS_URL:2135IP address of GIIS_HOST is used as there are sites( INFN-TORINO,Ru-Troitsk-INR-LCG2) where WN are in a local network and PBS_HOST=$CE_HOST. CE_HOST in /etc/hosts haslocal ip address.
New test The new testWN-inf-edg-wl-scratch.sh checks thepresence ofEDG_WL_SCRATCH directory. If the directory exists that defines its total space, used space and available space.
Results All tests have run on WN of the following sites: DESY-HH RU-Moscow-KIAM-LCG2 DESY-ZN RU-Protvino-IHEP GRIF RU-SPbSU GSI-LCG2 Ru-Troitsk-INR-LCG2 INFN-TORINO TORONTO-LCG2 ITEP wuppertalprod JINR-LCG2 CERN-PROD