Skip to content

ci: run xfstests quick group in a nested VM#1

Open
ddiss wants to merge 1 commit intomasterfrom
btrfs_gh_ci
Open

ci: run xfstests quick group in a nested VM#1
ddiss wants to merge 1 commit intomasterfrom
btrfs_gh_ci

Conversation

@ddiss
Copy link
Owner

@ddiss ddiss commented Feb 26, 2026

Github hosted "ubuntu-latest" x86-64 runners have enough resources (4 CPU, 16G RAM, 14 GB SSD) to build and run mainline kernel + xfstests in a nested VM.
This script uses rapido rapido-linux/rapido#258 as a minimal initramfs generator and thin wrapper around QEMU. There are some test failures due to the minimal test environment (e.g. no udev yet).
TEST and SCRATCH devices are back by 8G zstd compressed qcow2 images.

update 2026-03-02: udevd is now running fine alongside the dm tests

@ddiss ddiss force-pushed the btrfs_gh_ci branch 2 times, most recently from 31aa6d3 to d3d2965 Compare February 26, 2026 10:11
Github hosted "ubuntu-latest" x86-64 runners have enough resources (KVM,
4 cores, 16G RAM, 14 GB SSD) to build and run mainline kernel + xfstests
in a nested VM.
This script uses rapido rapido-linux/rapido#258
as a minimal initramfs generator and thin wrapper around QEMU.
For simplicity it'd likely make sense to branch it under the btrfs
namespace.
The test VM currently uses btrfs-progs from the ubuntu-24.04 host
system. This could also be changed to a source-compiled version.
TEST and SCRATCH devices are backed by 8G zstd compressed qcow2 images.

Signed-off-by: David Disseldorp <ddiss@suse.de>
gcc git indent libacl1-dev libaio-dev libcap-dev libgdbm-dev \
libtool-bin liburing-dev libuuid1 lvm2 make psmisc python3 quota \
uuid-dev uuid-runtime xfsprogs linux-headers-$(uname -r) sqlite3 \
xfsdump xfslibs-dev btrfs-progs pkg-config

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we also need ncurses here, because btrfs/058 failed with:

Cannot read termcap database;
using dumb terminal settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants