Skip to content

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

Draft
ddiss wants to merge 1 commit intobtrfs:masterfrom
ddiss:btrfs_gh_ci
Draft

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

Conversation

@ddiss
Copy link

@ddiss ddiss commented Feb 27, 2026

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.

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>
@ddiss ddiss marked this pull request as draft February 27, 2026 12:17
@ddiss
Copy link
Author

ddiss commented Feb 27, 2026

Raising this as a draft in case there's interest in having the GH hosted VMs perform fstests quick group runs on PR here. I discussed it briefly with @kdave and he mentioned that it may be worth having alongside the self-hosted runners. It doesn't belong in master branch. I can rebase against ci or another branch if desired.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant