SAM CMS Basic Test

Full name: org.cms.WN-basic

Maintainer: Andrea Sciabà

Overview

This script does some basic sanity checks of the CMS software installation area and of the local site configuration.

Checks

This script checks:
  • Stop that the CMS software directory ($VO_CMS_SW_DIR for EGEE and $OSG_APP/cmssoft/cms for OSG) is defined, existing and readable
  • Stop that the CMS software initialisation script (cmsset_default.sh) exists and can be sourced without errors
  • Stop that the $CMS_PATH variable is defined and its value is an existing directory
  • Stop that the $CMS_PATH/SITECONF/local/JobConfig directory exists
  • Stop that the $CMS_PATH/SITECONF/local/JobConfig/site-local-config.xml file exists
  • Stop that it has entries for
    • the trivial file catalog
    • the local stage out
    • the site name
    • FroNTier
  • Stop that the TFC file exists with the name and location indicated in site-local-config.xml
  • that the local site configuration file is equal to the GIT version in http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/COMP/SITECONF/?cvsroot=CMSSW
    • ALERT! if different but local file modified in last 72h (assume someone is working on it)
    • Stop if different and local file not modified in last 72h
  • that the local TFC site is equal to the GIT version as above
    • ALERT! if different but local file modified in last 72h (assume someone is working on it)
    • Stop if different and local file not modified in last 72h
  • Stop that lcg-cp and GFAL OR srmcp exist with a high enough version number

Legend
  • Stop: failure of this check generates an ERROR
  • ALERT!: failure of this check generates a WARNING

Source code

Known issues

  • The test does not even produce a warning if the CVS copy does not exist. Is this a desirable behaviour?

Troubleshooting

  • ERROR: local site configuration file differ from CVS. Solution: make sure that the correct version of the local site configuration is both locally installed and committed to CVS.

-- StefanoBelforte - 22 Feb 2007

Responsible: StefanoBelforte

Edit | Attach | Watch | Print version | History: r18 < r17 < r16 < r15 < r14 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r18 - 2016-07-22 - AndreaSciaba
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback