Meego Wiki
Views

Quality/QA-tools/OTS/UserDocumentation/Multiple device

From MeeGo wiki
Jump to: navigation, search

Contents

Multiple device support

Introduction

This feature has been added to 0.8.4 version.

Multiple device support means that one OTS worker can handle multiple devices simultaneously and execute tests parallel. One worker can include multiple ots-worker instances and they work individually. Only limitation is amount of the switchbox ports (if using USB devices), this limitation in HAT switchbox is 2.

Note! For MeeGo N900, you need the latest meego-ai and meego-ai-flasher!

Setup and configuration

This guideline assumes that you have HAT switchbox and two N900 devices.

Install OTS worker normally, check installation guidelines.

Wiring

20110414 002.jpg


You need one HAT, two N900 devices and lots of cables:

  • 3 x USB A-B cables from the PC to HAT
  • 1 x Power cable to HAT
  • 2 x Power cable from HAT to JIGs
  • 2 x USB A-microB cables from HAT to JIGs

ots-worker configuration

Basically you need to start two ots-worker programs in one PC.

If both devices are using the same OTS server and queue, then you can use the default /etc/ots.ini file. Start workers as root in different shells or screen windows:

ots_worker -n 1
ots_worker -n 2

If you want to dedicated the other device to some other server or queue, create a copy from the default ots.ini file and make your changes to that. Start workers as root in different shells or screen windows:

ots_worker -n 1
ots_worker -n 2 -c /your/new/ots.ini

conductor configuration

Testing

Personal tools