Thanks for your work.
On Thu, Apr 15, 2021 at 11:04:26AM +0900, Alice Ferrazzi wrote:
On Wed, Apr 14, 2021 at 7:27 AM Chris Paterson <Chris.Paterson2@...>
Hello Alice,This would be nice!
From: cip-dev@... <cip-dev@...> Onlinux-
Behalf Of Alice Ferrazzi via lists.cip-project.org
Sent: 13 April 2021 18:30
I'm Alice Ferrazzi from Cybertrust Japan.
I'm currently working on adding Kselftest to the current CIP CI tests of
cip KernelThank you for your work on this!
I made and tested kselftest on a testing instance of lava, currently
only on qemu x86_64If you'd like to test on a wider range of platforms then get in touch and
we'll get you access to the CIP LAVA instance.
I implemented a simple skiplist in the kselftest envelope for skippingtests
that are currently not working.It looks like a great start.
The usage is similar to how spectre-meltdown-checker-test is currently
Is there any work we can leverage from the Linaro test-definitions repo?
My idea is to start implementing kselftest tests for at least qemu x86_64
architecture and expand in the future to other architectures.
As Iwamatsu-san pointed, we need also to create kselftest binary.
I'm currently thinking of implementing kselftest binary creation
on linux-cip-ci kernel build script but I still didn't start to work onthis yet.
Kselftest test code:
cip rootfs enviroment
That was the first thing I tried out but was not working correctly on the
As you write, cip rootfs lacks the software to run kselftest. Therefore,
it is necessary to make a separate flavor of rootfs.
There are also two types of cip rootfs, and we need to use either or
both for kernel testing.
KernelCI also recently implemented kselftest support if that's useful atI know about KernelCI effort for kselftest and I think to use a similar
all, this'll include the build side of things.
approach about the kselftest binary creation implementation.
The code I wrote is based on Glava-tests that is part of GKernelCI.
GKernelCI is the current Gentoo kernel CI system that is reporting and
collaborating with KernelCI.
Using a different repository currently is helpful for self managing the
skiplist, but it could be changed in the future.
I think this needs to be done first.
I also think there are several approaches to creating kselftest
- Continue to use a particular kernel version of ksefltests.
- Use CIP kernel kselftest.
- Use the latest kernel kselftest.
I used to build an environment using the latter.https://gitlab.com/cip-project/cip-kernel/linux-cip/-/tree/ci/iwamatsu/linux-cip-kselftest
By the way, do you know which kernelci they are using?
Testing the kselftest branch directly on CIP CI test environment from
Please assign the MR to me when you're ready for it to be reviewed, or if
linux-cip Kernel Kselftest implementation (currently in draft):
you need any help.
Also let me know if you want write access to the linux-cip-ci repo.
If you push your branch to our repo directly the CI will be able to run,
making it easier for you to test.
repo would be really helpful.