SAM CMS Production test
Full name:
org.cms.WN-mc
Maintainer: Jose' Hernandez
Overview
Verifies that the CMS Production jobs can locally stage out their output.
Checks
This script checks:
-
that the CMS software directory ($VO_CMS_SW_DIR
for EGEE and $OSG_APP/cmssoft/cms
for OSG) is defined, existing and readable
-
that the CMS software initialisation script (cmsset_default.sh
) exists and can be sourced without errors
-
that the directory containing the MC test code can be accessed
-
that the stage out succeeds
-
that the cleanup of the test file succeeds
Stage out logic
- Test the site configuration
- test that CMS_PATH exists in the environment
- test that can load the site local configuration
- test that a local stage out command is defined
- test that a local stage out SE name is defined
- test that a local stage out catalog is defined
- Test the Trivial File Catalog
- test that can load the TFC
- test that can translate
/store/unmerged/SAM/StageOutTest-pid-date
into a PFN
- Test the local stage out
- test that a stage out implementation can be retrieved
- test that the stage out can be performed normally
- otherwise, test that the stage out can be performed with at least one of the fallbacks
- Test that the test file can be cleaned up from the SE
- test that a stage out implementation can be retrieved
- test that the file removal succeeds
Source code
Troubleshooting
In case the test fails:
- Check history and/or wait for next iteration, just in case it is a glitch in the system
- Type of failures:
- If there is a failure in any of the standard tests), this should be consider as a real problem
- Permission denied to write on site Storage Element: several sites do not allow to write anything as VOMS role=lcgadmin, and therefore the test fails. This is more a "feature" of the system, which must be addressed anyway, rather than a real problem in the site
- Contact experts (and site administrators of the particular site?)
--
StefanoBelforte - 13 Mar 2007
Responsible:
JoseHernandez