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

File metadata

File hashes

Hashes for avocado_framework_plugin_spawner_remote-111.0.tar.gz
Algorithm Hash digest
SHA256 14cc7d54cbd7198d37eb730c6be32a86c187453a308fac433951629cd55f5e35
MD5 14406604f76516cf2c6a798cd804be4e
BLAKE2b-256 1395d95cd13c25bea01f0ce73bec159494b369eca996c97966dcb6dc4007c12c

See more details on using hashes here.

Provenance

The following attestation bundles were made for avocado_framework_plugin_spawner_remote-111.0.tar.gz:

Publisher: release.yml on avocado-framework/avocado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for avocado_framework_plugin_spawner_remote-111.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e32c9529aa81de8da57aec1a932d8994983c9430bcc6678d7ad517483a5cfe54
MD5 3c2a38c70cd6ec4283f0958dd23ffb3b
BLAKE2b-256 8a37b9edbf2212d815d5565e81ca28cf7c9d3d065a9666969d448261beece176

See more details on using hashes here.

Provenance

The following attestation bundles were made for avocado_framework_plugin_spawner_remote-111.0-py3-none-any.whl:

Publisher: release.yml on avocado-framework/avocado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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