Meego Wiki
Views

Quality/QA-tools/OTS/Plugins/History

From MeeGo wiki
< Quality | QA-tools | OTS | Plugins
Revision as of 05:54, 22 March 2011 by Esmietti (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

History plug-in

Released in OTS 0.8.2.

Installation

Installation is made to OTS server.

1. Install Django environment

2. Install plug-in

sudo apt-get install python-ots-plugin-history

Fedora:

sudo yum install python-ots-plugin-history

3. Enable Django application

'ots.plugin.history'

4. Create/update database

5a. Restart apache

sudo service apache2 restart

5b. Restart OTS server

Usage

You can define maximum time and available device groups to OTS trigger with --options parameter:

ots_trigger -c optimized --options="target_execution_time:<integer> max_worker_amount:<integer>"

target_execution_time is the maximum execution time in minutes.
max_worker_amount is the maximum number of groups available for the testrun.

Example:

ots_trigger -t "test-package1-tests test-package2-tests test-package3-tests test-package4-tests" -c optimized --options="target_execution_time:120 max_worker_amount:4"

Let's assume that test-package1 takes 60min, test-package2 30min, test-package3 180min and test-package4 10min.

The history distribution model creates two execution groups:

  • test-package3 (total time 180min)
  • test-package1, test-package2, test-package4 (total time 100min)
Personal tools