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-108.0.tar.gz.

File metadata

File hashes

Hashes for avocado_framework_plugin_spawner_remote-108.0.tar.gz
Algorithm Hash digest
SHA256 cb84df22c1565bfc32c8ac3ac327549da075975db45f63cf9166e3a68b25eaf9
MD5 cc88573e03530a282423c860c533a648
BLAKE2b-256 1601c9ae9af1a574b96e85341055670f387a362fd559f4943ebd41a5b1f77785

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for avocado_framework_plugin_spawner_remote-108.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce52ccf87c5b280a08d4566521d6f80974126d0d9f13f500973d4a60b69e9f2b
MD5 3962f246e44125d148c1bacdba8209d2
BLAKE2b-256 162b6daac796d3cb84d634ddda4c3d815e75d75bc7e5e274a6579af7c779cc6a

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