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

If you're not sure about the file name format, learn more about wheel file names.

File details

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

File metadata

File hashes

Hashes for avocado_framework_plugin_spawner_remote-113.0.tar.gz
Algorithm Hash digest
SHA256 7d21ea03df91fcdf92272724ccd16ca49d2af4c39a50a5be5dffe321208a975f
MD5 0b4b4ed492c5152d05f2b285c0d2ce4f
BLAKE2b-256 36ccee5ed66617c5a639b2e3e8267a495ffa69a7c47054605b8aae3ca71e0c13

See more details on using hashes here.

Provenance

The following attestation bundles were made for avocado_framework_plugin_spawner_remote-113.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-113.0-py3-none-any.whl.

File metadata

File hashes

Hashes for avocado_framework_plugin_spawner_remote-113.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ebc5c1feeeeed485763ff538bfbee33487107343956814bb404969869f31b80
MD5 0c9f16f587e2f9339fc96b11fa3d7fd2
BLAKE2b-256 e56610d694f20d43946dbc35861524768bb3a6af5951bbaf27917da35dada0c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for avocado_framework_plugin_spawner_remote-113.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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page