Commit Pragmas

Commit Pragmas

Commit Pragmas are read from the current (which I suppose could also be called most recent) commit.  Pragmas in any prior commit messages are ignored.

To aide in finding the commit pragmas you may want to use, they have been re-organized by type:

General Commit Pragmas

These commit pragmas apply to the entire pipeline and typically affect multiple stages.

Pragma

Explanation

Pragma

Explanation

Quick-Functional: true

Skips all stages except Build on * and Functional * stages.

This is a good way to iterate on CI code changes, or a change that is verified by (a) functional test(s).

Doc-only: true/false

To force the "documentation only" handling (skipping build and test) state for a PR.  This should usually be determined automatically.

Skips all the Unit Tests, Test, and Test Hardware stages

PR-repos: project@PR-number[:build_num]

Adds the artefact repository of Jenkins build of project 's lastSuccessfulBuild or build_num to the repository list for the build/test run. project is replaced with the name of the repository underneath https://github.com/daos-stack . Some project examples: mpich, hdf5, testmpio, romio, ior-hpc, MACSio, hdf5-vol-daos. When using multiple projects, the specified list of repos must be space-separated.

PR-repos-<distro>: project@PR-number[:build_num]

Same as above but only uses such PRs as repos for the named distribution.  Useful when your the PR you want to use as a repo does not build on all distributions. Some distro examples: leap15, el9, ubuntu20.

RPM-test-version: <version>-<release> 

The <version>-<release> of the RPMs to test with.  This is useful with PR-repos: daos@branch[:build_num]  to test with the RPMs from Nexus, or a different repo or build.

faults-enabled:  false

Uses scons BUILD_TYPE=release and will disable the fault injection framework from the build.  (Note the initial f  on this tag is lower-case)

Allow-unstable-test: true

Allow the pipeline to continue if a previous stage only has test failures.

Skip-PR-comments: true

(experimental) Send e-mail about stage failures in the PR, but don't add a comment to GitHub about it.  Helps keep PRs clean of noise.

Skipping Stages Commit Pragmas

Any pipeline stage after the Prepare stages can be skipped by simply specifying a skip commit pragma with its name:

  • prepend skip-

  • add the stage name with all spaces replaced with dashes

  • and append : true

e.g. (these are case insensitive):

  • Functional on Leap 15 stage can be skipped with the skip-functional-on-leap-15: true commit pragma

  • Cancel Previous Builds stage can be skipped with skip-cancel-previous-builds: true commit pragma

The following parent stage skip pragmas result in their child stages underneath them also being skipped:

Setting any skip-* commit pragma to false will cause a stage to run. This can be useful to run a stage in a PR that is skipped by default.

Pragma

Description

Pragma

Description

skip-cancel-previous-builds: true

Skips the Cancel Previous Builds stage. Allows previously running build to continue to run.

skip-build: true

Skips all the Build on * stages under the Build stage.

At least one Build on * stage is required for the Unit Test stages and any Functional * stages.

The Functional * stages can still operate if a pre-built RPM from Artifactory is specified via the RPM-test-version.

skip-build-on-el-8: true

Skips the Build on EL 8 stage.

Required for the Functional on EL 8 stage or when using Func-hw-test-distro: el8

skip-build-on-el-9: true

Skips the Build on EL 9 stage.

Required for the Unit Tests stages, Fault injection testing, Test RPMs on EL 9, and Functional on EL 9 stages or when using Func-hw-test-distro: el9, which is the default for all Test Hardware stages

skip-build-on-leap-15: true

Skips the Build on Leap 15 stage.

Required for the Functional on Leap 15 and Test RPMs on Leap 15 stages or when using Func-hw-test-distro: leap15

skip-unit-tests: true

Skips all the Unit Test * and NLT test stages under the Unit Tests stage.

Not to be confused with skip-unit-test: true, which only skips the single Unit Test stage.

skip-unit-test: true

Skips the Unit Test stage.

skip-unit-test-bdev: true

Skips the Unit Test bdev stage.

skip-unit-test-with-memcheck: true

Skips the Unit Test with memcheck stage.

skip-unit-test-bdev-with-memcheck: true

Skips the Unit Test bdev with memcheck stage.

skip-nlt: true

Skips the NLT stage.

skip-test: true

Skips all the Functional on * (VM), Test RPM *, and Fault Injection Testing test stages under the Test stage.

skip-functional-on-el-9-with-valgrind: true

Skips the Functional on EL 9 with Valgrind stage.

skip-functional-on-el-8: true

Skips the Functional on EL 8 stage.

skip-functional-on-el-9: true

Skips the Functional on EL 9 stage.

skip-functional-on-leap-15: true

Skips the Functional on Leap 15 stage.

skip-functional-on-sles-15: true

Skips the Functional on SLES 15 stage.

skip-functional-on-ubuntu-20.04: true

Skips the Functional on Ubuntu 20.04 stage.

skip-fault-injection-testing: true

Skips the Fault injection testing stage.

skip-test-rpms-on-el-9: true

Skips the Test RPMs on EL 9 stage.

skip-test-rpms-on-leap-15: true

Skips the Test RPMs on Leap 15 stage.

skip-test-hardware: true

Skips all the Functional Hardware * test stages under the Test Hardware stage.

skip-functional-hardware-medium: true

Skips the Functional Hardware Medium stage.

skip-functional-hardware-medium-md-on-ssd: true

Skips the Functional Hardware Medium MD on SSD stage.

skip-functional-hardware-medium-vmd: true

Skips the Functional Hardware Medium VMD stage.

skip-functional-hardware-medium-verbs-provider: true

Skips the Functional Hardware Medium Verbs Provider stage.

skip-functional-hardware-medium-verbs-provider-md-on-ssd: true

Skips the Functional Hardware Medium Verbs Provider MD on SSD stage.

skip-functional-hardware-medium-ucx-provider: true

Skips the Functional Hardware Medium UCX Provider stage.

skip-functional-hardware-large: true

Skips the Functional Hardware Large stage.

skip-functional-hardware-large-md-on-ssd: true

Skips the Functional Hardware Large MD on SSD stage.

skip-functional-cluster-box-medium-md-on-ssd: true

Skips the Functional Cluster Box Medium MD on SSD stage.

The following additional shorthand skip commit pragmas are also supported:

Pragma

Description

Pragma

Description

skip-python-bandit: true

Shorthand for skip-python-bandit-check: true

skip-build-<distro>: true

Shorthand for skip-build-on-<distro>: true; the _is optional in <distro>, e.g. el9 or el_9

skip-unit-test-memcheck: true

skip-unit-test-bdev-memcheck: true

Shorthand for skip-unit-test-with-memcheck: true and skip-unit-test-bdev-with-memcheck: true

skip-functional: true

skip-functional-test: true

Skips all Functional on * and Functional Hardware * stages; functional can be replaced with func

skip-functional-test-vm: true

Skips all Functional on * stages; functional can be replaced with func and test-vm is interchangeable with vm-test

skip-functional-test-hardware: true

skip-test-hardware: true

Skips all Functional Hardware * stages; functional can be replaced with func, hardware can be replaced with hw, and test-hw is interchangeable with hw-test

skip-functional-hardware-test-<size>: true

Shorthand for skip-functional-hardware-<size>: true; functional can be replaced with func, hardware can be replaced with hw

skip-functional-<distro>: true

Shorthand for skip-functional-on-<distro>: true; functional can be replaced with func and the _is optional in <distro>, e.g. el9 or el_9

skip-test-rpms: true

Skips all Test RPMs on * stages

skip-fault-injection-test: true

Shorthand for skip-fault-injection-testing: true

Functional Test Commit Pragmas

The following commit pragmas adjust the default behavior of Functional test stages.

Many functional commit pragmas support being specified for a specific functional test stage - represented below by an optional <size> commit pragma suffix.

For example, to run the test_ior_small test 5 times on only the Functional Hardware Medium Md on SSD stage one would use the following commit pragmas:

Test-tag-hw-medium-md-on-ssd: test_ior-small Test-repeat-hw-medium-md-on-ssd: 5

Pragma

Explanation

Pragma

Explanation

Func-hw-test-distro: <distro>

The distribution to run hardware tests on.  Distros used currently are el9, leap15 , ubuntu20.

Test-tag: <tag>

A rollup of the Test-tag-<size> tags.  Description of Test Tags.

This is preferred to having to specify the individual Test-tag-* commit pragmas.

There is no need to be concerned with which particular Functional test stage a tag requires.  If a stage does not include any tests match the tags that stage will simply be skipped. Therefore, there is no need to specify individual Skip-func-* commit pragmas to skip the Functional stages along with the Test-tag: commit pragma.

Features: <tag>

A space separated list of features your PR is affecting, to add tests covering those features to your PR. List of current Feature tags.

Note: When using "Features" tag, the following tags will be appended to your avocado filter (for each feature in your list): daily_regression,<your feature> full_regression,<your feature> .

Test-repeat: <n>

A rollup of the Test-repeat-<size> tags.

Repeats running all the selected tests in each Functional Test stage <n> times. Is implemented by the launch.py --repeat=<n> option.

The maximum number of repetitions supported is 10 to prevent excessive CI usage.

Should be used with a reduced number of tests via an accompanying Test-tag: <tag> commit pragma to reduce CI impact.

Alternatively, a test repetitions can be limited to a specific stage with Test-repeat-<size>: <n>.

Should not be used with Features: <tag>.

Test-provider: ucx+dc_x

Override the default provider to be used with all functional tests by using the value to specify the launch.py --provider argument. By default launch.py auto-detects the provider supported by the hosts being used in the stage.  Typically this means VM stages run with ofi+tcp and most HW stages run with ofi+verbs.

Test-nvme: auto

Override the launch.py --nvme auto argument. For example: auto, auto_md_on_ssd, auto_nvme, auto_vmd.

RPM-test: false 

Run Functional * stages from built sources instead of RPMs.  Will require the Build * stages to be run.

Not regularly tested and may not work; Functional tests have been run with RPMs for a long time now.

Skipped Functional Tests

Functional tests with known issues that prevent the test from passing may be skipped due to a Jira ticket as detailed in Skipped Tests.

The following commit pragmas provide options to skip a failing test (not yet added to skipped list file) or run a skipped functional test.

Pragma

Explanation

Pragma

Explanation

Skip-list[-<branch>]: <test-tag>:<ticket #>

Specify a test tag (e.g. a specific test name) that should be skipped. This MUST include the ticket number, or it will be flagged as an error and the job will fail. The optional <branch> can be master, release/2.8, etc.

Fixes: <ticket-number>[ <ticket-number>…]

Specify tickets that a PR fixes. Any functional tests currently skipped due to these tickets will now be run.

Multiple ticket numbers can be space-separated in a single Fixes: commit pragma or specified across multiple lines of Fixes: commit pragmas.

Retired Commit Pragmas

The following commit pragmas are no longer used.

Pragma

Explanation

Pragma

Explanation

Run-GHA: true

Run Functional testing in GitHub Actions instead of Jenkins. This is optional for anyone who can see Jenkins results but given that external contributors cannot access our Jenkins instance, using this pragma will give them test results they can view in GHA instead of Jenkins.

Requires investigation to get this working again

Quick-build: true 

Speeds up the build by:

  • skipping all Pre-build stage steps

  • skipping build on all platforms other than EL7 and Leap-15

  • using RPMs for the DAOS components during the non-RPM build stages, instead of building them all from source

Note: This option is deprecated and may no longer work, do not use.

Note: as this commit pragma skips Pre-build steps, PRs using this pragma will not be able to land.

Note: This does not actually speed up the build process either.

Skip-checkpatch: true

Skips the checkpatch stage for the PR.

Parallel-build: true

Speeds up the build by running compile in parallel.

Skip-build-<distro>-<compiler>[-<buildtype>]: true

Skip building a specific distro and compiler combination.

Distros used currently are el9, leap15 , ubuntu20 .

Compilers used currently are gcc , clang , icc .

Buildtype is currently debug  or release .

Skip-build-<distro>-rpm: true

Skip building a package on a distribution.

Distros used currently are el9 , leap15 , ubuntu20 .

Skip-coverity-test: true

Skips the Coverity instrumented build.

skip-scan-rpms: rpms

Skip the malware scans of RPMs.

Skip-scan-<distro>-rpms: true

Skip the malware scan of the RPMs for a distro. Some distro examples: leap15, el9.

Skip-bullseye: false

Enable the Bullseye instrumented testing.   Current default is not to run the Bullseye stages.

Cancel-prev-build: false

By default a new build cancels the previous one. You can use this pragma in case you would like to keep all of them running.

Replaced by skip-cancel-previous-builds: true

 

FAQ

How do I just run the functional test ‘test_foo’?

Quick-functional: true Test-tag: test_foo

The Quick_functional commit pragma will skip unnecessary stages for running functional tests, and the Test-tag commit pragma will ensure only that only that test is run on the functional test stage that supports the test.

I’m seeing intermittent issues with functional test ‘test_foo’. How do I run it 5 times in the build?

Quick-functional: true Test-tag: test_foo Test-repeat: 5

The addition of Test-repeat will now repeat the test_foo test 5 times. Test-repeat combined with a single Test-tag will help reduce any impact to CI resources.

I’ve fixed ‘test_foo’ with changes to DAOS core code. What commit pragmas should I use in order to be able to land this fix?

Features: test_foo

Now that the changes are ready to land, Features will ensure that the test_foo test is run along with the default pr tagged tests (even if it is a pr tagged test).

How do I skip all of the Unit Tests?

skip-unit-tests: true

Note: skip-unit-tests: true skips the Unit Tests parent stage and all of its children, whereas the skip-unit-test: true only skips the Unit Test child stage.

How do I run a stage, like Functional on Leap 15, that doesn’t run by default?

skip-functional-on-leap-15: false

Setting a skip commit pragma to false will run the stage.

Why aren’t my commit pragmas working?

There are a few possible causes:

    • The commit pragmas are not included in the most recent commit message. Only the latest commit message is checked for commit pragmas.

      • Include the commit pragmas in the latest commit message - including merge and cherry-pick commit messages.

    • Is there a typo in one of the commit pragmas

      • Check the definitions above.

    • Do you have conflicting commit pragmas?

      • Are you skipping a parent stage of the child stage you’re trying to run?

      • Are you skipping or not running a stage required to run the test tag you’ve specified?

        • Stage tags - like vm, hw, hw_vmd, cb, medium, and large - are defined for the test in its method docstring and the stage in the Jenkinsfile stage_tags.

      • Do you have conflicting commit pragmas or ones that supersede other ones?

        • Check the definitions above.

Can I check that my skip commit pragmas are working before waiting for my PR to reach the stage?

Yes, in the pipeline view the Prepare → Setup Stages will report which stages will be run/skipped based upon the commit pragmas, e.g.

[2026-07-22T17:40:33.014Z] Stage run conditions: [2026-07-22T17:40:33.051Z] Running: Cancel Previous Builds (reason: parameter selection or default) [2026-07-22T17:40:33.180Z] Running: Pre-build (reason: parameter selection or default) [2026-07-22T17:40:33.219Z] Running: Python Bandit check (reason: parameter selection or default) [2026-07-22T17:40:33.268Z] Running: Build (reason: parameter selection or default) [2026-07-22T17:40:33.305Z] Running: Build on EL 9 (reason: parameter selection or default) [2026-07-22T17:40:33.340Z] Running: Build on Leap 15 (reason: parameter selection or default) [2026-07-22T17:40:33.372Z] Running: Unit Tests (reason: parameter selection or default) [2026-07-22T17:40:33.409Z] Running: Unit Test (reason: parameter selection or default) [2026-07-22T17:40:33.504Z] Running: Unit Test bdev (reason: parameter selection or default) [2026-07-22T17:40:33.541Z] Running: NLT (reason: parameter selection or default) [2026-07-22T17:40:33.575Z] Running: Unit Test with memcheck (reason: parameter selection or default) [2026-07-22T17:40:33.609Z] Skipping: Unit Test bdev with memcheck (reason: parameter selection or default) [2026-07-22T17:40:33.649Z] Running: Test (reason: parameter selection or default) [2026-07-22T17:40:33.681Z] Skipping: Functional on EL 9.7 with Valgrind (reason: parameter selection or default) [2026-07-22T17:40:33.724Z] Running: Functional on EL 9 (reason: parameter selection or default) [2026-07-22T17:40:33.758Z] Skipping: Functional on Leap 15 (reason: parameter selection or default) [2026-07-22T17:40:33.791Z] Skipping: Functional on SLES 15 (reason: parameter selection or default) [2026-07-22T17:40:33.825Z] Skipping: Functional on Ubuntu 20.04 (reason: parameter selection or default) [2026-07-22T17:40:33.885Z] Running: Fault injection testing (reason: parameter selection or default) [2026-07-22T17:40:33.925Z] Running: Test RPMs on EL 9.6 (reason: parameter selection or default) [2026-07-22T17:40:33.961Z] Running: Test RPMs on Leap 15.5 (reason: parameter selection or default) [2026-07-22T17:40:33.993Z] Running: Test Hardware (reason: parameter selection or default) [2026-07-22T17:40:34.028Z] Skipping: Functional Hardware Medium (reason: commit pragma skip-functional-test-hardware: true) [2026-07-22T17:40:34.061Z] Skipping: Functional Hardware Medium MD on SSD (reason: commit pragma skip-functional-test-hardware: true) [2026-07-22T17:40:34.096Z] Skipping: Functional Hardware Medium VMD (reason: commit pragma skip-functional-test-hardware: true) [2026-07-22T17:40:34.130Z] Skipping: Functional Hardware Medium Verbs Provider (reason: commit pragma skip-functional-test-hardware: true) [2026-07-22T17:40:34.165Z] Skipping: Functional Hardware Medium Verbs Provider MD on SSD (reason: commit pragma skip-functional-test-hardware: true) [2026-07-22T17:40:34.200Z] Skipping: Functional Hardware Medium UCX Provider (reason: commit pragma skip-functional-test-hardware: true) [2026-07-22T17:40:34.234Z] Skipping: Functional Hardware Large (reason: commit pragma skip-functional-test-hardware: true) [2026-07-22T17:40:34.269Z] Skipping: Functional Hardware Large MD on SSD (reason: commit pragma skip-functional-test-hardware: true) [2026-07-22T17:40:34.304Z] Skipping: Functional Cluster Box Medium MD on SSD (reason: commit pragma skip-functional-test-hardware: true)