kselftest

Native tests: kselftest

About

kselftest is one of the main test suites that comes with the Linux kernel source tree itself. As such, it is an obvious one to cover by KernelCI. For each kernel revision built by KernelCI, an extra build is produced for each CPU architecture with a kselftest config fragment merged on top of the main defconfig. The resulting kernel and kselftest binaries are then stored together and used together, to guarantee compatibility between the tests and the kernel.

KernelCI coverage

Initial Github Issue: #331

The aim is to run all of kselftest, whenever applicable. Only a subset of all the available test collections are currently being run while infrastructure is getting prepared for gradually expanding coverage to the full set.

The table below shows a summary of the current KernelCI kselftest coverage per CPU architecture and platform for each collection. Until a more dynamic orchestration becomes available, this is all defined in test-configs.yaml. The goal is to have each kselftest collection run on at least 2 platforms of each CPU architecture. All these tests are typically run on every kernel revision built by KernelCI, except for those that aren’t present in older kernel revisions.

Platformarchcpufreqfilesystemsfutexliblivepatchlkdtmrtcseccompvm
asus-C433TA-AJ0005-rammusx86_64
asus-C436FA-Flip-hatchx86_64
asus-C523NA-A20057-coralx86_64
asus-cx9400-volteerx86_64
hip07-d05arm64
hp-11A-G6-EE-gruntx86_64
hp-x360-12b-n4000-octopusx86_64
hp-x360-14-G1-sonax86_64
meson-g12b-odroid-n2arm
mt8173-elm-hanaarm64
qcom-qdf2400arm
r8a774a1-hihope-rzg2m-exarm64
rk3288-veyron-jaqarm
rk3399-gru-kevinarm
Last modified August 5, 2021