SAM CMS Software Installation Test
Full name:
org.cms.WN-swinst
Maintainer:
C. Wissing
Overview
Verifies that the CMSSW versions required by CMS are installed on the site, available through scramv1 and published in BDII
Checks
This script checks:
-
that the CMS software directory ($VO_CMS_SW_DIR
for gLite/ARC and $OSG_APP/cmssoft/cms
for OSG) is defined, exists and is readable
-
that the CMS software directory is writable by lcgadmin (only on gLite/ARC, except CERN and sites CVMFS mount /cvmfs/cms.cern.ch
)
-
that the CMS software initialisation script (cmsset_default.sh
) can be sourced without errors
-
that scramv1 is found
-
that installation is OK for a selected list of releases (so called required CMSSW releases) , by creating a project area with scramv1 project CMSSW CMSSW_X_Y_Z
and setting up runtime environment in the project area with eval `scramv1 runtime -sh`
- the list of required CMSSW release is maintained here
in CVS and updated as needed
-
that if a production release is installed, the corresponding VO-cms tag is published in BDII lcg-bdii.cern.ch:2170
-
that if a production release is published in BDII, it is also installed
- list of production release is from Tag Collector
- list of tags published in BDII is in this page
(updated every hour by a crontab)
-
that architecture tags (like e.g. VO-cms-slc5_amd64_gcc434
and VO-cms-slc5_amd64_gcc462
) are published in the BDII
-
that all production releases are installed
Legend
-
: failure of this check generates an ERROR
-
: failure of this check generates a WARNING
-
: failure of this check generates a NOTE
Source code
Troubleshooting
The CMSSW releases are usually maintained centrally by for most of the sites. In case of questions and problems site admins are always welcome to submit a Savannah ticket and assign it to the cmscompinfrasup-cmsswdeploy
squad.
WARNING: Some production release is not installed
Cause: The release has not yet been installed.
Note: The deployment cycle of release might need several hours.
Solution: In most cases it is sufficient just to wait until the deployment team has rolled out the missing release.
WARNING: Some CMS VO Tags are missing
Cause:
List typical cases when it can occur.
Note: After a new release was announced and installed, it takes some time until information system is up to date.
Solution: The missing tags should be published, or the corresponding CMSSW releases uninstalled. The first option is highly preferred.
WARNING: Cannot write to CMSSW installation area
Cause: the
lcgadmin role does not have write permissions on the software area. Software installation via grid jobs is impossible.
Solution: grant write permission in
$VO_CMS_SW_DIR
(for gLite/ARC) or
$OSG_APP/cmssoft/cms
(for OSG) to the local user to which the
lcgadmin role is mapped.
--
ChristophWissing - 21-Jun-2012