Commit Pragmas
- 1 General Commit Pragmas
- 2 Skipping Stages Commit Pragmas
- 3 Functional Test Commit Pragmas
- 4 Retired Commit Pragmas
- 5 FAQ
- 5.1 How do I just run the functional test ‘test_foo’?
- 5.2 I’m seeing intermittent issues with functional test ‘test_foo’. How do I run it 5 times in the build?
- 5.3 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?
- 5.4 How do I skip all of the Unit Tests?
- 5.5 How do I run a stage, like Functional on Leap 15, that doesn’t run by default?
- 5.6 Why aren’t my commit pragmas working?
- 5.7 Can I check that my skip commit pragmas are working before waiting for my PR to reach the stage?
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 |
|---|---|
| Skips all stages except This is a good way to iterate on CI code changes, or a change that is verified by (a) functional test(s). |
| To force the "documentation only" handling (skipping build and test) state for a PR. This should usually be determined automatically. Skips all the |
| 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. |
| 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. |
| The |
| Uses |
| Allow the pipeline to continue if a previous stage only has test failures. |
| (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 15stage can be skipped with theskip-functional-on-leap-15: truecommit pragmaCancel Previous Buildsstage can be skipped withskip-cancel-previous-builds: truecommit 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 |
|---|---|
| Skips the |
| Skips all the At least one The |
| Skips the Required for the |
| Skips the Required for the |
| Skips the Required for the |
| Skips all the Not to be confused with |
| Skips the |
| Skips the |
| Skips the |
| Skips the |
| Skips the |
| Skips all the |
| Skips the |
| Skips the |
| Skips the |
| Skips the |
| Skips the |
| Skips the |
| Skips the |
| Skips the |
| Skips the |
| Skips all the |
| Skips the |
| Skips the |
| Skips the |
| Skips the |
| Skips the |
| Skips the |
| Skips the |
| Skips the |
| Skips the |
The following additional shorthand skip commit pragmas are also supported:
Pragma | Description |
|---|---|
| Shorthand for |
| Shorthand for |
| Shorthand for |
| Skips all |
| Skips all |
| Skips all |
| Shorthand for |
| Shorthand for |
| Skips all |
| Shorthand for |
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: 5Pragma | Explanation |
|---|---|
| The distribution to run hardware tests on. Distros used currently are |
| A rollup of the This is preferred to having to specify the individual 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 |
| 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): |
| A rollup of the Repeats running all the selected tests in each Functional Test stage 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 Alternatively, a test repetitions can be limited to a specific stage with Should not be used with |
| Override the default provider to be used with all functional tests by using the value to specify the |
| Override the |
| 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 |
|---|---|
| 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 |
| 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 |
Retired Commit Pragmas
The following commit pragmas are no longer used.
Pragma | Explanation |
|---|---|
| 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 |
| Speeds up the build by:
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. |
| Skips the checkpatch stage for the PR. |
| Speeds up the build by running compile in parallel. |
| Skip building a specific distro and compiler combination. Distros used currently are Compilers used currently are Buildtype is currently |
| Skip building a package on a distribution. Distros used currently are |
| Skips the Coverity instrumented build. |
| Skip the malware scans of RPMs. |
| Skip the malware scan of the RPMs for a distro. Some distro examples: leap15, el9. |
| Enable the Bullseye instrumented testing. Current default is not to run the Bullseye stages. |
| 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 |
FAQ
How do I just run the functional test ‘test_foo’?
Quick-functional: true
Test-tag: test_fooThe 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: 5The 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_fooNow 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: trueNote: 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: falseSetting 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, andlarge- are defined for the test in its method docstring and the stage in the Jenkinsfilestage_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)