Skip to main content

Remote (host) based spawner

Project description

This plugin makes use of remote aexpect sessions (to remote hosts or equivalently remote containers behind remote hosts forwarded via specific ports) as slots to schedule test runs on.

It mainly draws inspiration and mimics slot and other code from the LXC spawner with the exception of extra configurable test timeout that is enforced by aexpect as a dependency and fully specific to this type of spawner.

To install the Remote Spawner plugin from pip, use:

$ sudo pip install avocado-framework-plugin-spawner-remote

After it is installed, add a slot (e.g. “board”) to your avocado config file:

[spawner.remote]
slots = ['board']

Then you need a JSON file of the same name as the slot. Its contents are the command line parameters of aexpect’s remote_login function of module remote, e.g.:

{
   "client": "telnet",
   "host": "192.168.64.2",
   "port": "23",
   "username": "root",
   "password": "",
   "prompt": "#"
}

Final important detail: the remote site also needs avocado installed.

Project details


Download files

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

Source Distribution

Built Distribution

File details

Details for the file avocado_framework_plugin_spawner_remote-107.0.tar.gz.

File metadata

File hashes

Hashes for avocado_framework_plugin_spawner_remote-107.0.tar.gz
Algorithm Hash digest
SHA256 750219f484b39e0800624c23c3f23453778fb4670a9128a8d43a01f829458406
MD5 27c3a3c5c8d0eb78b03cfd0f7603c256
BLAKE2b-256 5c20bcac67dbd46e417898fed5dca173baa8e307f9a77cd603f1432489db1b35

See more details on using hashes here.

File details

Details for the file avocado_framework_plugin_spawner_remote-107.0-py3-none-any.whl.

File metadata

File hashes

Hashes for avocado_framework_plugin_spawner_remote-107.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f319dcaca1668bfa757c59f5a0d4324c5e7f9cfde0dcf0d923556b02b32c18ed
MD5 a4e7599d0a322316cd7199b0742d1238
BLAKE2b-256 8f9d1e43ab29479b793d7c9124814094eaa92ed35d487f62f3b3310e68106917

See more details on using hashes here.

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