Tags:
create new tag
,
view all tags
---+!! BLAH testsuites (regression and functionality) installation, configuration and use %TOC% ---+ Introduction 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 [[https://wiki.italiangrid.it/twiki/bin/view/CREAM/BlahTestWorkPlan#BLParser_test][blah testplan]] ---+ Testsuites installation ---++ 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 <verbatim> wget http://robotframework.googlecode.com/files/robotframework-2.7a1.tar.gz tar -xvf robotframework-2.7a1.tar.gz cd robotframework-2.7a1 python setup.py install </verbatim> * Functionality testsuite installation [[https://twiki.cern.ch/twiki/bin/view/EMI/CREAMRobotFuncTests][Instructions]] <verbatim> wget http://yum.gridctb.uoa.gr/repository/robot_testing.repo -O /etc/yum.repos.d/robot_testing.repo yum groupinstall cream_testing_group yum install cream_test </verbatim> * CREAM_BLAH testsuite installation Get [[%ATTACHURL%/cream_regression_testing.tar][here]]: the file cream_regression_testing.tar containing the cream regression testsuite. <verbatim> cd <where you want> cp cream_regression_testing.tar <where you want> tar -xvf cream_regression_testing.tar </verbatim> ---++ Configuration * CREAM_BLAH testsuite configuration <verbatim> vi/gedit cream_regression_testing/regression_env.sh and customize CREAM_TESTSUITE_HOME source cream_regression_testing/regression_env.sh vi/gedit ${CREAM_TESTSUITE_HOME}/cream_regression_testing/lib/conf/cream_testsuite_conf.ini and customize it </verbatim> * Functionality testsuite configuration. To configure the testsuite you have to customize the file /opt/cream_test/lib/vars.py ---++ BLAH functionality testsuite run: You must run it on the shell where the environment is set sourcing cream_regression_testing/regression_env.sh <verbatim> pybot /opt/cream_test/testsuite/cream_test_suite.html </verbatim> 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. <verbatim> cd $CREAM_TESTSUITE_HOME/tests </verbatim> * Run tests for both old and new blparser <verbatim> pybot bug* </verbatim> * Run tests only for old blparser <verbatim> pybot only_old_parser </verbatim> * Run tests only for new blparser <verbatim> pybot only_new_parser </verbatim> ---+ Notes * The regression testsuite suffer a lack in packaging. Must be improved -- Main.SaraBertocco - 2012-06-18
E
dit
|
A
ttach
|
PDF
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
M
ore topic actions
Topic revision: r2 - 2012-06-18
-
SaraBertocco
Home
Site map
CEMon web
CREAM web
Cloud web
Cyclops web
DGAS web
EgeeJra1It web
Gows web
GridOversight web
IGIPortal web
IGIRelease web
MPI web
Main web
MarcheCloud web
MarcheCloudPilotaCNAF web
Middleware web
Operations web
Sandbox web
Security web
SiteAdminCorner web
TWiki web
Training web
UserSupport web
VOMS web
WMS web
WMSMonitor web
WeNMR web
IGI Documentation
Repositories specifications
Installation and Configuration Guides
Updates Guides
Services/Node Types List
IGI Updates Calendar
Tips & Tricks
Use Cases & Troubleshooting
Site Admin Corner
IGI Release Management
Integration Process
TODO List
IGI Testing & Certification
Certification Testbed
Blah testing
CREAM testing
HLR testing
Storm testing
UI testing
VOMS testing
WMS testing
WN testing
IGIRelease Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback