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:
  • 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 directory containing the MC test code can be accessed
  • Stop that the stage out succeeds
  • ALERT! 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

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r8 - 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-2023 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