Run ETF tests locally

From T2B Wiki
Revision as of 15:20, 5 April 2022 by Admin (talk | contribs)
Jump to navigation Jump to search

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

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


export PYTHONPATH=/group/admin/ETFTests/nap/
source /cvmfs/sft.cern.ch/lcg/views/setupViews.sh LCG_98python3 x86_64-centos7-gcc9-opt

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 /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

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.