Skip to main content

kaiju-automator-lib

Project description

kaiju-automator-lib

This library is used as the python interface between client software and kaiju-mqtt-py, to make requests of the automator module on the RAE.

This library is used for a few purposes:

  • Get a test plan for a device
  • Run a test plan for a device
  • Cancel a test plan currently running on a device

Request data format

Most requests to the automator module require a device identifier. This is one or more of: an ESN, an IP, or an ADB serial number. Examples:

{"device_ip": "192.168.144.10"}
{"device_esn": "RKU..."}
{"device_serial": "..."}

There is a newer format that moves this into a "target" object with shorter syntax:

{"target": {"ip": "192.168.144.10"} }
{"target": {"esn": "RKU..."} }
{"target": {"serial": "..."} }

These identifiers are typically merged into larger request objects, such as test plan run or test plan cancel requests.

Test plan response data format

The test plan data format is described generally in client.py. A more general discussion of what decisions can be made from the contents of this object needs to be written.

Test plan run request data format

The test plan run request data format is also described generally in client.py. It requires only minor modifications to the response from a test plan request.

Test result data format

Test plan results are reported as a map describing the results of a test plan run. These formats should be more generally documented in a language-agnostic location, as they apply to all clients of the automator.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

kaiju_automator_lib-1.6.1.dev14-py3-none-any.whl (11.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page