-
Notifications
You must be signed in to change notification settings - Fork 2k
Buildbot Options
There are a number of ways to control the ZFS Buildbot at a commit level. This page will provide a summary on the methods to control the ZFS Buildbot and how it performs testing. More detailed information regarding its implementation can be found at the ZFS Buildbot Github page.
By default, all commits in your ZFS pull request are compiled by the BUILD
builders. Additionally, the top commit of your ZFS pull request is tested by
TEST builders. However, there is the option to override which types of builder
should be used on a per commit basis. In this case, you can add
Requires-builders: <none|all|style|build|arch|distro|test|perf> to your
commit message. A comma separated list of options can be
provided. Supported options are:
-
all: This commit should be built by all available builders -
none: This commit should not be built by any builders -
style: This commit should be built by STYLE builders -
build: This commit should be built by all BUILD builders -
arch: This commit should be built by BUILD builders tagged as 'Architectures' -
distro: This commit should be built by BUILD builders tagged as 'Distributions' -
test: This commit should be built and tested by the TEST builders -
perf: This commit should be built and tested by the PERF builders
A couple of examples on how to use Requires-builders: in commit messages can be found below.
This is a commit message
This text is part of the commit message body.
Signed-off-by: Contributor <contributor@email.com>
Requires-builders: none
This is a commit message
This text is part of the commit message body.
Signed-off-by: Contributor <contributor@email.com>
Requires-builders: style test
At the top level of the ZFS source tree, there is the TEST
file which contains variables
that control if and how a specific test should run. Below is a list of each variable
and a brief description of what each variable controls.
-
TEST_PREPARE_WATCHDOG- Enables the Linux kernel watchdog -
TEST_SPLAT_SKIP- Determines ifsplattesting is skipped -
TEST_SPLAT_OPTIONS- Command line options to provide tosplat -
TEST_ZTEST_SKIP- Determines ifztesttesting is skipped -
TEST_ZTEST_TIMEOUT- The length of timeztestshould run -
TEST_ZTEST_DIR- Directory whereztestwill create vdevs -
TEST_ZIMPORT_SKIP- Determines ifzimporttesting is skipped -
TEST_ZIMPORT_DIR- Directory used duringzimport -
TEST_ZIMPORT_VERSIONS- Source versions to test -
TEST_ZIMPORT_POOLS- Names of the pools forzimportto use for testing -
TEST_ZIMPORT_OPTIONS- Command line options to provide tozimport -
TEST_XFSTESTS_SKIP- Determines ifxfstesttesting is skipped -
TEST_XFSTESTS_URL- URL to downloadxfstestfrom -
TEST_XFSTESTS_VER- Name of the tarball to download fromTEST_XFSTESTS_URL -
TEST_XFSTESTS_POOL- Name of pool to create and used byxfstest -
TEST_XFSTESTS_FS- Name of dataset for use byxfstest -
TEST_XFSTESTS_VDEV- Name of the vdev used byxfstest -
TEST_XFSTESTS_OPTIONS- Command line options to provide toxfstest -
TEST_ZFSTESTS_SKIP- Determines ifzfs-teststesting is skipped -
TEST_ZFSTESTS_DISKS- Space delimited list of disks thatzfs-testsis allowed to use -
TEST_ZFSTESTS_DISKSIZE- File size of file based vdevs used byzfs-tests -
TEST_ZFSTESTS_RUNFILE- The runfile to use when runningzfs-tests -
TEST_ZFSSTRESS_SKIP- Determines ifzfsstresstesting is skipped -
TEST_ZFSSTRESS_URL- URL to downloadzfsstressfrom -
TEST_ZFSSTRESS_VER- Name of the tarball to download fromTEST_ZFSSTRESS_URL -
TEST_ZFSSTRESS_RUNTIME- Duration to runrunstress.sh -
TEST_ZFSSTRESS_POOL- Name of pool to create and use forzfsstresstesting -
TEST_ZFSSTRESS_FS- Name of dataset for use duringzfsstresstests -
TEST_ZFSSTRESS_VDEV- Directory to store vdevs for use duringzfsstresstests -
TEST_ZFSSTRESS_DIR- Unused -
TEST_ZFSSTRESS_OPTIONS- Command line options to provide torunstress.sh