Building Test (buildtest build)

This reference guide will get you familiar with buildtest command line interface. Once you complete this section, you can proceed to writing buildspecs section where we will cover how to write buildspecs.

When you clone buildtest, you also get a set of buildspecs that you can run on your system. The buildtest build command is used for building and running tests. Buildtest will read one or more buildspecs file that adheres to one of the buildtest schemas. For a complete list of build options please run buildtest build --help.

Note

buildtest bd is an alias for buildtest build command.

Build Usage

buildtest build --help
$ buildtest build --help
usage: buildtest [options] [COMMANDS] build [-h] [-b BUILDSPEC] [-x EXCLUDE]
                                            [-n NAME] [-e EXECUTOR]
                                            [-xt EXCLUDE_TAGS] [-t TAGS]
                                            [--rerun] [-f FILTER]
                                            [--helpfilter] [-et {local,batch}]
                                            [--module-purge] [-m MODULES]
                                            [-u UNLOAD_MODULES]
                                            [--account ACCOUNT]
                                            [--maxpendtime MAXPENDTIME]
                                            [--pollinterval POLLINTERVAL]
                                            [--procs PROCS [PROCS ...]]
                                            [--nodes NODES [NODES ...]]
                                            [--dry-run] [--limit LIMIT]
                                            [--max-jobs MAX_JOBS]
                                            [--profile PROFILE]
                                            [--remove-stagedir]
                                            [--rebuild REBUILD]
                                            [--retry RETRY]
                                            [--save-profile SAVE_PROFILE]
                                            [--testdir TESTDIR]
                                            [--timeout TIMEOUT] [--validate]
                                            [--write-config-file WRITE_CONFIG_FILE]

optional arguments:
  -h, --help            show this help message and exit

discover:
  Select buildspec file to run based on file, tag, executor

  -b BUILDSPEC, --buildspec BUILDSPEC
                        Specify a buildspec (file or directory) to build. A
                        buildspec must end in '.yml' extension.
  -x EXCLUDE, --exclude EXCLUDE
                        Exclude one or more buildspecs (file or directory)
                        from processing. A buildspec must end in '.yml'
                        extension.
  -n NAME, --name NAME  Specify a name of test to run
  -e EXECUTOR, --executor EXECUTOR
                        Discover buildspecs by executor name found in
                        buildspec cache
  -xt EXCLUDE_TAGS, --exclude-tags EXCLUDE_TAGS
                        Exclude tests by one or more tagnames found in
                        buildspec cache
  -t TAGS, --tags TAGS  Discover buildspecs by tags found in buildspec cache
  --rerun               Rerun last successful buildtest build command.

filter:
  Filter tests after selection

  -f FILTER, --filter FILTER
                        Filter buildspec based on tags, type, or maintainers.
                        Usage: --filter
                        key1=val1,val2;key2=val3;key3=val4,val5
  --helpfilter          Show available filter fields used with --filter option
  -et {local,batch}, --executor-type {local,batch}
                        Filter tests by executor type (local, batch)

module:
  Module Selection option

  --module-purge        Run 'module purge' before running any test
  -m MODULES, --modules MODULES
                        Specify a list of modules to load during test
                        execution, to specify multiple modules each one must
                        be comma separated for instance if you want to load
                        'gcc' and 'python' module you can do '-m gcc,python'
  -u UNLOAD_MODULES, --unload-modules UNLOAD_MODULES
                        Specify a list of modules to unload during test
                        execution

batch:
  Batch Submission options

  --account ACCOUNT     Specify project account used to charge batch jobs
                        (applicable for batch jobs only)
  --maxpendtime MAXPENDTIME
                        Specify Maximum Pending Time (sec) for job before
                        cancelling job. This only applies for batch job
                        submission.
  --pollinterval POLLINTERVAL
                        Specify Poll Interval (sec) for polling batch jobs
  --procs PROCS [PROCS ...]
                        Specify number of processes to run tests (only
                        applicable with batch jobs). Multiple values can be
                        specified comma separated.
  --nodes NODES [NODES ...]
                        Specify number of nodes to run tests (only applicable
                        with batch jobs). Multiple values can be specified
                        comma separated.

extra:
  All extra options

  --dry-run             Show a list of tests that will potentially be run
                        without actually running them.
  --limit LIMIT         Limit number of tests that can be run.
  --max-jobs MAX_JOBS   Maximum number of jobs that can be run concurrently.
  --profile PROFILE     Specify a profile to load from configuration file
  --remove-stagedir     Remove stage directory after job completion.
  --rebuild REBUILD     Rebuild test X number of times. Must be a positive
                        number between [1-50]
  --retry RETRY         Retry failed jobs
  --save-profile SAVE_PROFILE
                        Save buildtest command options into a profile and
                        update configuration file
  --testdir TESTDIR     Specify a custom test directory where to write tests.
                        This overrides configuration file and default
                        location.
  --timeout TIMEOUT     Specify test timeout in number of seconds
  --validate            Validate given buildspecs and control behavior of
                        buildtest build to stop execution after parsing the
                        YAML files.
  --write-config-file WRITE_CONFIG_FILE
                        Specify path to configuration file to write changes
                        when saving profile

Building a Test (buildtest build --buildspec)

To build a test, we use the --buildspec or short option -b to specify the path to buildspec file. Let’s see some examples, first we specify a full path to buildspec file. In this example, buildtest will discover buildspecs followed by parsing the test with appropriate schema and generate a shell script that is run by buildtest. You can learn more about build and test process.

buildtest build -b $BUILDTEST_ROOT/tutorials/vars.yml
$ buildtest build -b $BUILDTEST_ROOT/tutorials/vars.yml
Buildspec Paths: ['/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials', '/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests']
Updating buildspec cache file: /tmp/tmpyzdfrhut/var/buildspecs/cache.json
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:41:36                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/vars.yml                                                           ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ s_bash/4 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 63f12b8  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/vars. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/463f12b8: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/463f12b8
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/463f12b8 does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/463f12b8 │
└─────────────────────────┘
variables_bash/463f12b8: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/463f12b8/stage
variables_bash/463f12b8: Running Test via command: bash variables_bash_build.sh
variables_bash/463f12b8: Test completed in 0.09002 seconds with returncode: 0
variables_bash/463f12b8: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/463f12b8/variables_bash.out
variables_bash/463f12b8: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/463f12b8/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/463f12b8 │ generic.local.bash │ PASS   │ 0          │ 0.090   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 1/1 Percentage: 100.000%
Failed Tests: 0/1 Percentage: 0.000%


Adding 1 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_bjtjum2u.log

Note

buildtest will only read buildspecs with .yml extension, if you specify a .yaml it will be ignored by buildtest.

The --buildspec option can be used to specify a file or directory path. If you want to build multiple buildspecs in a directory you can specify the directory path and buildtest will recursively search for all .yml files. In the next example, we build all tests in directory general_tests/configuration.

buildtest build -b $BUILDTEST_ROOT/general_tests/configuration/
$ buildtest build -b $BUILDTEST_ROOT/general_tests/configuration/
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:24                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/ulimits.yml                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/disk_usage.yml                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/systemd-default-target.yml                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/kernel_state.yml                                 ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 4                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  4
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  4
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 4
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/ulimits.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/disk_usage.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/systemd-default-target.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/kernel_state.yml: VALID
Total builder objects created: 9
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ ilelock_ │        │ local.ba │          │       │       │ file     │ ocs/che │
│ unlimite │        │ sh       │          │       │       │ lock is  │ ckouts/ │
│ d/45bbd1 │        │          │          │       │       │ set to   │ readthe │
│ 6b       │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_c │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ putime_u │        │ local.ba │          │       │       │ cputime  │ ocs/che │
│ nlimited │        │ sh       │          │       │       │ is set   │ ckouts/ │
│ /109e13b │        │          │          │       │       │ to       │ readthe │
│ 7        │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_s │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ tacksize │        │ local.ba │          │       │       │ stack    │ ocs/che │
│ _unlimit │        │ sh       │          │       │       │ size is  │ ckouts/ │
│ ed/6f331 │        │          │          │       │       │ set to   │ readthe │
│ d2f      │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_v │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ msize_un │        │ local.ba │          │       │       │ virtual  │ ocs/che │
│ limited/ │        │ sh       │          │       │       │ memory   │ ckouts/ │
│ 52ae1816 │        │          │          │       │       │ size and │ readthe │
│          │        │          │          │       │       │ check if │ docs.or │
│          │        │          │          │       │       │ its set  │ g/user_ │
│          │        │          │          │       │       │ to       │ builds/ │
│          │        │          │          │       │       │ unlimite │ buildte │
│          │        │          │          │       │       │ d        │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ iledescr │        │ local.ba │          │       │       │ open     │ ocs/che │
│ iptor_40 │        │ sh       │          │       │       │ file     │ ckouts/ │
│ 96/0f67b │        │          │          │       │       │ descript │ readthe │
│ d90      │        │          │          │       │       │ ors      │ docs.or │
│          │        │          │          │       │       │ limit is │ g/user_ │
│          │        │          │          │       │       │ set to   │ builds/ │
│          │        │          │          │       │       │ 4096     │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_m │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ ax_user_ │        │ local.ba │          │       │       │ max      │ ocs/che │
│ process_ │        │ sh       │          │       │       │ number   │ ckouts/ │
│ 2048/b59 │        │          │          │       │       │ of user  │ readthe │
│ e59ff    │        │          │          │       │       │ process  │ docs.or │
│          │        │          │          │       │       │ limit is │ g/user_ │
│          │        │          │          │       │       │ set to   │ builds/ │
│          │        │          │          │       │       │ 2048     │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ root_dis │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ k_usage/ │        │ local.ba │          │       │       │ root     │ ocs/che │
│ a4974bab │        │ sh       │          │       │       │ disk     │ ckouts/ │
│          │        │          │          │       │       │ usage    │ readthe │
│          │        │          │          │       │       │ and      │ docs.or │
│          │        │          │          │       │       │ report   │ g/user_ │
│          │        │          │          │       │       │ if it    │ builds/ │
│          │        │          │          │       │       │ exceeds  │ buildte │
│          │        │          │          │       │       │ threshol │ st/chec │
│          │        │          │          │       │       │ d        │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/d │
│          │        │          │          │       │       │          │ isk_usa │
│          │        │          │          │       │       │          │ ge.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ systemd_ │ script │ generic. │ None     │ None  │ None  │ check if │ /home/d │
│ default_ │        │ local.ba │          │       │       │ default  │ ocs/che │
│ target/7 │        │ sh       │          │       │       │ target   │ ckouts/ │
│ a0942ae  │        │          │          │       │       │ is       │ readthe │
│          │        │          │          │       │       │ multi-us │ docs.or │
│          │        │          │          │       │       │ er.targe │ g/user_ │
│          │        │          │          │       │       │ t        │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/s │
│          │        │          │          │       │       │          │ ystemd- │
│          │        │          │          │       │       │          │ default │
│          │        │          │          │       │       │          │ -target │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ kernel_s │ script │ generic. │ None     │ None  │ None  │ Retrieve │ /home/d │
│ wapusage │        │ local.ba │          │       │       │ Kernel   │ ocs/che │
│ /579be0f │        │ sh       │          │       │       │ Swap     │ ckouts/ │
│ f        │        │          │          │       │       │ Usage    │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/k │
│          │        │          │          │       │       │          │ ernel_s │
│          │        │          │          │       │       │          │ tate.ym │
│          │        │          │          │       │       │          │ l       │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
ulimit_filelock_unlimited/45bbd16b: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/45bbd16b
ulimit_cputime_unlimited/109e13b7: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/109e13b7
ulimit_stacksize_unlimited/6f331d2f: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/6f331d2f
ulimit_vmsize_unlimited/52ae1816: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/52ae1816
ulimit_filedescriptor_4096/0f67bd90: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/0f67bd90
ulimit_max_user_process_2048/b59e59ff: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/b59e59ff
root_disk_usage/a4974bab: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/disk_usage/root_disk_usage/a4974bab
systemd_default_target/7a0942ae: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/7a0942ae
kernel_swapusage/579be0ff: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/kernel_state/kernel_swapusage/579be0ff
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
systemd_default_target/7a0942ae does not have any dependencies adding test to queue
ulimit_max_user_process_2048/b59e59ff does not have any dependencies adding test to queue
root_disk_usage/a4974bab does not have any dependencies adding test to queue
ulimit_vmsize_unlimited/52ae1816 does not have any dependencies adding test to queue
ulimit_filedescriptor_4096/0f67bd90 does not have any dependencies adding test to queue
ulimit_filelock_unlimited/45bbd16b does not have any dependencies adding test to queue
kernel_swapusage/579be0ff does not have any dependencies adding test to queue
ulimit_stacksize_unlimited/6f331d2f does not have any dependencies adding test to queue
ulimit_cputime_unlimited/109e13b7 does not have any dependencies adding test to queue
        Builders Eligible to Run         
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ systemd_default_target/7a0942ae       │
│ ulimit_max_user_process_2048/b59e59ff │
│ root_disk_usage/a4974bab              │
│ ulimit_vmsize_unlimited/52ae1816      │
│ ulimit_filedescriptor_4096/0f67bd90   │
│ ulimit_filelock_unlimited/45bbd16b    │
│ kernel_swapusage/579be0ff             │
│ ulimit_stacksize_unlimited/6f331d2f   │
│ ulimit_cputime_unlimited/109e13b7     │
└───────────────────────────────────────┘
systemd_default_target/7a0942ae: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/7a0942ae/stage
systemd_default_target/7a0942ae: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/7a0942ae: failed to submit job with returncode: 1
────────────── Error Message for systemd_default_target/7a0942ae ───────────────

systemd_default_target/7a0942ae: Detected failure in running test, will attempt to retry test: 1 times
systemd_default_target/7a0942ae: Run - 1/1
systemd_default_target/7a0942ae: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/7a0942ae: failed to submit job with returncode: 1
systemd_default_target/7a0942ae: Test completed in 0.019715 seconds with returncode: 1
systemd_default_target/7a0942ae: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/7a0942ae/systemd_default_target.out
systemd_default_target/7a0942ae: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/7a0942ae/systemd_default_target.err
ulimit_max_user_process_2048/b59e59ff: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/b59e59ff/stage
ulimit_max_user_process_2048/b59e59ff: Running Test via command: bash ulimit_max_user_process_2048_build.sh
ulimit_max_user_process_2048/b59e59ff: Test completed in 0.005603 seconds with returncode: 0
ulimit_max_user_process_2048/b59e59ff: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/b59e59ff/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/b59e59ff: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/b59e59ff/ulimit_max_user_process_2048.err
ulimit_max_user_process_2048/b59e59ff: performing regular expression - '^2048$' on file: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/b59e59ff/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/b59e59ff: Regular Expression Match - Failed!
root_disk_usage/a4974bab: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/disk_usage/root_disk_usage/a4974bab/stage
root_disk_usage/a4974bab: Running Test via command: bash root_disk_usage_build.sh
root_disk_usage/a4974bab: Test completed in 0.009276 seconds with returncode: 0
root_disk_usage/a4974bab: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/disk_usage/root_disk_usage/a4974bab/root_disk_usage.out
root_disk_usage/a4974bab: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/disk_usage/root_disk_usage/a4974bab/root_disk_usage.err
ulimit_vmsize_unlimited/52ae1816: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/52ae1816/stage
ulimit_vmsize_unlimited/52ae1816: Running Test via command: bash ulimit_vmsize_unlimited_build.sh
ulimit_vmsize_unlimited/52ae1816: Test completed in 0.005482 seconds with returncode: 0
ulimit_vmsize_unlimited/52ae1816: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/52ae1816/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/52ae1816: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/52ae1816/ulimit_vmsize_unlimited.err
ulimit_vmsize_unlimited/52ae1816: performing regular expression - '^unlimited$' on file: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/52ae1816/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/52ae1816: Regular Expression Match - Success!
ulimit_filedescriptor_4096/0f67bd90: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/0f67bd90/stage
ulimit_filedescriptor_4096/0f67bd90: Running Test via command: bash ulimit_filedescriptor_4096_build.sh
ulimit_filedescriptor_4096/0f67bd90: Test completed in 0.005814 seconds with returncode: 0
ulimit_filedescriptor_4096/0f67bd90: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/0f67bd90/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/0f67bd90: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/0f67bd90/ulimit_filedescriptor_4096.err
ulimit_filedescriptor_4096/0f67bd90: performing regular expression - '^4096$' on file: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/0f67bd90/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/0f67bd90: Regular Expression Match - Failed!
ulimit_filelock_unlimited/45bbd16b: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/45bbd16b/stage
ulimit_filelock_unlimited/45bbd16b: Running Test via command: bash ulimit_filelock_unlimited_build.sh
ulimit_filelock_unlimited/45bbd16b: Test completed in 0.00567 seconds with returncode: 0
ulimit_filelock_unlimited/45bbd16b: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/45bbd16b/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/45bbd16b: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/45bbd16b/ulimit_filelock_unlimited.err
ulimit_filelock_unlimited/45bbd16b: performing regular expression - '^unlimited$' on file: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/45bbd16b/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/45bbd16b: Regular Expression Match - Success!
kernel_swapusage/579be0ff: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/kernel_state/kernel_swapusage/579be0ff/stage
kernel_swapusage/579be0ff: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/579be0ff: failed to submit job with returncode: 255
───────────────── Error Message for kernel_swapusage/579be0ff ──────────────────
sysctl: cannot stat /proc/sys/kernel/swapusage: No such file or directory

kernel_swapusage/579be0ff: Detected failure in running test, will attempt to retry test: 1 times
kernel_swapusage/579be0ff: Run - 1/1
kernel_swapusage/579be0ff: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/579be0ff: failed to submit job with returncode: 255
kernel_swapusage/579be0ff: Test completed in 0.016634 seconds with returncode: 255
kernel_swapusage/579be0ff: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/kernel_state/kernel_swapusage/579be0ff/kernel_swapusage.out
kernel_swapusage/579be0ff: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/kernel_state/kernel_swapusage/579be0ff/kernel_swapusage.err
ulimit_stacksize_unlimited/6f331d2f: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/6f331d2f/stage
ulimit_stacksize_unlimited/6f331d2f: Running Test via command: bash ulimit_stacksize_unlimited_build.sh
ulimit_stacksize_unlimited/6f331d2f: Test completed in 0.00587 seconds with returncode: 0
ulimit_stacksize_unlimited/6f331d2f: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/6f331d2f/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/6f331d2f: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/6f331d2f/ulimit_stacksize_unlimited.err
ulimit_stacksize_unlimited/6f331d2f: performing regular expression - '^unlimited$' on file: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/6f331d2f/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/6f331d2f: Regular Expression Match - Failed!
ulimit_cputime_unlimited/109e13b7: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/109e13b7/stage
ulimit_cputime_unlimited/109e13b7: Running Test via command: bash ulimit_cputime_unlimited_build.sh
ulimit_cputime_unlimited/109e13b7: Test completed in 0.005816 seconds with returncode: 0
ulimit_cputime_unlimited/109e13b7: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/109e13b7/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/109e13b7: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/109e13b7/ulimit_cputime_unlimited.err
ulimit_cputime_unlimited/109e13b7: performing regular expression - '^unlimited$' on file: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/109e13b7/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/109e13b7: Regular Expression Match - Success!
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ ulimit_cputime_unlimite │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ d/109e13b7              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_stacksize_unlimi │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ ted/6f331d2f            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ systemd_default_target/ │ generic.local.bash │ FAIL   │ 1          │ 0.020   │
│ 7a0942ae                │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_max_user_process │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ _2048/b59e59ff          │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filedescriptor_4 │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ 096/0f67bd90            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_vmsize_unlimited │ generic.local.bash │ PASS   │ 0          │ 0.005   │
│ /52ae1816               │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ root_disk_usage/a4974ba │ generic.local.bash │ PASS   │ 0          │ 0.009   │
│ b                       │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filelock_unlimit │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ ed/45bbd16b             │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ kernel_swapusage/579be0 │ generic.local.bash │ FAIL   │ 255        │ 0.017   │
│ ff                      │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 4/9 Percentage: 44.444%
Failed Tests: 5/9 Percentage: 55.556%


Adding 9 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_iqfiyt7c.log

Building Multiple Buildspecs

You can append -b option to build multiple buildspecs in the same command. Buildtest will discover buildspecs for every argument (-b) and accumulate a list of buildspecs to run. In this example, we instruct buildtest to build a buildspec file and all buildspecs in a directory path.

buildtest build -b $BUILDTEST_ROOT/general_tests/configuration/ -b $BUILDTEST_ROOT/tutorials/vars.yml
$ buildtest build -b $BUILDTEST_ROOT/general_tests/configuration/ -b $BUILDTEST_ROOT/tutorials/vars.yml
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:25                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/kernel_state.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/disk_usage.yml                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/systemd-default-target.yml                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/ulimits.yml                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/vars.yml                                                           ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 5                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  5
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  5
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 5
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/kernel_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/disk_usage.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/systemd-default-target.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/ulimits.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: VALID
Total builder objects created: 10
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ kernel_s │ script │ generic. │ None     │ None  │ None  │ Retrieve │ /home/d │
│ wapusage │        │ local.ba │          │       │       │ Kernel   │ ocs/che │
│ /3cd776a │        │ sh       │          │       │       │ Swap     │ ckouts/ │
│ 6        │        │          │          │       │       │ Usage    │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/k │
│          │        │          │          │       │       │          │ ernel_s │
│          │        │          │          │       │       │          │ tate.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ root_dis │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ k_usage/ │        │ local.ba │          │       │       │ root     │ ocs/che │
│ a562525b │        │ sh       │          │       │       │ disk     │ ckouts/ │
│          │        │          │          │       │       │ usage    │ readthe │
│          │        │          │          │       │       │ and      │ docs.or │
│          │        │          │          │       │       │ report   │ g/user_ │
│          │        │          │          │       │       │ if it    │ builds/ │
│          │        │          │          │       │       │ exceeds  │ buildte │
│          │        │          │          │       │       │ threshol │ st/chec │
│          │        │          │          │       │       │ d        │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/d │
│          │        │          │          │       │       │          │ isk_usa │
│          │        │          │          │       │       │          │ ge.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ systemd_ │ script │ generic. │ None     │ None  │ None  │ check if │ /home/d │
│ default_ │        │ local.ba │          │       │       │ default  │ ocs/che │
│ target/7 │        │ sh       │          │       │       │ target   │ ckouts/ │
│ 7435908  │        │          │          │       │       │ is       │ readthe │
│          │        │          │          │       │       │ multi-us │ docs.or │
│          │        │          │          │       │       │ er.targe │ g/user_ │
│          │        │          │          │       │       │ t        │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/s │
│          │        │          │          │       │       │          │ ystemd- │
│          │        │          │          │       │       │          │ default │
│          │        │          │          │       │       │          │ -target │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ ilelock_ │        │ local.ba │          │       │       │ file     │ ocs/che │
│ unlimite │        │ sh       │          │       │       │ lock is  │ ckouts/ │
│ d/e0803b │        │          │          │       │       │ set to   │ readthe │
│ 6c       │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_c │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ putime_u │        │ local.ba │          │       │       │ cputime  │ ocs/che │
│ nlimited │        │ sh       │          │       │       │ is set   │ ckouts/ │
│ /9038a47 │        │          │          │       │       │ to       │ readthe │
│ 9        │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_s │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ tacksize │        │ local.ba │          │       │       │ stack    │ ocs/che │
│ _unlimit │        │ sh       │          │       │       │ size is  │ ckouts/ │
│ ed/d6737 │        │          │          │       │       │ set to   │ readthe │
│ 406      │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_v │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ msize_un │        │ local.ba │          │       │       │ virtual  │ ocs/che │
│ limited/ │        │ sh       │          │       │       │ memory   │ ckouts/ │
│ b3e60fbb │        │          │          │       │       │ size and │ readthe │
│          │        │          │          │       │       │ check if │ docs.or │
│          │        │          │          │       │       │ its set  │ g/user_ │
│          │        │          │          │       │       │ to       │ builds/ │
│          │        │          │          │       │       │ unlimite │ buildte │
│          │        │          │          │       │       │ d        │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ iledescr │        │ local.ba │          │       │       │ open     │ ocs/che │
│ iptor_40 │        │ sh       │          │       │       │ file     │ ckouts/ │
│ 96/a0a9d │        │          │          │       │       │ descript │ readthe │
│ 420      │        │          │          │       │       │ ors      │ docs.or │
│          │        │          │          │       │       │ limit is │ g/user_ │
│          │        │          │          │       │       │ set to   │ builds/ │
│          │        │          │          │       │       │ 4096     │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_m │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ ax_user_ │        │ local.ba │          │       │       │ max      │ ocs/che │
│ process_ │        │ sh       │          │       │       │ number   │ ckouts/ │
│ 2048/cba │        │          │          │       │       │ of user  │ readthe │
│ 9e57e    │        │          │          │       │       │ process  │ docs.or │
│          │        │          │          │       │       │ limit is │ g/user_ │
│          │        │          │          │       │       │ set to   │ builds/ │
│          │        │          │          │       │       │ 2048     │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ s_bash/3 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 606f9b9  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/vars. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
kernel_swapusage/3cd776a6: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/kernel_state/kernel_swapusage/3cd776a6
root_disk_usage/a562525b: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/disk_usage/root_disk_usage/a562525b
systemd_default_target/77435908: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/77435908
ulimit_filelock_unlimited/e0803b6c: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/e0803b6c
ulimit_cputime_unlimited/9038a479: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/9038a479
ulimit_stacksize_unlimited/d6737406: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/d6737406
ulimit_vmsize_unlimited/b3e60fbb: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/b3e60fbb
ulimit_filedescriptor_4096/a0a9d420: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/a0a9d420
ulimit_max_user_process_2048/cba9e57e: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/cba9e57e
variables_bash/3606f9b9: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/3606f9b9
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
systemd_default_target/77435908 does not have any dependencies adding test to queue
variables_bash/3606f9b9 does not have any dependencies adding test to queue
ulimit_vmsize_unlimited/b3e60fbb does not have any dependencies adding test to queue
ulimit_filedescriptor_4096/a0a9d420 does not have any dependencies adding test to queue
root_disk_usage/a562525b does not have any dependencies adding test to queue
ulimit_cputime_unlimited/9038a479 does not have any dependencies adding test to queue
kernel_swapusage/3cd776a6 does not have any dependencies adding test to queue
ulimit_filelock_unlimited/e0803b6c does not have any dependencies adding test to queue
ulimit_max_user_process_2048/cba9e57e does not have any dependencies adding test to queue
ulimit_stacksize_unlimited/d6737406 does not have any dependencies adding test to queue
        Builders Eligible to Run         
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ systemd_default_target/77435908       │
│ ulimit_max_user_process_2048/cba9e57e │
│ ulimit_vmsize_unlimited/b3e60fbb      │
│ ulimit_filedescriptor_4096/a0a9d420   │
│ root_disk_usage/a562525b              │
│ ulimit_cputime_unlimited/9038a479     │
│ kernel_swapusage/3cd776a6             │
│ ulimit_filelock_unlimited/e0803b6c    │
│ variables_bash/3606f9b9               │
│ ulimit_stacksize_unlimited/d6737406   │
└───────────────────────────────────────┘
systemd_default_target/77435908: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/77435908/stage
systemd_default_target/77435908: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/77435908: failed to submit job with returncode: 1
────────────── Error Message for systemd_default_target/77435908 ───────────────

systemd_default_target/77435908: Detected failure in running test, will attempt to retry test: 1 times
systemd_default_target/77435908: Run - 1/1
systemd_default_target/77435908: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/77435908: failed to submit job with returncode: 1
systemd_default_target/77435908: Test completed in 0.019691 seconds with returncode: 1
systemd_default_target/77435908: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/77435908/systemd_default_target.out
systemd_default_target/77435908: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/77435908/systemd_default_target.err
ulimit_max_user_process_2048/cba9e57e: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/cba9e57e/stage
ulimit_max_user_process_2048/cba9e57e: Running Test via command: bash ulimit_max_user_process_2048_build.sh
ulimit_max_user_process_2048/cba9e57e: Test completed in 0.005512 seconds with returncode: 0
ulimit_max_user_process_2048/cba9e57e: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/cba9e57e/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/cba9e57e: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/cba9e57e/ulimit_max_user_process_2048.err
ulimit_max_user_process_2048/cba9e57e: performing regular expression - '^2048$' on file: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/cba9e57e/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/cba9e57e: Regular Expression Match - Failed!
ulimit_vmsize_unlimited/b3e60fbb: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/b3e60fbb/stage
ulimit_vmsize_unlimited/b3e60fbb: Running Test via command: bash ulimit_vmsize_unlimited_build.sh
ulimit_vmsize_unlimited/b3e60fbb: Test completed in 0.005338 seconds with returncode: 0
ulimit_vmsize_unlimited/b3e60fbb: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/b3e60fbb/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/b3e60fbb: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/b3e60fbb/ulimit_vmsize_unlimited.err
ulimit_vmsize_unlimited/b3e60fbb: performing regular expression - '^unlimited$' on file: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/b3e60fbb/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/b3e60fbb: Regular Expression Match - Success!
ulimit_filedescriptor_4096/a0a9d420: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/a0a9d420/stage
ulimit_filedescriptor_4096/a0a9d420: Running Test via command: bash ulimit_filedescriptor_4096_build.sh
ulimit_filedescriptor_4096/a0a9d420: Test completed in 0.005398 seconds with returncode: 0
ulimit_filedescriptor_4096/a0a9d420: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/a0a9d420/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/a0a9d420: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/a0a9d420/ulimit_filedescriptor_4096.err
ulimit_filedescriptor_4096/a0a9d420: performing regular expression - '^4096$' on file: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/a0a9d420/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/a0a9d420: Regular Expression Match - Failed!
root_disk_usage/a562525b: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/disk_usage/root_disk_usage/a562525b/stage
root_disk_usage/a562525b: Running Test via command: bash root_disk_usage_build.sh
root_disk_usage/a562525b: Test completed in 0.009011 seconds with returncode: 0
root_disk_usage/a562525b: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/disk_usage/root_disk_usage/a562525b/root_disk_usage.out
root_disk_usage/a562525b: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/disk_usage/root_disk_usage/a562525b/root_disk_usage.err
ulimit_cputime_unlimited/9038a479: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/9038a479/stage
ulimit_cputime_unlimited/9038a479: Running Test via command: bash ulimit_cputime_unlimited_build.sh
ulimit_cputime_unlimited/9038a479: Test completed in 0.005466 seconds with returncode: 0
ulimit_cputime_unlimited/9038a479: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/9038a479/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/9038a479: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/9038a479/ulimit_cputime_unlimited.err
ulimit_cputime_unlimited/9038a479: performing regular expression - '^unlimited$' on file: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/9038a479/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/9038a479: Regular Expression Match - Success!
kernel_swapusage/3cd776a6: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/kernel_state/kernel_swapusage/3cd776a6/stage
kernel_swapusage/3cd776a6: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/3cd776a6: failed to submit job with returncode: 255
───────────────── Error Message for kernel_swapusage/3cd776a6 ──────────────────
sysctl: cannot stat /proc/sys/kernel/swapusage: No such file or directory

kernel_swapusage/3cd776a6: Detected failure in running test, will attempt to retry test: 1 times
kernel_swapusage/3cd776a6: Run - 1/1
kernel_swapusage/3cd776a6: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/3cd776a6: failed to submit job with returncode: 255
kernel_swapusage/3cd776a6: Test completed in 0.016449 seconds with returncode: 255
kernel_swapusage/3cd776a6: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/kernel_state/kernel_swapusage/3cd776a6/kernel_swapusage.out
kernel_swapusage/3cd776a6: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/kernel_state/kernel_swapusage/3cd776a6/kernel_swapusage.err
ulimit_filelock_unlimited/e0803b6c: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/e0803b6c/stage
ulimit_filelock_unlimited/e0803b6c: Running Test via command: bash ulimit_filelock_unlimited_build.sh
ulimit_filelock_unlimited/e0803b6c: Test completed in 0.008081 seconds with returncode: 0
ulimit_filelock_unlimited/e0803b6c: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/e0803b6c/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/e0803b6c: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/e0803b6c/ulimit_filelock_unlimited.err
ulimit_filelock_unlimited/e0803b6c: performing regular expression - '^unlimited$' on file: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/e0803b6c/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/e0803b6c: Regular Expression Match - Success!
variables_bash/3606f9b9: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/3606f9b9/stage
variables_bash/3606f9b9: Running Test via command: bash variables_bash_build.sh
variables_bash/3606f9b9: Test completed in 0.009411 seconds with returncode: 0
variables_bash/3606f9b9: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/3606f9b9/variables_bash.out
variables_bash/3606f9b9: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/3606f9b9/variables_bash.err
ulimit_stacksize_unlimited/d6737406: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/d6737406/stage
ulimit_stacksize_unlimited/d6737406: Running Test via command: bash ulimit_stacksize_unlimited_build.sh
ulimit_stacksize_unlimited/d6737406: Test completed in 0.005777 seconds with returncode: 0
ulimit_stacksize_unlimited/d6737406: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/d6737406/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/d6737406: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/d6737406/ulimit_stacksize_unlimited.err
ulimit_stacksize_unlimited/d6737406: performing regular expression - '^unlimited$' on file: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/d6737406/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/d6737406: Regular Expression Match - Failed!
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ ulimit_filelock_unlimit │ generic.local.bash │ PASS   │ 0          │ 0.008   │
│ ed/e0803b6c             │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ systemd_default_target/ │ generic.local.bash │ FAIL   │ 1          │ 0.020   │
│ 77435908                │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filedescriptor_4 │ generic.local.bash │ FAIL   │ 0          │ 0.005   │
│ 096/a0a9d420            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_stacksize_unlimi │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ ted/d6737406            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_vmsize_unlimited │ generic.local.bash │ PASS   │ 0          │ 0.005   │
│ /b3e60fbb               │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ kernel_swapusage/3cd776 │ generic.local.bash │ FAIL   │ 255        │ 0.016   │
│ a6                      │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ variables_bash/3606f9b9 │ generic.local.bash │ PASS   │ 0          │ 0.009   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ root_disk_usage/a562525 │ generic.local.bash │ PASS   │ 0          │ 0.009   │
│ b                       │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_max_user_process │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ _2048/cba9e57e          │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_cputime_unlimite │ generic.local.bash │ PASS   │ 0          │ 0.005   │
│ d/9038a479              │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 5/10 Percentage: 50.000%
Failed Tests: 5/10 Percentage: 50.000%


Adding 10 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_e6_ln9rv.log

Excluding Buildspecs (buildtest build --exclude)

So far we learned how to build buildspecs by file and directory path using the -b option. Next, we will discuss how one may exclude buildspecs which behaves similar to -b option. You can exclude buildspecs via --exclude or short option -x which can be useful when you want to exclude certain files or sub directory.

For example we can build all buildspecs in tutorials but exclude file tutorials/vars.yml by running:

$ buildtest build -b tutorials -x tutorials/vars.yml

buildtest will discover all buildspecs and then exclude any buildspecs specified by -x option. You can specify -x multiple times just like -b option.

For example, we can undo discovery by passing same option to -b and -x as follows

buildtest bd -b tutorials/ -x tutorials/
$ buildtest bd -b tutorials/ -x tutorials/
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:27                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
Unable to detect any buildspec files to process.

Buildtest will stop immediately if there are no Buildspecs to process, this is true if you were to specify files instead of directory.

In this example, we build all buildspecs in a directory but exclude a file. Buildtest will report the excluded buildspecs in the output and -x option can be appended multiple times. The -x can be a file or a directory and behaves similar to -b option.

buildtest bd -b general_tests/configuration/ -x general_tests/configuration/ulimits.yml
$ buildtest bd -b general_tests/configuration/ -x general_tests/configuration/ulimits.yml
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:27                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/systemd-default-target.yml                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/kernel_state.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/ulimits.yml                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/disk_usage.yml                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 4                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                              Excluded buildspecs                               
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/ulimits.yml                                      ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  4
Total Excluded Buildspecs:  1
Detected Buildspecs after exclusion:  3
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 3
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/systemd-default-target.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/kernel_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/disk_usage.yml: VALID
Total builder objects created: 3
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ systemd_ │ script │ generic. │ None     │ None  │ None  │ check if │ /home/d │
│ default_ │        │ local.ba │          │       │       │ default  │ ocs/che │
│ target/9 │        │ sh       │          │       │       │ target   │ ckouts/ │
│ 19296ae  │        │          │          │       │       │ is       │ readthe │
│          │        │          │          │       │       │ multi-us │ docs.or │
│          │        │          │          │       │       │ er.targe │ g/user_ │
│          │        │          │          │       │       │ t        │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/s │
│          │        │          │          │       │       │          │ ystemd- │
│          │        │          │          │       │       │          │ default │
│          │        │          │          │       │       │          │ -target │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ kernel_s │ script │ generic. │ None     │ None  │ None  │ Retrieve │ /home/d │
│ wapusage │        │ local.ba │          │       │       │ Kernel   │ ocs/che │
│ /b6230dc │        │ sh       │          │       │       │ Swap     │ ckouts/ │
│ 5        │        │          │          │       │       │ Usage    │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/k │
│          │        │          │          │       │       │          │ ernel_s │
│          │        │          │          │       │       │          │ tate.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ root_dis │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ k_usage/ │        │ local.ba │          │       │       │ root     │ ocs/che │
│ 7ee0c4f5 │        │ sh       │          │       │       │ disk     │ ckouts/ │
│          │        │          │          │       │       │ usage    │ readthe │
│          │        │          │          │       │       │ and      │ docs.or │
│          │        │          │          │       │       │ report   │ g/user_ │
│          │        │          │          │       │       │ if it    │ builds/ │
│          │        │          │          │       │       │ exceeds  │ buildte │
│          │        │          │          │       │       │ threshol │ st/chec │
│          │        │          │          │       │       │ d        │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/d │
│          │        │          │          │       │       │          │ isk_usa │
│          │        │          │          │       │       │          │ ge.yml  │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
systemd_default_target/919296ae: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/919296ae
kernel_swapusage/b6230dc5: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/kernel_state/kernel_swapusage/b6230dc5
root_disk_usage/7ee0c4f5: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/disk_usage/root_disk_usage/7ee0c4f5
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
root_disk_usage/7ee0c4f5 does not have any dependencies adding test to queue
kernel_swapusage/b6230dc5 does not have any dependencies adding test to queue
systemd_default_target/919296ae does not have any dependencies adding test to queue
     Builders Eligible to Run      
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                         ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ systemd_default_target/919296ae │
│ root_disk_usage/7ee0c4f5        │
│ kernel_swapusage/b6230dc5       │
└─────────────────────────────────┘
systemd_default_target/919296ae: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/919296ae/stage
systemd_default_target/919296ae: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/919296ae: failed to submit job with returncode: 1
────────────── Error Message for systemd_default_target/919296ae ───────────────

systemd_default_target/919296ae: Detected failure in running test, will attempt to retry test: 1 times
systemd_default_target/919296ae: Run - 1/1
systemd_default_target/919296ae: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/919296ae: failed to submit job with returncode: 1
systemd_default_target/919296ae: Test completed in 0.019596 seconds with returncode: 1
systemd_default_target/919296ae: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/919296ae/systemd_default_target.out
systemd_default_target/919296ae: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/919296ae/systemd_default_target.err
root_disk_usage/7ee0c4f5: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/disk_usage/root_disk_usage/7ee0c4f5/stage
root_disk_usage/7ee0c4f5: Running Test via command: bash root_disk_usage_build.sh
root_disk_usage/7ee0c4f5: Test completed in 0.009589 seconds with returncode: 0
root_disk_usage/7ee0c4f5: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/disk_usage/root_disk_usage/7ee0c4f5/root_disk_usage.out
root_disk_usage/7ee0c4f5: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/disk_usage/root_disk_usage/7ee0c4f5/root_disk_usage.err
kernel_swapusage/b6230dc5: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/kernel_state/kernel_swapusage/b6230dc5/stage
kernel_swapusage/b6230dc5: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/b6230dc5: failed to submit job with returncode: 255
───────────────── Error Message for kernel_swapusage/b6230dc5 ──────────────────
sysctl: cannot stat /proc/sys/kernel/swapusage: No such file or directory

kernel_swapusage/b6230dc5: Detected failure in running test, will attempt to retry test: 1 times
kernel_swapusage/b6230dc5: Run - 1/1
kernel_swapusage/b6230dc5: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/b6230dc5: failed to submit job with returncode: 255
kernel_swapusage/b6230dc5: Test completed in 0.016543 seconds with returncode: 255
kernel_swapusage/b6230dc5: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/kernel_state/kernel_swapusage/b6230dc5/kernel_swapusage.out
kernel_swapusage/b6230dc5: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/kernel_state/kernel_swapusage/b6230dc5/kernel_swapusage.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ kernel_swapusage/b6230d │ generic.local.bash │ FAIL   │ 255        │ 0.017   │
│ c5                      │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ root_disk_usage/7ee0c4f │ generic.local.bash │ PASS   │ 0          │ 0.010   │
│ 5                       │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ systemd_default_target/ │ generic.local.bash │ FAIL   │ 1          │ 0.020   │
│ 919296ae                │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 1/3 Percentage: 33.333%
Failed Tests: 2/3 Percentage: 66.667%


Adding 3 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_r1q3o2vd.log

Building By Tags (buildtest build --tags)

buildtest can perform builds by tags by using --tags or short option (-t). In order to use this feature, buildtest must load buildspecs in cache which can be run via buildtest buildspec find. If you are unsure of the available tags you can run buildtest buildspec find --tags or let buildtest tab-complete the available tags. For more details see Querying buildspec tags.

Let’s assume you want to build by tag name network, buildtest will attempt to find all tests that contain tags: ['network'] in the buildspec which is loaded in the buildcache cache. If a test matches the tag name, the test will be picked up during the discover process.

buildtest build -t network
$ buildtest build -t network
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:28                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/tags_example.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                           Buildspecs By Tag=network                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/tags_example.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/tags_example.yml: VALID
Total builder objects created: 2
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ string_t │ script │ generic. │ None     │ None  │ None  │ tags can │ /home/d │
│ ag/1b398 │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ e6d      │        │ sh       │          │       │       │ string   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/tags_ │
│          │        │          │          │       │       │          │ example │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ list_of_ │ script │ generic. │ None     │ None  │ None  │ tags can │ /home/d │
│ strings_ │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ tags/b4c │        │ sh       │          │       │       │ list of  │ ckouts/ │
│ 806ef    │        │          │          │       │       │ strings  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/tags_ │
│          │        │          │          │       │       │          │ example │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
string_tag/1b398e6d: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/string_tag/1b398e6d
list_of_strings_tags/b4c806ef: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/list_of_strings_tags/b4c806ef
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
list_of_strings_tags/b4c806ef does not have any dependencies adding test to queue
string_tag/1b398e6d does not have any dependencies adding test to queue
    Builders Eligible to Run     
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                       ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ list_of_strings_tags/b4c806ef │
│ string_tag/1b398e6d           │
└───────────────────────────────┘
list_of_strings_tags/b4c806ef: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/list_of_strings_tags/b4c806ef/stage
list_of_strings_tags/b4c806ef: Running Test via command: bash list_of_strings_tags_build.sh
list_of_strings_tags/b4c806ef: Test completed in 3.031179 seconds with returncode: 0
list_of_strings_tags/b4c806ef: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/list_of_strings_tags/b4c806ef/list_of_strings_tags.out
list_of_strings_tags/b4c806ef: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/list_of_strings_tags/b4c806ef/list_of_strings_tags.err
string_tag/1b398e6d: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/string_tag/1b398e6d/stage
string_tag/1b398e6d: Running Test via command: bash string_tag_build.sh
string_tag/1b398e6d: Test completed in 0.006482 seconds with returncode: 0
string_tag/1b398e6d: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/string_tag/1b398e6d/string_tag.out
string_tag/1b398e6d: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/string_tag/1b398e6d/string_tag.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ list_of_strings_tags/b4 │ generic.local.bash │ PASS   │ 0          │ 3.031   │
│ c806ef                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ string_tag/1b398e6d     │ generic.local.bash │ PASS   │ 0          │ 0.006   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 2/2 Percentage: 100.000%
Failed Tests: 0/2 Percentage: 0.000%


Adding 2 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_for2m__4.log

You can build by multiple tags by specifying --tags multiple times. In next example we build all tests with tag name pass and python.

buildtest build -t python -t pass
$ buildtest build -t python -t pass
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:32                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 3                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  3
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  3
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 3
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-shell.yml: VALID
Total builder objects created: 6
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/98a01 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ c3f      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/d1424 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 9c6      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /aaf818d │        │          │          │       │       │ failed   │ readthe │
│ 1        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/ad5 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 77af5    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello    │ /home/d │
│ ello/e2c │        │ local.ba │          │       │       │ World    │ ocs/che │
│ dcc6e    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-hello │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/77b5 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 6f51     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-shell │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/98a01c3f: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/98a01c3f
exit1_pass/d14249c6: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/d14249c6
returncode_list_mismatch/aaf818d1: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/aaf818d1
returncode_int_match/ad577af5: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/ad577af5
python_hello/e2cdcc6e: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/e2cdcc6e
circle_area/77b56f51: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/77b56f51
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_list_mismatch/aaf818d1 does not have any dependencies adding test to queue
circle_area/77b56f51 does not have any dependencies adding test to queue
exit1_pass/d14249c6 does not have any dependencies adding test to queue
python_hello/e2cdcc6e does not have any dependencies adding test to queue
exit1_fail/98a01c3f does not have any dependencies adding test to queue
returncode_int_match/ad577af5 does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ returncode_list_mismatch/aaf818d1 │
│ circle_area/77b56f51              │
│ exit1_pass/d14249c6               │
│ python_hello/e2cdcc6e             │
│ exit1_fail/98a01c3f               │
│ returncode_int_match/ad577af5     │
└───────────────────────────────────┘
returncode_list_mismatch/aaf818d1: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/aaf818d1/stage
returncode_list_mismatch/aaf818d1: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/aaf818d1: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/aaf818d1 ──────────────

returncode_list_mismatch/aaf818d1: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/aaf818d1: Run - 1/1
returncode_list_mismatch/aaf818d1: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/aaf818d1: failed to submit job with returncode: 2
returncode_list_mismatch/aaf818d1: Test completed in 0.014543 seconds with returncode: 2
returncode_list_mismatch/aaf818d1: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/aaf818d1/returncode_list_mismatch.out
returncode_list_mismatch/aaf818d1: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/aaf818d1/returncode_list_mismatch.err
returncode_list_mismatch/aaf818d1: Checking returncode - 2 is matched in list [1, 3]
circle_area/77b56f51: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/77b56f51/stage
circle_area/77b56f51: Running Test via command: bash circle_area_build.sh
circle_area/77b56f51: Test completed in 0.03125 seconds with returncode: 0
circle_area/77b56f51: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/77b56f51/circle_area.out
circle_area/77b56f51: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/77b56f51/circle_area.err
exit1_pass/d14249c6: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/d14249c6/stage
exit1_pass/d14249c6: Running Test via command: bash exit1_pass_build.sh
exit1_pass/d14249c6: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/d14249c6 ─────────────────────

exit1_pass/d14249c6: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/d14249c6: Run - 1/1
exit1_pass/d14249c6: Running Test via command: bash exit1_pass_build.sh
exit1_pass/d14249c6: failed to submit job with returncode: 1
exit1_pass/d14249c6: Test completed in 0.014288 seconds with returncode: 1
exit1_pass/d14249c6: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/d14249c6/exit1_pass.out
exit1_pass/d14249c6: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/d14249c6/exit1_pass.err
exit1_pass/d14249c6: Checking returncode - 1 is matched in list [1]
python_hello/e2cdcc6e: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/e2cdcc6e/stage
python_hello/e2cdcc6e: Running Test via command: bash python_hello_build.sh
python_hello/e2cdcc6e: Test completed in 0.030056 seconds with returncode: 0
python_hello/e2cdcc6e: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/e2cdcc6e/python_hello.out
python_hello/e2cdcc6e: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/e2cdcc6e/python_hello.err
exit1_fail/98a01c3f: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/98a01c3f/stage
exit1_fail/98a01c3f: Running Test via command: bash exit1_fail_build.sh
exit1_fail/98a01c3f: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/98a01c3f ─────────────────────

exit1_fail/98a01c3f: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/98a01c3f: Run - 1/1
exit1_fail/98a01c3f: Running Test via command: bash exit1_fail_build.sh
exit1_fail/98a01c3f: failed to submit job with returncode: 1
exit1_fail/98a01c3f: Test completed in 0.014143 seconds with returncode: 1
exit1_fail/98a01c3f: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/98a01c3f/exit1_fail.out
exit1_fail/98a01c3f: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/98a01c3f/exit1_fail.err
returncode_int_match/ad577af5: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/ad577af5/stage
returncode_int_match/ad577af5: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/ad577af5: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/ad577af5 ────────────────

returncode_int_match/ad577af5: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/ad577af5: Run - 1/1
returncode_int_match/ad577af5: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/ad577af5: failed to submit job with returncode: 128
returncode_int_match/ad577af5: Test completed in 0.014516 seconds with returncode: 128
returncode_int_match/ad577af5: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/ad577af5/returncode_int_match.out
returncode_int_match/ad577af5: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/ad577af5/returncode_int_match.err
returncode_int_match/ad577af5: Checking returncode - 128 is matched in list [128]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ circle_area/77b56f51    │ generic.local.bash │ PASS   │ 0          │ 0.031   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.015   │
│ h/aaf818d1              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/d14249c6     │ generic.local.bash │ PASS   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ python_hello/e2cdcc6e   │ generic.local.bash │ PASS   │ 0          │ 0.030   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/ad │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ 577af5                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/98a01c3f     │ generic.local.bash │ FAIL   │ 1          │ 0.014   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 4/6 Percentage: 66.667%
Failed Tests: 2/6 Percentage: 33.333%


Adding 6 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_54wk4j9u.log

When multiple tags are specified, we search each tag independently and if it’s found in the buildspec cache we retrieve the buildspec file and add file to queue. This queue is a list of buildspecs that buildtest will process (i.e parse, build, run). You can query tags from buildspecs cache to see all available tags by running buildtest buildspec find --tags.

Note

The --tags is used for discovering buildspec file and not filtering tests by tag.

You can specify multiple tag names as a comma separated list. In the example below we build all tests with tag names pass, fail and network.

buildtest build -t pass,fail -t network
$ buildtest build -t pass,fail -t network
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:33                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/tags_example.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=fail                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                           Buildspecs By Tag=network                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/tags_example.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  2
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/tags_example.yml: VALID
Total builder objects created: 6
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/838d3 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ e21      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/5eb23 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 67a      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /59d1443 │        │          │          │       │       │ failed   │ readthe │
│ 7        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/a28 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 5ae97    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ string_t │ script │ generic. │ None     │ None  │ None  │ tags can │ /home/d │
│ ag/32f7f │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ 525      │        │ sh       │          │       │       │ string   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/tags_ │
│          │        │          │          │       │       │          │ example │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ list_of_ │ script │ generic. │ None     │ None  │ None  │ tags can │ /home/d │
│ strings_ │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ tags/d3a │        │ sh       │          │       │       │ list of  │ ckouts/ │
│ 373a5    │        │          │          │       │       │ strings  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/tags_ │
│          │        │          │          │       │       │          │ example │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/838d3e21: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/838d3e21
exit1_pass/5eb2367a: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/5eb2367a
returncode_list_mismatch/59d14437: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/59d14437
returncode_int_match/a285ae97: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/a285ae97
string_tag/32f7f525: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/string_tag/32f7f525
list_of_strings_tags/d3a373a5: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/list_of_strings_tags/d3a373a5
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
string_tag/32f7f525 does not have any dependencies adding test to queue
list_of_strings_tags/d3a373a5 does not have any dependencies adding test to queue
returncode_int_match/a285ae97 does not have any dependencies adding test to queue
exit1_fail/838d3e21 does not have any dependencies adding test to queue
returncode_list_mismatch/59d14437 does not have any dependencies adding test to queue
exit1_pass/5eb2367a does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ string_tag/32f7f525               │
│ exit1_pass/5eb2367a               │
│ returncode_int_match/a285ae97     │
│ exit1_fail/838d3e21               │
│ returncode_list_mismatch/59d14437 │
│ list_of_strings_tags/d3a373a5     │
└───────────────────────────────────┘
string_tag/32f7f525: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/string_tag/32f7f525/stage
string_tag/32f7f525: Running Test via command: bash string_tag_build.sh
string_tag/32f7f525: Test completed in 0.006451 seconds with returncode: 0
string_tag/32f7f525: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/string_tag/32f7f525/string_tag.out
string_tag/32f7f525: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/string_tag/32f7f525/string_tag.err
exit1_pass/5eb2367a: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/5eb2367a/stage
exit1_pass/5eb2367a: Running Test via command: bash exit1_pass_build.sh
exit1_pass/5eb2367a: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/5eb2367a ─────────────────────

exit1_pass/5eb2367a: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/5eb2367a: Run - 1/1
exit1_pass/5eb2367a: Running Test via command: bash exit1_pass_build.sh
exit1_pass/5eb2367a: failed to submit job with returncode: 1
exit1_pass/5eb2367a: Test completed in 0.014057 seconds with returncode: 1
exit1_pass/5eb2367a: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/5eb2367a/exit1_pass.out
exit1_pass/5eb2367a: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/5eb2367a/exit1_pass.err
exit1_pass/5eb2367a: Checking returncode - 1 is matched in list [1]
returncode_int_match/a285ae97: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/a285ae97/stage
returncode_int_match/a285ae97: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/a285ae97: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/a285ae97 ────────────────

returncode_int_match/a285ae97: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/a285ae97: Run - 1/1
returncode_int_match/a285ae97: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/a285ae97: failed to submit job with returncode: 128
returncode_int_match/a285ae97: Test completed in 0.014263 seconds with returncode: 128
returncode_int_match/a285ae97: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/a285ae97/returncode_int_match.out
returncode_int_match/a285ae97: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/a285ae97/returncode_int_match.err
returncode_int_match/a285ae97: Checking returncode - 128 is matched in list [128]
exit1_fail/838d3e21: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/838d3e21/stage
exit1_fail/838d3e21: Running Test via command: bash exit1_fail_build.sh
exit1_fail/838d3e21: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/838d3e21 ─────────────────────

exit1_fail/838d3e21: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/838d3e21: Run - 1/1
exit1_fail/838d3e21: Running Test via command: bash exit1_fail_build.sh
exit1_fail/838d3e21: failed to submit job with returncode: 1
exit1_fail/838d3e21: Test completed in 0.014024 seconds with returncode: 1
exit1_fail/838d3e21: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/838d3e21/exit1_fail.out
exit1_fail/838d3e21: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/838d3e21/exit1_fail.err
returncode_list_mismatch/59d14437: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/59d14437/stage
returncode_list_mismatch/59d14437: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/59d14437: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/59d14437 ──────────────

returncode_list_mismatch/59d14437: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/59d14437: Run - 1/1
returncode_list_mismatch/59d14437: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/59d14437: failed to submit job with returncode: 2
returncode_list_mismatch/59d14437: Test completed in 0.014198 seconds with returncode: 2
returncode_list_mismatch/59d14437: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/59d14437/returncode_list_mismatch.out
returncode_list_mismatch/59d14437: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/59d14437/returncode_list_mismatch.err
returncode_list_mismatch/59d14437: Checking returncode - 2 is matched in list [1, 3]
list_of_strings_tags/d3a373a5: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/list_of_strings_tags/d3a373a5/stage
list_of_strings_tags/d3a373a5: Running Test via command: bash list_of_strings_tags_build.sh
list_of_strings_tags/d3a373a5: Test completed in 3.028416 seconds with returncode: 0
list_of_strings_tags/d3a373a5: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/list_of_strings_tags/d3a373a5/list_of_strings_tags.out
list_of_strings_tags/d3a373a5: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/list_of_strings_tags/d3a373a5/list_of_strings_tags.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ returncode_int_match/a2 │ generic.local.bash │ PASS   │ 128        │ 0.014   │
│ 85ae97                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/5eb2367a     │ generic.local.bash │ PASS   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ string_tag/32f7f525     │ generic.local.bash │ PASS   │ 0          │ 0.006   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/838d3e21     │ generic.local.bash │ FAIL   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.014   │
│ h/59d14437              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ list_of_strings_tags/d3 │ generic.local.bash │ PASS   │ 0          │ 3.028   │
│ a373a5                  │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 4/6 Percentage: 66.667%
Failed Tests: 2/6 Percentage: 33.333%


Adding 6 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_7mg_49tl.log

You can combine --tags with --buildspec to discover buildspecs in a single command. buildtest will query tags and buildspecs independently and combine all discovered buildspecs together.

buildtest build --tags pass --buildspec tutorials/python-hello.yml
$ buildtest build --tags pass --buildspec tutorials/python-hello.yml
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:36                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  2
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: VALID
Total builder objects created: 5
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello    │ /home/d │
│ ello/b6f │        │ local.ba │          │       │       │ World    │ ocs/che │
│ 76c82    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-hello │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/5e633 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 579      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/15a2d │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 05b      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /92029bf │        │          │          │       │       │ failed   │ readthe │
│ a        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/12b │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ a96bc    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
python_hello/b6f76c82: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/b6f76c82
exit1_fail/5e633579: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/5e633579
exit1_pass/15a2d05b: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/15a2d05b
returncode_list_mismatch/92029bfa: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/92029bfa
returncode_int_match/12ba96bc: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/12ba96bc
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
python_hello/b6f76c82 does not have any dependencies adding test to queue
returncode_int_match/12ba96bc does not have any dependencies adding test to queue
exit1_fail/5e633579 does not have any dependencies adding test to queue
exit1_pass/15a2d05b does not have any dependencies adding test to queue
returncode_list_mismatch/92029bfa does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ python_hello/b6f76c82             │
│ returncode_int_match/12ba96bc     │
│ exit1_fail/5e633579               │
│ exit1_pass/15a2d05b               │
│ returncode_list_mismatch/92029bfa │
└───────────────────────────────────┘
python_hello/b6f76c82: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/b6f76c82/stage
python_hello/b6f76c82: Running Test via command: bash python_hello_build.sh
python_hello/b6f76c82: Test completed in 0.030473 seconds with returncode: 0
python_hello/b6f76c82: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/b6f76c82/python_hello.out
python_hello/b6f76c82: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/b6f76c82/python_hello.err
returncode_int_match/12ba96bc: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/12ba96bc/stage
returncode_int_match/12ba96bc: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/12ba96bc: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/12ba96bc ────────────────

returncode_int_match/12ba96bc: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/12ba96bc: Run - 1/1
returncode_int_match/12ba96bc: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/12ba96bc: failed to submit job with returncode: 128
returncode_int_match/12ba96bc: Test completed in 0.014542 seconds with returncode: 128
returncode_int_match/12ba96bc: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/12ba96bc/returncode_int_match.out
returncode_int_match/12ba96bc: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/12ba96bc/returncode_int_match.err
returncode_int_match/12ba96bc: Checking returncode - 128 is matched in list [128]
exit1_fail/5e633579: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/5e633579/stage
exit1_fail/5e633579: Running Test via command: bash exit1_fail_build.sh
exit1_fail/5e633579: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/5e633579 ─────────────────────

exit1_fail/5e633579: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/5e633579: Run - 1/1
exit1_fail/5e633579: Running Test via command: bash exit1_fail_build.sh
exit1_fail/5e633579: failed to submit job with returncode: 1
exit1_fail/5e633579: Test completed in 0.014129 seconds with returncode: 1
exit1_fail/5e633579: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/5e633579/exit1_fail.out
exit1_fail/5e633579: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/5e633579/exit1_fail.err
exit1_pass/15a2d05b: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/15a2d05b/stage
exit1_pass/15a2d05b: Running Test via command: bash exit1_pass_build.sh
exit1_pass/15a2d05b: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/15a2d05b ─────────────────────

exit1_pass/15a2d05b: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/15a2d05b: Run - 1/1
exit1_pass/15a2d05b: Running Test via command: bash exit1_pass_build.sh
exit1_pass/15a2d05b: failed to submit job with returncode: 1
exit1_pass/15a2d05b: Test completed in 0.014157 seconds with returncode: 1
exit1_pass/15a2d05b: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/15a2d05b/exit1_pass.out
exit1_pass/15a2d05b: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/15a2d05b/exit1_pass.err
exit1_pass/15a2d05b: Checking returncode - 1 is matched in list [1]
returncode_list_mismatch/92029bfa: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/92029bfa/stage
returncode_list_mismatch/92029bfa: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/92029bfa: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/92029bfa ──────────────

returncode_list_mismatch/92029bfa: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/92029bfa: Run - 1/1
returncode_list_mismatch/92029bfa: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/92029bfa: failed to submit job with returncode: 2
returncode_list_mismatch/92029bfa: Test completed in 0.01433 seconds with returncode: 2
returncode_list_mismatch/92029bfa: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/92029bfa/returncode_list_mismatch.out
returncode_list_mismatch/92029bfa: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/92029bfa/returncode_list_mismatch.err
returncode_list_mismatch/92029bfa: Checking returncode - 2 is matched in list [1, 3]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fail/5e633579     │ generic.local.bash │ FAIL   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ python_hello/b6f76c82   │ generic.local.bash │ PASS   │ 0          │ 0.030   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/15a2d05b     │ generic.local.bash │ PASS   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.014   │
│ h/92029bfa              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/12 │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ ba96bc                  │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 3/5 Percentage: 60.000%
Failed Tests: 2/5 Percentage: 40.000%


Adding 5 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_1oxrpvby.log

As you may see, there are several ways to build buildspecs with buildtest. Tags is great way to build a whole collection of tests if you don’t know path to all the files. You can specify multiple tags per buildspecs to classify how test can be run.

Exclude by tags (buildtest build --exclude-tags)

You can exclude tests by tagname using --exclude-tags option or short option (-xt). Any tests that contains the tags field is searched with list of excluded tags. If there is a match, the test is skipped. If the test does not contain tags key, the test will be included to run.

Let’s take an example buildspec file which contains 4 tests.

buildspecs:

  exit1_fail:
    executor: generic.local.bash
    type: script
    description: exit 1 by default is FAIL
    tags: [tutorials, fail]
    run: exit 1

  exit1_pass:
    executor: generic.local.bash
    type: script
    description: report exit 1 as PASS
    run: exit 1
    tags: [tutorials, pass]
    status:
      returncode: [1]

  returncode_list_mismatch:
    executor: generic.local.bash
    type: script
    description: exit 2 failed since it failed to match returncode 1
    run: exit 2
    tags: [tutorials, fail]
    status:
      returncode: [1, 3]

  returncode_int_match:
    executor: generic.local.bash
    type: script
    description: exit 128 matches returncode 128
    run: exit 128
    tags: [tutorials, pass]
    status:
      returncode: 128

We will demonstrate this feature, by excluding tests with tag name pass. Take note all tests are run except for those that include pass.

buildtest build -b tutorials/test_status/pass_returncode.yml -xt pass
$ buildtest build -b tutorials/test_status/pass_returncode.yml -xt pass
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:37                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Skipping test: exit1_pass from buildspec: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml due to tag exclusion: ['pass']
Skipping test: returncode_int_match from buildspec: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml due to tag exclusion: ['pass']
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: VALID
Total builder objects created: 2
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/85bd9 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 5c3      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /e7c7795 │        │          │          │       │       │ failed   │ readthe │
│ 9        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/85bd95c3: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/85bd95c3
returncode_list_mismatch/e7c77959: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/e7c77959
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/85bd95c3 does not have any dependencies adding test to queue
returncode_list_mismatch/e7c77959 does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/85bd95c3               │
│ returncode_list_mismatch/e7c77959 │
└───────────────────────────────────┘
exit1_fail/85bd95c3: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/85bd95c3/stage
exit1_fail/85bd95c3: Running Test via command: bash exit1_fail_build.sh
exit1_fail/85bd95c3: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/85bd95c3 ─────────────────────

exit1_fail/85bd95c3: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/85bd95c3: Run - 1/1
exit1_fail/85bd95c3: Running Test via command: bash exit1_fail_build.sh
exit1_fail/85bd95c3: failed to submit job with returncode: 1
exit1_fail/85bd95c3: Test completed in 0.014427 seconds with returncode: 1
exit1_fail/85bd95c3: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/85bd95c3/exit1_fail.out
exit1_fail/85bd95c3: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/85bd95c3/exit1_fail.err
returncode_list_mismatch/e7c77959: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/e7c77959/stage
returncode_list_mismatch/e7c77959: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/e7c77959: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/e7c77959 ──────────────

returncode_list_mismatch/e7c77959: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/e7c77959: Run - 1/1
returncode_list_mismatch/e7c77959: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/e7c77959: failed to submit job with returncode: 2
returncode_list_mismatch/e7c77959: Test completed in 0.014065 seconds with returncode: 2
returncode_list_mismatch/e7c77959: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/e7c77959/returncode_list_mismatch.out
returncode_list_mismatch/e7c77959: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/e7c77959/returncode_list_mismatch.err
returncode_list_mismatch/e7c77959: Checking returncode - 2 is matched in list [1, 3]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.014   │
│ h/e7c77959              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/85bd95c3     │ generic.local.bash │ FAIL   │ 1          │ 0.014   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 0/2 Percentage: 0.000%
Failed Tests: 2/2 Percentage: 100.000%


Adding 2 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_drytlv_f.log

We can specify tags as a comma separated list to specify multiple tags so one can do -xt tag1,tag2 which is equivalent to -xt tag1 -xt tag2. You may even mix the two formats together where you can exclude tags: tag1, tag2, tag3 by running -xt tag1 -xt tag2,tag3.

In this example below, we will exclude both pass and fail tags which results in error message where no test are eligible to run after exclusion has been applied.

buildtest build -b tutorials/test_status/pass_returncode.yml -xt pass,fail
$ buildtest build -b tutorials/test_status/pass_returncode.yml -xt pass,fail
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:38                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Skipping test: exit1_fail from buildspec: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml due to tag exclusion: ['pass', 'fail']
Skipping test: exit1_pass from buildspec: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml due to tag exclusion: ['pass', 'fail']
Skipping test: returncode_list_mismatch from buildspec: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml due to tag exclusion: ['pass', 'fail']
Skipping test: returncode_int_match from buildspec: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml due to tag exclusion: ['pass', 'fail']
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: VALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
└──────────────────────────────────────────────────────────────────────────────┘

buildtest is unable to create any tests because there are no valid buildspecs. 

Please see logfile: /tmp/tmpyzdfrhut/var/buildtest.log

Building by Test Names (buildtest build --name)

You can discover buildspecs by test names using the --name option or short option -n. This feature can be used if you want to run a particular test and not worrying about the buildspec file that is belongs to. Note we have tab completion builtin to this feature to show list of tests that are found in the buildspec cache. Shown below is an example output of the tab completion listing all available tests

  buildtest build --name _bin_bash_shell
_bin_bash_shell                   current_user_queue                lsf_version                       runtime_test_pass                 status_regex_stderr_pass
_bin_sh_shell                     dead_nodes                        metric_file_regex                 sh_shell                          status_regex_stdout_fail
add_numbers                       display_hosts_format              metric_file_regex_invalid_file    shell_options                     status_regex_stdout_pass
always_fail                       display_lsf_hosts                 metric_regex_example              show_accounts                     status_returncode_by_executors
always_pass                       executors_sbatch_declaration      multiple_executors                show_all_jobs                     stream_test
assert_contains_fail              executors_vars_env_declaration    node_down_fail_list_reason        show_host_groups                  string_tag
assert_eq_example                 exit1_fail                        nodes_state_allocated             show_jobs                         summary_example
assert_eq_invalid_metric          exit1_pass                        nodes_state_completing            show_lsf_configuration            symlink_test
assert_eq_mismatch                fail_test                         nodes_state_down                  show_lsf_models                   systemd_default_target
assert_gt_example                 file_and_dir_checks               nodes_state_idle                  show_lsf_queues                   tcsh_env_declaration
assert_le_example                 file_count_by_expression          nodes_state_reboot                show_lsf_queues_current_user      test1
assert_lt_example                 file_count_by_extension           pass_and_fail_test                show_lsf_queues_formatted         test2

Let’s try building an example test by name hello_world. Take note in output, buildtest will show a breakdown of buildspecs discovered by the test name.

buildtest build --name hello_world
$ buildtest build --name hello_world
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:39                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/hello_world.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                         Buildspecs by Name=hello_world                         
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/hello_world.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/hello_world.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/3979 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 6002     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/hello │
│          │        │          │          │       │       │          │ _world. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
hello_world/39796002: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/39796002
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
hello_world/39796002 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/39796002 │
└──────────────────────┘
hello_world/39796002: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/39796002/stage
hello_world/39796002: Running Test via command: bash hello_world_build.sh
hello_world/39796002: Test completed in 0.005796 seconds with returncode: 0
hello_world/39796002: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/39796002/hello_world.out
hello_world/39796002: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/39796002/hello_world.err
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ hello_world/39796002 │ generic.local.bash │ PASS   │ 0          │ 0.006   │
└──────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 1/1 Percentage: 100.000%
Failed Tests: 0/1 Percentage: 0.000%


Adding 1 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_rkt6zxxg.log

You can specify multiple test names just specify the option multiple times. In example below we will demonstrate this example

buildtest build --name add_numbers --name summary_example
$ buildtest build --name add_numbers --name summary_example
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:39                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/summary_example.yml                                                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/add_numbers.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                         Buildspecs by Name=add_numbers                         
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/add_numbers.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                       Buildspecs by Name=summary_example                       
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/summary_example.yml                                                ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  2
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/summary_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/add_numbers.yml: VALID
Total builder objects created: 2
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ summary_ │ script │ generic. │ None     │ None  │ None  │ The      │ /home/d │
│ example/ │        │ local.ba │          │       │       │ summary  │ ocs/che │
│ e7042336 │        │ sh       │          │       │       │ field    │ ckouts/ │
│          │        │          │          │       │       │ can be a │ readthe │
│          │        │          │          │       │       │ multi-li │ docs.or │
│          │        │          │          │       │       │ ne       │ g/user_ │
│          │        │          │          │       │       │ string   │ builds/ │
│          │        │          │          │       │       │ and      │ buildte │
│          │        │          │          │       │       │ exceed   │ st/chec │
│          │        │          │          │       │       │ 80 char  │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/summa │
│          │        │          │          │       │       │          │ ry_exam │
│          │        │          │          │       │       │          │ ple.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ add_numb │ script │ generic. │ None     │ None  │ None  │ Add X+Y  │ /home/d │
│ ers/2aea │        │ local.ba │          │       │       │          │ ocs/che │
│ 31d5     │        │ sh       │          │       │       │          │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/add_n │
│          │        │          │          │       │       │          │ umbers. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
summary_example/e7042336: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/summary_example/summary_example/e7042336
add_numbers/2aea31d5: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/add_numbers/add_numbers/2aea31d5
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
add_numbers/2aea31d5 does not have any dependencies adding test to queue
summary_example/e7042336 does not have any dependencies adding test to queue
  Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                  ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ add_numbers/2aea31d5     │
│ summary_example/e7042336 │
└──────────────────────────┘
add_numbers/2aea31d5: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/add_numbers/add_numbers/2aea31d5/stage
add_numbers/2aea31d5: Running Test via command: bash add_numbers_build.sh
add_numbers/2aea31d5: Test completed in 0.005768 seconds with returncode: 0
add_numbers/2aea31d5: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/add_numbers/add_numbers/2aea31d5/add_numbers.out
add_numbers/2aea31d5: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/add_numbers/add_numbers/2aea31d5/add_numbers.err
summary_example/e7042336: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/summary_example/summary_example/e7042336/stage
summary_example/e7042336: Running Test via command: bash summary_example_build.sh
summary_example/e7042336: Test completed in 0.006115 seconds with returncode: 0
summary_example/e7042336: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/summary_example/summary_example/e7042336/summary_example.out
summary_example/e7042336: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/summary_example/summary_example/e7042336/summary_example.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ add_numbers/2aea31d5    │ generic.local.bash │ PASS   │ 0          │ 0.006   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ summary_example/e704233 │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ 6                       │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 2/2 Percentage: 100.000%
Failed Tests: 0/2 Percentage: 0.000%


Adding 2 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_1wh5yag4.log

Please note, buildtest will discover buildspecs given the test name (--name) option and then run all tests defined in the buildspec file. A buildspec file may include several tests and by default all of them are run. This option is not meant to filter buildspecs by the selected test, but only a means for discovering buildspecs by test name.

Building by Executors (buildtest build --executor)

Every buildspec is associated to an executor which is responsible for running the test. You can instruct buildtest to run all tests by given executor via --executor option or short option -e. For instance, if you want to build all test associated to executor generic.local.csh you can run:

$ buildtest build --executor generic.local.csh

buildtest will query buildspec cache for the executor name and retrieve a list of buildspecs with matching executor name. To see a list of available executors in buildspec cache see querying buildspec executor.

Note

By default all tests are run in buildspec file. The buildtest build --executor option discovers buildspecs if one of the test matches the executor name. The --executor option is not filtering tests but only discovering buildspecs.

In this example we run all tests that are associated to generic.local.csh executor.

buildtest build --executor generic.local.csh
$ buildtest build --executor generic.local.csh
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:40                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/csh_shell_examples.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/environment.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                    Buildspecs by Executor=generic.local.csh                    
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/csh_shell_examples.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/environment.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  2
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/csh_shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/environment.yml: VALID
Total builder objects created: 4
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ csh_shel │ script │ generic. │ None     │ None  │ None  │ csh      │ /home/d │
│ l/a15525 │        │ local.cs │          │       │       │ shell    │ ocs/che │
│ 5e       │        │ h        │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/csh_s │
│          │        │          │          │       │       │          │ hell_ex │
│          │        │          │          │       │       │          │ amples. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ bash_env │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ _variabl │        │ local.ba │          │       │       │ environm │ ocs/che │
│ es/175b9 │        │ sh       │          │       │       │ ent      │ ckouts/ │
│ 0f5      │        │          │          │       │       │ variable │ readthe │
│          │        │          │          │       │       │ s in     │ docs.or │
│          │        │          │          │       │       │ default  │ g/user_ │
│          │        │          │          │       │       │ shell    │ builds/ │
│          │        │          │          │       │       │ (bash)   │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/envir │
│          │        │          │          │       │       │          │ onment. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ csh_env_ │ script │ generic. │ None     │ None  │ None  │ csh      │ /home/d │
│ declarat │        │ local.cs │          │       │       │ shell    │ ocs/che │
│ ion/418c │        │ h        │          │       │       │ example  │ ckouts/ │
│ 9ef0     │        │          │          │       │       │ to       │ readthe │
│          │        │          │          │       │       │ declare  │ docs.or │
│          │        │          │          │       │       │ environm │ g/user_ │
│          │        │          │          │       │       │ ent      │ builds/ │
│          │        │          │          │       │       │ variable │ buildte │
│          │        │          │          │       │       │ s        │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/envir │
│          │        │          │          │       │       │          │ onment. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ tcsh_env │ script │ generic. │ None     │ None  │ None  │ tcsh     │ /home/d │
│ _declara │        │ local.cs │          │       │       │ shell    │ ocs/che │
│ tion/07c │        │ h        │          │       │       │ example  │ ckouts/ │
│ ad17b    │        │          │          │       │       │ to       │ readthe │
│          │        │          │          │       │       │ declare  │ docs.or │
│          │        │          │          │       │       │ environm │ g/user_ │
│          │        │          │          │       │       │ ent      │ builds/ │
│          │        │          │          │       │       │ variable │ buildte │
│          │        │          │          │       │       │ s        │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/envir │
│          │        │          │          │       │       │          │ onment. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
csh_shell/a155255e: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.csh/csh_shell_examples/csh_shell/a155255e
bash_env_variables/175b90f5: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/environment/bash_env_variables/175b90f5
csh_env_declaration/418c9ef0: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.csh/environment/csh_env_declaration/418c9ef0
tcsh_env_declaration/07cad17b: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.csh/environment/tcsh_env_declaration/07cad17b
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
bash_env_variables/175b90f5 does not have any dependencies adding test to queue
csh_shell/a155255e does not have any dependencies adding test to queue
csh_env_declaration/418c9ef0 does not have any dependencies adding test to queue
tcsh_env_declaration/07cad17b does not have any dependencies adding test to queue
    Builders Eligible to Run     
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                       ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ bash_env_variables/175b90f5   │
│ csh_shell/a155255e            │
│ csh_env_declaration/418c9ef0  │
│ tcsh_env_declaration/07cad17b │
└───────────────────────────────┘
bash_env_variables/175b90f5: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/environment/bash_env_variables/175b90f5/stage
bash_env_variables/175b90f5: Running Test via command: bash bash_env_variables_build.sh
bash_env_variables/175b90f5: Test completed in 0.007496 seconds with returncode: 0
bash_env_variables/175b90f5: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/environment/bash_env_variables/175b90f5/bash_env_variables.out
bash_env_variables/175b90f5: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/environment/bash_env_variables/175b90f5/bash_env_variables.err
csh_shell/a155255e: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.csh/csh_shell_examples/csh_shell/a155255e/stage
csh_shell/a155255e: Running Test via command: bash csh_shell_build.sh
csh_shell/a155255e: Test completed in 2.1955 seconds with returncode: 0
csh_shell/a155255e: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.csh/csh_shell_examples/csh_shell/a155255e/csh_shell.out
csh_shell/a155255e: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.csh/csh_shell_examples/csh_shell/a155255e/csh_shell.err
csh_env_declaration/418c9ef0: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.csh/environment/csh_env_declaration/418c9ef0/stage
csh_env_declaration/418c9ef0: Running Test via command: bash csh_env_declaration_build.sh
csh_env_declaration/418c9ef0: Test completed in 2.194209 seconds with returncode: 0
csh_env_declaration/418c9ef0: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.csh/environment/csh_env_declaration/418c9ef0/csh_env_declaration.out
csh_env_declaration/418c9ef0: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.csh/environment/csh_env_declaration/418c9ef0/csh_env_declaration.err
tcsh_env_declaration/07cad17b: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.csh/environment/tcsh_env_declaration/07cad17b/stage
tcsh_env_declaration/07cad17b: Running Test via command: bash tcsh_env_declaration_build.sh
tcsh_env_declaration/07cad17b: Test completed in 0.013458 seconds with returncode: 0
tcsh_env_declaration/07cad17b: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.csh/environment/tcsh_env_declaration/07cad17b/tcsh_env_declaration.out
tcsh_env_declaration/07cad17b: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.csh/environment/tcsh_env_declaration/07cad17b/tcsh_env_declaration.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ tcsh_env_declaration/07 │ generic.local.csh  │ PASS   │ 0          │ 0.013   │
│ cad17b                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ bash_env_variables/175b │ generic.local.bash │ PASS   │ 0          │ 0.007   │
│ 90f5                    │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ csh_env_declaration/418 │ generic.local.csh  │ PASS   │ 0          │ 2.194   │
│ c9ef0                   │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ csh_shell/a155255e      │ generic.local.csh  │ PASS   │ 0          │ 2.196   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 4/4 Percentage: 100.000%
Failed Tests: 0/4 Percentage: 0.000%


Adding 4 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_gph88ds7.log

Note

The --executor option can be appended to discover tests by multiple executors.

Filtering Buildspecs (buildtest build --filter)

buildtest has support for filtering buildspecs based on certain attributes defined in buildspec file. Upon Discover Buildspecs, buildtest will filter out tests or entire buildspec files. The buildtest build --filter option can be used to filter tests where the format is key1=val1;key2=val2,val3. The semicolon is used to specify multiple filter fields and the comma is used to specify multiple values for a given field.

To see all available filter fields you can run buildtest build --helpfilter and buildtest will report the fields followed by description.

buildtest build --helpfilter
$ buildtest build --helpfilter
                 Buildtest Filters                  
┏━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Field       ┃ Description                        ┃
┡━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ tags        │ Filter tests by 'tag' field        │
│ type        │ Filter test by 'type' field        │
│ maintainers │ Filter test by 'maintainers' field │
└─────────────┴────────────────────────────────────┘

In this example, we will discover all buildspecs based on tagname pass and then filter each test by tagname pass specified by --filter tags=pass.

buildtest build -t pass --filter tags=pass
$ buildtest build -t pass --filter tags=pass
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:45                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
[exit1_fail][/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml]: test is skipped because it is not in tag filter list: {'tags': ['pass']}
[returncode_list_mismatch][/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml]: test is skipped because it is not in tag filter list: {'tags': ['pass']}
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: VALID
Total builder objects created: 2
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/22522 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ dff      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/7b7 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 199f8    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_pass/22522dff: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/22522dff
returncode_int_match/7b7199f8: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/7b7199f8
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_pass/22522dff does not have any dependencies adding test to queue
returncode_int_match/7b7199f8 does not have any dependencies adding test to queue
    Builders Eligible to Run     
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                       ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_pass/22522dff           │
│ returncode_int_match/7b7199f8 │
└───────────────────────────────┘
exit1_pass/22522dff: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/22522dff/stage
exit1_pass/22522dff: Running Test via command: bash exit1_pass_build.sh
exit1_pass/22522dff: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/22522dff ─────────────────────

exit1_pass/22522dff: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/22522dff: Run - 1/1
exit1_pass/22522dff: Running Test via command: bash exit1_pass_build.sh
exit1_pass/22522dff: failed to submit job with returncode: 1
exit1_pass/22522dff: Test completed in 0.014402 seconds with returncode: 1
exit1_pass/22522dff: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/22522dff/exit1_pass.out
exit1_pass/22522dff: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/22522dff/exit1_pass.err
exit1_pass/22522dff: Checking returncode - 1 is matched in list [1]
returncode_int_match/7b7199f8: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/7b7199f8/stage
returncode_int_match/7b7199f8: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/7b7199f8: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/7b7199f8 ────────────────

returncode_int_match/7b7199f8: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/7b7199f8: Run - 1/1
returncode_int_match/7b7199f8: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/7b7199f8: failed to submit job with returncode: 128
returncode_int_match/7b7199f8: Test completed in 0.014696 seconds with returncode: 128
returncode_int_match/7b7199f8: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/7b7199f8/returncode_int_match.out
returncode_int_match/7b7199f8: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/7b7199f8/returncode_int_match.err
returncode_int_match/7b7199f8: Checking returncode - 128 is matched in list [128]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_pass/22522dff     │ generic.local.bash │ PASS   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/7b │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ 7199f8                  │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 2/2 Percentage: 100.000%
Failed Tests: 0/2 Percentage: 0.000%


Adding 2 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_t_46lmqk.log

buildtest can run filter tests by maintainers, this can be useful if you want to run tests that you are maintainer. The maintainers field is set per buildspec and not each test. You can filter maintiners via --filter maintainers=<MAINTAINER_NAME>. If the maintainers field is not specified the buildspec will be filtered out if --filter maintainers is specified. In this next example, we will build all tests for maintainer @shahzebsiddiqui.

buildtest build -b tutorials --filter maintainers=@shahzebsiddiqui
$ buildtest build -b tutorials --filter maintainers=@shahzebsiddiqui
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:46                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/job_dependency/ex1.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/containers/run_commands.yml                                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_exists_with_number.yml                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/assert_le.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_count_pattern.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/specify_regex_type.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/metrics_regex_with_invalid_linenum.yml                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/maintainers_example.yml                                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_and_dir_check.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/tags_example.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/assert_eq_exceptions.yml                               ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/summary_example.yml                                                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/assert_lt.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/missing_required_in_metrics.yml                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/multi_executors/executors_var_env_declaration.yml                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/metrics_regex.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/burstbuffer_datawarp_executors.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/job_dependency/ex2.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/assert_ne.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/invalid_metrics.yml                                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/gcc_version.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_exists_exception.yml                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/metrics_file_regex_with_invalid_linenum.yml                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/invalid_metric_name.yml                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/containers/container_executor/ubuntu.yml                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/linecount.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/multi_executors/executor_regex_script.yml                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/is_symlink.yml                                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/invalid_buildspec_section.yml                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/containers/bind_mounts.yml                                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/assert_gt.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/job_dependency/ex4.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/multi_executors/executor_scheduler.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_count_filetype.yml                                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/assert_ge.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/mode.yml                                               ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/containers/hello_world.yml                                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/contains.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/add_numbers.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/invalid_executor.yml                                               ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/compilation/hello_world_compilation.yml                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/compilation/compiler_exclude.yml                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_count.yml                                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/shell_examples.yml                                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/environment.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/skip_tests.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/runtime_status_test.yml                                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/metrics_regex_with_linenum.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/vars.yml                                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/assert_range.yml                                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/invalid_tags.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_linecount_invalid.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_count_file_traverse_limit.yml                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/containers/hello_world_singularity.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_linecount_failure.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/containers/run_script.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/exists.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/metrics_file_regex_invalid_file.yml                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/csh_shell_examples.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/shebang.yml                                                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/regex_on_filename.yml                                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/explicit_state.yml                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/job_dependency/ex3.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/containers/container_executor/python_container.yml                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/metrics_with_regex_type.yml                                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/compilation/stream.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/metrics_file_regex_with_linenum.yml                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/skip_buildspec.yml                                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_linecount.yml                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/sleep.yml                                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/hello_world.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/multi_executors/status_by_executors.yml                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/status_regex.yml                                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/assert_eq.yml                                          ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 77                                                                    ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  77
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  77
────────────────────────────── Parsing Buildspecs ──────────────────────────────
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/job_dependency/ex1.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/run_commands.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_exists_with_number.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_le.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_count_pattern.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/specify_regex_type.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_regex_with_invalid_linenum.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/maintainers_example.yml: unable to find maintainer: ['@shahzebsiddiqui'] in buildspec which contains the following maintainers: ['@johndoe', '@bobsmith'] therefore we skip this test
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_and_dir_check.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/tags_example.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_eq_exceptions.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/summary_example.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_lt.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/multi_executors/executors_var_env_declaration.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_regex.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/burstbuffer_datawarp_executors.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/job_dependency/ex2.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_ne.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/gcc_version.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_file_regex_with_invalid_linenum.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/container_executor/ubuntu.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/linecount.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/multi_executors/executor_regex_script.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/is_symlink.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-hello.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/bind_mounts.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_gt.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/job_dependency/ex4.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/multi_executors/executor_scheduler.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_count_filetype.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_ge.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/mode.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/hello_world.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/contains.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/add_numbers.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/invalid_executor.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/compilation/hello_world_compilation.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/compilation/compiler_exclude.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_count.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/shell_examples.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/environment.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/skip_tests.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/runtime_status_test.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_regex_with_linenum.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-shell.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_range.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_count_file_traverse_limit.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/hello_world_singularity.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_linecount_failure.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/run_script.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/exists.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_file_regex_invalid_file.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/csh_shell_examples.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/shebang.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/regex_on_filename.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/explicit_state.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/job_dependency/ex3.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/container_executor/python_container.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_with_regex_type.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/compilation/stream.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_file_regex_with_linenum.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/skip_buildspec.yml: skipping all test since 'skip' is defined
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_linecount.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/sleep.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/multi_executors/status_by_executors.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/status_regex.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_eq.yml: skipping test because 'maintainers' field is not specified in buildspec.
Valid Buildspecs: 70
Invalid Buildspecs: 7
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/job_dependency/ex1.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/run_commands.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_exists_with_number.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_le.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_count_pattern.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/specify_regex_type.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_regex_with_invalid_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/maintainers_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_and_dir_check.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/tags_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_eq_exceptions.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/summary_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_lt.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/multi_executors/executors_var_env_declaration.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/burstbuffer_datawarp_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/job_dependency/ex2.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_ne.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/gcc_version.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_file_regex_with_invalid_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/container_executor/ubuntu.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/linecount.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/multi_executors/executor_regex_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/is_symlink.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/bind_mounts.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_gt.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/job_dependency/ex4.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/multi_executors/executor_scheduler.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_count_filetype.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_ge.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/mode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/contains.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/add_numbers.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/invalid_executor.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/compilation/hello_world_compilation.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/compilation/compiler_exclude.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_count.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/environment.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/skip_tests.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/runtime_status_test.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_regex_with_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_range.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_count_file_traverse_limit.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/hello_world_singularity.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_linecount_failure.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/run_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/exists.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_file_regex_invalid_file.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/csh_shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/shebang.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/regex_on_filename.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/explicit_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/job_dependency/ex3.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/container_executor/python_container.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_with_regex_type.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/compilation/stream.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_file_regex_with_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/skip_buildspec.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_linecount.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/sleep.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/multi_executors/status_by_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/status_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_eq.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/missing_required_in_metrics.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/invalid_metrics.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_exists_exception.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/invalid_metric_name.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/invalid_buildspec_section.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/invalid_tags.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_linecount_invalid.yml: INVALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
└──────────────────────────────────────────────────────────────────────────────┘
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/4102 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 0a80     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/hello │
│          │        │          │          │       │       │          │ _world. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
hello_world/41020a80: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/41020a80
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
hello_world/41020a80 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/41020a80 │
└──────────────────────┘
hello_world/41020a80: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/41020a80/stage
hello_world/41020a80: Running Test via command: bash hello_world_build.sh
hello_world/41020a80: Test completed in 0.005826 seconds with returncode: 0
hello_world/41020a80: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/41020a80/hello_world.out
hello_world/41020a80: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/41020a80/hello_world.err
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ hello_world/41020a80 │ generic.local.bash │ PASS   │ 0          │ 0.006   │
└──────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 1/1 Percentage: 100.000%
Failed Tests: 0/1 Percentage: 0.000%


Adding 1 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_gs9o_isw.log

Please see Query Maintainers (buildtest buildspec maintainers) on list of maintainers and breakdown of buildspecs by maintainers.

We can also filter tests by type field in the buildspec which corresponds to the schema type. In this next example, we filter all tests by script schema type by passing option --filter type=script.

buildtest build -b tutorials --filter type=script --dry-run
$ buildtest build -b tutorials --filter type=script --dry-run
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:47                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/job_dependency/ex4.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_exists_exception.yml                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_linecount_invalid.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/compilation/compiler_exclude.yml                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/invalid_metric_name.yml                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/linecount.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/containers/hello_world_singularity.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/containers/container_executor/ubuntu.yml                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/missing_required_in_metrics.yml                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_count_filetype.yml                                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/metrics_regex.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/vars.yml                                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/multi_executors/status_by_executors.yml                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/job_dependency/ex2.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/assert_lt.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/shebang.yml                                                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/csh_shell_examples.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_exists_with_number.yml                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_count.yml                                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/compilation/stream.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/multi_executors/executor_regex_script.yml                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/invalid_buildspec_section.yml                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/assert_ge.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/metrics_file_regex_with_linenum.yml                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_and_dir_check.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/assert_gt.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/skip_buildspec.yml                                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/metrics_with_regex_type.yml                                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/metrics_file_regex_with_invalid_linenum.yml                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/invalid_metrics.yml                                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/assert_ne.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/explicit_state.yml                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/assert_eq_exceptions.yml                               ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/containers/run_script.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/assert_le.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/job_dependency/ex3.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/burstbuffer_datawarp_executors.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/add_numbers.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/invalid_executor.yml                                               ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/tags_example.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/runtime_status_test.yml                                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_count_pattern.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/regex_on_filename.yml                                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/containers/hello_world.yml                                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/containers/bind_mounts.yml                                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/metrics_file_regex_invalid_file.yml                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_linecount.yml                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/is_symlink.yml                                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/metrics_regex_with_linenum.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/multi_executors/executor_scheduler.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/environment.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/sleep.yml                                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/metrics/metrics_regex_with_invalid_linenum.yml                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/shell_examples.yml                                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/multi_executors/executors_var_env_declaration.yml                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/compilation/hello_world_compilation.yml                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/containers/run_commands.yml                                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/maintainers_example.yml                                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/assert_eq.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/skip_tests.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/hello_world.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/mode.yml                                               ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/gcc_version.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/job_dependency/ex1.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_linecount_failure.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/contains.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/containers/container_executor/python_container.yml                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/exists.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/file_count_file_traverse_limit.yml                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/perf_checks/assert_range.yml                                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/summary_example.yml                                                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/status_regex.yml                                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/specify_regex_type.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/invalid_tags.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 77                                                                    ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  77
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  77
────────────────────────────── Parsing Buildspecs ──────────────────────────────
[compiler_exclude_example][/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/compilation/compiler_exclude.yml]: Unable to find any compilers based on regular expression: ['gcc'] so no tests were created.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/skip_buildspec.yml: skipping all test since 'skip' is defined
skip: skipping test due to 'skip' property.
Valid Buildspecs: 70
Invalid Buildspecs: 7
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/job_dependency/ex4.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/compilation/compiler_exclude.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/linecount.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/hello_world_singularity.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/container_executor/ubuntu.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_count_filetype.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/multi_executors/status_by_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/job_dependency/ex2.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_lt.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/shebang.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/csh_shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_exists_with_number.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_count.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/compilation/stream.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/multi_executors/executor_regex_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_ge.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_file_regex_with_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_and_dir_check.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_gt.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/skip_buildspec.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_with_regex_type.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_file_regex_with_invalid_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_ne.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/explicit_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_eq_exceptions.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/run_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_le.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/job_dependency/ex3.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/burstbuffer_datawarp_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/add_numbers.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/invalid_executor.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/tags_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/runtime_status_test.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_count_pattern.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/regex_on_filename.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/bind_mounts.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_file_regex_invalid_file.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_linecount.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/is_symlink.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_regex_with_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/multi_executors/executor_scheduler.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/environment.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/sleep.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_regex_with_invalid_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/multi_executors/executors_var_env_declaration.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/compilation/hello_world_compilation.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/run_commands.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/maintainers_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_eq.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/skip_tests.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/mode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/gcc_version.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/job_dependency/ex1.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_linecount_failure.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/contains.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/container_executor/python_container.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/exists.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_count_file_traverse_limit.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_range.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/summary_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/status_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/specify_regex_type.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_exists_exception.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_linecount_invalid.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/invalid_metric_name.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/missing_required_in_metrics.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/invalid_buildspec_section.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/invalid_metrics.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/invalid_tags.yml: INVALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
└──────────────────────────────────────────────────────────────────────────────┘
Total builder objects created: 115
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descrip ┃ buildspe ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ tion    ┃ cs       ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━┩
│ runtime_ │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ test/077 │        │ local.ba │          │       │       │ test    │ cs/check │
│ b7a35    │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ sleep 5 │ dthedocs │
│          │        │          │          │       │       │ second  │ .org/use │
│          │        │          │          │       │       │ but     │ r_builds │
│          │        │          │          │       │       │ will    │ /buildte │
│          │        │          │          │       │       │ fail    │ st/check │
│          │        │          │          │       │       │ due to  │ outs/lat │
│          │        │          │          │       │       │ runtime │ est/tuto │
│          │        │          │          │       │       │ 2sec    │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex4 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ runtime_ │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ test_pas │        │ local.ba │          │       │       │ test    │ cs/check │
│ s/d8c9ef │        │ sh       │          │       │       │ will    │ outs/rea │
│ 8a       │        │          │          │       │       │ run     │ dthedocs │
│          │        │          │          │       │       │ when    │ .org/use │
│          │        │          │          │       │       │ runtime │ r_builds │
│          │        │          │          │       │       │ _test_p │ /buildte │
│          │        │          │          │       │       │ ass is  │ st/check │
│          │        │          │          │       │       │ PASS    │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex4 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ runtime_ │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ test_fai │        │ local.ba │          │       │       │ test    │ cs/check │
│ l/29cdbb │        │ sh       │          │       │       │ will    │ outs/rea │
│ 2d       │        │          │          │       │       │ run     │ dthedocs │
│          │        │          │          │       │       │ when    │ .org/use │
│          │        │          │          │       │       │ runtime │ r_builds │
│          │        │          │          │       │       │ _test_p │ /buildte │
│          │        │          │          │       │       │ ass is  │ st/check │
│          │        │          │          │       │       │ FAIL    │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex4 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ linecoun │ script │ generic. │ None     │ None  │ None  │ Write   │ /home/do │
│ t_stdout │        │ local.ba │          │       │       │ 10      │ cs/check │
│ /3ccb63f │        │ sh       │          │       │       │ lines   │ outs/rea │
│ 6        │        │          │          │       │       │ to      │ dthedocs │
│          │        │          │          │       │       │ stdout  │ .org/use │
│          │        │          │          │       │       │ and run │ r_builds │
│          │        │          │          │       │       │ linecou │ /buildte │
│          │        │          │          │       │       │ nt      │ st/check │
│          │        │          │          │       │       │ check   │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/lineco │
│          │        │          │          │       │       │         │ unt.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ linecoun │ script │ generic. │ None     │ None  │ None  │ Write   │ /home/do │
│ t_stderr │        │ local.ba │          │       │       │ 10      │ cs/check │
│ _mismatc │        │ sh       │          │       │       │ lines   │ outs/rea │
│ h/c4255c │        │          │          │       │       │ to      │ dthedocs │
│ f2       │        │          │          │       │       │ stderr  │ .org/use │
│          │        │          │          │       │       │ and run │ r_builds │
│          │        │          │          │       │       │ linecou │ /buildte │
│          │        │          │          │       │       │ nt      │ st/check │
│          │        │          │          │       │       │ check   │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/lineco │
│          │        │          │          │       │       │         │ unt.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ rld_sing │        │ local.ba │          │       │       │ hello-w │ cs/check │
│ ularity/ │        │ sh       │          │       │       │ orld    │ outs/rea │
│ 4a10eb75 │        │          │          │       │       │ contain │ dthedocs │
│          │        │          │          │       │       │ er      │ .org/use │
│          │        │          │          │       │       │ using   │ r_builds │
│          │        │          │          │       │       │ singula │ /buildte │
│          │        │          │          │       │       │ rity    │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ ntainers │
│          │        │          │          │       │       │         │ /hello_w │
│          │        │          │          │       │       │         │ orld_sin │
│          │        │          │          │       │       │         │ gularity │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ Count   │ /home/do │
│ nt_by_fi │        │ local.ba │          │       │       │ the     │ cs/check │
│ letype/e │        │ sh       │          │       │       │ number  │ outs/rea │
│ 720b545  │        │          │          │       │       │ of      │ dthedocs │
│          │        │          │          │       │       │ directo │ .org/use │
│          │        │          │          │       │       │ ries    │ r_builds │
│          │        │          │          │       │       │ and     │ /buildte │
│          │        │          │          │       │       │ symboli │ st/check │
│          │        │          │          │       │       │ c links │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_c │
│          │        │          │          │       │       │         │ ount_fil │
│          │        │          │          │       │       │         │ etype.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_r │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ egex_exa │        │ local.ba │          │       │       │ result  │ cs/check │
│ mple/cbe │        │ sh       │          │       │       │ metric  │ outs/rea │
│ 1b158    │        │          │          │       │       │ from    │ dthedocs │
│          │        │          │          │       │       │ output  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_re │
│          │        │          │          │       │       │         │ gex.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_f │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ ile_rege │        │ local.ba │          │       │       │ result  │ cs/check │
│ x/9bcdb6 │        │ sh       │          │       │       │ metric  │ outs/rea │
│ 17       │        │          │          │       │       │ from    │ dthedocs │
│          │        │          │          │       │       │ file    │ .org/use │
│          │        │          │          │       │       │ path    │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_re │
│          │        │          │          │       │       │         │ gex.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare │ /home/do │
│ s_bash/5 │        │ local.ba │          │       │       │ shell   │ cs/check │
│ 34d4565  │        │ sh       │          │       │       │ variabl │ outs/rea │
│          │        │          │          │       │       │ es in   │ dthedocs │
│          │        │          │          │       │       │ bash    │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/va │
│          │        │          │          │       │       │         │ rs.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ define  │ /home/do │
│ eturncod │        │ local.ba │          │       │       │ status  │ cs/check │
│ e_by_exe │        │ sh       │          │       │       │ per     │ outs/rea │
│ cutors/0 │        │          │          │       │       │ executo │ dthedocs │
│ 42784ab  │        │          │          │       │       │ r type. │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/mu │
│          │        │          │          │       │       │         │ lti_exec │
│          │        │          │          │       │       │         │ utors/st │
│          │        │          │          │       │       │         │ atus_by_ │
│          │        │          │          │       │       │         │ executor │
│          │        │          │          │       │       │         │ s.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ define  │ /home/do │
│ eturncod │        │ local.sh │          │       │       │ status  │ cs/check │
│ e_by_exe │        │          │          │       │       │ per     │ outs/rea │
│ cutors/5 │        │          │          │       │       │ executo │ dthedocs │
│ 90ac839  │        │          │          │       │       │ r type. │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/mu │
│          │        │          │          │       │       │         │ lti_exec │
│          │        │          │          │       │       │         │ utors/st │
│          │        │          │          │       │       │         │ atus_by_ │
│          │        │          │          │       │       │         │ executor │
│          │        │          │          │       │       │         │ s.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test1/89 │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ b46f39   │        │ local.ba │          │       │       │ test    │ cs/check │
│          │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ pass    │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ exit 1  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex2 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test2/76 │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ 0278bf   │        │ local.ba │          │       │       │ test    │ cs/check │
│          │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ run if  │ dthedocs │
│          │        │          │          │       │       │ test1   │ .org/use │
│          │        │          │          │       │       │ has     │ r_builds │
│          │        │          │          │       │       │ returnc │ /buildte │
│          │        │          │          │       │       │ ode 1   │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex2 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test3/62 │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ 3e375c   │        │ local.ba │          │       │       │ test    │ cs/check │
│          │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ run if  │ dthedocs │
│          │        │          │          │       │       │ test1   │ .org/use │
│          │        │          │          │       │       │ has     │ r_builds │
│          │        │          │          │       │       │ returnc │ /buildte │
│          │        │          │          │       │       │ ode 1   │ st/check │
│          │        │          │          │       │       │ and     │ outs/lat │
│          │        │          │          │       │       │ test2   │ est/tuto │
│          │        │          │          │       │       │ has     │ rials/jo │
│          │        │          │          │       │       │ returnc │ b_depend │
│          │        │          │          │       │       │ ode 2   │ ency/ex2 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_l │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ t_exampl │        │ local.ba │          │       │       │ stream  │ cs/check │
│ e/668fa7 │        │ sh       │          │       │       │ test    │ outs/rea │
│ a9       │        │          │          │       │       │ with    │ dthedocs │
│          │        │          │          │       │       │ metrics │ .org/use │
│          │        │          │          │       │       │ example │ r_builds │
│          │        │          │          │       │       │ using   │ /buildte │
│          │        │          │          │       │       │ assert  │ st/check │
│          │        │          │          │       │       │ less    │ outs/lat │
│          │        │          │          │       │       │ than    │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _lt.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_log │ script │ generic. │ None     │ None  │ None  │ customi │ /home/do │
│ in_sheba │        │ local.ba │          │       │       │ ze      │ cs/check │
│ ng/1dd26 │        │ sh       │          │       │       │ shebang │ outs/rea │
│ 209      │        │          │          │       │       │ line    │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ bash    │ r_builds │
│          │        │          │          │       │       │ login   │ /buildte │
│          │        │          │          │       │       │ shell   │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sh │
│          │        │          │          │       │       │         │ ebang.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_non │ script │ generic. │ None     │ None  │ None  │ customi │ /home/do │
│ login_sh │        │ local.ba │          │       │       │ ze      │ cs/check │
│ ebang/cd │        │ sh       │          │       │       │ shebang │ outs/rea │
│ 18cb68   │        │          │          │       │       │ line    │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ default │ r_builds │
│          │        │          │          │       │       │ bash    │ /buildte │
│          │        │          │          │       │       │ (nonlog │ st/check │
│          │        │          │          │       │       │ in)     │ outs/lat │
│          │        │          │          │       │       │ shell   │ est/tuto │
│          │        │          │          │       │       │         │ rials/sh │
│          │        │          │          │       │       │         │ ebang.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ csh_shel │ script │ generic. │ None     │ None  │ None  │ csh     │ /home/do │
│ l/2d492c │        │ local.cs │          │       │       │ shell   │ cs/check │
│ 2d       │        │ h        │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/cs │
│          │        │          │          │       │       │         │ h_shell_ │
│          │        │          │          │       │       │         │ examples │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_exi │ script │ generic. │ None     │ None  │ None  │ this    │ /home/do │
│ sts_pass │        │ local.ba │          │       │       │ test    │ cs/check │
│ /9bd1f07 │        │ sh       │          │       │       │ will    │ outs/rea │
│ 3        │        │          │          │       │       │ pass    │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_e │
│          │        │          │          │       │       │         │ xists_wi │
│          │        │          │          │       │       │         │ th_numbe │
│          │        │          │          │       │       │         │ r.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ file    │ /home/do │
│ nt_on_di │        │ local.ba │          │       │       │ count   │ cs/check │
│ rectory/ │        │ sh       │          │       │       │ check   │ outs/rea │
│ 83005588 │        │          │          │       │       │ in      │ dthedocs │
│          │        │          │          │       │       │ directo │ .org/use │
│          │        │          │          │       │       │ ry      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_c │
│          │        │          │          │       │       │         │ ount.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ file    │ /home/do │
│ nt_by_ex │        │ local.ba │          │       │       │ count   │ cs/check │
│ tension/ │        │ sh       │          │       │       │ by      │ outs/rea │
│ 47035c9e │        │          │          │       │       │ extensi │ dthedocs │
│          │        │          │          │       │       │ on      │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_c │
│          │        │          │          │       │       │         │ ount.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ stream_o │ script │ generic. │ builtin_ │ None  │ None  │ STREAM  │ /home/do │
│ penmp_c/ │        │ local.ba │ gcc      │       │       │ Microbe │ cs/check │
│ 050ab7c5 │        │ sh       │          │       │       │ nchmark │ outs/rea │
│          │        │          │          │       │       │  C Test │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ OpenMP  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ mpilatio │
│          │        │          │          │       │       │         │ n/stream │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ multiple │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ _executo │        │ local.ba │          │       │       │ test    │ cs/check │
│ rs/f8b8a │        │ sh       │          │       │       │ with    │ outs/rea │
│ a5d      │        │          │          │       │       │ executo │ dthedocs │
│          │        │          │          │       │       │ r       │ .org/use │
│          │        │          │          │       │       │ generic │ r_builds │
│          │        │          │          │       │       │ .local. │ /buildte │
│          │        │          │          │       │       │ bash    │ st/check │
│          │        │          │          │       │       │ and     │ outs/lat │
│          │        │          │          │       │       │ generic │ est/tuto │
│          │        │          │          │       │       │ .local. │ rials/mu │
│          │        │          │          │       │       │ sh      │ lti_exec │
│          │        │          │          │       │       │ executo │ utors/ex │
│          │        │          │          │       │       │ r       │ ecutor_r │
│          │        │          │          │       │       │         │ egex_scr │
│          │        │          │          │       │       │         │ ipt.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ multiple │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ _executo │        │ local.sh │          │       │       │ test    │ cs/check │
│ rs/e9e54 │        │          │          │       │       │ with    │ outs/rea │
│ 87c      │        │          │          │       │       │ executo │ dthedocs │
│          │        │          │          │       │       │ r       │ .org/use │
│          │        │          │          │       │       │ generic │ r_builds │
│          │        │          │          │       │       │ .local. │ /buildte │
│          │        │          │          │       │       │ bash    │ st/check │
│          │        │          │          │       │       │ and     │ outs/lat │
│          │        │          │          │       │       │ generic │ est/tuto │
│          │        │          │          │       │       │ .local. │ rials/mu │
│          │        │          │          │       │       │ sh      │ lti_exec │
│          │        │          │          │       │       │ executo │ utors/ex │
│          │        │          │          │       │       │ r       │ ecutor_r │
│          │        │          │          │       │       │         │ egex_scr │
│          │        │          │          │       │       │         │ ipt.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1  │ /home/do │
│ il/aa85d │        │ local.ba │          │       │       │ by      │ cs/check │
│ c96      │        │ sh       │          │       │       │ default │ outs/rea │
│          │        │          │          │       │       │ is FAIL │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/pass_r │
│          │        │          │          │       │       │         │ eturncod │
│          │        │          │          │       │       │         │ e.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report  │ /home/do │
│ ss/60799 │        │ local.ba │          │       │       │ exit 1  │ cs/check │
│ 72e      │        │ sh       │          │       │       │ as PASS │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/pass_r │
│          │        │          │          │       │       │         │ eturncod │
│          │        │          │          │       │       │         │ e.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2  │ /home/do │
│ de_list_ │        │ local.ba │          │       │       │ failed  │ cs/check │
│ mismatch │        │ sh       │          │       │       │ since   │ outs/rea │
│ /72fa163 │        │          │          │       │       │ it      │ dthedocs │
│ 8        │        │          │          │       │       │ failed  │ .org/use │
│          │        │          │          │       │       │ to      │ r_builds │
│          │        │          │          │       │       │ match   │ /buildte │
│          │        │          │          │       │       │ returnc │ st/check │
│          │        │          │          │       │       │ ode 1   │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/pass_r │
│          │        │          │          │       │       │         │ eturncod │
│          │        │          │          │       │       │         │ e.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit    │ /home/do │
│ de_int_m │        │ local.ba │          │       │       │ 128     │ cs/check │
│ atch/8c4 │        │ sh       │          │       │       │ matches │ outs/rea │
│ 90a29    │        │          │          │       │       │ returnc │ dthedocs │
│          │        │          │          │       │       │ ode 128 │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/pass_r │
│          │        │          │          │       │       │         │ eturncod │
│          │        │          │          │       │       │         │ e.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ stream_t │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ est/9393 │        │ local.ba │          │       │       │ stream  │ cs/check │
│ 3df2     │        │ sh       │          │       │       │ test    │ outs/rea │
│          │        │          │          │       │       │ with    │ dthedocs │
│          │        │          │          │       │       │ metrics │ .org/use │
│          │        │          │          │       │       │ example │ r_builds │
│          │        │          │          │       │       │ using   │ /buildte │
│          │        │          │          │       │       │ assert  │ st/check │
│          │        │          │          │       │       │ greater │ outs/lat │
│          │        │          │          │       │       │ equal   │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _ge.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_f │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ ile_rege │        │ local.ba │          │       │       │ result  │ cs/check │
│ x_with_l │        │ sh       │          │       │       │ metric  │ outs/rea │
│ inenum_e │        │          │          │       │       │ from    │ dthedocs │
│ xample/3 │        │          │          │       │       │ file    │ .org/use │
│ f54a521  │        │          │          │       │       │ path    │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_fi │
│          │        │          │          │       │       │         │ le_regex │
│          │        │          │          │       │       │         │ _with_li │
│          │        │          │          │       │       │         │ nenum.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_and │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ _dir_che │        │ local.ba │          │       │       │ check   │ cs/check │
│ cks/420e │        │ sh       │          │       │       │ for     │ outs/rea │
│ d1dc     │        │          │          │       │       │ files   │ dthedocs │
│          │        │          │          │       │       │ and     │ .org/use │
│          │        │          │          │       │       │ directo │ r_builds │
│          │        │          │          │       │       │ ries    │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_a │
│          │        │          │          │       │       │         │ nd_dir_c │
│          │        │          │          │       │       │         │ heck.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ combined │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ _file_an │        │ local.ba │          │       │       │ check   │ cs/check │
│ d_dir_ch │        │ sh       │          │       │       │ for     │ outs/rea │
│ ecks/5cd │        │          │          │       │       │ files   │ dthedocs │
│ b1b94    │        │          │          │       │       │ and     │ .org/use │
│          │        │          │          │       │       │ directo │ r_builds │
│          │        │          │          │       │       │ ries    │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_a │
│          │        │          │          │       │       │         │ nd_dir_c │
│          │        │          │          │       │       │         │ heck.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_g │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ t_exampl │        │ local.ba │          │       │       │ stream  │ cs/check │
│ e/e4b18f │        │ sh       │          │       │       │ test    │ outs/rea │
│ c0       │        │          │          │       │       │ with    │ dthedocs │
│          │        │          │          │       │       │ metrics │ .org/use │
│          │        │          │          │       │       │ example │ r_builds │
│          │        │          │          │       │       │ using   │ /buildte │
│          │        │          │          │       │       │ assert  │ st/check │
│          │        │          │          │       │       │ greater │ outs/lat │
│          │        │          │          │       │       │ than.   │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _gt.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_r │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ egex_exa │        │ local.ba │          │       │       │ metric  │ cs/check │
│ mple_wit │        │ sh       │          │       │       │ with    │ outs/rea │
│ h_re/08a │        │          │          │       │       │ differe │ dthedocs │
│ 1dc14    │        │          │          │       │       │ nt      │ .org/use │
│          │        │          │          │       │       │ regex   │ r_builds │
│          │        │          │          │       │       │ types   │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_wi │
│          │        │          │          │       │       │         │ th_regex │
│          │        │          │          │       │       │         │ _type.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_f │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ ile_rege │        │ local.ba │          │       │       │ result  │ cs/check │
│ x_with_l │        │ sh       │          │       │       │ metric  │ outs/rea │
│ inenum_f │        │          │          │       │       │ from    │ dthedocs │
│ ailure_e │        │          │          │       │       │ file    │ .org/use │
│ xample/7 │        │          │          │       │       │ path    │ r_builds │
│ def52e3  │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_fi │
│          │        │          │          │       │       │         │ le_regex │
│          │        │          │          │       │       │         │ _with_in │
│          │        │          │          │       │       │         │ valid_li │
│          │        │          │          │       │       │         │ nenum.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_n │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ e_exampl │        │ local.ba │          │       │       │ for     │ cs/check │
│ e/c135cc │        │ sh       │          │       │       │ assert  │ outs/rea │
│ f7       │        │          │          │       │       │ not     │ dthedocs │
│          │        │          │          │       │       │ equal   │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _ne.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ always_p │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ ass/314b │        │ local.sh │          │       │       │ test    │ cs/check │
│ 7d77     │        │          │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ always  │ dthedocs │
│          │        │          │          │       │       │ 'PASS'  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/explic │
│          │        │          │          │       │       │         │ it_state │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ always_f │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ ail/e46a │        │ local.sh │          │       │       │ test    │ cs/check │
│ f250     │        │          │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ always  │ dthedocs │
│          │        │          │          │       │       │ 'FAIL'  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/explic │
│          │        │          │          │       │       │         │ it_state │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test_fai │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ l_return │        │ local.sh │          │       │       │ test    │ cs/check │
│ code_mat │        │          │          │       │       │ will    │ outs/rea │
│ ch/76dfe │        │          │          │       │       │ 'FAIL'  │ dthedocs │
│ 4e1      │        │          │          │       │       │ even if │ .org/use │
│          │        │          │          │       │       │ we have │ r_builds │
│          │        │          │          │       │       │ returnc │ /buildte │
│          │        │          │          │       │       │ ode     │ st/check │
│          │        │          │          │       │       │ match   │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/explic │
│          │        │          │          │       │       │         │ it_state │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test_pas │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ s_return │        │ local.sh │          │       │       │ test    │ cs/check │
│ code_mis │        │          │          │       │       │ will    │ outs/rea │
│ match/49 │        │          │          │       │       │ 'PASS'  │ dthedocs │
│ e46f99   │        │          │          │       │       │ even if │ .org/use │
│          │        │          │          │       │       │ we have │ r_builds │
│          │        │          │          │       │       │ returnc │ /buildte │
│          │        │          │          │       │       │ ode     │ st/check │
│          │        │          │          │       │       │ mismatc │ outs/lat │
│          │        │          │          │       │       │ h       │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/explic │
│          │        │          │          │       │       │         │ it_state │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calcula │ /home/do │
│ rea/fb63 │        │ local.ba │          │       │       │ te      │ cs/check │
│ 498b     │        │ sh       │          │       │       │ circle  │ outs/rea │
│          │        │          │          │       │       │ of area │ dthedocs │
│          │        │          │          │       │       │ given a │ .org/use │
│          │        │          │          │       │       │ radius  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/py │
│          │        │          │          │       │       │         │ thon-she │
│          │        │          │          │       │       │         │ ll.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_e │ script │ generic. │ None     │ None  │ None  │ An      │ /home/do │
│ q_invali │        │ local.ba │          │       │       │ invalid │ cs/check │
│ d_metric │        │ sh       │          │       │       │ metric  │ outs/rea │
│ /89be369 │        │          │          │       │       │ name    │ dthedocs │
│ 8        │        │          │          │       │       │ will    │ .org/use │
│          │        │          │          │       │       │ cause   │ r_builds │
│          │        │          │          │       │       │ failure │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _eq_exce │
│          │        │          │          │       │       │         │ ptions.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_e │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ q_mismat │        │ local.ba │          │       │       │ test    │ cs/check │
│ ch/c9ba1 │        │ sh       │          │       │       │ will    │ outs/rea │
│ 382      │        │          │          │       │       │ fail    │ dthedocs │
│          │        │          │          │       │       │ because │ .org/use │
│          │        │          │          │       │       │ there   │ r_builds │
│          │        │          │          │       │       │ is a    │ /buildte │
│          │        │          │          │       │       │ mismatc │ st/check │
│          │        │          │          │       │       │ h in    │ outs/lat │
│          │        │          │          │       │       │ metric  │ est/tuto │
│          │        │          │          │       │       │ x       │ rials/pe │
│          │        │          │          │       │       │ assert  │ rf_check │
│          │        │          │          │       │       │ equalit │ s/assert │
│          │        │          │          │       │       │ y       │ _eq_exce │
│          │        │          │          │       │       │         │ ptions.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ run_scri │ script │ generic. │ None     │ None  │ None  │ run a   │ /home/do │
│ pt_in_co │        │ local.ba │          │       │       │ python  │ cs/check │
│ ntainer/ │        │ sh       │          │       │       │ script  │ outs/rea │
│ f61d8a06 │        │          │          │       │       │ in      │ dthedocs │
│          │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ er      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ ntainers │
│          │        │          │          │       │       │         │ /run_scr │
│          │        │          │          │       │       │         │ ipt.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_l │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ e_exampl │        │ local.ba │          │       │       │ stream  │ cs/check │
│ e/db699c │        │ sh       │          │       │       │ test    │ outs/rea │
│ bc       │        │          │          │       │       │ with    │ dthedocs │
│          │        │          │          │       │       │ metrics │ .org/use │
│          │        │          │          │       │       │ example │ r_builds │
│          │        │          │          │       │       │ using   │ /buildte │
│          │        │          │          │       │       │ assert  │ st/check │
│          │        │          │          │       │       │ less    │ outs/lat │
│          │        │          │          │       │       │ than    │ est/tuto │
│          │        │          │          │       │       │ equal   │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _le.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ pass_tes │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t/6d7a1a │        │ local.ba │          │       │       │ test    │ cs/check │
│ b4       │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ always  │ dthedocs │
│          │        │          │          │       │       │ pass    │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex3 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ fail_tes │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t/b01ccd │        │ local.ba │          │       │       │ test    │ cs/check │
│ d9       │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ run if  │ dthedocs │
│          │        │          │          │       │       │ test    │ .org/use │
│          │        │          │          │       │       │ 'pass_t │ r_builds │
│          │        │          │          │       │       │ est' is │ /buildte │
│          │        │          │          │       │       │ in      │ st/check │
│          │        │          │          │       │       │ state   │ outs/lat │
│          │        │          │          │       │       │ 'PASS'  │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex3 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ pass_and │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ _fail_te │        │ local.ba │          │       │       │ test    │ cs/check │
│ st/9814e │        │ sh       │          │       │       │ will    │ outs/rea │
│ c5c      │        │          │          │       │       │ run if  │ dthedocs │
│          │        │          │          │       │       │ pass_te │ .org/use │
│          │        │          │          │       │       │ st is   │ r_builds │
│          │        │          │          │       │       │ 'PASS'  │ /buildte │
│          │        │          │          │       │       │ and     │ st/check │
│          │        │          │          │       │       │ fail_te │ outs/lat │
│          │        │          │          │       │       │ st is   │ est/tuto │
│          │        │          │          │       │       │ 'FAIL'  │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex3 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ final_te │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ st/66881 │        │ local.ba │          │       │       │ will    │ cs/check │
│ 38d      │        │ sh       │          │       │       │ run     │ outs/rea │
│          │        │          │          │       │       │ after   │ dthedocs │
│          │        │          │          │       │       │ 'pass_t │ .org/use │
│          │        │          │          │       │       │ est',   │ r_builds │
│          │        │          │          │       │       │ 'fail_t │ /buildte │
│          │        │          │          │       │       │ est',   │ st/check │
│          │        │          │          │       │       │ and     │ outs/lat │
│          │        │          │          │       │       │ 'pass_a │ est/tuto │
│          │        │          │          │       │       │ nd_fail │ rials/jo │
│          │        │          │          │       │       │ _test'  │ b_depend │
│          │        │          │          │       │       │         │ ency/ex3 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ create_b │ script │ generic. │ None     │ None  │ None  │ Create  │ /home/do │
│ urst_buf │        │ local.ba │          │       │       │ a burst │ cs/check │
│ fer_exec │        │ sh       │          │       │       │ buffer  │ outs/rea │
│ utors/00 │        │          │          │       │       │ for     │ dthedocs │
│ 8c46a6   │        │          │          │       │       │ multipl │ .org/use │
│          │        │          │          │       │       │ e       │ r_builds │
│          │        │          │          │       │       │ executo │ /buildte │
│          │        │          │          │       │       │ rs      │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/bu │
│          │        │          │          │       │       │         │ rstbuffe │
│          │        │          │          │       │       │         │ r_datawa │
│          │        │          │          │       │       │         │ rp_execu │
│          │        │          │          │       │       │         │ tors.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ create_b │ script │ generic. │ None     │ None  │ None  │ Create  │ /home/do │
│ urst_buf │        │ local.sh │          │       │       │ a burst │ cs/check │
│ fer_exec │        │          │          │       │       │ buffer  │ outs/rea │
│ utors/cd │        │          │          │       │       │ for     │ dthedocs │
│ c7299d   │        │          │          │       │       │ multipl │ .org/use │
│          │        │          │          │       │       │ e       │ r_builds │
│          │        │          │          │       │       │ executo │ /buildte │
│          │        │          │          │       │       │ rs      │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/bu │
│          │        │          │          │       │       │         │ rstbuffe │
│          │        │          │          │       │       │         │ r_datawa │
│          │        │          │          │       │       │         │ rp_execu │
│          │        │          │          │       │       │         │ tors.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ add_numb │ script │ generic. │ None     │ None  │ None  │ Add X+Y │ /home/do │
│ ers/3c63 │        │ local.ba │          │       │       │         │ cs/check │
│ 1f2c     │        │ sh       │          │       │       │         │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/ad │
│          │        │          │          │       │       │         │ d_number │
│          │        │          │          │       │       │         │ s.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ string_t │ script │ generic. │ None     │ None  │ None  │ tags    │ /home/do │
│ ag/365b4 │        │ local.ba │          │       │       │ can be  │ cs/check │
│ c73      │        │ sh       │          │       │       │ a       │ outs/rea │
│          │        │          │          │       │       │ string  │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/ta │
│          │        │          │          │       │       │         │ gs_examp │
│          │        │          │          │       │       │         │ le.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ list_of_ │ script │ generic. │ None     │ None  │ None  │ tags    │ /home/do │
│ strings_ │        │ local.ba │          │       │       │ can be  │ cs/check │
│ tags/561 │        │ sh       │          │       │       │ a list  │ outs/rea │
│ a7775    │        │          │          │       │       │ of      │ dthedocs │
│          │        │          │          │       │       │ strings │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/ta │
│          │        │          │          │       │       │         │ gs_examp │
│          │        │          │          │       │       │         │ le.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ Run a   │ /home/do │
│ t_min_ma │        │ local.sh │          │       │       │ sleep   │ cs/check │
│ x/318130 │        │          │          │       │       │ job for │ outs/rea │
│ 44       │        │          │          │       │       │ 2       │ dthedocs │
│          │        │          │          │       │       │ seconds │ .org/use │
│          │        │          │          │       │       │ and     │ r_builds │
│          │        │          │          │       │       │ test    │ /buildte │
│          │        │          │          │       │       │ pass if │ st/check │
│          │        │          │          │       │       │ its     │ outs/lat │
│          │        │          │          │       │       │ within  │ est/tuto │
│          │        │          │          │       │       │ 1.0-3.0 │ rials/te │
│          │        │          │          │       │       │ sec     │ st_statu │
│          │        │          │          │       │       │         │ s/runtim │
│          │        │          │          │       │       │         │ e_status │
│          │        │          │          │       │       │         │ _test.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ Run a   │ /home/do │
│ t_min/71 │        │ local.sh │          │       │       │ sleep   │ cs/check │
│ 97318a   │        │          │          │       │       │ job for │ outs/rea │
│          │        │          │          │       │       │ 2       │ dthedocs │
│          │        │          │          │       │       │ seconds │ .org/use │
│          │        │          │          │       │       │ and     │ r_builds │
│          │        │          │          │       │       │ test    │ /buildte │
│          │        │          │          │       │       │ pass if │ st/check │
│          │        │          │          │       │       │ its     │ outs/lat │
│          │        │          │          │       │       │ exceeds │ est/tuto │
│          │        │          │          │       │       │ min     │ rials/te │
│          │        │          │          │       │       │ time of │ st_statu │
│          │        │          │          │       │       │ 1.0 sec │ s/runtim │
│          │        │          │          │       │       │         │ e_status │
│          │        │          │          │       │       │         │ _test.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ Run a   │ /home/do │
│ t_max/63 │        │ local.sh │          │       │       │ sleep   │ cs/check │
│ 87e96b   │        │          │          │       │       │ job for │ outs/rea │
│          │        │          │          │       │       │ 2       │ dthedocs │
│          │        │          │          │       │       │ seconds │ .org/use │
│          │        │          │          │       │       │ and     │ r_builds │
│          │        │          │          │       │       │ test    │ /buildte │
│          │        │          │          │       │       │ pass if │ st/check │
│          │        │          │          │       │       │ it's    │ outs/lat │
│          │        │          │          │       │       │ within  │ est/tuto │
│          │        │          │          │       │       │ max     │ rials/te │
│          │        │          │          │       │       │ time:   │ st_statu │
│          │        │          │          │       │       │ 5.0 sec │ s/runtim │
│          │        │          │          │       │       │         │ e_status │
│          │        │          │          │       │       │         │ _test.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t_min_fa │        │ local.sh │          │       │       │ test    │ cs/check │
│ il/7811c │        │          │          │       │       │ fails   │ outs/rea │
│ 5b9      │        │          │          │       │       │ because │ dthedocs │
│          │        │          │          │       │       │ it runs │ .org/use │
│          │        │          │          │       │       │ less    │ r_builds │
│          │        │          │          │       │       │ than    │ /buildte │
│          │        │          │          │       │       │ mintime │ st/check │
│          │        │          │          │       │       │ of 10   │ outs/lat │
│          │        │          │          │       │       │ second  │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/runtim │
│          │        │          │          │       │       │         │ e_status │
│          │        │          │          │       │       │         │ _test.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t_max_fa │        │ local.sh │          │       │       │ test    │ cs/check │
│ il/af38a │        │          │          │       │       │ fails   │ outs/rea │
│ e7f      │        │          │          │       │       │ because │ dthedocs │
│          │        │          │          │       │       │ it      │ .org/use │
│          │        │          │          │       │       │ exceeds │ r_builds │
│          │        │          │          │       │       │ maxtime │ /buildte │
│          │        │          │          │       │       │ of 1.0  │ st/check │
│          │        │          │          │       │       │ second  │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/runtim │
│          │        │          │          │       │       │         │ e_status │
│          │        │          │          │       │       │         │ _test.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ file    │ /home/do │
│ nt_by_ex │        │ local.ba │          │       │       │ count   │ cs/check │
│ pression │        │ sh       │          │       │       │ by      │ outs/rea │
│ /867dacd │        │          │          │       │       │ express │ dthedocs │
│ c        │        │          │          │       │       │ ion     │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_c │
│          │        │          │          │       │       │         │ ount_pat │
│          │        │          │          │       │       │         │ tern.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_ext │ script │ generic. │ None     │ None  │ None  │ file    │ /home/do │
│ ension_a │        │ local.ba │          │       │       │ count   │ cs/check │
│ nd_filep │        │ sh       │          │       │       │ by file │ outs/rea │
│ attern/e │        │          │          │       │       │ extensi │ dthedocs │
│ bfae94e  │        │          │          │       │       │ on and  │ .org/use │
│          │        │          │          │       │       │ file    │ r_builds │
│          │        │          │          │       │       │ pattern │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_c │
│          │        │          │          │       │       │         │ ount_pat │
│          │        │          │          │       │       │         │ tern.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ regex_on │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ _multipl │        │ local.ba │          │       │       │ regex   │ cs/check │
│ e_files/ │        │ sh       │          │       │       │ on      │ outs/rea │
│ 345a6dd6 │        │          │          │       │       │ multipl │ dthedocs │
│          │        │          │          │       │       │ e files │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/regex_ │
│          │        │          │          │       │       │         │ on_filen │
│          │        │          │          │       │       │         │ ame.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ regex_on │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ _directo │        │ local.ba │          │       │       │ regex   │ cs/check │
│ ry_not_s │        │ sh       │          │       │       │ on      │ outs/rea │
│ upported │        │          │          │       │       │ directo │ dthedocs │
│ /8105fbf │        │          │          │       │       │ ry is   │ .org/use │
│ 3        │        │          │          │       │       │ not     │ r_builds │
│          │        │          │          │       │       │ support │ /buildte │
│          │        │          │          │       │       │ ed      │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/regex_ │
│          │        │          │          │       │       │         │ on_filen │
│          │        │          │          │       │       │         │ ame.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_exp │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ ansion_s │        │ local.ba │          │       │       │ regex   │ cs/check │
│ upported │        │ sh       │          │       │       │ with    │ outs/rea │
│ /7fdb80f │        │          │          │       │       │ variabl │ dthedocs │
│ 9        │        │          │          │       │       │ e and   │ .org/use │
│          │        │          │          │       │       │ shell   │ r_builds │
│          │        │          │          │       │       │ expansi │ /buildte │
│          │        │          │          │       │       │ on      │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/regex_ │
│          │        │          │          │       │       │         │ on_filen │
│          │        │          │          │       │       │         │ ame.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ rld_dock │        │ local.ba │          │       │       │ hello-w │ cs/check │
│ er/9a707 │        │ sh       │          │       │       │ orld    │ outs/rea │
│ e94      │        │          │          │       │       │ contain │ dthedocs │
│          │        │          │          │       │       │ er with │ .org/use │
│          │        │          │          │       │       │ docker  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ ntainers │
│          │        │          │          │       │       │         │ /hello_w │
│          │        │          │          │       │       │         │ orld.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bind_mou │ script │ generic. │ None     │ None  │ None  │ run a   │ /home/do │
│ nt_in_co │        │ local.ba │          │       │       │ python  │ cs/check │
│ ntainer/ │        │ sh       │          │       │       │ script  │ outs/rea │
│ 30e2e7b8 │        │          │          │       │       │ in      │ dthedocs │
│          │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ er      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ ntainers │
│          │        │          │          │       │       │         │ /bind_mo │
│          │        │          │          │       │       │         │ unts.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_f │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ ile_rege │        │ local.ba │          │       │       │ result  │ cs/check │
│ x_invali │        │ sh       │          │       │       │ metric  │ outs/rea │
│ d_file/0 │        │          │          │       │       │ from    │ dthedocs │
│ ac32b5b  │        │          │          │       │       │ file    │ .org/use │
│          │        │          │          │       │       │ path    │ r_builds │
│          │        │          │          │       │       │ when we │ /buildte │
│          │        │          │          │       │       │ have    │ st/check │
│          │        │          │          │       │       │ invalid │ outs/lat │
│          │        │          │          │       │       │ file    │ est/tuto │
│          │        │          │          │       │       │ path    │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_fi │
│          │        │          │          │       │       │         │ le_regex │
│          │        │          │          │       │       │         │ _invalid │
│          │        │          │          │       │       │         │ _file.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello   │ /home/do │
│ ello/d34 │        │ local.ba │          │       │       │ World   │ cs/check │
│ 69f77    │        │ sh       │          │       │       │ python  │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/py │
│          │        │          │          │       │       │         │ thon-hel │
│          │        │          │          │       │       │         │ lo.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_lin │ script │ generic. │ None     │ None  │ None  │ Perform │ /home/do │
│ ecount/9 │        │ local.ba │          │       │       │ linecou │ cs/check │
│ 362a854  │        │ sh       │          │       │       │ nt      │ outs/rea │
│          │        │          │          │       │       │ compari │ dthedocs │
│          │        │          │          │       │       │ son on  │ .org/use │
│          │        │          │          │       │       │ files   │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_l │
│          │        │          │          │       │       │         │ inecount │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ symlink_ │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ test/948 │        │ local.ba │          │       │       │ check   │ cs/check │
│ ca471    │        │ sh       │          │       │       │ based   │ outs/rea │
│          │        │          │          │       │       │ on      │ dthedocs │
│          │        │          │          │       │       │ symboli │ .org/use │
│          │        │          │          │       │       │ c link  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/is_sym │
│          │        │          │          │       │       │         │ link.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_r │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ egex_wit │        │ local.ba │          │       │       │ result  │ cs/check │
│ h_linenu │        │ sh       │          │       │       │ metric  │ outs/rea │
│ m_exampl │        │          │          │       │       │ from    │ dthedocs │
│ e/8d50b0 │        │          │          │       │       │ output  │ .org/use │
│ 29       │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_re │
│          │        │          │          │       │       │         │ gex_with │
│          │        │          │          │       │       │         │ _linenum │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ executor │ script │ generic. │ None     │ None  │ None  │ Declari │ /home/do │
│ s_sbatch │        │ local.ba │          │       │       │ ng env  │ cs/check │
│ _declara │        │ sh       │          │       │       │ and     │ outs/rea │
│ tion/f67 │        │          │          │       │       │ vars by │ dthedocs │
│ 9faba    │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/mu │
│          │        │          │          │       │       │         │ lti_exec │
│          │        │          │          │       │       │         │ utors/ex │
│          │        │          │          │       │       │         │ ecutor_s │
│          │        │          │          │       │       │         │ cheduler │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ executor │ script │ generic. │ None     │ None  │ None  │ Declari │ /home/do │
│ s_sbatch │        │ local.sh │          │       │       │ ng env  │ cs/check │
│ _declara │        │          │          │       │       │ and     │ outs/rea │
│ tion/995 │        │          │          │       │       │ vars by │ dthedocs │
│ 5513d    │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/mu │
│          │        │          │          │       │       │         │ lti_exec │
│          │        │          │          │       │       │         │ utors/ex │
│          │        │          │          │       │       │         │ ecutor_s │
│          │        │          │          │       │       │         │ cheduler │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_env │ script │ generic. │ None     │ None  │ None  │ Declare │ /home/do │
│ _variabl │        │ local.ba │          │       │       │ environ │ cs/check │
│ es/224ca │        │ sh       │          │       │       │ ment    │ outs/rea │
│ 8d6      │        │          │          │       │       │ variabl │ dthedocs │
│          │        │          │          │       │       │ es in   │ .org/use │
│          │        │          │          │       │       │ default │ r_builds │
│          │        │          │          │       │       │ shell   │ /buildte │
│          │        │          │          │       │       │ (bash)  │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/en │
│          │        │          │          │       │       │         │ vironmen │
│          │        │          │          │       │       │         │ t.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ csh_env_ │ script │ generic. │ None     │ None  │ None  │ csh     │ /home/do │
│ declarat │        │ local.cs │          │       │       │ shell   │ cs/check │
│ ion/5282 │        │ h        │          │       │       │ example │ outs/rea │
│ 6f79     │        │          │          │       │       │ to      │ dthedocs │
│          │        │          │          │       │       │ declare │ .org/use │
│          │        │          │          │       │       │ environ │ r_builds │
│          │        │          │          │       │       │ ment    │ /buildte │
│          │        │          │          │       │       │ variabl │ st/check │
│          │        │          │          │       │       │ es      │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/en │
│          │        │          │          │       │       │         │ vironmen │
│          │        │          │          │       │       │         │ t.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ tcsh_env │ script │ generic. │ None     │ None  │ None  │ tcsh    │ /home/do │
│ _declara │        │ local.cs │          │       │       │ shell   │ cs/check │
│ tion/1c3 │        │ h        │          │       │       │ example │ outs/rea │
│ 5d4c9    │        │          │          │       │       │ to      │ dthedocs │
│          │        │          │          │       │       │ declare │ .org/use │
│          │        │          │          │       │       │ environ │ r_builds │
│          │        │          │          │       │       │ ment    │ /buildte │
│          │        │          │          │       │       │ variabl │ st/check │
│          │        │          │          │       │       │ es      │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/en │
│          │        │          │          │       │       │         │ vironmen │
│          │        │          │          │       │       │         │ t.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ sleep/af │ script │ generic. │ None     │ None  │ None  │ sleep 2 │ /home/do │
│ 073cba   │        │ local.ba │          │       │       │ seconds │ cs/check │
│          │        │ sh       │          │       │       │         │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sl │
│          │        │          │          │       │       │         │ eep.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_r │ script │ generic. │ None     │ None  │ None  │ invalid │ /home/do │
│ egex_lin │        │ local.ba │          │       │       │ linenum │ cs/check │
│ enum_fai │        │ sh       │          │       │       │ can     │ outs/rea │
│ lure_exa │        │          │          │       │       │ result  │ dthedocs │
│ mple/c80 │        │          │          │       │       │ in      │ .org/use │
│ 744cf    │        │          │          │       │       │ failure │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_re │
│          │        │          │          │       │       │         │ gex_with │
│          │        │          │          │       │       │         │ _invalid │
│          │        │          │          │       │       │         │ _linenum │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ _bin_sh_ │ script │ generic. │ None     │ None  │ None  │ /bin/sh │ /home/do │
│ shell/fe │        │ local.sh │          │       │       │ shell   │ cs/check │
│ c0a41a   │        │          │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sh │
│          │        │          │          │       │       │         │ ell_exam │
│          │        │          │          │       │       │         │ ples.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ _bin_bas │ script │ generic. │ None     │ None  │ None  │ /bin/ba │ /home/do │
│ h_shell/ │        │ local.ba │          │       │       │ sh      │ cs/check │
│ 15b78b8b │        │ sh       │          │       │       │ shell   │ outs/rea │
│          │        │          │          │       │       │ example │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sh │
│          │        │          │          │       │       │         │ ell_exam │
│          │        │          │          │       │       │         │ ples.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_she │ script │ generic. │ None     │ None  │ None  │ bash    │ /home/do │
│ ll/4ccc0 │        │ local.ba │          │       │       │ shell   │ cs/check │
│ 629      │        │ sh       │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sh │
│          │        │          │          │       │       │         │ ell_exam │
│          │        │          │          │       │       │         │ ples.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ sh_shell │ script │ generic. │ None     │ None  │ None  │ sh      │ /home/do │
│ /777dbb8 │        │ local.sh │          │       │       │ shell   │ cs/check │
│ a        │        │          │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sh │
│          │        │          │          │       │       │         │ ell_exam │
│          │        │          │          │       │       │         │ ples.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ shell_op │ script │ generic. │ None     │ None  │ None  │ shell   │ /home/do │
│ tions/01 │        │ local.sh │          │       │       │ options │ cs/check │
│ 97cc49   │        │          │          │       │       │         │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sh │
│          │        │          │          │       │       │         │ ell_exam │
│          │        │          │          │       │       │         │ ples.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ executor │ script │ generic. │ None     │ None  │ None  │ Declari │ /home/do │
│ s_vars_e │        │ local.ba │          │       │       │ ng env  │ cs/check │
│ nv_decla │        │ sh       │          │       │       │ and     │ outs/rea │
│ ration/5 │        │          │          │       │       │ vars by │ dthedocs │
│ f78d9fd  │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/mu │
│          │        │          │          │       │       │         │ lti_exec │
│          │        │          │          │       │       │         │ utors/ex │
│          │        │          │          │       │       │         │ ecutors_ │
│          │        │          │          │       │       │         │ var_env_ │
│          │        │          │          │       │       │         │ declarat │
│          │        │          │          │       │       │         │ ion.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ executor │ script │ generic. │ None     │ None  │ None  │ Declari │ /home/do │
│ s_vars_e │        │ local.sh │          │       │       │ ng env  │ cs/check │
│ nv_decla │        │          │          │       │       │ and     │ outs/rea │
│ ration/9 │        │          │          │       │       │ vars by │ dthedocs │
│ 5c04178  │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/mu │
│          │        │          │          │       │       │         │ lti_exec │
│          │        │          │          │       │       │         │ utors/ex │
│          │        │          │          │       │       │         │ ecutors_ │
│          │        │          │          │       │       │         │ var_env_ │
│          │        │          │          │       │       │         │ declarat │
│          │        │          │          │       │       │         │ ion.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ builtin_ │ None  │ None  │ Hello   │ /home/do │
│ rld_c_cp │        │ local.ba │ gcc      │       │       │ world   │ cs/check │
│ p/1a0c2f │        │ sh       │          │       │       │ compila │ outs/rea │
│ b9       │        │          │          │       │       │ tion in │ dthedocs │
│          │        │          │          │       │       │ C and   │ .org/use │
│          │        │          │          │       │       │ C++     │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ mpilatio │
│          │        │          │          │       │       │         │ n/hello_ │
│          │        │          │          │       │       │         │ world_co │
│          │        │          │          │       │       │         │ mpilatio │
│          │        │          │          │       │       │         │ n.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ containe │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ r_comman │        │ local.ba │          │       │       │ arbitra │ cs/check │
│ ds_ubunt │        │ sh       │          │       │       │ ry      │ outs/rea │
│ u/1a16bd │        │          │          │       │       │ linux   │ dthedocs │
│ ca       │        │          │          │       │       │ command │ .org/use │
│          │        │          │          │       │       │ s in    │ r_builds │
│          │        │          │          │       │       │ ubuntu  │ /buildte │
│          │        │          │          │       │       │ contain │ st/check │
│          │        │          │          │       │       │ er      │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ ntainers │
│          │        │          │          │       │       │         │ /run_com │
│          │        │          │          │       │       │         │ mands.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ containe │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ r_option │        │ local.ba │          │       │       │ arbitra │ cs/check │
│ s/7844b8 │        │ sh       │          │       │       │ ry      │ outs/rea │
│ df       │        │          │          │       │       │ linux   │ dthedocs │
│          │        │          │          │       │       │ command │ .org/use │
│          │        │          │          │       │       │ s in    │ r_builds │
│          │        │          │          │       │       │ ubuntu  │ /buildte │
│          │        │          │          │       │       │ contain │ st/check │
│          │        │          │          │       │       │ er      │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ ntainers │
│          │        │          │          │       │       │         │ /run_com │
│          │        │          │          │       │       │         │ mands.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ foo_bar/ │ script │ generic. │ None     │ None  │ None  │ prints  │ /home/do │
│ baf1d29c │        │ local.sh │          │       │       │ variabl │ cs/check │
│          │        │          │          │       │       │ e $FOO  │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/ma │
│          │        │          │          │       │       │         │ intainer │
│          │        │          │          │       │       │         │ s_exampl │
│          │        │          │          │       │       │         │ e.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_e │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ q_exampl │        │ local.ba │          │       │       │ for     │ cs/check │
│ e/051e01 │        │ sh       │          │       │       │ assert  │ outs/rea │
│ 27       │        │          │          │       │       │ equalit │ dthedocs │
│          │        │          │          │       │       │ y       │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _eq.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ unskippe │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ d/7c1757 │        │ local.ba │          │       │       │ test is │ cs/check │
│ b0       │        │ sh       │          │       │       │ not     │ outs/rea │
│          │        │          │          │       │       │ skipped │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sk │
│          │        │          │          │       │       │         │ ip_tests │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello   │ /home/do │
│ rld/8509 │        │ local.ba │          │       │       │ world   │ cs/check │
│ e639     │        │ sh       │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/he │
│          │        │          │          │       │       │         │ llo_worl │
│          │        │          │          │       │       │         │ d.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_l │ script │ generic. │ None     │ None  │ None  │ Using   │ /home/do │
│ ogical_a │        │ local.ba │          │       │       │ logical │ cs/check │
│ nd/68a7c │        │ sh       │          │       │       │ AND to  │ outs/rea │
│ f1c      │        │          │          │       │       │ check   │ dthedocs │
│          │        │          │          │       │       │ status  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/mode.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_l │ script │ generic. │ None     │ None  │ None  │ Using   │ /home/do │
│ ogical_o │        │ local.ba │          │       │       │ logical │ cs/check │
│ r/6b7d52 │        │ sh       │          │       │       │ OR to   │ outs/rea │
│ 76       │        │          │          │       │       │ check   │ dthedocs │
│          │        │          │          │       │       │ status  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/mode.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ gcc_vers │ script │ generic. │ None     │ None  │ None  │ Print   │ /home/do │
│ ion/3039 │        │ local.ba │          │       │       │ gcc     │ cs/check │
│ ef42     │        │ sh       │          │       │       │ version │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/gc │
│          │        │          │          │       │       │         │ c_versio │
│          │        │          │          │       │       │         │ n.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ jobA/a0a │ script │ generic. │ None     │ None  │ None  │ no job  │ /home/do │
│ ae603    │        │ local.ba │          │       │       │ depende │ cs/check │
│          │        │ sh       │          │       │       │ ncy     │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex1 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ jobB/c3b │ script │ generic. │ None     │ None  │ None  │ job     │ /home/do │
│ 63535    │        │ local.ba │          │       │       │ depende │ cs/check │
│          │        │ sh       │          │       │       │ ncy on  │ outs/rea │
│          │        │          │          │       │       │ jobA    │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex1 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ jobC/765 │ script │ generic. │ None     │ None  │ None  │ job     │ /home/do │
│ a4ef4    │        │ local.ba │          │       │       │ depende │ cs/check │
│          │        │ sh       │          │       │       │ ncy on  │ outs/rea │
│          │        │          │          │       │       │ jobA    │ dthedocs │
│          │        │          │          │       │       │ and     │ .org/use │
│          │        │          │          │       │       │ jobB    │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex1 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_lin │ script │ generic. │ None     │ None  │ None  │ Perform │ /home/do │
│ ecount_e │        │ local.ba │          │       │       │ ing     │ cs/check │
│ xception │        │ sh       │          │       │       │ file    │ outs/rea │
│ s/9048b2 │        │          │          │       │       │ count   │ dthedocs │
│ c5       │        │          │          │       │       │ on      │ .org/use │
│          │        │          │          │       │       │ directo │ r_builds │
│          │        │          │          │       │       │ ry or   │ /buildte │
│          │        │          │          │       │       │ invalid │ st/check │
│          │        │          │          │       │       │ files   │ outs/lat │
│          │        │          │          │       │       │ can     │ est/tuto │
│          │        │          │          │       │       │ result  │ rials/te │
│          │        │          │          │       │       │ in      │ st_statu │
│          │        │          │          │       │       │ failure │ s/file_l │
│          │        │          │          │       │       │         │ inecount │
│          │        │          │          │       │       │         │ _failure │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ contains │ script │ generic. │ None     │ None  │ None  │ Status  │ /home/do │
│ _and_not │        │ local.ba │          │       │       │ check   │ cs/check │
│ _contain │        │ sh       │          │       │       │ based   │ outs/rea │
│ s/daf91a │        │          │          │       │       │ on      │ dthedocs │
│ 42       │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ s and   │ r_builds │
│          │        │          │          │       │       │ not     │ /buildte │
│          │        │          │          │       │       │ contain │ st/check │
│          │        │          │          │       │       │ s where │ outs/lat │
│          │        │          │          │       │       │ test    │ est/tuto │
│          │        │          │          │       │       │ pass    │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/contai │
│          │        │          │          │       │       │         │ ns.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_c │ script │ generic. │ None     │ None  │ None  │ Status  │ /home/do │
│ ontains_ │        │ local.ba │          │       │       │ check   │ cs/check │
│ fail/8cc │        │ sh       │          │       │       │ based   │ outs/rea │
│ 038db    │        │          │          │       │       │ on      │ dthedocs │
│          │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ s where │ r_builds │
│          │        │          │          │       │       │ test    │ /buildte │
│          │        │          │          │       │       │ fails   │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/contai │
│          │        │          │          │       │       │         │ ns.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_e │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ xists/b3 │        │ local.ba │          │       │       │ check   │ cs/check │
│ 701bdb   │        │ sh       │          │       │       │ based   │ outs/rea │
│          │        │          │          │       │       │ for     │ dthedocs │
│          │        │          │          │       │       │ file    │ .org/use │
│          │        │          │          │       │       │ and     │ r_builds │
│          │        │          │          │       │       │ directo │ /buildte │
│          │        │          │          │       │       │ ry      │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/exists │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_e │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ xists_fa │        │ local.ba │          │       │       │ check   │ cs/check │
│ ilure/05 │        │ sh       │          │       │       │ failure │ outs/rea │
│ 74bec6   │        │          │          │       │       │ for     │ dthedocs │
│          │        │          │          │       │       │ existen │ .org/use │
│          │        │          │          │       │       │ ce      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/exists │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_tra │ script │ generic. │ None     │ None  │ None  │ Use of  │ /home/do │
│ verse_li │        │ local.ba │          │       │       │ file_tr │ cs/check │
│ mit/07d8 │        │ sh       │          │       │       │ averse_ │ outs/rea │
│ 3586     │        │          │          │       │       │ limit   │ dthedocs │
│          │        │          │          │       │       │ to      │ .org/use │
│          │        │          │          │       │       │ limit   │ r_builds │
│          │        │          │          │       │       │ number  │ /buildte │
│          │        │          │          │       │       │ of      │ st/check │
│          │        │          │          │       │       │ files   │ outs/lat │
│          │        │          │          │       │       │ searche │ est/tuto │
│          │        │          │          │       │       │ d in a  │ rials/te │
│          │        │          │          │       │       │ directo │ st_statu │
│          │        │          │          │       │       │ ry      │ s/file_c │
│          │        │          │          │       │       │         │ ount_fil │
│          │        │          │          │       │       │         │ e_traver │
│          │        │          │          │       │       │         │ se_limit │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_r │ script │ generic. │ None     │ None  │ None  │ Example │ /home/do │
│ ange_ex/ │        │ local.ba │          │       │       │ on      │ cs/check │
│ c67632b5 │        │ sh       │          │       │       │ assert_ │ outs/rea │
│          │        │          │          │       │       │ range   │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _range.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ summary_ │ script │ generic. │ None     │ None  │ None  │ The     │ /home/do │
│ example/ │        │ local.ba │          │       │       │ summary │ cs/check │
│ 5f4661d4 │        │ sh       │          │       │       │ field   │ outs/rea │
│          │        │          │          │       │       │ can be  │ dthedocs │
│          │        │          │          │       │       │ a       │ .org/use │
│          │        │          │          │       │       │ multi-l │ r_builds │
│          │        │          │          │       │       │ ine     │ /buildte │
│          │        │          │          │       │       │ string  │ st/check │
│          │        │          │          │       │       │ and     │ outs/lat │
│          │        │          │          │       │       │ exceed  │ est/tuto │
│          │        │          │          │       │       │ 80 char │ rials/su │
│          │        │          │          │       │       │         │ mmary_ex │
│          │        │          │          │       │       │         │ ample.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ out_pass │        │ sh       │          │       │       │ based   │ outs/rea │
│ /21b7432 │        │          │          │       │       │ on      │ dthedocs │
│ 0        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/status │
│          │        │          │          │       │       │         │ _regex.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ out_fail │        │ sh       │          │       │       │ based   │ outs/rea │
│ /9672d07 │        │          │          │       │       │ on      │ dthedocs │
│ 9        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/status │
│          │        │          │          │       │       │         │ _regex.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ err_pass │        │ sh       │          │       │       │ based   │ outs/rea │
│ /8847450 │        │          │          │       │       │ on      │ dthedocs │
│ 7        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/status │
│          │        │          │          │       │       │         │ _regex.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ err_fail │        │ sh       │          │       │       │ based   │ outs/rea │
│ /2ccfb75 │        │          │          │       │       │ on      │ dthedocs │
│ 0        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/status │
│          │        │          │          │       │       │         │ _regex.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.searc │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ h.stdout │        │ local.ba │          │       │       │ re.sear │ cs/check │
│ /26b4a26 │        │ sh       │          │       │       │ ch on   │ outs/rea │
│ a        │        │          │          │       │       │ stdout  │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/specif │
│          │        │          │          │       │       │         │ y_regex_ │
│          │        │          │          │       │       │         │ type.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.match │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ .stdout/ │        │ local.ba │          │       │       │ re.matc │ cs/check │
│ b7f75c69 │        │ sh       │          │       │       │ h on    │ outs/rea │
│          │        │          │          │       │       │ stdout  │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/specif │
│          │        │          │          │       │       │         │ y_regex_ │
│          │        │          │          │       │       │         │ type.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.fullm │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ atch.std │        │ local.ba │          │       │       │ re.full │ cs/check │
│ out/c906 │        │ sh       │          │       │       │ match   │ outs/rea │
│ a5c8     │        │          │          │       │       │ on      │ dthedocs │
│          │        │          │          │       │       │ stdout  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/specif │
│          │        │          │          │       │       │         │ y_regex_ │
│          │        │          │          │       │       │         │ type.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.match │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ _on_file │        │ local.ba │          │       │       │ re.matc │ cs/check │
│ _regex/1 │        │ sh       │          │       │       │ h on    │ outs/rea │
│ f71292d  │        │          │          │       │       │ file    │ dthedocs │
│          │        │          │          │       │       │ regex   │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/specif │
│          │        │          │          │       │       │         │ y_regex_ │
│          │        │          │          │       │       │         │ type.yml │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴─────────┴──────────┘
──────────────────────────────── Building Test ─────────────────────────────────
runtime_test/077b7a35: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ex4/runtime_test/077b7a35
runtime_test_pass/d8c9ef8a: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ex4/runtime_test_pass/d8c9ef8a
runtime_test_fail/29cdbb2d: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ex4/runtime_test_fail/29cdbb2d
linecount_stdout/3ccb63f6: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/linecount/linecount_stdout/3ccb63f6
linecount_stderr_mismatch/c4255cf2: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/linecount/linecount_stderr_mismatch/c4255cf2
hello_world_singularity/4a10eb75: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world_singularity/hello_world_singularity/4a10eb75
file_count_by_filetype/e720b545: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/file_count_filetype/file_count_by_filetype/e720b545
metric_regex_example/cbe1b158: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/metrics_regex/metric_regex_example/cbe1b158
metric_file_regex/9bcdb617: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/metrics_regex/metric_file_regex/9bcdb617
variables_bash/534d4565: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/534d4565
status_returncode_by_executors/042784ab: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/status_by_executors/status_returncode_by_executors/042784ab
status_returncode_by_executors/590ac839: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/status_by_executors/status_returncode_by_executors/590ac839
test1/89b46f39: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ex2/test1/89b46f39
test2/760278bf: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ex2/test2/760278bf
test3/623e375c: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ex2/test3/623e375c
assert_lt_example/668fa7a9: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/assert_lt/assert_lt_example/668fa7a9
bash_login_shebang/1dd26209: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/shebang/bash_login_shebang/1dd26209
bash_nonlogin_shebang/cd18cb68: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/shebang/bash_nonlogin_shebang/cd18cb68
csh_shell/2d492c2d: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.csh/csh_shell_examples/csh_shell/2d492c2d
file_exists_pass/9bd1f073: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/file_exists_with_number/file_exists_pass/9bd1f073
file_count_on_directory/83005588: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/file_count/file_count_on_directory/83005588
file_count_by_extension/47035c9e: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/file_count/file_count_by_extension/47035c9e
stream_openmp_c/050ab7c5: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/stream/stream_openmp_c/050ab7c5
multiple_executors/f8b8aa5d: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/executor_regex_script/multiple_executors/f8b8aa5d
multiple_executors/e9e5487c: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/executor_regex_script/multiple_executors/e9e5487c
exit1_fail/aa85dc96: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/aa85dc96
exit1_pass/6079972e: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/6079972e
returncode_list_mismatch/72fa1638: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/72fa1638
returncode_int_match/8c490a29: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/8c490a29
stream_test/93933df2: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/assert_ge/stream_test/93933df2
metric_file_regex_with_linenum_example/3f54a521: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/metrics_file_regex_with_linenum/metric_file_regex_with_linenum_example/3f54a521
file_and_dir_checks/420ed1dc: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/file_and_dir_check/file_and_dir_checks/420ed1dc
combined_file_and_dir_checks/5cdb1b94: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/file_and_dir_check/combined_file_and_dir_checks/5cdb1b94
assert_gt_example/e4b18fc0: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/assert_gt/assert_gt_example/e4b18fc0
metric_regex_example_with_re/08a1dc14: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/metrics_with_regex_type/metric_regex_example_with_re/08a1dc14
metric_file_regex_with_linenum_failure_example/7def52e3: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/metrics_file_regex_with_invalid_linenum/metric_file_regex_with_linenum_failure_example/7def52e3
assert_ne_example/c135ccf7: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/assert_ne/assert_ne_example/c135ccf7
always_pass/314b7d77: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/explicit_state/always_pass/314b7d77
always_fail/e46af250: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/explicit_state/always_fail/e46af250
test_fail_returncode_match/76dfe4e1: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/explicit_state/test_fail_returncode_match/76dfe4e1
test_pass_returncode_mismatch/49e46f99: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/explicit_state/test_pass_returncode_mismatch/49e46f99
circle_area/fb63498b: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/fb63498b
assert_eq_invalid_metric/89be3698: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_invalid_metric/89be3698
assert_eq_mismatch/c9ba1382: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_mismatch/c9ba1382
run_script_in_container/f61d8a06: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/run_script/run_script_in_container/f61d8a06
assert_le_example/db699cbc: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/assert_le/assert_le_example/db699cbc
pass_test/6d7a1ab4: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ex3/pass_test/6d7a1ab4
fail_test/b01ccdd9: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ex3/fail_test/b01ccdd9
pass_and_fail_test/9814ec5c: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ex3/pass_and_fail_test/9814ec5c
final_test/6688138d: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ex3/final_test/6688138d
create_burst_buffer_executors/008c46a6: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/burstbuffer_datawarp_executors/create_burst_buffer_executors/008c46a6
create_burst_buffer_executors/cdc7299d: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/burstbuffer_datawarp_executors/create_burst_buffer_executors/cdc7299d
add_numbers/3c631f2c: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/add_numbers/add_numbers/3c631f2c
string_tag/365b4c73: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/string_tag/365b4c73
list_of_strings_tags/561a7775: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/tags_example/list_of_strings_tags/561a7775
timelimit_min_max/31813044: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/runtime_status_test/timelimit_min_max/31813044
timelimit_min/7197318a: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/runtime_status_test/timelimit_min/7197318a
timelimit_max/6387e96b: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/runtime_status_test/timelimit_max/6387e96b
timelimit_min_fail/7811c5b9: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/runtime_status_test/timelimit_min_fail/7811c5b9
timelimit_max_fail/af38ae7f: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/runtime_status_test/timelimit_max_fail/af38ae7f
file_count_by_expression/867dacdc: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/file_count_pattern/file_count_by_expression/867dacdc
file_extension_and_filepattern/ebfae94e: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/file_count_pattern/file_extension_and_filepattern/ebfae94e
regex_on_multiple_files/345a6dd6: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/regex_on_filename/regex_on_multiple_files/345a6dd6
regex_on_directory_not_supported/8105fbf3: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/regex_on_filename/regex_on_directory_not_supported/8105fbf3
file_expansion_supported/7fdb80f9: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/regex_on_filename/file_expansion_supported/7fdb80f9
hello_world_docker/9a707e94: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world_docker/9a707e94
bind_mount_in_container/30e2e7b8: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/bind_mounts/bind_mount_in_container/30e2e7b8
metric_file_regex_invalid_file/0ac32b5b: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/metrics_file_regex_invalid_file/metric_file_regex_invalid_file/0ac32b5b
python_hello/d3469f77: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/d3469f77
file_linecount/9362a854: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/file_linecount/file_linecount/9362a854
symlink_test/948ca471: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/is_symlink/symlink_test/948ca471
metric_regex_with_linenum_example/8d50b029: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/metrics_regex_with_linenum/metric_regex_with_linenum_example/8d50b029
executors_sbatch_declaration/f679faba: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/executor_scheduler/executors_sbatch_declaration/f679faba
executors_sbatch_declaration/9955513d: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/executor_scheduler/executors_sbatch_declaration/9955513d
bash_env_variables/224ca8d6: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/environment/bash_env_variables/224ca8d6
csh_env_declaration/52826f79: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.csh/environment/csh_env_declaration/52826f79
tcsh_env_declaration/1c35d4c9: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.csh/environment/tcsh_env_declaration/1c35d4c9
sleep/af073cba: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/sleep/sleep/af073cba
metric_regex_linenum_failure_example/c80744cf: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/metrics_regex_with_invalid_linenum/metric_regex_linenum_failure_example/c80744cf
_bin_sh_shell/fec0a41a: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/shell_examples/_bin_sh_shell/fec0a41a
_bin_bash_shell/15b78b8b: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/shell_examples/_bin_bash_shell/15b78b8b
bash_shell/4ccc0629: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/shell_examples/bash_shell/4ccc0629
sh_shell/777dbb8a: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/shell_examples/sh_shell/777dbb8a
shell_options/0197cc49: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/shell_examples/shell_options/0197cc49
executors_vars_env_declaration/5f78d9fd: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/executors_var_env_declaration/executors_vars_env_declaration/5f78d9fd
executors_vars_env_declaration/95c04178: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/executors_var_env_declaration/executors_vars_env_declaration/95c04178
hello_world_c_cpp/1a0c2fb9: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world_compilation/hello_world_c_cpp/1a0c2fb9
container_commands_ubuntu/1a16bdca: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/run_commands/container_commands_ubuntu/1a16bdca
container_options/7844b8df: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/run_commands/container_options/7844b8df
foo_bar/baf1d29c: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.sh/maintainers_example/foo_bar/baf1d29c
assert_eq_example/051e0127: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/assert_eq/assert_eq_example/051e0127
unskipped/7c1757b0: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/skip_tests/unskipped/7c1757b0
hello_world/8509e639: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/8509e639
status_logical_and/68a7cf1c: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/mode/status_logical_and/68a7cf1c
status_logical_or/6b7d5276: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/mode/status_logical_or/6b7d5276
gcc_version/3039ef42: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/gcc_version/gcc_version/3039ef42
jobA/a0aae603: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ex1/jobA/a0aae603
jobB/c3b63535: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ex1/jobB/c3b63535
jobC/765a4ef4: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/ex1/jobC/765a4ef4
file_linecount_exceptions/9048b2c5: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/file_linecount_failure/file_linecount_exceptions/9048b2c5
contains_and_not_contains/daf91a42: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/contains/contains_and_not_contains/daf91a42
assert_contains_fail/8cc038db: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/contains/assert_contains_fail/8cc038db
status_exists/b3701bdb: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/exists/status_exists/b3701bdb
status_exists_failure/0574bec6: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/exists/status_exists_failure/0574bec6
file_traverse_limit/07d83586: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/file_count_file_traverse_limit/file_traverse_limit/07d83586
assert_range_ex/c67632b5: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/assert_range/assert_range_ex/c67632b5
summary_example/5f4661d4: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/summary_example/summary_example/5f4661d4
status_regex_stdout_pass/21b74320: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/status_regex/status_regex_stdout_pass/21b74320
status_regex_stdout_fail/9672d079: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/status_regex/status_regex_stdout_fail/9672d079
status_regex_stderr_pass/88474507: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/status_regex/status_regex_stderr_pass/88474507
status_regex_stderr_fail/2ccfb750: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/status_regex/status_regex_stderr_fail/2ccfb750
re.search.stdout/26b4a26a: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/specify_regex_type/re.search.stdout/26b4a26a
re.match.stdout/b7f75c69: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/specify_regex_type/re.match.stdout/b7f75c69
re.fullmatch.stdout/c906a5c8: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/specify_regex_type/re.fullmatch.stdout/c906a5c8
re.match_on_file_regex/1f71292d: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/specify_regex_type/re.match_on_file_regex/1f71292d

Filter By Executor Type

In a HPC environment, you may want to run test locally on a login node or perhaps you only want to run batch jobs given a list of buildspecs specified on command line. This can be done in buildtest via option buildtest build –executor-type which takes one of two values local or batch. If you want to filter all tests by local executor you can do buildtest build --executor-type local. buildtest will filter test based on the executor property defined in the buildspec. Let’s assume we want to run all test by python tag on local executor you can do the following:

buildtest build -t python --executor-type local
$ buildtest build -t python --executor-type local
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:49                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  2
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-hello.yml: VALID
Total builder objects created: 2
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/3852 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 0fb5     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-shell │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello    │ /home/d │
│ ello/05f │        │ local.ba │          │       │       │ World    │ ocs/che │
│ 7aad2    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-hello │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
circle_area/38520fb5: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/38520fb5
python_hello/05f7aad2: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/05f7aad2
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
python_hello/05f7aad2 does not have any dependencies adding test to queue
circle_area/38520fb5 does not have any dependencies adding test to queue
Builders Eligible to Run 
┏━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━┩
│ python_hello/05f7aad2 │
│ circle_area/38520fb5  │
└───────────────────────┘
python_hello/05f7aad2: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/05f7aad2/stage
python_hello/05f7aad2: Running Test via command: bash python_hello_build.sh
python_hello/05f7aad2: Test completed in 0.03089 seconds with returncode: 0
python_hello/05f7aad2: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/05f7aad2/python_hello.out
python_hello/05f7aad2: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/05f7aad2/python_hello.err
circle_area/38520fb5: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/38520fb5/stage
circle_area/38520fb5: Running Test via command: bash circle_area_build.sh
circle_area/38520fb5: Test completed in 0.030518 seconds with returncode: 0
circle_area/38520fb5: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/38520fb5/circle_area.out
circle_area/38520fb5: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/38520fb5/circle_area.err
                                 Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder               ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ circle_area/38520fb5  │ generic.local.bash │ PASS   │ 0          │ 0.031   │
├───────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ python_hello/05f7aad2 │ generic.local.bash │ PASS   │ 0          │ 0.031   │
└───────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 2/2 Percentage: 100.000%
Failed Tests: 0/2 Percentage: 0.000%


Adding 2 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_guieqt0z.log

Now let’s say we want to rerun same command but now only run test that are batch, we can specify --executor-type batch and buildtest will filter tests by executor and find all batch executors. In this case we see that all tests were filtered out and we have no test run.

buildtest build -t python --executor-type batch
$ buildtest build -t python --executor-type batch
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:50                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  2
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
────────────────────────────── Parsing Buildspecs ──────────────────────────────
circle_area/affa9cd0 is excluded since its not using batch executor
python_hello/bf7de6e9 is excluded since its not using batch executor
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-hello.yml: VALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
└──────────────────────────────────────────────────────────────────────────────┘

buildtest is unable to create any tests because there are no valid buildspecs. 

Please see logfile: /tmp/tmpyzdfrhut/var/buildtest.log

This option can be particularly useful if want to run a lot of tests and you are not sure which ones will run locally or batch. Let’s say you have all your buildspecs in a directory name tests and you want to run all test that will use local executor and you don’t want to run the batch jobs then you can do the following:

buildtest build -b tests --executor-type local

Configure Build Stages

We can control behavior of buildtest build command to stop at certain phase using --validate and --dry-run options.

Buildtest will validate all the buildspecs in the parse stage, so you can instruct buildtest to stop at parse stage via --validate. This can be useful when debugging buildspecs that are invalid. In this example below, we instruct buildtest to stop after parse stage.

buildtest build -b tutorials/vars.yml --validate
$ buildtest build -b tutorials/vars.yml --validate
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:50                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/vars.yml                                                           ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ s_bash/b │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 6e88c2d  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/vars. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘

Invalid Buildspecs

buildtest will skip any buildspecs that fail to validate, in that case the test script will not be generated. Here is an example where we have an invalid buildspec.

buildtest build -b tutorials/invalid_buildspec_section.yml
$ buildtest build -b tutorials/invalid_buildspec_section.yml
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:51                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/invalid_buildspec_section.yml                                      ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 0
Invalid Buildspecs: 1
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/invalid_buildspec_section.yml: INVALID

buildtest is unable to create any tests because there are no valid buildspecs. 

Please see logfile: /tmp/tmpyzdfrhut/var/buildtest.log

buildtest may skip tests from running if buildspec specifies an invalid executor name since buildtest needs to know this in order to delegate test to Executor class responsible for running the test. Here is an example where test failed to run since we provided invalid executor.

buildtest build -b tutorials/invalid_executor.yml
$ buildtest build -b tutorials/invalid_executor.yml
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:51                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/invalid_executor.yml                                               ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/invalid_executor.yml: VALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
└──────────────────────────────────────────────────────────────────────────────┘

buildtest is unable to create any tests because there are no valid buildspecs. 

Please see logfile: /tmp/tmpyzdfrhut/var/buildtest.log

Validate Tests (buildtest build --validate)

When you use the buildtest build command, you have the option to enter a validate mode by adding the --validate option. In this mode, the command will validate given buildspecs and stop after the parse stage. It’s particularly useful when you’re creating or editing a buildspec file and want to check its validity before entering the build stage. For instance, in the following example, we demonstrate how to instruct buildtest to halt after the parse stage.

buildtest build -b tutorials/vars.yml --validate
$ buildtest build -b tutorials/vars.yml --validate
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:50                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/vars.yml                                                           ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ s_bash/b │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 6e88c2d  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/vars. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘

Dry Run (buildtest build --dry-run)

When you use the buildtest build command, you have the option to enter a dry run mode by adding the --dry-run option. In this mode, the command will simulate the build process but won’t execute the tests. It’s particularly useful when you’re creating or editing a buildspec file and want to see how the test script is generated without actually running the tests. For instance, in the following example, we demonstrate how to instruct buildtest to halt after the build stage.

buildtest build -b tutorials/vars.yml --dry-run
$ buildtest build -b tutorials/vars.yml --dry-run
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:52                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/vars.yml                                                           ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ s_bash/2 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 5c168a5  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/vars. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/25c168a5: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/25c168a5

Rebuild Tests (buildtest build --rebuild)

buildtest can rebuild tests using the --rebuild option which can be useful if you want to test a particular test multiple times. The rebuild option works across all discovered buildspecs and create a new test instance (unique id) and test directory path. To demonstrate we will build tutorials/python-shell.yml three times using --rebuild=3.

buildtest build -b tutorials/python-shell.yml --rebuild=3
$ buildtest build -b tutorials/python-shell.yml --rebuild=3
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:52                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-shell.yml: VALID
Total builder objects created: 3
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/077d │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 08be     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-shell │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/fff7 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 62ca     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-shell │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/e2ab │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ db9a     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-shell │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
circle_area/077d08be: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/077d08be
circle_area/fff762ca: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/fff762ca
circle_area/e2abdb9a: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/e2abdb9a
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
circle_area/077d08be does not have any dependencies adding test to queue
circle_area/fff762ca does not have any dependencies adding test to queue
circle_area/e2abdb9a does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ circle_area/077d08be │
│ circle_area/fff762ca │
│ circle_area/e2abdb9a │
└──────────────────────┘
circle_area/077d08be: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/077d08be/stage
circle_area/077d08be: Running Test via command: bash circle_area_build.sh
circle_area/077d08be: Test completed in 0.031229 seconds with returncode: 0
circle_area/077d08be: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/077d08be/circle_area.out
circle_area/077d08be: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/077d08be/circle_area.err
circle_area/fff762ca: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/fff762ca/stage
circle_area/fff762ca: Running Test via command: bash circle_area_build.sh
circle_area/fff762ca: Test completed in 0.029751 seconds with returncode: 0
circle_area/fff762ca: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/fff762ca/circle_area.out
circle_area/fff762ca: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/fff762ca/circle_area.err
circle_area/e2abdb9a: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/e2abdb9a/stage
circle_area/e2abdb9a: Running Test via command: bash circle_area_build.sh
circle_area/e2abdb9a: Test completed in 0.029665 seconds with returncode: 0
circle_area/e2abdb9a: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/e2abdb9a/circle_area.out
circle_area/e2abdb9a: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/e2abdb9a/circle_area.err
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ circle_area/077d08be │ generic.local.bash │ PASS   │ 0          │ 0.031   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/e2abdb9a │ generic.local.bash │ PASS   │ 0          │ 0.030   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/fff762ca │ generic.local.bash │ PASS   │ 0          │ 0.030   │
└──────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 3/3 Percentage: 100.000%
Failed Tests: 0/3 Percentage: 0.000%


Adding 3 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_6zblua_7.log

The rebuild works with all options including: --buildspec, --exclude, --tags and --executor. buildtest will perform rebuild for all discovered tests, for instance in this next example we will discover all tests by tag name fail and each test is rebuild twice.

buildtest build -t fail --rebuild 2
$ buildtest build -t fail --rebuild 2
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:53                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=fail                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: VALID
Total builder objects created: 8
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/b01b6 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ e8f      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/f6fcf │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 16c      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /20106a2 │        │          │          │       │       │ failed   │ readthe │
│ 9        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/1b0 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 349cd    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/77ff0 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 562      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/48f90 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 8ca      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /67cd945 │        │          │          │       │       │ failed   │ readthe │
│ 0        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/2e5 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 343ca    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/b01b6e8f: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/b01b6e8f
exit1_pass/f6fcf16c: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/f6fcf16c
returncode_list_mismatch/20106a29: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/20106a29
returncode_int_match/1b0349cd: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/1b0349cd
exit1_fail/77ff0562: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/77ff0562
exit1_pass/48f908ca: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/48f908ca
returncode_list_mismatch/67cd9450: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/67cd9450
returncode_int_match/2e5343ca: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/2e5343ca
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/77ff0562 does not have any dependencies adding test to queue
returncode_int_match/1b0349cd does not have any dependencies adding test to queue
exit1_pass/48f908ca does not have any dependencies adding test to queue
exit1_fail/b01b6e8f does not have any dependencies adding test to queue
returncode_list_mismatch/67cd9450 does not have any dependencies adding test to queue
returncode_list_mismatch/20106a29 does not have any dependencies adding test to queue
returncode_int_match/2e5343ca does not have any dependencies adding test to queue
exit1_pass/f6fcf16c does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/77ff0562               │
│ returncode_int_match/1b0349cd     │
│ exit1_pass/48f908ca               │
│ exit1_fail/b01b6e8f               │
│ returncode_list_mismatch/67cd9450 │
│ returncode_list_mismatch/20106a29 │
│ returncode_int_match/2e5343ca     │
│ exit1_pass/f6fcf16c               │
└───────────────────────────────────┘
exit1_fail/77ff0562: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/77ff0562/stage
exit1_fail/77ff0562: Running Test via command: bash exit1_fail_build.sh
exit1_fail/77ff0562: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/77ff0562 ─────────────────────

exit1_fail/77ff0562: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/77ff0562: Run - 1/1
exit1_fail/77ff0562: Running Test via command: bash exit1_fail_build.sh
exit1_fail/77ff0562: failed to submit job with returncode: 1
exit1_fail/77ff0562: Test completed in 0.014434 seconds with returncode: 1
exit1_fail/77ff0562: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/77ff0562/exit1_fail.out
exit1_fail/77ff0562: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/77ff0562/exit1_fail.err
returncode_int_match/1b0349cd: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/1b0349cd/stage
returncode_int_match/1b0349cd: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/1b0349cd: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/1b0349cd ────────────────

returncode_int_match/1b0349cd: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/1b0349cd: Run - 1/1
returncode_int_match/1b0349cd: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/1b0349cd: failed to submit job with returncode: 128
returncode_int_match/1b0349cd: Test completed in 0.014133 seconds with returncode: 128
returncode_int_match/1b0349cd: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/1b0349cd/returncode_int_match.out
returncode_int_match/1b0349cd: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/1b0349cd/returncode_int_match.err
returncode_int_match/1b0349cd: Checking returncode - 128 is matched in list [128]
exit1_pass/48f908ca: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/48f908ca/stage
exit1_pass/48f908ca: Running Test via command: bash exit1_pass_build.sh
exit1_pass/48f908ca: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/48f908ca ─────────────────────

exit1_pass/48f908ca: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/48f908ca: Run - 1/1
exit1_pass/48f908ca: Running Test via command: bash exit1_pass_build.sh
exit1_pass/48f908ca: failed to submit job with returncode: 1
exit1_pass/48f908ca: Test completed in 0.013903 seconds with returncode: 1
exit1_pass/48f908ca: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/48f908ca/exit1_pass.out
exit1_pass/48f908ca: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/48f908ca/exit1_pass.err
exit1_pass/48f908ca: Checking returncode - 1 is matched in list [1]
exit1_fail/b01b6e8f: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/b01b6e8f/stage
exit1_fail/b01b6e8f: Running Test via command: bash exit1_fail_build.sh
exit1_fail/b01b6e8f: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/b01b6e8f ─────────────────────

exit1_fail/b01b6e8f: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/b01b6e8f: Run - 1/1
exit1_fail/b01b6e8f: Running Test via command: bash exit1_fail_build.sh
exit1_fail/b01b6e8f: failed to submit job with returncode: 1
exit1_fail/b01b6e8f: Test completed in 0.013885 seconds with returncode: 1
exit1_fail/b01b6e8f: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/b01b6e8f/exit1_fail.out
exit1_fail/b01b6e8f: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/b01b6e8f/exit1_fail.err
returncode_list_mismatch/67cd9450: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/67cd9450/stage
returncode_list_mismatch/67cd9450: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/67cd9450: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/67cd9450 ──────────────

returncode_list_mismatch/67cd9450: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/67cd9450: Run - 1/1
returncode_list_mismatch/67cd9450: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/67cd9450: failed to submit job with returncode: 2
returncode_list_mismatch/67cd9450: Test completed in 0.014108 seconds with returncode: 2
returncode_list_mismatch/67cd9450: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/67cd9450/returncode_list_mismatch.out
returncode_list_mismatch/67cd9450: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/67cd9450/returncode_list_mismatch.err
returncode_list_mismatch/67cd9450: Checking returncode - 2 is matched in list [1, 3]
returncode_list_mismatch/20106a29: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/20106a29/stage
returncode_list_mismatch/20106a29: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/20106a29: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/20106a29 ──────────────

returncode_list_mismatch/20106a29: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/20106a29: Run - 1/1
returncode_list_mismatch/20106a29: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/20106a29: failed to submit job with returncode: 2
returncode_list_mismatch/20106a29: Test completed in 0.014327 seconds with returncode: 2
returncode_list_mismatch/20106a29: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/20106a29/returncode_list_mismatch.out
returncode_list_mismatch/20106a29: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/20106a29/returncode_list_mismatch.err
returncode_list_mismatch/20106a29: Checking returncode - 2 is matched in list [1, 3]
returncode_int_match/2e5343ca: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/2e5343ca/stage
returncode_int_match/2e5343ca: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/2e5343ca: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/2e5343ca ────────────────

returncode_int_match/2e5343ca: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/2e5343ca: Run - 1/1
returncode_int_match/2e5343ca: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/2e5343ca: failed to submit job with returncode: 128
returncode_int_match/2e5343ca: Test completed in 0.014544 seconds with returncode: 128
returncode_int_match/2e5343ca: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/2e5343ca/returncode_int_match.out
returncode_int_match/2e5343ca: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/2e5343ca/returncode_int_match.err
returncode_int_match/2e5343ca: Checking returncode - 128 is matched in list [128]
exit1_pass/f6fcf16c: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/f6fcf16c/stage
exit1_pass/f6fcf16c: Running Test via command: bash exit1_pass_build.sh
exit1_pass/f6fcf16c: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/f6fcf16c ─────────────────────

exit1_pass/f6fcf16c: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/f6fcf16c: Run - 1/1
exit1_pass/f6fcf16c: Running Test via command: bash exit1_pass_build.sh
exit1_pass/f6fcf16c: failed to submit job with returncode: 1
exit1_pass/f6fcf16c: Test completed in 0.014642 seconds with returncode: 1
exit1_pass/f6fcf16c: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/f6fcf16c/exit1_pass.out
exit1_pass/f6fcf16c: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/f6fcf16c/exit1_pass.err
exit1_pass/f6fcf16c: Checking returncode - 1 is matched in list [1]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fail/b01b6e8f     │ generic.local.bash │ FAIL   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/2e │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ 5343ca                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/48f908ca     │ generic.local.bash │ PASS   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/1b │ generic.local.bash │ PASS   │ 128        │ 0.014   │
│ 0349cd                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.014   │
│ h/20106a29              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/77ff0562     │ generic.local.bash │ FAIL   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/f6fcf16c     │ generic.local.bash │ PASS   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.014   │
│ h/67cd9450              │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 4/8 Percentage: 50.000%
Failed Tests: 4/8 Percentage: 50.000%


Adding 8 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_jqp893eb.log

The rebuild option expects a range between 1-50, the --rebuild=1 is equivalent to running without --rebuild option. We set a max limit for rebuild option to avoid system degredation due to high workload.

If you try to exceed this bound you will get an error such as

buildtest build -b tutorials/test_status/pass_returncode.yml --rebuild 51
$ buildtest build -b tutorials/test_status/pass_returncode.yml --rebuild 51
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ │
│ bin/buildtest:38 in <module>                                                 │
│                                                                              │
│   35                                                                         │
│   36 if __name__ == "__main__":                                              │
│   37                                                                         │
│ ❱ 38   sys.exit(main())                                                      │
│   39                                                                         │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │ buildtest_file = '/home/docs/checkouts/readthedocs.org/user_builds/buil… │ │
│ │           main = <function main at 0x7f96d5c4eee0>                       │ │
│ │             os = <module 'os' from                                       │ │
│ │                  '/home/docs/.asdf/installs/python/3.8.18/lib/python3.8… │ │
│ │         prefix = '/home/docs/checkouts/readthedocs.org/user_builds/buil… │ │
│ │            sys = <module 'sys' (built-in)>                               │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ │
│ buildtest/main.py:163 in main                                                │
│                                                                              │
│   160 │   if args.subcommands in ["build", "bd"]:                            │
│   161 │   │   stdout_file = tempfile.NamedTemporaryFile(delete=True, suffix= │
│   162 │   │   with Tee(stdout_file.name):                                    │
│ ❱ 163 │   │   │   cmd = BuildTest(                                           │
│   164 │   │   │   │   configuration=configuration,                           │
│   165 │   │   │   │   buildspecs=args.buildspec,                             │
│   166 │   │   │   │   exclude_buildspecs=args.exclude,                       │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │             args = Namespace(account=None,                               │ │
│ │                    buildspec=['tutorials/test_status/pass_returncode.ym… │ │
│ │                    color=None, configfile=None, debug=False,             │ │
│ │                    dry_run=False, editor=None, exclude=None,             │ │
│ │                    exclude_tags=None, executor=None, executor_type=None, │ │
│ │                    filter=None, helpcolor=False, helpfilter=False,       │ │
│ │                    limit=None, listopts=False, loglevel='DEBUG',         │ │
│ │                    logpath=False, max_jobs=None, maxpendtime=None,       │ │
│ │                    module_purge=False, modules=None, name=None,          │ │
│ │                    no_color=False, nodes=None, pollinterval=None,        │ │
│ │                    print_log=False, procs=None, profile=None,            │ │
│ │                    rebuild=51, remove_stagedir=False, report=None,       │ │
│ │                    rerun=False, retry=1, save_profile=None,              │ │
│ │                    subcommands='build', tags=None, testdir=None,         │ │
│ │                    timeout=None, unload_modules=None, validate=False,    │ │
│ │                    verbose=False, view_log=False,                        │ │
│ │                    write_config_file=None)                               │ │
│ │ buildtest_editor = '/usr/bin/vim'                                        │ │
│ │      config_file = None                                                  │ │
│ │    configuration = <buildtest.config.SiteConfiguration object at         │ │
│ │                    0x7f96d3d99790>                                       │ │
│ │           logger = <Logger buildtest (DEBUG)>                            │ │
│ │         no_color = False                                                 │ │
│ │           parser = <buildtest.cli.BuildTestParser object at              │ │
│ │                    0x7f96d5cf2ac0>                                       │ │
│ │      report_file = None                                                  │ │
│ │      stdout_file = <tempfile._TemporaryFileWrapper object at             │ │
│ │                    0x7f96d5cf29d0>                                       │ │
│ │           system = <buildtest.system.BuildTestSystem object at           │ │
│ │                    0x7f96d3d99520>                                       │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ │
│ buildtest/cli/build.py:705 in __init__                                       │
│                                                                              │
│    702 │   │   │   │   raise BuildTestError(f"{rebuild} is not of type int") │
│    703 │   │   │                                                             │
│    704 │   │   │   if rebuild > 50:                                          │
│ ❱  705 │   │   │   │   raise BuildTestError(                                 │
│    706 │   │   │   │   │   f"--rebuild {rebuild} exceeds maximum rebuild lim │
│    707 │   │   │   │   )                                                     │
│    708                                                                       │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │            account = None                                                │ │
│ │           arg_name = None                                                │ │
│ │         buildspecs = ['tutorials/test_status/pass_returncode.yml']       │ │
│ │      configuration = <buildtest.config.SiteConfiguration object at       │ │
│ │                      0x7f96d3d99790>                                     │ │
│ │            dry_run = False                                               │ │
│ │ exclude_buildspecs = None                                                │ │
│ │       exclude_tags = None                                                │ │
│ │      executor_type = None                                                │ │
│ │          executors = None                                                │ │
│ │  filter_buildspecs = None                                                │ │
│ │         helpfilter = False                                               │ │
│ │              limit = None                                                │ │
│ │           max_jobs = None                                                │ │
│ │        maxpendtime = None                                                │ │
│ │        modulepurge = False                                               │ │
│ │            modules = None                                                │ │
│ │               name = None                                                │ │
│ │           numnodes = None                                                │ │
│ │           numprocs = None                                                │ │
│ │      poll_interval = None                                                │ │
│ │            profile = None                                                │ │
│ │            rebuild = 51                                                  │ │
│ │    remove_stagedir = False                                               │ │
│ │        report_file = None                                                │ │
│ │              rerun = False                                               │ │
│ │              retry = 1                                                   │ │
│ │       save_profile = None                                                │ │
│ │               self = <buildtest.cli.build.BuildTest object at            │ │
│ │                      0x7f96d3dea130>                                     │ │
│ │               tags = None                                                │ │
│ │            testdir = None                                                │ │
│ │            timeout = None                                                │ │
│ │     unload_modules = None                                                │ │
│ │           validate = False                                               │ │
│ │            verbose = False                                               │ │
│ │  write_config_file = None                                                │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────╯
BuildTestError: '--rebuild 51 exceeds maximum rebuild limit of 50'

Limit Number of Tests (buildtest build --limit)

The buildtest build command can limit the number of tests that can run via --limit option. This can be useful when running large number of tests and you have no idea how many tests will run. The --limit <NUM> option expects a positive number which will limit number of tests to the total limit. If there are less tests to run than the value specified by --limit, then buildtest will run all the test. When buildtest has more tests to run than the value specified by --limit, then buildtest will exclude some tests.

To demonstrate this feature, we will run the same command with and without –limit option.

In first example, we will run a test that will run 4 tests.

buildtest build -b tutorials/test_status/pass_returncode.yml
$ buildtest build -b tutorials/test_status/pass_returncode.yml
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:55                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: VALID
Total builder objects created: 4
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/a0c94 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ e4e      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/a3a71 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ f10      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /c2c2c67 │        │          │          │       │       │ failed   │ readthe │
│ 9        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/bf2 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 7491a    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/a0c94e4e: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/a0c94e4e
exit1_pass/a3a71f10: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/a3a71f10
returncode_list_mismatch/c2c2c679: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/c2c2c679
returncode_int_match/bf27491a: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/bf27491a
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_pass/a3a71f10 does not have any dependencies adding test to queue
returncode_list_mismatch/c2c2c679 does not have any dependencies adding test to queue
exit1_fail/a0c94e4e does not have any dependencies adding test to queue
returncode_int_match/bf27491a does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/a0c94e4e               │
│ exit1_pass/a3a71f10               │
│ returncode_int_match/bf27491a     │
│ returncode_list_mismatch/c2c2c679 │
└───────────────────────────────────┘
exit1_fail/a0c94e4e: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/a0c94e4e/stage
exit1_fail/a0c94e4e: Running Test via command: bash exit1_fail_build.sh
exit1_fail/a0c94e4e: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/a0c94e4e ─────────────────────

exit1_fail/a0c94e4e: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/a0c94e4e: Run - 1/1
exit1_fail/a0c94e4e: Running Test via command: bash exit1_fail_build.sh
exit1_fail/a0c94e4e: failed to submit job with returncode: 1
exit1_fail/a0c94e4e: Test completed in 0.014341 seconds with returncode: 1
exit1_fail/a0c94e4e: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/a0c94e4e/exit1_fail.out
exit1_fail/a0c94e4e: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/a0c94e4e/exit1_fail.err
exit1_pass/a3a71f10: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/a3a71f10/stage
exit1_pass/a3a71f10: Running Test via command: bash exit1_pass_build.sh
exit1_pass/a3a71f10: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/a3a71f10 ─────────────────────

exit1_pass/a3a71f10: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/a3a71f10: Run - 1/1
exit1_pass/a3a71f10: Running Test via command: bash exit1_pass_build.sh
exit1_pass/a3a71f10: failed to submit job with returncode: 1
exit1_pass/a3a71f10: Test completed in 0.014173 seconds with returncode: 1
exit1_pass/a3a71f10: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/a3a71f10/exit1_pass.out
exit1_pass/a3a71f10: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/a3a71f10/exit1_pass.err
exit1_pass/a3a71f10: Checking returncode - 1 is matched in list [1]
returncode_int_match/bf27491a: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/bf27491a/stage
returncode_int_match/bf27491a: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/bf27491a: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/bf27491a ────────────────

returncode_int_match/bf27491a: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/bf27491a: Run - 1/1
returncode_int_match/bf27491a: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/bf27491a: failed to submit job with returncode: 128
returncode_int_match/bf27491a: Test completed in 0.014335 seconds with returncode: 128
returncode_int_match/bf27491a: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/bf27491a/returncode_int_match.out
returncode_int_match/bf27491a: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_int_match/bf27491a/returncode_int_match.err
returncode_int_match/bf27491a: Checking returncode - 128 is matched in list [128]
returncode_list_mismatch/c2c2c679: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/c2c2c679/stage
returncode_list_mismatch/c2c2c679: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/c2c2c679: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/c2c2c679 ──────────────

returncode_list_mismatch/c2c2c679: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/c2c2c679: Run - 1/1
returncode_list_mismatch/c2c2c679: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/c2c2c679: failed to submit job with returncode: 2
returncode_list_mismatch/c2c2c679: Test completed in 0.014051 seconds with returncode: 2
returncode_list_mismatch/c2c2c679: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/c2c2c679/returncode_list_mismatch.out
returncode_list_mismatch/c2c2c679: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/c2c2c679/returncode_list_mismatch.err
returncode_list_mismatch/c2c2c679: Checking returncode - 2 is matched in list [1, 3]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_pass/a3a71f10     │ generic.local.bash │ PASS   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/bf │ generic.local.bash │ PASS   │ 128        │ 0.014   │
│ 27491a                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/a0c94e4e     │ generic.local.bash │ FAIL   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.014   │
│ h/c2c2c679              │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 2/4 Percentage: 50.000%
Failed Tests: 2/4 Percentage: 50.000%


Adding 4 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_8e4wao2_.log

Now let’s run this same test with --limit=2 and notice buildtest will run 2/4 tests

buildtest build -b tutorials/test_status/pass_returncode.yml --limit=2
$ buildtest build -b tutorials/test_status/pass_returncode.yml --limit=2
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:56                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: VALID
Total builder objects created: 4
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/31ec3 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 122      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/86519 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 81b      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /7b01722 │        │          │          │       │       │ failed   │ readthe │
│ 7        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/2ff │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 6ca58    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
Limit number of tests to 2 for Building and Running. 
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/31ec3122: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/31ec3122
exit1_pass/8651981b: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/8651981b
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/31ec3122 does not have any dependencies adding test to queue
exit1_pass/8651981b does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder             ┃
┡━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/31ec3122 │
│ exit1_pass/8651981b │
└─────────────────────┘
exit1_fail/31ec3122: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/31ec3122/stage
exit1_fail/31ec3122: Running Test via command: bash exit1_fail_build.sh
exit1_fail/31ec3122: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/31ec3122 ─────────────────────

exit1_fail/31ec3122: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/31ec3122: Run - 1/1
exit1_fail/31ec3122: Running Test via command: bash exit1_fail_build.sh
exit1_fail/31ec3122: failed to submit job with returncode: 1
exit1_fail/31ec3122: Test completed in 0.014433 seconds with returncode: 1
exit1_fail/31ec3122: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/31ec3122/exit1_fail.out
exit1_fail/31ec3122: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_fail/31ec3122/exit1_fail.err
exit1_pass/8651981b: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/8651981b/stage
exit1_pass/8651981b: Running Test via command: bash exit1_pass_build.sh
exit1_pass/8651981b: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/8651981b ─────────────────────

exit1_pass/8651981b: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/8651981b: Run - 1/1
exit1_pass/8651981b: Running Test via command: bash exit1_pass_build.sh
exit1_pass/8651981b: failed to submit job with returncode: 1
exit1_pass/8651981b: Test completed in 0.013884 seconds with returncode: 1
exit1_pass/8651981b: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/8651981b/exit1_pass.out
exit1_pass/8651981b: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/pass_returncode/exit1_pass/8651981b/exit1_pass.err
exit1_pass/8651981b: Checking returncode - 1 is matched in list [1]
                                Test Summary                                
┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder             ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_pass/8651981b │ generic.local.bash │ PASS   │ 1          │ 0.014   │
├─────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/31ec3122 │ generic.local.bash │ FAIL   │ 1          │ 0.014   │
└─────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 1/2 Percentage: 50.000%
Failed Tests: 1/2 Percentage: 50.000%


Adding 2 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_2h1zrjfc.log

If you specify 0 or negative number you will get an error as follows

buildtest build -b tutorials/test_status/pass_returncode.yml --limit=0
$ buildtest build -b tutorials/test_status/pass_returncode.yml --limit=0
usage: buildtest [options] [COMMANDS] build [-h] [-b BUILDSPEC] [-x EXCLUDE]
                                            [-n NAME] [-e EXECUTOR]
                                            [-xt EXCLUDE_TAGS] [-t TAGS]
                                            [--rerun] [-f FILTER]
                                            [--helpfilter] [-et {local,batch}]
                                            [--module-purge] [-m MODULES]
                                            [-u UNLOAD_MODULES]
                                            [--account ACCOUNT]
                                            [--maxpendtime MAXPENDTIME]
                                            [--pollinterval POLLINTERVAL]
                                            [--procs PROCS [PROCS ...]]
                                            [--nodes NODES [NODES ...]]
                                            [--dry-run] [--limit LIMIT]
                                            [--max-jobs MAX_JOBS]
                                            [--profile PROFILE]
                                            [--remove-stagedir]
                                            [--rebuild REBUILD]
                                            [--retry RETRY]
                                            [--save-profile SAVE_PROFILE]
                                            [--testdir TESTDIR]
                                            [--timeout TIMEOUT] [--validate]
                                            [--write-config-file WRITE_CONFIG_FILE]
buildtest [options] [COMMANDS] build: error: argument --limit: Input: 0 converted to int: 0 must be a positive number

Rerun Last Command (buildtest build --rerun)

The buildtest build --rerun command can be used to rerun last successful buildtest build command, this can be useful if you want to repeat a certain build without having to remember the command or going through your command history to find the command you ran. When using this option all other options passed to buildtest will be ignored. In order to use –rerun option you must run buildtest build command such that buildtest can rerun your last successful command.

Let’s start by building a simple test.

buildtest build -b tutorials/vars.yml
$ buildtest build -b tutorials/vars.yml
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:57                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/vars.yml                                                           ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ s_bash/2 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 05ba3bd  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/vars. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/205ba3bd: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/205ba3bd
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/205ba3bd does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/205ba3bd │
└─────────────────────────┘
variables_bash/205ba3bd: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/205ba3bd/stage
variables_bash/205ba3bd: Running Test via command: bash variables_bash_build.sh
variables_bash/205ba3bd: Test completed in 0.009323 seconds with returncode: 0
variables_bash/205ba3bd: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/205ba3bd/variables_bash.out
variables_bash/205ba3bd: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/205ba3bd/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/205ba3bd │ generic.local.bash │ PASS   │ 0          │ 0.009   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 1/1 Percentage: 100.000%
Failed Tests: 0/1 Percentage: 0.000%


Adding 1 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_nffrjur5.log

Next let’s rerun the same command via buildtest build --rerun and take note that it will rerun same command as before

buildtest build --rerun
$ buildtest build --rerun
Reading content of rerun file /tmp/tmpyzdfrhut/var/rerun.json all other options will be ignored.
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:58                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/vars.yml                                                           ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ s_bash/0 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ e358021  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/vars. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/0e358021: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/0e358021
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/0e358021 does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/0e358021 │
└─────────────────────────┘
variables_bash/0e358021: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/0e358021/stage
variables_bash/0e358021: Running Test via command: bash variables_bash_build.sh
variables_bash/0e358021: Test completed in 0.009459 seconds with returncode: 0
variables_bash/0e358021: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/0e358021/variables_bash.out
variables_bash/0e358021: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/0e358021/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/0e358021 │ generic.local.bash │ PASS   │ 0          │ 0.009   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 1/1 Percentage: 100.000%
Failed Tests: 0/1 Percentage: 0.000%


Adding 1 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_4x4jqswv.log

If you pass additional options with --rerun it will simply be ignored. In this case -t python --dry-run will not be read by buildtest instead we will rerun same command.

buildtest build --rerun -t python --dry-run
$ buildtest build --rerun -t python --dry-run
Reading content of rerun file /tmp/tmpyzdfrhut/var/rerun.json all other options will be ignored.
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:58                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/vars.yml                                                           ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ s_bash/0 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 086bc48  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/vars. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/0086bc48: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/0086bc48
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/0086bc48 does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/0086bc48 │
└─────────────────────────┘
variables_bash/0086bc48: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/0086bc48/stage
variables_bash/0086bc48: Running Test via command: bash variables_bash_build.sh
variables_bash/0086bc48: Test completed in 0.009828 seconds with returncode: 0
variables_bash/0086bc48: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/0086bc48/variables_bash.out
variables_bash/0086bc48: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/vars/variables_bash/0086bc48/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/0086bc48 │ generic.local.bash │ PASS   │ 0          │ 0.010   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 1/1 Percentage: 100.000%
Failed Tests: 0/1 Percentage: 0.000%


Adding 1 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_han461bm.log

Note

The buildtest clean will erase all history of builds and if you run buildtest build --rerun will raise an exception

Specify Modules in command line

If your system supports modules such as environment-modules or Lmod you can specify a list of modules to load (module load) in the test via buildtest build --modules. You can specify a comma separated list of modules to load, for example if you want to load gcc and python module in your test you can run buildtest build --modules gcc,python. You may specify full name of module with version for instance you want test to load gcc/9.3.0 and python/3.7 you can run buildtest build --modules gcc/9.3.0,python/3.7.

If you want test to run module purge before running test you can specify buildtest build --module-purge option. If you specify --module-purge and --modules then module purge will be run prior to loading any modules.

Similarly, you can unload modules before running any test via buildtest build --unload-modules which is a list of modules to run module unload command and works similar to --modules option. Buildtest will unload modules before loading modules if both –modules and –unload-modules are specified. If –module-purge is also specified then we run module purge first before loading/unloading any modules.

Use Alternate Configuration file

If you want to use an alternate configuration file when building test you can use buildtest -c <config> build. buildtest will prefer configuration file on command line over the user configuration ($HOME/.buildtest/config.yml). For more details see Which configuration file does buildtest read?.

Removing Stage Directory

buildtest will write the tests in stage directory where test will be executed, typically buildtest will keep the stage directory but if you want to remove the directory you can use buildtest build --remove-stagedir.

Specify Project Account for batch jobs (buildtest build --account)

For batch jobs you typically require one to specify a project account in order to charge jobs depending on your scheduler you can use buildtest build --account option and specify an account name. The command line argument --account will override configuration setting. For more details see Specifying Project Account

Test Timeout (buildtest build --timeout)

Buildtest can terminate test based on timeout value specified via --timeout option which can be used to terminate long running test. The timeout is in seconds and value must be a positive integer which is applied to all test that are run via buildtest build command. If test exceeds the timeout value, then process will be terminated.

To demonstrate this behavior, we will run the following test with a timeout of 1 sec which is expected to fail. Take note of the test returncode of test.

buildtest build -b tutorials/sleep.yml --timeout 1
$ buildtest build -b tutorials/sleep.yml --timeout 1
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:42:59                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/sleep.yml                                                          ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/sleep.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ sleep/ed │ script │ generic. │ None     │ None  │ None  │ sleep 2  │ /home/d │
│ 5c4c47   │        │ local.ba │          │       │       │ seconds  │ ocs/che │
│          │        │ sh       │          │       │       │          │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/sleep │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
sleep/ed5c4c47: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/sleep/sleep/ed5c4c47
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
sleep/ed5c4c47 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━┓
┃ Builder        ┃
┡━━━━━━━━━━━━━━━━┩
│ sleep/ed5c4c47 │
└────────────────┘
sleep/ed5c4c47: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/sleep/sleep/ed5c4c47/stage
sleep/ed5c4c47: Running Test via command: bash sleep_build.sh
sleep/ed5c4c47: failed to submit job with returncode: -9
─────────────────────── Error Message for sleep/ed5c4c47 ───────────────────────

sleep/ed5c4c47: Detected failure in running test, will attempt to retry test: 1 times
sleep/ed5c4c47: Run - 1/1
sleep/ed5c4c47: Running Test via command: bash sleep_build.sh
sleep/ed5c4c47: failed to submit job with returncode: -9
sleep/ed5c4c47: Test completed in 2.013485 seconds with returncode: -9
sleep/ed5c4c47: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/sleep/sleep/ed5c4c47/sleep.out
sleep/ed5c4c47: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/sleep/sleep/ed5c4c47/sleep.err
                             Test Summary                              
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder        ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ sleep/ed5c4c47 │ generic.local.bash │ FAIL   │ -9         │ 2.013   │
└────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 0/1 Percentage: 0.000%
Failed Tests: 1/1 Percentage: 100.000%


Adding 1 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_4znbhxkl.log

Now if we run this test with a higher timeout value we will see this test will pass, if no timeout is specified then test will run until completion.

buildtest build -b tutorials/sleep.yml --timeout 10
$ buildtest build -b tutorials/sleep.yml --timeout 10
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:43:02                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/sleep.yml                                                          ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/sleep.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ sleep/a7 │ script │ generic. │ None     │ None  │ None  │ sleep 2  │ /home/d │
│ 1c36d9   │        │ local.ba │          │       │       │ seconds  │ ocs/che │
│          │        │ sh       │          │       │       │          │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/sleep │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
sleep/a71c36d9: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/sleep/sleep/a71c36d9
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
sleep/a71c36d9 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━┓
┃ Builder        ┃
┡━━━━━━━━━━━━━━━━┩
│ sleep/a71c36d9 │
└────────────────┘
sleep/a71c36d9: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/sleep/sleep/a71c36d9/stage
sleep/a71c36d9: Running Test via command: bash sleep_build.sh
sleep/a71c36d9: Test completed in 2.019746 seconds with returncode: 0
sleep/a71c36d9: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/sleep/sleep/a71c36d9/sleep.out
sleep/a71c36d9: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/sleep/sleep/a71c36d9/sleep.err
                             Test Summary                              
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder        ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ sleep/a71c36d9 │ generic.local.bash │ PASS   │ 0          │ 2.020   │
└────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 1/1 Percentage: 100.000%
Failed Tests: 0/1 Percentage: 0.000%


Adding 1 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_sj28q7kg.log

Using Profiles (buildtest build --profile)

Buildtest has a concept of profiles, which allows one to run a set of buildtest build options without having to remember all the options. This can be useful if you are running a set of tests repeatedly. In-order to use profiles you must first, create a profile by using --save-profile.

For example, let’s create a profile called python-tests for all tests with tag python

buildtest build -t python --save-profile=python-tests
$ buildtest build -t python --save-profile=python-tests
Saved profile python-tests to configuration file /tmp/tmpyzdfrhut/config.yml

Next, let’s see our configuration file, you will notice a new section called profiles with a profile called python-tests

buildtest configuration with profile
$ buildtest config view
───────────────────────── /tmp/tmpyzdfrhut/config.yml ──────────────────────────
    1 system:
    2   generic:
    3     # specify a list of hostnames that is a regular expression where buildtest can run.
    4     hostnames: ['.*']
    5     # system description
    6     description: Generic System
    7     # specify module system to use. Supported module systems are [lmod, environment-modules, none]
    8     moduletool: none
    9 
   10     # specify size of job pool (https://docs.python.org/3/library/multiprocessing.html#multiprocessing.pool.Pool). This will configure the number of processes that can run in parallel.
   11     # If not specified then buildtest will use all available cores on the system.
   12     poolsize: 1
   13 
   14     # maximum number of jobs that can run in parallel. If not specified, buildtest will run all jobs in parallel.
   15     #max_jobs: 1
   16 
   17     # test timeout in number of seconds
   18     # timeout: 3600
   19 
   20     # enable pagination for buildtest
   21     pager: false
   22 
   23     # options for buildtest buildspec find command
   24     buildspecs:
   25       # determine whether to rebuild buildspec cache
   26       rebuild: false
   27       # determine number of records to display
   28       count: 15
   29 
   30       # specify format fields
   31       #format: name,description
   32 
   33       # display output in terse mode
   34       terse: false
   35 
   36       # list of paths to search for buildspecs
   37       #root: ["$BUILDTEST_ROOT/tutorials", "$BUILDTEST_ROOT/examples"]
   38 
   39     # options for buildtest report command
   40     report:
   41       # number of records to display
   42       count: 25
   43       # display output in terse mode
   44       terse: false
   45       # specify format fields
   46       format: name,id,state,runtime,returncode
   47 
   48     # specify directory paths to search for binaries
   49     #paths:
   50       # directory path to search for slurm binaries.
   51       #slurm: "/usr/bin"
   52 
   53       # directory path to search for lsf binaries.
   54       #lsf: "/usr/bin"
   55 
   56       # directory path to search for pbs binaries.
   57       #pbs: "/usr/bin"
   58 
   59       # directory path to search for torque binaries.
   60       #torque: "/usr/bin"
   61 
   62       # directory path to search for cobalt binaries.
   63       #cobalt: "/usr/bin"
   64 
   65 
   66     # start of executor configuration
   67     executors:
   68       # local executor is used to submit jobs on local machine. In this example we have 4 executors: bash, sh, csh, zsh that will submit jobs using bash, sh, csh, zsh shell respectively.
   69       local:
   70         bash:
   71           description: submit jobs on local machine using bash shell
   72           shell: bash
   73         sh:
   74           description: submit jobs on local machine using sh shell
   75           shell: sh
   76         csh:
   77           description: submit jobs on local machine using csh shell
   78           shell: csh
   79         zsh:
   80           description: submit jobs on local machine using zsh shell
   81           shell: zsh
   82     # specify compiler declaration
   83     compilers:
   84       compiler:
   85         # declaration of all gcc compilers
   86         gcc:
   87           # name of compiler
   88           builtin_gcc:
   89             cc: gcc
   90             fc: gfortran
   91             cxx: g++
   92     # specify CDASH configuration when using 'buildtest cdash upload'
   93     cdash:
   94       # CDASH server
   95       url: https://my.cdash.org/
   96       # name of CDASH project where to push test reports
   97       project: buildtest
   98       # specify the site name which should generally by name of your HPC system. This is used by CDASH to group test results by site
   99       site: generic
  100       # specify the build name which is used to group test results by build name
  101       buildname: tutorials
  102

Next, let’s build the tests via newly created profile and take note that it will run all tests with tag python

buildtest build --profile=python-tests
$ buildtest build --profile=python-tests
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:43:05                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  2
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-hello.yml: VALID
Total builder objects created: 2
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/5cc1 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 4c32     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-shell │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello    │ /home/d │
│ ello/7ed │        │ local.ba │          │       │       │ World    │ ocs/che │
│ 49bad    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-hello │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
circle_area/5cc14c32: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/5cc14c32
python_hello/7ed49bad: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/7ed49bad
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
circle_area/5cc14c32 does not have any dependencies adding test to queue
python_hello/7ed49bad does not have any dependencies adding test to queue
Builders Eligible to Run 
┏━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━┩
│ circle_area/5cc14c32  │
│ python_hello/7ed49bad │
└───────────────────────┘
circle_area/5cc14c32: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/5cc14c32/stage
circle_area/5cc14c32: Running Test via command: bash circle_area_build.sh
circle_area/5cc14c32: Test completed in 0.033972 seconds with returncode: 0
circle_area/5cc14c32: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/5cc14c32/circle_area.out
circle_area/5cc14c32: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-shell/circle_area/5cc14c32/circle_area.err
python_hello/7ed49bad: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/7ed49bad/stage
python_hello/7ed49bad: Running Test via command: bash python_hello_build.sh
python_hello/7ed49bad: Test completed in 0.030213 seconds with returncode: 0
python_hello/7ed49bad: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/7ed49bad/python_hello.out
python_hello/7ed49bad: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/python-hello/python_hello/7ed49bad/python_hello.err
                                 Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder               ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ circle_area/5cc14c32  │ generic.local.bash │ PASS   │ 0          │ 0.034   │
├───────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ python_hello/7ed49bad │ generic.local.bash │ PASS   │ 0          │ 0.030   │
└───────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 2/2 Percentage: 100.000%
Failed Tests: 0/2 Percentage: 0.000%


Adding 2 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_6eqp_nht.log

You can also specify an alternate location to write configuration file via --write-config-file when saving profile configuration. This can be useful if one wants to use a new configuration file without overwriting the current file for testing purposes. To demonstrate this, we will save the profile to configuration file /tmp/my_config.yml

buildtest build -t python --save-profile=python --write-config-file=/tmp/my_config.yml
$ buildtest build -t python --save-profile=python --write-config-file=/tmp/my_config.yml
Saved profile python to configuration file /tmp/my_config.yml

We can view the profile configuration file by specifying the path to the configuration file.

$ buildtest --config /tmp/my_config.yml config view
────────────────────────────── /tmp/my_config.yml ──────────────────────────────
   1 system:
   2   generic:
   3     hostnames:
   4     - .*
   5     description: Generic System
   6     moduletool: none
   7     poolsize: 1
   8     pager: false
   9     buildspecs:
  10       rebuild: false
  11       count: 15
  12       terse: false
  13     report:
  14       count: 25
  15       terse: false
  16       format: name,id,state,runtime,returncode
  17     executors:
  18       local:
  19         bash:
  20           description: submit jobs on local machine using bash shell
  21           shell: bash
  22         sh:
  23           description: submit jobs on local machine using sh shell
  24           shell: sh
  25         csh:
  26           description: submit jobs on local machine using csh shell
  27           shell: csh
  28     compilers:
  29       compiler:
  30         gcc:
  31           builtin_gcc:
  32             cc: gcc
  33             fc: gfortran
  34             cxx: g++
  35     cdash:
  36       url: https://my.cdash.org/
  37       project: buildtest
  38       site: generic
  39       buildname: tutorials
  40     profiles:
  41       python:
  42         tags:
  43         - python
  44         validate: false
  45         dry-run: false
  46         testdir: /tmp/tmpyzdfrhut/var/tests
  47         remove-stagedir: false
  48       prof1:
  49         tags:
  50         - python
  51         validate: false
  52         dry-run: false
  53         testdir: /tmp/tmpyzdfrhut/var/tests
  54         remove-stagedir: false
  55       prof2:
  56         buildspecs:
  57         - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/shell_examples.yml
  58         validate: false
  59         dry-run: false
  60         testdir: /tmp/tmpyzdfrhut/var/tests
  61         remove-stagedir: false
  62       python-tests:
  63         tags:
  64         - python
  65         validate: false
  66         dry-run: false
  67         testdir: /tmp/tmpyzdfrhut/var/tests
  68         remove-stagedir: false
  69

Please note that when using -write-config-file, the path must be a file path and file must not exist. If you specify a directory path or file already exists you will get an error message.

Limit Maximum Jobs that can run concurrently (buildtest build --max-jobs)

Buildtest can cap a limit on number of tests that can run concurrently. This can be set in configuration file via max_jobs field or overridden on command line option via --max-jobs. By default, buildtest will run all jobs concurrently, however with --max-jobs, buildtest will limit number of concurrent jobs specified by --max-jobs.

Let’s limit the number of concurrent jobs to 2 tests, take note that buildtest will run 2 tests per iteration, and wait until test is completed and then proceed to next test.

buildtest build -b tutorials/hello_world.yml --rebuild=5 --max-jobs=2
$ buildtest build -b tutorials/hello_world.yml --rebuild=5 --max-jobs=2
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24186292-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/25 15:43:07                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmpyzdfrhut/config.yml                              │
│ Test Directory:     /tmp/tmpyzdfrhut/var/tests                               │
│ Report File:        /tmp/tmpyzdfrhut/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/hello_world.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/hello_world.yml: VALID
Total builder objects created: 5
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/3b33 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ eb7f     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/hello │
│          │        │          │          │       │       │          │ _world. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/4525 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ e3dd     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/hello │
│          │        │          │          │       │       │          │ _world. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/b7aa │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 253c     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/hello │
│          │        │          │          │       │       │          │ _world. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/b618 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 47b0     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/hello │
│          │        │          │          │       │       │          │ _world. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/8c13 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 8119     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/hello │
│          │        │          │          │       │       │          │ _world. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
hello_world/3b33eb7f: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/3b33eb7f
hello_world/4525e3dd: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/4525e3dd
hello_world/b7aa253c: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/b7aa253c
hello_world/b61847b0: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/b61847b0
hello_world/8c138119: Creating Test Directory: /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/8c138119
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
hello_world/4525e3dd does not have any dependencies adding test to queue
hello_world/b7aa253c does not have any dependencies adding test to queue
hello_world/3b33eb7f does not have any dependencies adding test to queue
hello_world/b61847b0 does not have any dependencies adding test to queue
hello_world/8c138119 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/4525e3dd │
│ hello_world/b7aa253c │
└──────────────────────┘
hello_world/4525e3dd: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/4525e3dd/stage
hello_world/4525e3dd: Running Test via command: bash hello_world_build.sh
hello_world/4525e3dd: Test completed in 0.005791 seconds with returncode: 0
hello_world/4525e3dd: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/4525e3dd/hello_world.out
hello_world/4525e3dd: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/4525e3dd/hello_world.err
hello_world/b7aa253c: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/b7aa253c/stage
hello_world/b7aa253c: Running Test via command: bash hello_world_build.sh
hello_world/b7aa253c: Test completed in 0.005497 seconds with returncode: 0
hello_world/b7aa253c: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/b7aa253c/hello_world.out
hello_world/b7aa253c: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/b7aa253c/hello_world.err
───────────────────────────────── Iteration 2 ──────────────────────────────────
hello_world/3b33eb7f does not have any dependencies adding test to queue
hello_world/b61847b0 does not have any dependencies adding test to queue
hello_world/8c138119 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/b61847b0 │
│ hello_world/3b33eb7f │
└──────────────────────┘
hello_world/b61847b0: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/b61847b0/stage
hello_world/b61847b0: Running Test via command: bash hello_world_build.sh
hello_world/b61847b0: Test completed in 0.005454 seconds with returncode: 0
hello_world/b61847b0: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/b61847b0/hello_world.out
hello_world/b61847b0: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/b61847b0/hello_world.err
hello_world/3b33eb7f: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/3b33eb7f/stage
hello_world/3b33eb7f: Running Test via command: bash hello_world_build.sh
hello_world/3b33eb7f: Test completed in 0.005492 seconds with returncode: 0
hello_world/3b33eb7f: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/3b33eb7f/hello_world.out
hello_world/3b33eb7f: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/3b33eb7f/hello_world.err
───────────────────────────────── Iteration 3 ──────────────────────────────────
hello_world/8c138119 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/8c138119 │
└──────────────────────┘
hello_world/8c138119: Current Working Directory : /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/8c138119/stage
hello_world/8c138119: Running Test via command: bash hello_world_build.sh
hello_world/8c138119: Test completed in 0.005541 seconds with returncode: 0
hello_world/8c138119: Writing output file -  /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/8c138119/hello_world.out
hello_world/8c138119: Writing error file - /tmp/tmpyzdfrhut/var/tests/generic.local.bash/hello_world/hello_world/8c138119/hello_world.err
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ hello_world/4525e3dd │ generic.local.bash │ PASS   │ 0          │ 0.006   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/3b33eb7f │ generic.local.bash │ PASS   │ 0          │ 0.005   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/b7aa253c │ generic.local.bash │ PASS   │ 0          │ 0.005   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/b61847b0 │ generic.local.bash │ PASS   │ 0          │ 0.005   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/8c138119 │ generic.local.bash │ PASS   │ 0          │ 0.006   │
└──────────────────────┴────────────────────┴────────┴────────────┴─────────┘



Passed Tests: 5/5 Percentage: 100.000%
Failed Tests: 0/5 Percentage: 0.000%


Adding 5 test results to report file: /tmp/tmpyzdfrhut/var/report.json
Writing Logfile to /tmp/tmpyzdfrhut/var/logs/buildtest_vffrhmog.log