Re: Enabling additional KUnit tests in KernelCI?
Eric Biggers <[email protected]> Thu, 12 Mar 2026 14:51:45 -0700
| Newsgroups | dev.linux.lists.kernelci |
|---|---|
| Message-ID | <20260312215145.GA4805@quark> |
On Thu, Mar 12, 2026 at 08:21:26PM +0000, Mark Brown wrote: > On Fri, Mar 06, 2026 at 11:55:46PM -0800, Eric Biggers wrote: > > > I would like the KUnit tests in lib/crypto/tests/ and lib/crc/tests/ to > > run in KernelCI and have any failures reported to > > [email protected]. Preferably on all platforms, not just > > UML, since UML doesn't cover all the code. Is there a way to do this? > > What is the status of KUnit in KernelCI? I'm having a hard time finding > > information about this, and looking at the latest mainline test results > > (https://dashboard.kernelci.org/tree/mainline/master/4ae12d8bd9a830799db335ee661d6cbc6597f838?p=t) > > there seem to be no KUnit tests running at all. > > We should be running KUnit tests: > > https://github.com/kernelci/kernelci-pipeline/blob/a3b622cfee641e26bed1906b29ed7065bee45921/config/jobs.yaml#L2153 > > https://github.com/kernelci/kernelci-pipeline/blob/a3b622cfee641e26bed1906b29ed7065bee45921/config/scheduler.yaml#L1750 Which ones? Does anything need to be done to add new tests to the list? Note that even if "all" tests are being run (via CONFIG_KUNIT_ALL_TESTS=y), that includes only the tests whose dependencies are met. There can be additional kconfig dependencies. > though like you say something seems to be going AWOL with at least the > reporting, I can't see any results either. The job that's configured > there is to run on x86_64 rather than UML so is probably what you're > looking for in terms of the tests? The kernel has optimized crypto and/or CRC code for the following architectures: arm, arm64, mips, powerpc, riscv, s390, sparc, x86. In many cases there's also a finer division based on CPU features. So I'm looking for testing on as many platforms as possible. But some x86_64 platform is a good start, certainly better than nothing. - Eric