We want to restart nightlies 15.6.X.Y-Prod rel_5 after an update in the tag collector.

Locating the build machine

We have to go to the NICOS pages where we see the build machine used to make the nightly. In the case of 15.6.X.Y-Prod is lxbuild101.cern.ch

Login as atnight

ssh atnight@lxbuild101.cern.ch

Check acrontab entry

acrontab -l

Check also if no other builds are in the same machine

acrontab -l | grep lxbuild101

Define nightly rel_x to be used


Rebuild the nightly by hand using the same command as in acrontab

In this exercice we want to patch the tag InnerDetector/InDetRecAlgs/InDetV0Finder-00-04-03 in 15.6.X.Y-Prod rel_4 corresponding to the release

    cd /afs/cern.ch/atlas/software/builds/logs/AtlasProduction
    ~alibrari/scripts/copyNightly.py -p AtlasProduction -r -n 15.6.X.Y/rel_4
    ~alibrari/scripts/tags_diffs_tc_afs.sh --tc --afs -p AtlasProduction -b /afs/cern.ch/atlas/software/builds

Replace tag in the builds area

export CMTCONFIG=i686-slc4-gcc34-opt
setup AtlasProduction,,forceConfig
ls -l InnerDetector/InDetRecAlgs/InDetV0Finder
rm -rf InnerDetector/InDetRecAlgs/InDetV0Finder
cmt co -r InDetV0Finder-00-04-03  InnerDetector/InDetRecAlgs/InDetV0Finder

Rebuild tag in the builds area

cd AtlasProductionRelease/cmt
pico -w requirements 
# Replace the tag number replaced in the requirements file
source setup.sh
cmt br -select="/InDetV0Finder/" "make -j4"
# Note that if there are more tags the syntax is "/tag1/ /tag2/ /tag3/"

Create kits and rpms in the unvalidated path

cd /afs/cern.ch/atlas/software/builds/logs/AtlasProduction/
cp /afs/cern.ch/atlas/software/builds/logs/AtlasProduction/15.6.1/prod_slc4_opt.cfg .


~/Kit/PackDist/PackDist-00-05-06/scripts/proj-run.sh -c prod_slc4_opt.cfg -P AtlasProduction -r -t 32 -o /afs/cern.ch/atlas/project/repos/point1/slc4

 ~/Kit/PackDist/PackDist-00-05-06/share/pack-standalone.py $pacmancache/cache/AtlasProduction_15_6_1_5_i686_slc4_gcc34_opt.pacman

cd /afs/cern.ch/atlas/software/builds/logs/AtlasProduction/15.6.1
~/Kit/PackDist/PackDist-00-05-06/scripts/proj-run.sh -c prod_slc4_opt.cfg -P AtlasProduction -r 15.6.1 -t 32 -o /afs/cern.ch/atlas/project/repos/point1/slc4

Major updates:
-- Main.AndresPacheco - 17 Dec 2009

%RESPONSIBLE% Main.unknown
%REVIEW% -- Main.AndresPacheco - 17 Dec 2009

-- Main.AndresPacheco - 17-Dec-2009

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2009-12-17 - unknown
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main 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.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback