Run ETF tests locally: Difference between revisions

From T2B Wiki
Jump to navigation Jump to search
(Created page with "To be independent of the ETF testing machine, it is sometimes handy to be able to run them locally, or at least from another machine. <br> The reference at cern for this page is here for [https://twiki.cern.ch/twiki/bin/viewauth/CMS/SiteSupportSAMSEGSIftp GSIftp] and here for [https://twiki.cern.ch/twiki/bin/viewauth/CMS/SiteSupportSAMSE-WebDAV Webdav] == Location == The tests are now in /group/admin/ETFTests. This is a git repo, so it would be a good idea to run do a...")
 
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
== Running ==
== Running ==


As the tests depend on an external library:
You need a proxy certificate with CMS VOMS extension and a generic certificate of a person that is not a member of CMS or has no CMS VOMS extension.
 
<pre>
<pre>
export PYTHONPATH=/group/admin/ETFTests/nap/
voms-proxy-init --out ~/x509no
voms-proxy-init --voms cms --out ~/x509vo
</pre>
 
As the tests depend on external libraries we have not installed on the M-machines:
<pre>
 
export PYTHONPATH=/group/admin/ETFTests/site-packages/
 
</pre>
</pre>
Next, run them
Next, run them
<pre>
<pre>
cd /group/admin/ETFTests/cmssam/SiteTests/SE/
cd /group/admin/ETFTests/cmssam/SiteTests/SE/
./se_webdav.py -H maite.iihe.ac.be -E maite.iihe.ac.be:2880 -X /tmp/x509up_u29590 -N /tmp/x509up_u29590 -T RD3PCP /pnfs/iihe/cms/ph/sc4/store/mc/SAM/ -T WRDEL3PCP /pnfs/iihe/cms/store/user/odevroed/SAM/Probe -C /dev/null
./se_webdav.py -H maite.iihe.ac.be -E maite.iihe.ac.be:2880 -X ~/x509vo -N ~/x509no -T RD3PCP /pnfs/iihe/cms/ph/sc4/store/mc/SAM/ -T WRDEL3PCP /pnfs/iihe/cms/store/user/odevroed/SAM/Probe -C /dev/null
</pre>
</pre>
Replace the location of the proxy (x509up) with your own one.


== Running tests against other sites ==
== Running tests against other sites ==


A list of T2 sites in CMS is provided by the experiment. Bit the URL and base directory of the SE is found in this list. <be>
A list of T2 sites in CMS is provided by the experiment. But the URL and base directory of the SE is found in the [https://dashb-cms-vo-feed.web.cern.ch/dashboard/request.py/cmssitemapbdii CMS vo-feed]. <br>
This is the [ link].

Latest revision as of 14:52, 12 April 2022

To be independent of the ETF testing machine, it is sometimes handy to be able to run them locally, or at least from another machine.
The reference at cern for this page is here for GSIftp and here for Webdav

Location

The tests are now in /group/admin/ETFTests. This is a git repo, so it would be a good idea to run do a git pull before executing them.

Running

You need a proxy certificate with CMS VOMS extension and a generic certificate of a person that is not a member of CMS or has no CMS VOMS extension.

voms-proxy-init --out ~/x509no
voms-proxy-init --voms cms --out ~/x509vo

As the tests depend on external libraries we have not installed on the M-machines:


export PYTHONPATH=/group/admin/ETFTests/site-packages/

Next, run them

cd /group/admin/ETFTests/cmssam/SiteTests/SE/
./se_webdav.py -H maite.iihe.ac.be -E maite.iihe.ac.be:2880 -X ~/x509vo -N ~/x509no -T RD3PCP /pnfs/iihe/cms/ph/sc4/store/mc/SAM/ -T WRDEL3PCP /pnfs/iihe/cms/store/user/odevroed/SAM/Probe -C /dev/null

Replace the location of the proxy (x509up) with your own one.

Running tests against other sites

A list of T2 sites in CMS is provided by the experiment. But the URL and base directory of the SE is found in the CMS vo-feed.