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
- Download URL: avocado_framework_plugin_spawner_remote-108.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb84df22c1565bfc32c8ac3ac327549da075975db45f63cf9166e3a68b25eaf9 |
|
MD5 | cc88573e03530a282423c860c533a648 |
|
BLAKE2b-256 | 1601c9ae9af1a574b96e85341055670f387a362fd559f4943ebd41a5b1f77785 |
File details
Details for the file avocado_framework_plugin_spawner_remote-108.0-py3-none-any.whl
.
File metadata
- Download URL: avocado_framework_plugin_spawner_remote-108.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce52ccf87c5b280a08d4566521d6f80974126d0d9f13f500973d4a60b69e9f2b |
|
MD5 | 3962f246e44125d148c1bacdba8209d2 |
|
BLAKE2b-256 | 162b6daac796d3cb84d634ddda4c3d815e75d75bc7e5e274a6579af7c779cc6a |