BLAH testsuites (regression and functionality) installation, configuration and use


The cream_blah_testsuites is a package including:
  • a cream regression testsuite
  • a blah regression testsuite
  • a blah functionality testsuite covering the BLParser tests described in blah testplan

Testsuites installation


The installation is needed only client-side. It must be done on an emi-ui (EMI1 or EMI2).

Be careful to maintain the installation order below because CREAM functionality testsuite installs all dependencies needed also by cream_blah_testsuite package.

  • Robot framework installation

tar -xvf robotframework-2.7a1.tar.gz
cd robotframework-2.7a1
python install

  • Functionality testsuite installation


wget -O /etc/yum.repos.d/robot_testing.repo
yum groupinstall cream_testing_group
yum install cream_test

  • CREAM_BLAH testsuite installation

Get here: the file cream_regression_testing.tar containing the cream regression testsuite.

cd <where you want>
cp  cream_regression_testing.tar <where you want>
tar -xvf cream_regression_testing.tar


  • CREAM_BLAH testsuite configuration

vi/gedit cream_regression_testing/ and customize CREAM_TESTSUITE_HOME
source cream_regression_testing/
vi/gedit ${CREAM_TESTSUITE_HOME}/cream_regression_testing/lib/conf/cream_testsuite_conf.ini and customize it

  • Functionality testsuite configuration. To configure the testsuite you have to customize the file /opt/cream_test/lib/

BLAH functionality testsuite run:

You must run it on the shell where the environment is set sourcing cream_regression_testing/

pybot /opt/cream_test/testsuite/cream_test_suite.html

Note: (historically) the test concerning the notifications of suspended/resumed jobs required to suspend jobs in IDLE state. To be sure to satisfy this condition, the tests saturate the batch system sending tot_cpu_num (parameter configured in cream_testsuite_conf.ini, corresponding to the amount od cpus available in the submission cluster) jobs, then submits a job to execute the test and at the end clear all the submitted jobs. To have the tests success the parameter tot_cpu_num must be correctly set.

BLAH regression testsuite run:

The regression testsuite must be run in the same shell where the environment is set.

  • Run tests for both old and new blparser
pybot bug*
  • Run tests only for old blparser
pybot only_old_parser
  • Run tests only for new blparser
pybot only_new_parser


  • The regression testsuite suffer a lack in packaging. Must be improved

-- SaraBertocco - 2012-06-18

Topic revision: r2 - 2012-06-18 - SaraBertocco
This site is powered by the TWiki collaboration platformCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback