Tags:
create new tag
,
view all tags
---+!! Blah Functionality and regression Test Suite Documentation %TOC% ---+ Blah functionality tests introduction The blah functionality testsuite covers the blparser tests described in the [[https://wiki.italiangrid.it/twiki/bin/view/CREAM/BlahTestWorkPlan][blah test plan]]. ---+ Testsuite installation The installation is needed only client-side. It must be done on an emi-ui. The blah functionality testsuite is included in the same package of cream regression testsuite and blah regression testsuite. Be careful to maintain the installation order below because cream functionality testsuite installs all dependencies needed also by blah functionality and cream and blah regression testsuite. * CREAM 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> * BLAH functionality and CREAM-BLAH Regression testsuite installation Get the more recent version of the testsuite from GitHub repository connecting [[https://github.com/italiangrid/cream_blah_testsuites/downloads][here]] and clicking on the button labeled "Download as .tar.gz" <verbatim> cd <where you want> cp cream_blah_testsuite.tar <where you want> tar -xvf cream_blah_testsuite.tar </verbatim> ---++ Configuration * CREAM Functionality testsuite configuration. Customize the file /opt/cream_test/lib/vars.py * BLAH Functionality and BLAH-CREAM Regression testsuites configuration <verbatim> cd <dir_created_by_untar_operation> vi/gedit testsuite_env.sh and customize CREAM_TESTSUITE_HOME source ${CREAM_TESTSUITE_HOME}/regression_env.sh vi/gedit ${CREAM_TESTSUITE_HOME}/cream_blah_testsuites/lib/conf/cream_testsuite_conf.ini and customize it </verbatim> ---+++ Notes on cream-blah testsuites configuration * When change the blparser configuration from new to old or vice versa do not forget to chenge the "parser_log_file" parameter value in ${CREAM_TESTSUITE_HOME}/lib/conf/cream_testsuite_conf.ini file * The test check_notifications_for_suspended_resumed_jobs.html is done supposing the jobs are suspended when in IDLE state. To satisfy this hypothesis it is used the configuration parameter "tot_cpu_num" in ${CREAM_TESTSUITE_HOME}/lib/conf/cream_testsuite_conf.ini file It is the number of jobs submitted to saturate the submission queue in use during the test (queue configured in the same file in "cream_queue" parameter). * The <siteinfo_dir>/site-info.def and <siteinfo_dir>/services/glite-creamce must be editable (it is changed and used for re-configuration during tests. ---++ BLAH Functionality testsuite run: At this point the regression testsuite must be run in the same shell where the environment is set. There are two options: * Run all the functionality tests in one command: <verbatim> cd $CREAM_TESTSUITE_HOME/blah_testing/ pybot tests </verbatim> * Run the functionality tests one by one (preferred to save time in case of failure of one of the tests). <verbatim> cd $CREAM_TESTSUITE_HOME/blah_testing/tests pybot check_notifications_for_normally_finished_jobs.html pybot check_notifications_for_cancelled_jobs.html pybot check_notifications_for_suspended_resumed_jobs.html </verbatim> ---++ BLAH Regression testsuite run: * Run tests of bugs of old blparser: <verbatim> cd $CREAM_TESTSUITE_HOME/blah_regression/tests pybot only_new_parser </verbatim> * Run tests of bugs of new blparser: <verbatim> cd $CREAM_TESTSUITE_HOME/blah_regression/tests pybot only_old_parser </verbatim> * Run generic bugs presents in both situations (old and new blparsers): <verbatim> cd $CREAM_TESTSUITE_HOME/blah_regression/tests pybot bug*.html </verbatim> -- Main.SaraBertocco - 2012-06-25
E
dit
|
A
ttach
|
PDF
|
H
istory
: r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
M
ore topic actions
Topic revision: r3 - 2012-06-26
-
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