<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://t2bwiki.iihe.ac.be/index.php?action=history&amp;feed=atom&amp;title=CrabValidation</id>
	<title>CrabValidation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://t2bwiki.iihe.ac.be/index.php?action=history&amp;feed=atom&amp;title=CrabValidation"/>
	<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=CrabValidation&amp;action=history"/>
	<updated>2026-04-20T14:08:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://t2bwiki.iihe.ac.be/index.php?title=CrabValidation&amp;diff=72&amp;oldid=prev</id>
		<title>Maintenance script: Created page with &quot; === How basic validation works ===  *CRAB validation is twofold in the sense that you have client and server parts.  *Keeping in touch with the integration and development...&quot;</title>
		<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=CrabValidation&amp;diff=72&amp;oldid=prev"/>
		<updated>2015-08-26T12:28:24Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; === How basic validation works ===  *CRAB validation is twofold in the sense that you have client and server parts.  *Keeping in touch with the integration and development...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
=== How basic validation works ===&lt;br /&gt;
&lt;br /&gt;
*CRAB validation is twofold in the sense that you have client and server parts. &lt;br /&gt;
*Keeping in touch with the integration and development teams, you will learn for each new client release on which servers it has to be tested. &lt;br /&gt;
*In fact, there exists servers dedicated for tests and where the latest pre-release version of CRABSERVER (CS) is installed.&lt;br /&gt;
&lt;br /&gt;
*Each new release is announced on the &amp;quot;CRAB development&amp;quot; Hypernews forum and it is installed at CERN in /afs/cern.ch/cms/ccs/wm/scripts/Crab/. &lt;br /&gt;
*If you want to test it from IIHE T2, you just have to follow the installation procedure described [[InstallingCRAB| here]].&lt;br /&gt;
&lt;br /&gt;
*Basic validation means that only the basic features are to be tested. &lt;br /&gt;
*You will find on this [https://twiki.cern.ch/twiki/bin/view/CMS/ValidationofCRABclientreleases page] more details on what is to be tested. &lt;br /&gt;
*On this, you will see that each release is checked in three different ways : standalone (no CS), with CS+glite, and with CS+glidein. &lt;br /&gt;
*This page is also where results of validation tests are to be collected. &lt;br /&gt;
*It is important to update it and to inform the development team about the results after each validation campaign.&lt;br /&gt;
&lt;br /&gt;
=== The validation framework ===&lt;br /&gt;
To avoid repetitive tasks during the validation, a framework is being developed. The goal of this framework is to check all the basic CRAB commands in a single run.&lt;br /&gt;
&lt;br /&gt;
If you want to try this, follow these steps :&lt;br /&gt;
&lt;br /&gt;
#Check out the project :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs co COMP/INTEGRATION/crabvalidation&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 Note : if working from a UI at IIHE, you must set up your CVS environment as described [[Access_to_CERN_CVS| here]].&lt;br /&gt;
 2. Unpack and build the project :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmsrel CMSSW_X_Y_Z&lt;br /&gt;
cp COMP/INTEGRATION/crabvalidation/* ./CMSSW_X_Y_Z/src/&lt;br /&gt;
cd ./CMSSW_X_Y_Z/src&lt;br /&gt;
tar xvzf CMSSW-Demo.tgz&lt;br /&gt;
cd ./Demo/DemoAnalyzer/&lt;br /&gt;
scram b&lt;br /&gt;
cd ../..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 Remark: In case you want to test the 64bit you have to set &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export SCRAM_ARCH=slc5_amd64_gcc434 &lt;br /&gt;
export LD_LIBRARY_PATH=/lib64:$LD_LIBRARY_PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 3. Adapt the crab.cfg (at least change the SE).&lt;br /&gt;
 4. Do what you usually do before submitting jobs with CRAB. At IIHE, it looks like that :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source $VO_CMS_SW_DIR/cmsset_default.sh&lt;br /&gt;
cmsenv&lt;br /&gt;
source /user/cmssoft/crab/CRAB_2_7_4_pre2/crab.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 5. Run the validation script :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./RunValidationTest.py -server slc5ucsd -scheduler glite&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 In this example, we are testing CRAB client 2_7_4_pre2 on the CRABSERVER slc5ucsd with glite as scheduler. More info on the Release validation suite can be found here [https://twiki.cern.ch/twiki/bin/view/CMS/IntegrationDistributedComputingCRABVal here].&lt;br /&gt;
 Some of the commands to be run&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./RunValidation.py -printToFile standaloneglite&lt;br /&gt;
./RunValidation.py -server slc5cern -printToFile serverglite&lt;br /&gt;
./RunValidation.py -server slc5cern -scheduler glidein -printToFile serverglidein&lt;br /&gt;
./RunValidation.py -printToFile standaloneglite -checkResubmission&lt;br /&gt;
./RunValidation.py -server slc5cern -printToFile serverglite -checkResubmission&lt;br /&gt;
./RunValidation.py -server slc5cern -scheduler glidein -printToFile serverglidein -checkResubmission&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Re-using the validation framework to test the locally adapted CRAB for PBS submission ===&lt;br /&gt;
&lt;br /&gt;
*Example configuration files, based on the validation suite above, can be here:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/localgrid/jmmaes/CrabPbsSubmissiontest/CMSSW_3_10_0/src&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== CRAB3 testing with WMAgent ==&lt;br /&gt;
&lt;br /&gt;
*See this [[CRAB3testingwithWMAgent| page]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TracNotice|{{PAGENAME}}}}&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>