Skip to content

CI cleanups#633

Merged
ddiss merged 7 commits intolkl:masterfrom
tavip:ci-cleanups
May 11, 2026
Merged

CI cleanups#633
ddiss merged 7 commits intolkl:masterfrom
tavip:ci-cleanups

Conversation

@tavip
Copy link
Copy Markdown
Member

@tavip tavip commented May 7, 2026

Add support for running the PCI VFIO test from github actions. With that we can now remove the x86_64, x86_64_qemu and mingw32 jobs from CircleCI since we now have test parity in github actions.

@tavip tavip marked this pull request as ready for review May 8, 2026 05:58
@tavip tavip requested review from ddiss and thehajime May 8, 2026 05:59
Copy link
Copy Markdown

@ddiss ddiss left a comment

Choose a reason for hiding this comment

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

looks good, thanks! a few minor comments (feel free to ignore).

Comment thread mm/kasan/kasan_test_c.c Outdated
Comment thread tools/lkl/tests/disk-vfio-pci.c
Comment thread tools/lkl/tests/disk-vfio-pci.sh Outdated
Comment thread tools/lkl/tests/test.c
@tavip tavip force-pushed the ci-cleanups branch 3 times, most recently from 2bdaa6c to 9596436 Compare May 8, 2026 16:07
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

Test Results

106 files   - 15  106 suites   - 15   6m 54s ⏱️ +8s
252 tests  -  7  241 ✅  -  7  11 💤 ±0  0 ❌ ±0 
821 runs  + 6  765 ✅ + 6  56 💤 ±0  0 ❌ ±0 

Results for commit 8b61f60. ± Comparison against base commit 2550325.

This pull request removes 81 and adds 74 tests. Note that renamed tests count towards both.
disk btrfs ‑ cleanfs disk-8XLW
disk btrfs ‑ cleanfs disk-Nit4
disk btrfs ‑ cleanfs disk-YO49
disk btrfs ‑ cleanfs disk-jjQ2
disk ext4 ‑ cleanfs disk-1Ibl
disk ext4 ‑ cleanfs disk-5VbV
disk ext4 ‑ cleanfs disk-7Qr7
disk ext4 ‑ cleanfs disk-lkTM
disk vfat ‑ cleanfs disk-3YpC
disk vfat ‑ cleanfs disk-NpLC
…
disk btrfs ‑ cleanfs
disk ext4 ‑ cleanfs
disk vfat ‑ cleanfs
disk xfs ‑ cleanfs
disk-vfio-pci ‑ blkdev
disk-vfio-pci ‑ cleanup
disk-vfio-pci ‑ init
disk-vfio-pci ‑ start_kernel
disk-vfio-pci ‑ stop_kernel
disk-vfio-pci ‑ wait_guest
…

♻️ This comment has been updated with latest results.

@tavip tavip force-pushed the ci-cleanups branch 2 times, most recently from b6bfbcf to 860c7bd Compare May 8, 2026 19:00
tavip added 7 commits May 10, 2026 04:25
DMA_OPS was renamed to ARCH_HAS_DMA_OPS in Linux 6.12. This breaks DMA
and PCI support. We did not catch this issue because we were using an
older qemu in CI which did not route NVME requests through the iommu.

Signed-off-by: Octavian Purdila <tavip@google.com>
Instead of mounting a filesystem to test PCI VFIO just open the NVME
block device and read it.

Signed-off-by: Octavian Purdila <tavip@google.com>
Add support for running qemu on github and run the PCI VFIO test. Also
add a couple of scripts to make it easier to run the test locally:

  ./tools/lkl/scripts/qemu-x86_64-make-images.sh
  . ./tools/lkl/scripts/qemu-x86_64-start-and-set-env.sh
  LKL_QEMU_TEST=1 make -C tools/lkl run-tests

Signed-off-by: Octavian Purdila <tavip@google.com>
To simplify CI management remove circleci jobs that already exists on
github.

Signed-off-by: Octavian Purdila <tavip@google.com>
Explicitly tell the yaml parser how many spaces to expect for
indentation. This avoids issues when the kernel buffer is truncated
(because it overflows) and the first line contains more spaces.

Signed-off-by: Octavian Purdila <tavip@google.com>
Otherwise host memcpy can be used and bypasses kasan
interceptors. Unclear why the tests are passing in CI most of the time
without this fix. They do fail reliably on my local environment.

Signed-off-by: Octavian Purdila <tavip@google.com>
Variable test name such as "disk btrfs ‑ cleanfs disk-8XLW" confuses
the test reporter:

This pull request removes 81 and adds 87 tests. Note that renamed
tests count towards both.

Signed-off-by: Octavian Purdila <tavip@google.com>
@tavip tavip force-pushed the ci-cleanups branch 2 times, most recently from b3aa66c to 8b61f60 Compare May 10, 2026 07:13
@ddiss ddiss merged commit 0d3712a into lkl:master May 11, 2026
12 checks passed
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