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.
Release files for tuxlava 0.27.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 | |
|---|---|---|---|
| tuxlava-0.27.0.tar.gz | 116.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tuxlava-0.27.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 225.7 kB
Release files / tuxlava-0.27.0.tar.gz
| Download URL | tuxlava-0.27.0.tar.gz |
|---|---|
| Size | 116.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6534402cb8bb2d5154950f70cdd2aa52261ae19f2f005e7f8af3054f3bec6a54
|
|
BLAKE2b-256 checksum How to use checksums |
940839b370d6282c711742c8ef7265e4089f2efa7430da163f9562bea0c86b1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.2
|
Release files / tuxlava-0.27.0-py3-none-any.whl
| Download URL | tuxlava-0.27.0-py3-none-any.whl |
|---|---|
| Size | 109.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e2e57daab31a6de9564efe3d3337201a6cce6e79c568664a439019a2c3afcd26
|
|
BLAKE2b-256 checksum How to use checksums |
a4edfd89ebbd35c3be9c7e873bf422f8f69fa3043df2b7a89350217d96ad8867
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.2
|