Skip to main content
TuxRun Logo

PyPI version Code style: black PyPI - License

Documentation - Repository - Issues

TuxRun, by Linaro, is a command line tool for testing Linux on the following virtual devices, using curated test suites.

  • AVH
  • FVP
  • QEMU

TuxRun is a part of TuxSuite, a suite of tools and services to help with Linux kernel development.

Table of Contents

About TuxRun

Testing the Linux kernel is as simple as using QEMU but it gets complicated when you want to support the following combinations:

  • Architectures (arm64, armv5, armv7, i386, mips32, mips32el, mips64, mips64el, ppc32, ppc64, ppc64le, riscv64, s390, sh4, sparc64, x86_64)

  • Emulation systems (QEMU or FVP or AVH)

  • Tests (every test suite has dependencies on the rootfs)

Each of those items requires specific configuration and root file systems. In order to allow for reproducible tests, TuxRun uses containers runtimes (Docker or Podman).

Installing TuxRun

There are several options for installing TuxRun:

Using TuxRun

To use TuxRun, compile your own linux kernel for arm64, for example using TuxMake.

Then call tuxrun:

tuxrun --device qemu-arm64 --kernel /path/to/Image

TuxRun will automatically start qemu-system with the right arguments and the right root filesystem.

TuxLAVA Library

TuxRun uses TuxLAVA library to generate LAVA job definition files.

Known issues

Known issues when booting on different virtual platforms.

Examples

Boot test a mipsel kernel at https://mykernel.org/vmlinux:

tuxrun --device qemu-mips32el \
       --kernel https://mykernel.org/vmlinux

Running ltp-smoke:

tuxrun --device qemu-mips32el \
       --kernel https://mykernel.org/vmlinux \
       --test ltp-smoke

Using a custom root file system

tuxrun --device qemu-mips32el \
       --kernel https://mykernel.org/vmlinux \
       --rootfs https://mykernel.org/rootfs.tar.xz

Metadata

Release files for tuxrun 1.12.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 tuxrun 1.12.0
File Size Uploaded Provenance Actions
tuxrun-1.12.0.tar.gz 321.5 kB Without provenance Details for tuxrun-1.12.0.tar.gz

Built distribution (wheel)

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

Total release size: 355.5 kB

Release files / tuxrun-1.12.0.tar.gz

Download URL tuxrun-1.12.0.tar.gz
Size 321.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a4f95dcb0f1ae1adda4988fc908ee496d738d28c88055ba3e8f4173df7445dcb
BLAKE2b-256 checksum
How to use checksums
e0386b2f08722f09c8006ba01f8d0180e94c3e6be9b6bda2aacc4efd4cfe53eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release files / tuxrun-1.12.0-py3-none-any.whl

Download URL tuxrun-1.12.0-py3-none-any.whl
Size 34.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42c40b8d33f73fb52655e01d48bbd73fac4d7e736f3b91ebce3ed6615ec4d8db
BLAKE2b-256 checksum
How to use checksums
df3a5a92cc7932bee2b73e67f9ad3d5544f663ac11c54db025aa150399e2e331
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Security for tuxrun 1.12.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

1.12.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