Page History
Table of Contents |
---|
Introduction
There may be times that you wish to influence the building and testing carried out on your change. You might for example be fixing an issue that affects a particular distribution or combination of distributions, for this reason you can change the tests carried out by indicating in the commit message the changes you require. Test Parameter sessions are in addition to the normal tests that would be run against a patch. This allows a patch with specific or unusual testing requirements to ensure that sufficient additional testing is run to gain confidence in the change being made. For patches that are of an experimental nature (i.e. developer is not sure of functionality, or only wants a limited set of tests to be run just to try something), it is also possible to submit a patch with the fortestonly
parameter.
To run additional sessions for your patch, add 'Test-Parameters: ' with space-separated name value pairs to your commit message.
For example:
Code Block | ||
---|---|---|
| ||
Test-Parameters: envdefinitions=ONLY=32 testlist=conf-sanity |
This will cause Autotest to run the normal test sessions plus 1 additional session where only conf-sanity test #32 will run.
Multiple 'Test-Parameters:' lines can be defined:
Code Block | ||
---|---|---|
| ||
Test-Parameters: testgroup=review-ldiskfs clientdistro=sles12sp3 serverdistro=sles12sp3 Test-Parameters: testgroup=review-ldiskfs clientdistro=ubuntu1804 serverdistro=el7 |
Long lists can be catered for by escaping the carriage return:
Code Block | ||
---|---|---|
| ||
Test-Parameters: ostcount=2 clients=1 ostsizegb=2 mdssizegb=2 envdefinitions=SLOW=yes \ testlist=sanity,liblustre |
Quotations can be used when spaces are necessary in a value:
Code Block | ||
---|---|---|
| ||
Test-Parameters: testlist=sanity envdefinitions=SANITY_EXCEPT="101g 102i" |
The test parameter sessions can be influenced in many ways, see the General Parameters and Node Parameters sections below for all of the options.
Anchor | ||||
---|---|---|---|---|
|
General Parameters
Below is the list of general test parameters that can be used to run custom test sessions. These parameters differ from the node_parameters in that these do not need to be specified with a node type prefix.
For all of the examples below the 'Test-Parameters:' marker has been omitted to simplify the examples.
Panel | |||||
---|---|---|---|---|---|
| |||||
Pass through options for auster. Valid values: See "Auster usage help" section on the Setting up a Lustre Test Environment wiki.
|
Anchor | ||||
---|---|---|---|---|
|
Panel | |||||
---|---|---|---|---|---|
| |||||
When true, the MGT will share a partition with an MDT. When false, AT will create an additional partition to be used by just the MGT. NOTE: mdtfilesystemtype will override mgtfilesystemtype when combinedmdsmgs is true. If standalonemgs is set to true, this option will be ignored. Valid values: true, false (no value is the same as true)
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Comma separated environment definitions passed to the test environment. For definitions requiring spaces, enclose them in quotations. NOTE: Be very careful setting environment variables directly (for example OSTFSTYPE=zfs) because Autotest creates a config file based on the environment it builds. If you ask for something at odds with Autotest's expectations you will see failure instead of success. In this case, for example, you should use the filesystemtype keyword described on this page. Autotest will then create the appropriate environment variables, the same is true for other things like ostcount instead of OSTCOUNT, ostsizegb instead of OSTSIZE, etc. Only use the envdefinitions variable when a direct variable is not listed here.
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Setup cluster in failover configuration Valid values: true, false (no value is the same as true)
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Patch will be built by Jenkins but Autotest will not run any testing. Valid values: true, false (no value is the same as true)
|
Anchor | ||||
---|---|---|---|---|
|
Panel | |||||
---|---|---|---|---|---|
| |||||
The Valid values: true, false (no value is the same as true)
|
Anchor | ||||
---|---|---|---|---|
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Sets the file system type for all server nodes (MDS, MGS and OSS). NOTE: fstype should not be used in combination with <mdt/mgt/ost>filesystemtype. Valid values: ldiskfs, zfs
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Use iSCSI for failover testing Valid values: 0 (no iSCSI), 1 (iSCSI)
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Sets the size of the partitions on the MDS in GB. Valid values: > 0 and must be an integer. When setting this value, take into consideration your mdtcount value and that most test nodes have ~90GB of disk space.
|
Anchor | ||||
---|---|---|---|---|
|
Panel | |||||
---|---|---|---|---|---|
| |||||
The total number of MDTs across all of the MDSs. Valid values: 1 - 4 per MDS
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Configure the file system type to use on the MDTs. NOTE: <mdt/mgt/ost>filesystemtype should not be used in combination with fstype. Valid values: ldiskfs, zfs
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Sets the size of the partition on the MGS in GB. This value is only applicable when the session is using a stand alone MGS. Valid values: > 0 and must be an integer. When setting this value, take into consideration that most test nodes have ~90GB of disk space.
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Configure the file system type to use on the MGTs. NOTE: The default value for combinedmdsmgs is true, therefore it must be set to false in order to configure a different file system type for the MGT. Also, <mdt/mgt/ost>filesystemtype should not be used in combination with fstype. Valid values: ldiskfs, zfs
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Marks the test session as optional: does not impact the verified value from Maloo and is only run if resources are immediately available. Valid values: true, false (no value is the same as true)
|
Anchor | ||||
---|---|---|---|---|
|
Panel | |||||
---|---|---|---|---|---|
| |||||
The total number of OSTs across all of the OSSs. Valid values: 1 - 4 per OSS
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Configure the file system type to use on the OSTs. NOTE: <mdt/mgt/ost>filesystemtype should not be used in combination with fstype. Valid values: ldiskfs, zfs
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Sets the size of the partitions on the OSS in GB. Valid values: > 0 and must be an integer. When setting this value, take into consideration your ostcount value and that most test nodes have ~90GB of disk space.
|
Panel | |||||
---|---|---|---|---|---|
| |||||
When true, Autotest will continue the session after a suite crashes. The session will continue with the suite following the one that crashed. When false, Autotest will stop the session and upload the results to Maloo immediately. Valid values: true, false (no value is the same as true)
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Marks the session as enforcing: is used to determine the verified value from Maloo. Valid values: true, false (no value is the same as true)
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Provisions a separate test node as the MGS. The MGS will be setup with the same parameters as the MDS unless they're overwritten. Valid values: true, false (no value is the same as true)
|
Anchor | ||||
---|---|---|---|---|
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Configure the test session to run a specific test group. Specifying a test group makes it easy to run a typical test grouping with small modifications since the session will inherit all of the values from the base test with any overrides applied (see the code block below for examples). NOTE: testgroup can be combined with testlist to run a test group plus additional suites Valid values: See the Test Groups section for a complete list
|
Anchor | ||||
---|---|---|---|---|
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Configure the test session to run a specific list of suites. testlist can be combined with testgroup to run a test group plus additional suites. Valid values: sanity, sanityn, conf-sanity, mmp, replay-single, replay-dual, lnet-selftest, etc.
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Configures the session to re-provision all of the nodes instead of simply reboot them. Valid values: true, false (no value is the same as true)
|
Panel | |||||
---|---|---|---|---|---|
| |||||
The Valid values: true, false (no value is the same as true)
|
Anchor | ||||
---|---|---|---|---|
|
Node Parameters
Node parameters are used to change how specific node types are configured. They must be prefixed with the node type being changed. Valid node types are client, mds, mgs, oss and server. Server is an alias that allows users to modify a value for all server node types (mds, mgs and oss). For example instead of writing
Code Block | ||
---|---|---|
| ||
mdsdistro=el7 mgsdistro=el7 ossdistro=el7 |
Users can simply write
Code Block | ||
---|---|---|
| ||
serverdistro=el7 |
Panel | |||||
---|---|---|---|---|---|
| |||||
Sets the architecture for the specified node. This attribute can be a string to represent a single architecture for all of the nodes or an array when the architecture is mixed. When using an array of architectures the number of architectures must match the count attribute for the specified node type. Valid values: x86_64, ppc64, aarch64 (architecture must have been built for patch)
|
Anchor | ||||
---|---|---|---|---|
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Used in conjunction with job to install a specific build on the specified node. job must be specified with buildno and version cannot be specified with buildno. Valid values: Any valid Jenkins build number for the specified job
|
Panel | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
The number of nodes to use for the specified node type. NOTE: For MDS and OSS nodes, it's best to also set mdtcount / ostcount to ensure you have the expected number of targets. Valid values:
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Distribution to use for the specified node type. Valid values: el7, el7.5, el7.6, ubuntu1604, ubuntu1804, sles12sp3, etc. (The distribution specified must have been built for the patch being tested. The distros built can be seen on the patch's build page in Jenkins.)
|
Panel | |||||
---|---|---|---|---|---|
| |||||
The IB stack to use for the specified node type. Valid values: inkernel, ofa (The IB stack type must have been built for the build being tested. The stack types can be seen on the patch's build page in Jenkins.)
|
Anchor | ||||
---|---|---|---|---|
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Used with buildno to install a specific build on the specified node. buildno must be specified with job. version cannot be specified with job. Valid values: Any valid Jenkins job, such as lustre-reviews, lustre-master, etc.
|
Panel | |||||
---|---|---|---|---|---|
| |||||
Enables selinux on the specified node type. Valid values: true, false (no value is the same as true)
|
Anchor | ||||
---|---|---|---|---|
|
Panel | |||||
---|---|---|---|---|---|
| |||||
The version of Lustre to use for the specified node type. NOTE: version cannot be specified with job and build Valid values: For a list of valid versions see the Versions section.
|
Anchor | ||||
---|---|---|---|---|
|
Versions
Versions are pointers to job/build combinations and simplify using a specific Lustre version on a test node. Versions can be specified in the test parameters using the version node parameter. If there is a version missing send an email to charlie@whamcloud.com
Version | Build |
---|---|
2.7.0 (2.7) | |
2.8.0 (2.8) | |
2.9.0 (2.9) | |
2.10.0 | |
2.10.1 | |
2.10.2 | |
2.10.3 | |
2.10.4 | |
2.10.5 | |
2.10.6 | https://build.whamcloud.com/job/lustre-b2_10/152 |
2.10.7 | https://build.whamcloud.com/job/lustre-b2_10/168/ |
2.10.8 (2.10) | https://build.whamcloud.com/job/lustre-b2_10/170/ |
2.11.0 (2.11) | |
2.12.0 | https://build.whamcloud.com/job/lustre-b2_12/2 |
2.12.1 | https://build.whamcloud.com/job/lustre-b2_12/13 |
2.12.2 | https://build.whamcloud.com/job/lustre-b2_12/18/ |
2.12.3 | https://build.whamcloud.com/job/lustre-b2_12/53/ |
2.12.4 (2.12) | https://build.whamcloud.com/job/lustre-b2_12/66/ |
2.13.0 (2.13) | https://build.whamcloud.com/job/lustre-b2_13/6/ |
Anchor | ||||
---|---|---|---|---|
|
Test Groups
Test groups are set lists of Lustre test suites managed by Autotest.
Name | Suites |
---|---|
review-ldiskfs | lnet-selftest, sanity, sanity-lnet (master only) |
review-dne-part-1 | sanity, sanityn, recovery-small, lustre-rsync-test |
review-dne-part-2 | runtests, ost-pools, sanity-hsm, sanity-scrub, sanity-lfsck, sanity-sec, mds-survey, large-scale, santy-pcc (only master) |
review-dne-part-3 | conf-sanity |
review-dne-part-4 | mmp, replay-single, sanity-pfl, sanity-flr, sanity-dom, sanity-quota, replay-ost-single, insanity |
review-dne-zfs | runtests, sanity, sanityn, replay-single, conf-sanity, recovery-small, replay-ost-single, insanity, sanity-quota, lustre-rsync-test, ost-pools, sanity-lfsck, sanity-hsm |
review-dne-zfs-part-1 | sanity, sanityn, recovery-small, lustre-rsync-test |
review-dne-zfs-part-2 | runtests, ost-pools, sanity-hsm, sanity-scrub, sanity-lfsck, sanity-sec, mds-survey, large-scale, santy-pcc (only master) |
review-dne-zfs-part-3 | conf-sanity |
review-dne-zfs-part-4 | mmp, replay-single, sanity-pfl, sanity-flr, sanity-dom, sanity-quota, replay-ost-single, insanity |
review-zfs | sanity-quota, sanity-flr, replay-single, replay-ost-single, insanity |
review-zfs-part-1 | runtests, sanity, sanityn, sanity-quota, ost-pools, sanity-lfsck, sanity-hsm, sanity-flr |
review-zfs-part-2 | replay-single, conf-sanity, recovery-small, replay-ost-single, insanity, lustre-rsync-test, large-scale, mds-survey |
review-ldiskfs-arm | sanity, lnet-selftest, sanity-lnet (only master) |
review-ldiskfs-dne | lnet-selftest, sanity, sanity-lnet (only master) |
review-ldiskfs-ubuntu | lnet-selftest, sanity, sanity-lnet (only master) |
failover | recovery-mds-scale, recovery-random-scale, recovery-double-scale, recovery-small, replay-ost-single, replay-dual, replay-vbr, mmp, replay-single |
full | runtests, sanity, sanity-scrub, sanity-benchmark, sanity-lfsck, sanityn, sanity-hsm, sanity-flr, sanity-dom, sanity-lsnapshot, conf-sanity, racer, replay-single, recovery-small, replay-ost-single, replay-dual, replay-vbr, insanity, sanity-quota, sanity-sec, sanity-pfl, lustre-rsync-test, metadata-updates, ost-pools, mds-survey, mmp, performance-sanity, parallel-scale, large-scale, lnet-selftest, obdfilter-survey, parallel-scale-nfsv3, parallel-scale-nfsv4, posix, sanity-lnet (only master), sanity-pcc (only master) |
full-patchless | runtests, sanity, sanity-scrub, sanity-benchmark, sanity-lfsck, sanityn, sanity-hsm, sanity-flr, sanity-dom, sanity-lsnapshot, racer, insanity, sanity-quota, sanity-sec, sanity-pfl, lustre-rsync-test, metadata-updates, ost-pools, mds-survey, mmp, performance-sanity, parallel-scale, large-scale, lnet-selftest, obdfilter-survey, parallel-scale-nfsv3, parallel-scale-nfsv4, posix, sanity-lnet (only master) |
review-dne-selinux | sanity, recovery-small, sanity-selinux |
review-dne-ssk | sanity, recovery-small, sanity-sec |
review-dne-selinux-ssk | sanity, recovery-small, sanity-selinux, sanity-sec |
regression | runtests, sanity, sanity-scrub, metadata-updates, sanity-benchmark, sanityn, lfsck, racer, replay-single, conf-sanity, recovery-small, replay-ost-single, replay-dual, replay-vbr, insanity, sanity-quota, ost-pools, mmp, lnet-selftest, obdfilter-survey, performance-sanity, parallel-scale, sanity-sec, lustre-rsync-test, parallel-scale-nfsv3, parallel-scale-nfsv4 |
review | runtests, sanity, sanityn, replay-single, conf-sanity, recovery-small, replay-ost-single, insanity, sanity-quota, lustre-rsync-test, ost-pools, lnet-selftest, sanity-lfsck, sanity-hsm, sanity-lnet (only master) |
review-dne | runtests, sanity, sanityn, conf-sanity, recovery-small, replay-single, replay-ost-single, insanity, sanity-quota, sanity-sec, lustre-rsync-test, ost-pools, lnet-selftest, mmp, sanity-scrub, sanity-lfsck, sanity-hsm |
review-mc | runtests, sanity, sanityn, replay-single, conf-sanity, recovery-small, replay-ost-single, insanity, sanity-quota, lustre-rsync-test, ost-pools, lnet-selftest, sanity-lfsck, sanity-hsm |
tiny | sanity |
basic | sanity, mmp, conf-sanity |
development | metadata-updates |