Documentation - Repository - Issues
TuxLAVA is a command-line tool and Python library that simplifies creating LAVA job definitions for various device types. Developed by Linaro, it's part of TuxSuite and streamlines Linux kernel test automation.
- AVH
- FASTBOOT
- FVP
- NFS
- QEMU
- SSH
TuxLAVA is a part of TuxSuite, a suite of tools and services to help with Linux kernel development.
Table of Contents
Installing TuxLAVA
Examples
LAVA job to boot test a mipsel kernel at https://url/to/vmlinux:
tuxlava --device qemu-mips32el \
--kernel https://url/to/vmlinux
Generate a LAVA job with ltp-smoke test:
tuxlava --device qemu-mips32el \
--kernel https://url/to/vmlinux \
--test ltp-smoke
Using TuxLAVA as a command line
Call tuxlava as follows:
tuxlava --device nfs-x86_64 \
--kernel https://url/to/Image \
--modules https://url/to/modules /usr/ \
--rootfs https://url/to/rootfs \
--tests boot
The
--kernel,--modules, and--rootfsarguments can be URLs (e.g.https://...), file URLs (e.g.file:///...), or absolute file paths (e.g./path/to/Image).
TuxLAVA will output the LAVA job to the stdout with the provided arguments for x86_64 device
The complete list of tuxlava options is available with the following command:
tuxlava --help
Using TuxLAVA as a library
TuxLAVA can be used as a python library as follows:
#!/usr/bin/env python
from tuxlava.jobs import Job
job = Job(
device="nfs-x86_64",
kernel="https://url/to/bzImage",
rootfs="https://url/to/rootfs.tar.xz",
tests=["ltp-smoke", "ltp-math"],
modules="https://url/to/modules.tar.xz",
parameters={"LAVA_JOB_PRIORITY": 50},
timeouts={"deploy": 20},
)
job.initialize()
print(job.render())
Contributing
Contributions, bug reports and feature requests are welcome! Please see the issues or open a pull request.
Metadata
Release files for tuxlava 0.28.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tuxlava-0.28.0.tar.gz | 116.6 kB | Without provenance | Details for tuxlava-0.28.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tuxlava-0.28.0-py3-none-any.whl | Python 3 | none | any | Details for tuxlava-0.28.0-py3-none-any.whl |
Total release size: 225.8 kB
Release files / tuxlava-0.28.0.tar.gz
| Download URL | tuxlava-0.28.0.tar.gz |
|---|---|
| Size | 116.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17904903ce7bbb70b3e33089b8d78d48d3e98217b3ba889459f3eced27e1048d
|
|
BLAKE2b-256 checksum How to use checksums |
ca2594aba225fe79a582bd1918819d30cc87a24e6fc8df65c628ddbbe2e6c3eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.2
|
Release files / tuxlava-0.28.0-py3-none-any.whl
| Download URL | tuxlava-0.28.0-py3-none-any.whl |
|---|---|
| Size | 109.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6a68ff57e386ffc06745893ec01803ca2c8a2b78a5dd706ef69f1a1b147b009
|
|
BLAKE2b-256 checksum How to use checksums |
db8ede94bf932f3666c8266aa0af97b271456a2bb72bef9bc75978b75ad9f2a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.2
|
Security for tuxlava 0.28.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.