This page gives quick recipes to build and test CORAL and COOL using lcgcmake on the nightly build nodes.

Build and test CORAL and COOL using lcgcmake on the nightly build nodes

The procedure described in this section can be useful when debugging the behaviour of lcgcmake in the nightly builds. This is necessary only very rarely.

In the following, it is assumed that a nightly build/test has already been executed and needs to be debugged by selectively rebuilding CORAL/COOL and relaunching their tests. To start a new nightly build from scratch, a new experimental/dev2/dev3/dev4 build should be launched instead from phsft-jenkins.

First of all, you should identify the relevant (Linux or Mac) build node and build directory from the dashboard. You should then:

  • log in the relevant build node as user sftnight using ssh and change directory to the relevant build directory
  • source the setup script in the build directory
  • if needed, clean the existing build products and remove the existing install directory for CORAL/COOL
  • rebuild CORAL/COOL
  • launch the CORAL/COOL tests (if needed, you can list all existing tests using make test ARGS=-N, which simply executes ctest -N)

For instance, to rebuild CORAL and relaunch CORAL tests:

cd /mnt/build/jenkins/workspace/lcg_ext_dev4/BUILDTYPE/Release/COMPILER/gcc49/LABEL/slc6/
cd build/
make clean-CORAL
rm -rf ../install/CORAL/3_1-patches/x86_64-slc6-gcc49-opt
make CORAL
make test ARGS="-R coral-test"

The results of the CORAL test are in build/tests/coral-tests.log.

Note that the procedure above, involving make clean-CORAL and make CORAL, erases and downloads the CORAL tarfile from scratch, hence:

  • if you want to edit files locally, you must use a less invasive CORAL cleanup procedure (just remove selected files in the build/projects/CORAL-3_1-patches/src/CORAL-3_1-patches-stamp directory instead)
  • if you accept a rebuild from scratch but wish to modify source code, you must trigger an "lcg-prepare-builds" build on phsft-jenkins

-- AndreaValassi - 2016-07-19

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2016-07-20 - AndreaValassi
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Persistency All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 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