WmAgent Tests in TestBed

Introduction

This page is intended as a reference for operators when they are required to test a new version of the request manager or wmagent. The idea is to test the system in a larger scale, rather than a minimal set of functions working (although this may not always be the case).

Test Battery

Each time a new ReqMgr is handled for Production or Preproduction the tests must at least include the following:
  1. Each type of wf must be tested ( Redigi - Reco - MC from Step0).
  2. Let workflows complete and check the following:
    • Merge jobs were created.
    • Phedex Automatic Subscription was done.
    • The information is uploaded to DBS.
  3. Continuously condor_rm some jobs so they fail and then test the resubmission system ACDC.
  4. Inject and assign three workflows with different priorities and test that priority actually worked.

Setting up the tests

We inject this test from vocms23.cern.ch. So access to these machine is needed. Then we have to run the following commands:
[vocms23] /afs/cern.ch/user/e/efajardo > source /afs/cern.ch/cms/LCG/LCG-2/UI/cms_ui_env.sh
[vocms23] /afs/cern.ch/user/e/efajardo > cd /data/cmst1/CMSSW_4_1_8_patch1/src/mc_test/testbed
[vocms23] /data/cmst1/CMSSW_4_1_8_patch1/src/mc_test > source ../../setup.sh 
[vocms23] /afs/cern.ch/user/e/efajardo > sudo -u cmst1 /bin/bashs

Running the tests

The tests are the following:

  • MonteCarlo PastVersion without assignment test:
     /data/cmst1/CMSSW_4_1_8_patch1/src/mc_test/testbed > python make_mc_gen_request.py 
    Should be injected but not assigned and assigned in the next release.
  • ReReco+Skim Test:
     [vocms23] /data/cmst1/CMSSW_4_1_8_patch1/src/mc_test/testbed > python make_rereco_skim.py 
  • ReDigi Test:
     [vocms23] /data/cmst1/CMSSW_4_1_8_patch1/src/mc_test/testbed > python make_redigi_request2.py 
  • MonteCarlo Test:
     /data/cmst1/CMSSW_4_1_8_patch1/src/mc_test/testbed > python make_mc_gen_request.py 

Before running the tests the scripts must be edited to set the appropriate "RequestString" and possibly requestor name.
The scripts are written so that they inject, approve and assign the request. The site (or list of sites) it is assigned to must be changed in the script, if needed.

-- EdgarFajardo - 22-Jun-2012

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r5 - 2012-10-23 - PreslavKonstantinov
 
    • 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.
Ideas, requests, problems regarding TWiki? Send feedback