Difference: Cream_blah_testsuites (3 vs. 4)

Revision 42012-11-05 - SaraBertocco

Line: 1 to 1
 
META TOPICPARENT name="TestingCreamDgas"

Cream regression, BLAH functionality and regression testsuites installation, configuration and use

Line: 41 to 41
 

Testsuite run

Added:
>
>
Caveats: * lauch the testsuites in a shell where you run previously /opt/cream_blah_testsuites/testsuite_env.sh and set PYTHONPATH * lauch the testsuites in a shell where you have write permissions: robot fremework tryes to write log files in the path where it is launched and it fails if it is unable to create its logs.
 
Added:
>
>

Run BLAH testsuites

 A generic description on how to run tests in cream testsuites is available here.

  • Run BLAH functionality testsuite:
Line: 54 to 58
  pybot /opt/cream_blah_testsuites/testsuites/blah_testing/tests/check_notifications_for_cancelled_jobs.html pybot /opt/cream_blah_testsuites/testsuites/blah_testing/tests/check_notifications_for_suspended_resumed_jobs.html
Added:
>
>
  • Run BLAH regression tests for cream configured with old blparser
   pybot -i old_parser /opt/cream_blah_testsuites/testsuites/blah_regression/tests/bug_*.html
  • Run all BLAH regression tests for cream configured with new blparser
   pybot -i new_parser /opt/cream_blah_testsuites/testsuites/blah_regression/tests/bug_*.html
  • Run BLAH regression tests for a specific release, ex. blah 1.18.0
   pybot -i blah_1.18.0 /opt/cream_blah_testsuites/testsuites/blah_regression/tests/bug_*.html
  • To switch from old to new blparser you have to:
    • Go to the cream ce, set
      BLPARSER_WITH_UPDATER_NOTIFIER=true
      in
      <site_info_dir>/services/glite-creamce
      and reconfigure using yaim.
    • In file /opt/cream_blah_testsuites/lib/conf/cream_testsuite_conf.ini set in section [blah_specific]:
              parser_type = with_updater_notifier
              parser_log_file = /var/log/cream/glite-ce-bnotifier.log
              
  • To switch from new to old blparser you have to:
    • Go to the cream ce, set
      BLPARSER_WITH_UPDATER_NOTIFIER=false
      in
      <site_info_dir>/services/glite-creamce
      and reconfigure using yaim.
    • In file /opt/cream_blah_testsuites/lib/conf/cream_testsuite_conf.ini set in section [blah_specific]:
              parser_type = with_blparser_only
              parser_log_file = /var/log/cream/glite-lsfparser.log
              

Run CREAM regression testsuite

  • Run all CREAM regression tests
   pybot  /opt/cream_blah_testsuites/testsuites/cream_regression/tests/bug_*.html
  • Run CREAM regression tests for a specific release, ex. cream 1.14
   pybot -i cream_1.14 /opt/cream_blah_testsuites/testsuites/cream_regression/tests/bug_*.html

 
Deleted:
<
<
Remember: to switch from new to old blparser or vice versa you have to do two things:
 
Deleted:
<
<
Caveats:
  • lauch the testsuites in a shell where you have write permissions: robot fremework tryes to write log files in the path where it is launched and it fails if it is unable to create its logs.
 
 
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