1 / 6

Liudmila Stepanova

WN Testing. Liudmila Stepanova. submit_test.sh.

brannon
Download Presentation

Liudmila Stepanova

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. WN Testing Liudmila Stepanova

  2. 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" " "`)

  3. 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

  4. 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.

  5. 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.

  6. 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

More Related