Skip to main content
TuxLAVA Logo

PyPI version Code style: black PyPI - License

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 --rootfs arguments 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.30.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tuxlava 0.30.0
File Size Uploaded Provenance Actions
tuxlava-0.30.0.tar.gz 125.3 kB Without provenance Details for tuxlava-0.30.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tuxlava 0.30.0
File Interpreter ABI Platform Actions
tuxlava-0.30.0-py3-none-any.whl Python 3 none any Details for tuxlava-0.30.0-py3-none-any.whl

Total release size: 236.9 kB

Release files / tuxlava-0.30.0.tar.gz

Download URL tuxlava-0.30.0.tar.gz
Size 125.3 kB
Tags Source
SHA-256 checksum
How to use checksums
25f0f525cd6dde31915666448928d91a87e8beea13480f5ea753b33fe494489b
BLAKE2b-256 checksum
How to use checksums
ca02b31919d5ecfcb8c28dc2c8eb8815e4d42cddaa5198a5ec9c8109d9f36809
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release files / tuxlava-0.30.0-py3-none-any.whl

Download URL tuxlava-0.30.0-py3-none-any.whl
Size 111.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37a7f5db4917757eb51a4ee4537da6ac627c41e8fafee22c53d1cb7ba42aef45
BLAKE2b-256 checksum
How to use checksums
f1782bfa5be6c32eb28e9611e86ac3bee9be64b06cde5a8f833a6c38515cfa69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Security for tuxlava 0.30.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.

Release history Release notifications | RSS feed

This release

0.30.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page