1 / 14

Short report on TSTG ITA INFN Activities

Short report on TSTG ITA INFN Activities. Who : people What : install and config tests How : structure of the testing suite Where : contact info for people,code,doc What else : future work. Overview. Group composition Install and Config test scripts

Download Presentation

Short report on TSTG ITA INFN Activities

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. Short report on TSTG ITA INFN Activities • Who : people • What : install and config tests • How : structure of the testing suite • Where : contact info for people,code,doc • What else : future work EDG TSTG meeting at CERN, Oct 9, 2002

  2. Overview • Group composition • Install and Config test scripts • Basic assumptions • Site customization • Open issues • Where to find people and code EDG TSTG meeting at CERN, Oct 9, 2002

  3. People ( nobody is 100% on this one subject) • Alessandro Cavalli - INFN CNAF Bologna • Antonio Forte - INFN Torino • Gennaro Tortone - INFN Napoli • Livio Salconi - INFN Pisa • Francesco Taurino - INFN Napoli • Mario Reale - INFN CNAF Bologna EDG TSTG meeting at CERN, Oct 9, 2002

  4. What did we do up to now: • Wrote down machine requirements for each profile : UI, RB, CE, SE, WN • Designed structure of basic install and config tests • Set up a CVS server for code and doc • http://cvs.infn.it/cgi-bin/cvsweb.cgi/testgrid/ • Set up a reference web site for doc and links • http://cern.ch/infn-testing • Releasing (this week ) first version (1.0 ) of the software (RPM) and the related reference document EDG TSTG meeting at CERN, Oct 9, 2002

  5. Requirements • Split into a common part and a machine-specific part • Common part includes: • Check OS required services • Check the presence of mandatory files • Check the correct install of a list of reference RPMs after downloading this list from the marianne CVS repository • Check mandatory users • Check running services (daemons) • Mandatory parameters is /etc/globus.conf • ENV variables checking • Port occupation checking • Mount point checking • GDMP components check ( mandatory files, libs) • GRID Info Systems components : check files and daemons (GRIS) • Grid Security and CA mandatory files check EDG TSTG meeting at CERN, Oct 9, 2002

  6. Structure of the install & config test suite: basic assumptions • /bin/bash used everywhere • split between core functions and machine-specific test scripts • used our own function return code convenctions • 0 = OK • 1 = failure • 2 = no mandatory parameter passed • Reference EDG release : 1.2 EDG TSTG meeting at CERN, Oct 9, 2002

  7. Core Functions • getFileParam.sh • getfileparamhead.sh • getfileparamtail.sh • getglobusconfparam.sh • getportnumber_etc_services.sh • getportnumber_netstat.sh • getportnumber_rb_conf.sh • getrpmlist.sh • grisqueryce.sh • grisqueryse.sh • layout.sh • rpm-checklist-script.sh • rpmchecker.sh • rpmcheckernilist.sh • seinfoprovcheck.sh • sourcer.sh • ceinfoprovcheck.sh • checkbrokerinfo.sh • checkenvvariable.sh • checkglobusconfparam.sh • checkmultipleservices.sh • checknfsmount.sh • checkopenport.sh • checkservice-ps.sh • checkservice.sh • checkuser.sh • checkuserenv-script.sh • checkuserenv.sh • common.sh • echofunc.sh • extractglobusconfparam.sh • fileexist.sh • finaloutput.sh • gdmpuserconf.sh EDG TSTG meeting at CERN, Oct 9, 2002

  8. Testing Shell scripts (1/2) • One comprehensive shell script for each EDG main machine profile: • UI, RB, WN, CE, SE • Each test script follows the requirements and checks them by means of the core functions • A site-customization script sets preliminary environment for the main test script to be correctly executed and performe sensible tests according to specific site config setup EDG TSTG meeting at CERN, Oct 9, 2002

  9. Testing shell scripts (2/2) • Currently the global test is successful only if all individual tests are passed • Each test is described in the std-output and the result is visualized at each step • At the end of the execution, the summary of the total number of success and failures is reported and the final test result is presented EDG TSTG meeting at CERN, Oct 9, 2002

  10. Site customization • A script (layout.sh) sourced by all testing script sets the variables needed to customize the test suite for a particular site: • SEhostname=grid007g.cnaf.infn.it • CEhostname=testbed001.cnaf.infn.it • LCFGhostname=lcfgsrv • DataAccessProtocol="file rfio gridftp" • SupportedVOs="tutor alice lhcb atlas cms iteam wpsix biome eo" • lcfgserveron=yes • LRMStypes="pbs lsf bqs" EDG TSTG meeting at CERN, Oct 9, 2002

  11. An Example : CE test (1/3) #################################### #### MANDATORY FILES CHECK #### #################################### fileexist /etc/globus.conf ... [ OK ] getting GRIDMAP from /etc/globus.conf and check file [ OK ] getting X509_GATEKEEPER_CERT from /etc/globus.conf and check file [ OK ] getting X509_GATEKEEPER_KEY from /etc/globus.conf and check file [ OK ] ############################## #### RUNNING SERVICES ###### ############################## checkservice edg-crl-upgraded [ OK ] checkservice edginfo-mds [FAILED] checkservice globus-gatekeeper [ OK ] checkservice globus-gsi_wuftpd [ OK ] EDG TSTG meeting at CERN, Oct 9, 2002

  12. An Example : CE test (2/3) ############################### #### MDS / GRIS QUERY #### ############################### grisqueryce Analizyng ceId: ceid=testbed001.cnaf.infn.it:2119/jobmanager-pbs-short Analizyng closeSE: closese=grid007g.cnaf.infn.it Analizyng ceId: ceid=testbed001.cnaf.infn.it:2119/jobmanager-pbs-medium Analizyng closeSE: closese=grid007g.cnaf.infn.it Analizyng ceId: ceid=testbed001.cnaf.infn.it:2119/jobmanager-pbs-long Analizyng closeSE: closese=grid007g.cnaf.infn.it Analizyng ceId: ceid=testbed001.cnaf.infn.it:2119/jobmanager-pbs-infinite Analizyng closeSE: closese=grid007g.cnaf.infn.it The GRIS for the Computing Element is up and data returned is complete [ OK ] ############################# #### RPM check procedure #### ############################# verify RPM list installation ################################################## # downloading the list from datagrid.in2p3.fr.... ################################################## --16:47:09-- http://datagrid.in2p3.fr:80/autobuild/rh6.2/rpmlist/ RB-All-v1_2_0.html => `CE-v1_2_0.html' Connecting to datagrid.in2p3.fr:80... connected! HTTP request sent, awaiting response... 200 OK Length: 49,035 [text/html] 0K -> .......... .......... .......... .......... ....... [100%] 16:47:10 (123.42 KB/s) - `CE-v1_2_0.html' saved [49035/49035] verify RPM list installation rpmchecker(): ca_CERN-0.8-1 NOT INSTALLED ! rpmchecker(): ca_CESNET-0.8-1 NOT INSTALLED ! rpmchecker(): ca_CNRS-0.8-1 NOT INSTALLED ! rpmchecker(): ca_CNRS-DataGrid-0.8-1 NOT INSTALLED ! rpmchecker(): ca_CNRS-Projets-0.8-1 NOT INSTALLED ! rpmchecker(): ca_DOESG-0.8-1 NOT INSTALLED ! [FAILED] EDG TSTG meeting at CERN, Oct 9, 2002

  13. An Example : CE test (3/3) ################################################## # FINAL TEST RESULT : NOT PASSED # ################################################## [FAILED] ################################################## # TOTAL NUMBER OF SUCCESSES = 32 # TOTAL NUMBER OF FAILURES = 11 ################################################## EDG TSTG meeting at CERN, Oct 9, 2002

  14. What else ? Future developments • Integrate this work in the EDG TSTG testsuite scheme • Complete and integrate documentation • Include uncovered testing features, in close collaboration with EDG TSTG (functionality tests, stress tests….) • Collect feedback from users and correct/improve testsuite accordingly EDG TSTG meeting at CERN, Oct 9, 2002

More Related