pylint ------ To run pylint as in gitlab CI: docker run -it --privileged -v /cvmfs:/cvmfs:shared,ro -v /afs:/afs:ro gitlab-registry.cern.ch/atlas-tdaq-software/tdaq_ci:centos7 bash Then inside the container: git clone https://gitlab.cern.ch/atlas-tdaq-software/CastorScript.git cd CastorScript source /afs/cern.ch/atlas/project/tdaq/cmake/cmake_tdaq/bin/cm_setup.sh nightly /cvmfs/sft.cern.ch/lcg/views/$TDAQ_LCG_RELEASE/$CMTCONFIG/bin/pylint $(find Script/ -name '*.py' -a -not -name config.py) To fetch uncommitted code: kinit flegoff@CERN.CH cp /afs/cern.ch/... ... Point 1 Tests ------------- Select an unassigned calibration machine (for example): https://atlasop.cern.ch/twiki/bin/view/Main/CalibrationFarm Log in to P1 git clone https://:@gitlab.cern.ch:8443/atlas-tdaq-software/CastorScript.git cd CastorScript/Test ./p1.test.user.bash pc-tdq-calib-XX If you need to have an modified authorization file: source /sw/castor/script_setup.sh export CORAL_AUTH_PATH="$CORAL_AUTH_PATH:/path/to/CastorScript/coral/" python -u ../Script/CastorScript.py xxx.cfg Cleanup after tests: rm -rf /tmp/atlascdr To clean EOS data_test, from lxplus as atlascdr: xrdfs eosatlas ls /eos/atlas/atlastier0/daq/test/data_test > datatest.ls for i in `cat datatest.ls`; do xrdfs eosatlas rm $i; done rm datatest.ls Testbed ------- git clone ssh://git@gitlab.cern.ch:7999/atlas-tdaq-software/CastorScript cd CastorScript/Test cp test_config.cfg xxx.cfg mkdir -p /tmp/atlascdr/logs vim xxx.cfg Change Keytab: None Change DdmMonitoringProxy: None Change email for mailinglogger Change CopyDir to a user EOS area Change StageHost: 'eosuser' cm_setup nightly export PATH="$LCG_INST_PATH/$TDAQ_LCG_RELEASE/xrootd/4.8.4/$CMTCONFIG/bin/:$PATH" python -u ../Script/CastorScript.py xxx.cfg How to run your own partition on Testbed ### Connect to Testbed # ssh pc-tbed-pub (+ options for authentication forwarding and X server forwarding) ### ### Setup a stable tdaq environment: tdaq-07-01-00 for slc6: # source /afs/cern.ch/atlas/project/tdaq/cmake/cmake_tdaq/bin/cm_setup.sh tdaq-07-01-00 x86_64-slc6-gcc62-opt ### make partition file # pm_part_hlt.py #You should now have a file like: "part_hlt_[USERNAME].data.xml" in your current working directory #make this file readable to the public (put it in you public folder in your tbed home, at the time of writing this, it's located on AFS, this MIGHT change) # cp part_hlt_[USERNAME].data.xml public/ ### ### setup up the partition #if the file is in the public folder use this command (if you're in your tbed/afs home folder) # setup_daq -p part_hlt_[USERNAME] -d public/part_hlt_[USERNAME].data.xml #an interface should be visible after some time. ### Shut down properly! # File > Close and exit partition!! ### # To shutdown a partition if it was not closed from the IGUI, either restart the IGUI, or "pmg_kill_partition -p PARTITION" ###
Name | Last commit | Last update |
---|---|---|
.. | ||
local.cfg | ||
p1.test.atlascdr.bash | ||
p1.test.user.bash | ||
readme | ||
test_config.cfg |