# --------------------------------------------------------------------------- # kernel-test settings # --------------------------------------------------------------------------- # Every value here can also be given on the command line or as an environment # variable. Command line beats environment, environment beats this file. # --------------------------------------------------------------------------- # --- What to run ----------------------------------------------------------- # Profile picks how much is run and how risky it is allowed to be. # smoke a few minutes, read-only, safe on a production machine # standard 30-90 minutes, the default, still avoids disruptive tests # full hours, includes tests that may reboot, panic or reconfigure KT_PROFILE=standard # Which of the three engines to run. Space separated: kunit kselftest ltp KT_ENGINES="kunit kselftest ltp" # Where reports are written. One folder per run plus a "latest" symlink. KT_RESULTS_DIR=/var/log/kernel-test # --- Safety ---------------------------------------------------------------- # 1 = refuse to run tests marked disruptive, even if a profile asks for them. # Set to 0 only on a throw-away machine. "full" profile needs this at 0. KT_SAFE=1 # 1 = stop the whole run when an engine reports a failure. KT_FAIL_FAST=0 # --- KUnit ----------------------------------------------------------------- # KUnit tests are kernel modules shipped in kernel-modules-internal. # auto = load every *_kunit / kunit-* module found for the running kernel. KUNIT_MODULES=auto # Modules never loaded, ERE. drm/vkms need a graphics stack, ntb needs hardware. KUNIT_SKIP='^(vkms[-_]|drm[-_]|ntb[-_])' # Seconds to wait for one module's suites to finish. KUNIT_TIMEOUT=120 # --- Kselftest ------------------------------------------------------------- # Installed by the kernel-selftests-internal RPM. KSELFTEST_DIR=/usr/libexec/kselftests # Empty = use the collection list for the profile (see conf/kselftest-*.list). KSELFTEST_COLLECTIONS="" # Seconds per single test before it is killed and marked TIMEOUT. KSELFTEST_TIMEOUT=300 # --- LTP ------------------------------------------------------------------- LTP_DIR=/opt/ltp # Empty = use the scenario list for the profile (see conf/ltp-*.list). LTP_SUITES="" # Seconds per single LTP test case. LTP_TIMEOUT=300 # Seconds for one whole scenario file before it is abandoned. LTP_SUITE_TIMEOUT=7200 # Directory LTP uses for its scratch files. Needs a few GB on "full". LTP_TMPDIR=/var/tmp/ltp-scratch # --- Patch testing --------------------------------------------------------- # Where test-patch.sh keeps its state between phases (it survives a reboot). PATCH_STATE_DIR=/var/lib/kernel-test # A test that flips PASS -> FAIL is a regression. Tests listed here are known # to be flaky; they are reported in their own section instead of failing the # run. Confirming a suspicious regression is a manual step -- re-run just its # collection, see doc/PATCH-TESTING.md. PATCH_FLAKY_LIST=conf/flaky.list