Meego Wiki
Views

Quality/QA-tools/OTS/DeveloperDocs/OTS Distributor OTS Worker

From MeeGo wiki
Jump to: navigation, search

Contents

OTS Distributor and OTS Worker

The ots.server.distributor and ots.worker are central to the working of OTS.

Together with the dependencies in OTS Common they are the smallest set of OTS components that provide a meaningful system.

Tests are distributed to the Worker machines which return information via Data Transport Objects.*

Ots core.png

* When used in conjunction with the an application which communicates appropriately with Rabbit MQ


ots.server.distributor

The Distributor Sends a Task to RabbitMQ the Routing Key is the Device Group.

ots.worker

Waits for tasks from RabbitMQ. On receipt of a Task it runs a processes and sends the results back to the Worker as a Results Object.

Conductor

Conductor is a component in OTS Worker. Basically it does three things:

  1. Prepare the test target (e.g. device) for testing with the help of user-defined script (Custom Flasher).
  2. Execute testrunner-lite at Worker PC once for each test package. More details in CoOperationBetweenOtsConductorAndTestrunnerLite
  3. Send test results to OTS server.

RabbitMQ

The Messaging Architecture that links the Worker and the Distributor. RabbitMQ handles the Messaging and Load Balancing. It is configured so that the Worker only takes one Task at at time.

Component diagram.png

OTS Sequence Diagram

This figure represents the current state of the System. Simplifications in the response mechanisms are scheduled.

(see the * Roadmap for more details)

Sequence diagram ots.png

Personal tools