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]
                                            [--strict] [--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
  --strict              Enable strict mode for test by setting 'set -eo
                        pipefail' in test script
  --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/tmpg56mdva9/var/buildspecs/cache.json
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:10: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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/d │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ e1f7b14  │        │ 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/de1f7b14: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/de1f7b14
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/de1f7b14 does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/de1f7b14 │
└─────────────────────────┘
variables_bash/de1f7b14: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/de1f7b14/stage
variables_bash/de1f7b14: Running Test via command: bash variables_bash_build.sh
variables_bash/de1f7b14: Test completed in 0.109765 seconds with returncode: 0
variables_bash/de1f7b14: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/de1f7b14/variables_bash.out
variables_bash/de1f7b14: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/de1f7b14/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/de1f7b14 │ generic.local.bash │ PASS   │ 0          │ 0.110   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_8pqkpzrj.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:11: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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/ulimits.yml                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/systemd-default-target.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/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/ulimits.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/systemd-default-target.yml: VALID
Total builder objects created: 9
                            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 │
│ /858bc54 │        │ sh       │          │       │       │ Swap     │ ckouts/ │
│ 9        │        │          │          │       │       │ 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 │
│ 007c537d │        │ 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  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ ilelock_ │        │ local.ba │          │       │       │ file     │ ocs/che │
│ unlimite │        │ sh       │          │       │       │ lock is  │ ckouts/ │
│ d/c2711f │        │          │          │       │       │ set to   │ readthe │
│ 0b       │        │          │          │       │       │ 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/ │
│ /d9c7c2a │        │          │          │       │       │ to       │ readthe │
│ b        │        │          │          │       │       │ 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/2b03f │        │          │          │       │       │ set to   │ readthe │
│ 4d4      │        │          │          │       │       │ 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/ │
│ c311a9d3 │        │          │          │       │       │ 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/baf4f │        │          │          │       │       │ descript │ readthe │
│ 94d      │        │          │          │       │       │ 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/545 │        │          │          │       │       │ of user  │ readthe │
│ cdcde    │        │          │          │       │       │ 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     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ systemd_ │ script │ generic. │ None     │ None  │ None  │ check if │ /home/d │
│ default_ │        │ local.ba │          │       │       │ default  │ ocs/che │
│ target/d │        │ sh       │          │       │       │ target   │ ckouts/ │
│ d40784d  │        │          │          │       │       │ 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    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
kernel_swapusage/858bc549: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/kernel_state/kernel_swapusage/858bc549
root_disk_usage/007c537d: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/disk_usage/root_disk_usage/007c537d
ulimit_filelock_unlimited/c2711f0b: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/c2711f0b
ulimit_cputime_unlimited/d9c7c2ab: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/d9c7c2ab
ulimit_stacksize_unlimited/2b03f4d4: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/2b03f4d4
ulimit_vmsize_unlimited/c311a9d3: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/c311a9d3
ulimit_filedescriptor_4096/baf4f94d: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/baf4f94d
ulimit_max_user_process_2048/545cdcde: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/545cdcde
systemd_default_target/dd40784d: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/dd40784d
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
kernel_swapusage/858bc549 does not have any dependencies adding test to queue
ulimit_cputime_unlimited/d9c7c2ab does not have any dependencies adding test to queue
ulimit_stacksize_unlimited/2b03f4d4 does not have any dependencies adding test to queue
systemd_default_target/dd40784d does not have any dependencies adding test to queue
ulimit_filelock_unlimited/c2711f0b does not have any dependencies adding test to queue
root_disk_usage/007c537d does not have any dependencies adding test to queue
ulimit_max_user_process_2048/545cdcde does not have any dependencies adding test to queue
ulimit_filedescriptor_4096/baf4f94d does not have any dependencies adding test to queue
ulimit_vmsize_unlimited/c311a9d3 does not have any dependencies adding test to queue
        Builders Eligible to Run         
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ kernel_swapusage/858bc549             │
│ ulimit_cputime_unlimited/d9c7c2ab     │
│ ulimit_stacksize_unlimited/2b03f4d4   │
│ systemd_default_target/dd40784d       │
│ ulimit_filelock_unlimited/c2711f0b    │
│ root_disk_usage/007c537d              │
│ ulimit_max_user_process_2048/545cdcde │
│ ulimit_filedescriptor_4096/baf4f94d   │
│ ulimit_vmsize_unlimited/c311a9d3      │
└───────────────────────────────────────┘
kernel_swapusage/858bc549: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/kernel_state/kernel_swapusage/858bc549/stage
kernel_swapusage/858bc549: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/858bc549: failed to submit job with returncode: 255
───────────────── Error Message for kernel_swapusage/858bc549 ──────────────────
sysctl: cannot stat /proc/sys/kernel/swapusage: No such file or directory

kernel_swapusage/858bc549: Detected failure in running test, will attempt to retry test: 1 times
kernel_swapusage/858bc549: Run - 1/1
kernel_swapusage/858bc549: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/858bc549: failed to submit job with returncode: 255
kernel_swapusage/858bc549: Test completed in 0.01688 seconds with returncode: 255
kernel_swapusage/858bc549: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/kernel_state/kernel_swapusage/858bc549/kernel_swapusage.out
kernel_swapusage/858bc549: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/kernel_state/kernel_swapusage/858bc549/kernel_swapusage.err
ulimit_cputime_unlimited/d9c7c2ab: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/d9c7c2ab/stage
ulimit_cputime_unlimited/d9c7c2ab: Running Test via command: bash ulimit_cputime_unlimited_build.sh
ulimit_cputime_unlimited/d9c7c2ab: Test completed in 0.005538 seconds with returncode: 0
ulimit_cputime_unlimited/d9c7c2ab: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/d9c7c2ab/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/d9c7c2ab: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/d9c7c2ab/ulimit_cputime_unlimited.err
ulimit_cputime_unlimited/d9c7c2ab: performing regular expression - '^unlimited$' on file: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/d9c7c2ab/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/d9c7c2ab: Regular Expression Match - Success!
ulimit_stacksize_unlimited/2b03f4d4: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/2b03f4d4/stage
ulimit_stacksize_unlimited/2b03f4d4: Running Test via command: bash ulimit_stacksize_unlimited_build.sh
ulimit_stacksize_unlimited/2b03f4d4: Test completed in 0.005538 seconds with returncode: 0
ulimit_stacksize_unlimited/2b03f4d4: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/2b03f4d4/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/2b03f4d4: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/2b03f4d4/ulimit_stacksize_unlimited.err
ulimit_stacksize_unlimited/2b03f4d4: performing regular expression - '^unlimited$' on file: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/2b03f4d4/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/2b03f4d4: Regular Expression Match - Failed!
systemd_default_target/dd40784d: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/dd40784d/stage
systemd_default_target/dd40784d: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/dd40784d: failed to submit job with returncode: 1
────────────── Error Message for systemd_default_target/dd40784d ───────────────

systemd_default_target/dd40784d: Detected failure in running test, will attempt to retry test: 1 times
systemd_default_target/dd40784d: Run - 1/1
systemd_default_target/dd40784d: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/dd40784d: failed to submit job with returncode: 1
systemd_default_target/dd40784d: Test completed in 0.019334 seconds with returncode: 1
systemd_default_target/dd40784d: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/dd40784d/systemd_default_target.out
systemd_default_target/dd40784d: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/dd40784d/systemd_default_target.err
ulimit_filelock_unlimited/c2711f0b: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/c2711f0b/stage
ulimit_filelock_unlimited/c2711f0b: Running Test via command: bash ulimit_filelock_unlimited_build.sh
ulimit_filelock_unlimited/c2711f0b: Test completed in 0.00558 seconds with returncode: 0
ulimit_filelock_unlimited/c2711f0b: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/c2711f0b/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/c2711f0b: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/c2711f0b/ulimit_filelock_unlimited.err
ulimit_filelock_unlimited/c2711f0b: performing regular expression - '^unlimited$' on file: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/c2711f0b/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/c2711f0b: Regular Expression Match - Success!
root_disk_usage/007c537d: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/disk_usage/root_disk_usage/007c537d/stage
root_disk_usage/007c537d: Running Test via command: bash root_disk_usage_build.sh
root_disk_usage/007c537d: Test completed in 0.009561 seconds with returncode: 0
root_disk_usage/007c537d: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/disk_usage/root_disk_usage/007c537d/root_disk_usage.out
root_disk_usage/007c537d: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/disk_usage/root_disk_usage/007c537d/root_disk_usage.err
ulimit_max_user_process_2048/545cdcde: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/545cdcde/stage
ulimit_max_user_process_2048/545cdcde: Running Test via command: bash ulimit_max_user_process_2048_build.sh
ulimit_max_user_process_2048/545cdcde: Test completed in 0.006276 seconds with returncode: 0
ulimit_max_user_process_2048/545cdcde: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/545cdcde/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/545cdcde: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/545cdcde/ulimit_max_user_process_2048.err
ulimit_max_user_process_2048/545cdcde: performing regular expression - '^2048$' on file: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/545cdcde/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/545cdcde: Regular Expression Match - Failed!
ulimit_filedescriptor_4096/baf4f94d: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/baf4f94d/stage
ulimit_filedescriptor_4096/baf4f94d: Running Test via command: bash ulimit_filedescriptor_4096_build.sh
ulimit_filedescriptor_4096/baf4f94d: Test completed in 0.006182 seconds with returncode: 0
ulimit_filedescriptor_4096/baf4f94d: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/baf4f94d/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/baf4f94d: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/baf4f94d/ulimit_filedescriptor_4096.err
ulimit_filedescriptor_4096/baf4f94d: performing regular expression - '^4096$' on file: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/baf4f94d/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/baf4f94d: Regular Expression Match - Failed!
ulimit_vmsize_unlimited/c311a9d3: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/c311a9d3/stage
ulimit_vmsize_unlimited/c311a9d3: Running Test via command: bash ulimit_vmsize_unlimited_build.sh
ulimit_vmsize_unlimited/c311a9d3: Test completed in 0.006202 seconds with returncode: 0
ulimit_vmsize_unlimited/c311a9d3: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/c311a9d3/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/c311a9d3: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/c311a9d3/ulimit_vmsize_unlimited.err
ulimit_vmsize_unlimited/c311a9d3: performing regular expression - '^unlimited$' on file: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/c311a9d3/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/c311a9d3: Regular Expression Match - Success!
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ root_disk_usage/007c537 │ generic.local.bash │ PASS   │ 0          │ 0.010   │
│ d                       │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ systemd_default_target/ │ generic.local.bash │ FAIL   │ 1          │ 0.019   │
│ dd40784d                │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filedescriptor_4 │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ 096/baf4f94d            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_max_user_process │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ _2048/545cdcde          │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_stacksize_unlimi │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ ted/2b03f4d4            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_vmsize_unlimited │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ /c311a9d3               │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_cputime_unlimite │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ d/d9c7c2ab              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ kernel_swapusage/858bc5 │ generic.local.bash │ FAIL   │ 255        │ 0.017   │
│ 49                      │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filelock_unlimit │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ ed/c2711f0b             │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 9 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_n6ge7anr.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:11: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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/ ║
║ tutorials/vars.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: 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/ulimits.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/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: 10
                            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/becdee │        │          │          │       │       │ set to   │ readthe │
│ 2a       │        │          │          │       │       │ 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/ │
│ /6c23026 │        │          │          │       │       │ to       │ readthe │
│ 3        │        │          │          │       │       │ 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/ac824 │        │          │          │       │       │ set to   │ readthe │
│ c14      │        │          │          │       │       │ 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/ │
│ 4f68b4f5 │        │          │          │       │       │ 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/5fac9 │        │          │          │       │       │ descript │ readthe │
│ 3f0      │        │          │          │       │       │ 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/411 │        │          │          │       │       │ of user  │ readthe │
│ d6a0a    │        │          │          │       │       │ 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/f │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ d6b5cb9  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/vars. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ root_dis │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ k_usage/ │        │ local.ba │          │       │       │ root     │ ocs/che │
│ c37de25b │        │ 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/2 │        │ sh       │          │       │       │ target   │ ckouts/ │
│ fba7e82  │        │          │          │       │       │ 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 │
│ /4acc8d2 │        │ 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       │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
ulimit_filelock_unlimited/becdee2a: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/becdee2a
ulimit_cputime_unlimited/6c230263: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/6c230263
ulimit_stacksize_unlimited/ac824c14: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/ac824c14
ulimit_vmsize_unlimited/4f68b4f5: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/4f68b4f5
ulimit_filedescriptor_4096/5fac93f0: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/5fac93f0
ulimit_max_user_process_2048/411d6a0a: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/411d6a0a
variables_bash/fd6b5cb9: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/fd6b5cb9
root_disk_usage/c37de25b: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/disk_usage/root_disk_usage/c37de25b
systemd_default_target/2fba7e82: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/2fba7e82
kernel_swapusage/4acc8d25: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/kernel_state/kernel_swapusage/4acc8d25
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
ulimit_filedescriptor_4096/5fac93f0 does not have any dependencies adding test to queue
ulimit_stacksize_unlimited/ac824c14 does not have any dependencies adding test to queue
root_disk_usage/c37de25b does not have any dependencies adding test to queue
ulimit_max_user_process_2048/411d6a0a does not have any dependencies adding test to queue
variables_bash/fd6b5cb9 does not have any dependencies adding test to queue
systemd_default_target/2fba7e82 does not have any dependencies adding test to queue
ulimit_cputime_unlimited/6c230263 does not have any dependencies adding test to queue
ulimit_vmsize_unlimited/4f68b4f5 does not have any dependencies adding test to queue
ulimit_filelock_unlimited/becdee2a does not have any dependencies adding test to queue
kernel_swapusage/4acc8d25 does not have any dependencies adding test to queue
        Builders Eligible to Run         
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ ulimit_filedescriptor_4096/5fac93f0   │
│ ulimit_stacksize_unlimited/ac824c14   │
│ root_disk_usage/c37de25b              │
│ ulimit_max_user_process_2048/411d6a0a │
│ variables_bash/fd6b5cb9               │
│ systemd_default_target/2fba7e82       │
│ ulimit_cputime_unlimited/6c230263     │
│ ulimit_vmsize_unlimited/4f68b4f5      │
│ ulimit_filelock_unlimited/becdee2a    │
│ kernel_swapusage/4acc8d25             │
└───────────────────────────────────────┘
ulimit_filedescriptor_4096/5fac93f0: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/5fac93f0/stage
ulimit_filedescriptor_4096/5fac93f0: Running Test via command: bash ulimit_filedescriptor_4096_build.sh
ulimit_filedescriptor_4096/5fac93f0: Test completed in 0.006199 seconds with returncode: 0
ulimit_filedescriptor_4096/5fac93f0: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/5fac93f0/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/5fac93f0: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/5fac93f0/ulimit_filedescriptor_4096.err
ulimit_filedescriptor_4096/5fac93f0: performing regular expression - '^4096$' on file: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/5fac93f0/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/5fac93f0: Regular Expression Match - Failed!
ulimit_stacksize_unlimited/ac824c14: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/ac824c14/stage
ulimit_stacksize_unlimited/ac824c14: Running Test via command: bash ulimit_stacksize_unlimited_build.sh
ulimit_stacksize_unlimited/ac824c14: Test completed in 0.005787 seconds with returncode: 0
ulimit_stacksize_unlimited/ac824c14: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/ac824c14/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/ac824c14: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/ac824c14/ulimit_stacksize_unlimited.err
ulimit_stacksize_unlimited/ac824c14: performing regular expression - '^unlimited$' on file: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/ac824c14/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/ac824c14: Regular Expression Match - Failed!
root_disk_usage/c37de25b: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/disk_usage/root_disk_usage/c37de25b/stage
root_disk_usage/c37de25b: Running Test via command: bash root_disk_usage_build.sh
root_disk_usage/c37de25b: Test completed in 0.009819 seconds with returncode: 0
root_disk_usage/c37de25b: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/disk_usage/root_disk_usage/c37de25b/root_disk_usage.out
root_disk_usage/c37de25b: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/disk_usage/root_disk_usage/c37de25b/root_disk_usage.err
ulimit_max_user_process_2048/411d6a0a: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/411d6a0a/stage
ulimit_max_user_process_2048/411d6a0a: Running Test via command: bash ulimit_max_user_process_2048_build.sh
ulimit_max_user_process_2048/411d6a0a: Test completed in 0.005873 seconds with returncode: 0
ulimit_max_user_process_2048/411d6a0a: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/411d6a0a/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/411d6a0a: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/411d6a0a/ulimit_max_user_process_2048.err
ulimit_max_user_process_2048/411d6a0a: performing regular expression - '^2048$' on file: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/411d6a0a/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/411d6a0a: Regular Expression Match - Failed!
variables_bash/fd6b5cb9: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/fd6b5cb9/stage
variables_bash/fd6b5cb9: Running Test via command: bash variables_bash_build.sh
variables_bash/fd6b5cb9: Test completed in 0.009578 seconds with returncode: 0
variables_bash/fd6b5cb9: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/fd6b5cb9/variables_bash.out
variables_bash/fd6b5cb9: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/fd6b5cb9/variables_bash.err
systemd_default_target/2fba7e82: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/2fba7e82/stage
systemd_default_target/2fba7e82: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/2fba7e82: failed to submit job with returncode: 1
────────────── Error Message for systemd_default_target/2fba7e82 ───────────────

systemd_default_target/2fba7e82: Detected failure in running test, will attempt to retry test: 1 times
systemd_default_target/2fba7e82: Run - 1/1
systemd_default_target/2fba7e82: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/2fba7e82: failed to submit job with returncode: 1
systemd_default_target/2fba7e82: Test completed in 0.020488 seconds with returncode: 1
systemd_default_target/2fba7e82: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/2fba7e82/systemd_default_target.out
systemd_default_target/2fba7e82: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/2fba7e82/systemd_default_target.err
ulimit_cputime_unlimited/6c230263: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/6c230263/stage
ulimit_cputime_unlimited/6c230263: Running Test via command: bash ulimit_cputime_unlimited_build.sh
ulimit_cputime_unlimited/6c230263: Test completed in 0.006149 seconds with returncode: 0
ulimit_cputime_unlimited/6c230263: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/6c230263/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/6c230263: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/6c230263/ulimit_cputime_unlimited.err
ulimit_cputime_unlimited/6c230263: performing regular expression - '^unlimited$' on file: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/6c230263/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/6c230263: Regular Expression Match - Success!
ulimit_vmsize_unlimited/4f68b4f5: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/4f68b4f5/stage
ulimit_vmsize_unlimited/4f68b4f5: Running Test via command: bash ulimit_vmsize_unlimited_build.sh
ulimit_vmsize_unlimited/4f68b4f5: Test completed in 0.008487 seconds with returncode: 0
ulimit_vmsize_unlimited/4f68b4f5: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/4f68b4f5/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/4f68b4f5: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/4f68b4f5/ulimit_vmsize_unlimited.err
ulimit_vmsize_unlimited/4f68b4f5: performing regular expression - '^unlimited$' on file: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/4f68b4f5/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/4f68b4f5: Regular Expression Match - Success!
ulimit_filelock_unlimited/becdee2a: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/becdee2a/stage
ulimit_filelock_unlimited/becdee2a: Running Test via command: bash ulimit_filelock_unlimited_build.sh
ulimit_filelock_unlimited/becdee2a: Test completed in 0.006185 seconds with returncode: 0
ulimit_filelock_unlimited/becdee2a: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/becdee2a/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/becdee2a: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/becdee2a/ulimit_filelock_unlimited.err
ulimit_filelock_unlimited/becdee2a: performing regular expression - '^unlimited$' on file: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/becdee2a/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/becdee2a: Regular Expression Match - Success!
kernel_swapusage/4acc8d25: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/kernel_state/kernel_swapusage/4acc8d25/stage
kernel_swapusage/4acc8d25: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/4acc8d25: failed to submit job with returncode: 255
───────────────── Error Message for kernel_swapusage/4acc8d25 ──────────────────
sysctl: cannot stat /proc/sys/kernel/swapusage: No such file or directory

kernel_swapusage/4acc8d25: Detected failure in running test, will attempt to retry test: 1 times
kernel_swapusage/4acc8d25: Run - 1/1
kernel_swapusage/4acc8d25: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/4acc8d25: failed to submit job with returncode: 255
kernel_swapusage/4acc8d25: Test completed in 0.017259 seconds with returncode: 255
kernel_swapusage/4acc8d25: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/kernel_state/kernel_swapusage/4acc8d25/kernel_swapusage.out
kernel_swapusage/4acc8d25: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/kernel_state/kernel_swapusage/4acc8d25/kernel_swapusage.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ ulimit_cputime_unlimite │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ d/6c230263              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_max_user_process │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ _2048/411d6a0a          │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ systemd_default_target/ │ generic.local.bash │ FAIL   │ 1          │ 0.020   │
│ 2fba7e82                │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filelock_unlimit │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ ed/becdee2a             │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ kernel_swapusage/4acc8d │ generic.local.bash │ FAIL   │ 255        │ 0.017   │
│ 25                      │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_stacksize_unlimi │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ ted/ac824c14            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_vmsize_unlimited │ generic.local.bash │ PASS   │ 0          │ 0.008   │
│ /4f68b4f5               │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ root_disk_usage/c37de25 │ generic.local.bash │ PASS   │ 0          │ 0.010   │
│ b                       │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ variables_bash/fd6b5cb9 │ generic.local.bash │ PASS   │ 0          │ 0.010   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filedescriptor_4 │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ 096/5fac93f0            │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 10 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_ysc6pn22.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:11:48                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:11: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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/disk_usage.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/systemd-default-target.yml                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/ulimits.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/disk_usage.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/systemd-default-target.yml: VALID
Total builder objects created: 3
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ root_dis │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ k_usage/ │        │ local.ba │          │       │       │ root     │ ocs/che │
│ 9590704c │        │ 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  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ kernel_s │ script │ generic. │ None     │ None  │ None  │ Retrieve │ /home/d │
│ wapusage │        │ local.ba │          │       │       │ Kernel   │ ocs/che │
│ /7029642 │        │ sh       │          │       │       │ Swap     │ ckouts/ │
│ 2        │        │          │          │       │       │ 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       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ systemd_ │ script │ generic. │ None     │ None  │ None  │ check if │ /home/d │
│ default_ │        │ local.ba │          │       │       │ default  │ ocs/che │
│ target/c │        │ sh       │          │       │       │ target   │ ckouts/ │
│ 3e0b1e7  │        │          │          │       │       │ 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    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
root_disk_usage/9590704c: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/disk_usage/root_disk_usage/9590704c
kernel_swapusage/70296422: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/kernel_state/kernel_swapusage/70296422
systemd_default_target/c3e0b1e7: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/c3e0b1e7
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
root_disk_usage/9590704c does not have any dependencies adding test to queue
kernel_swapusage/70296422 does not have any dependencies adding test to queue
systemd_default_target/c3e0b1e7 does not have any dependencies adding test to queue
     Builders Eligible to Run      
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                         ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ root_disk_usage/9590704c        │
│ kernel_swapusage/70296422       │
│ systemd_default_target/c3e0b1e7 │
└─────────────────────────────────┘
root_disk_usage/9590704c: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/disk_usage/root_disk_usage/9590704c/stage
root_disk_usage/9590704c: Running Test via command: bash root_disk_usage_build.sh
root_disk_usage/9590704c: Test completed in 0.009798 seconds with returncode: 0
root_disk_usage/9590704c: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/disk_usage/root_disk_usage/9590704c/root_disk_usage.out
root_disk_usage/9590704c: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/disk_usage/root_disk_usage/9590704c/root_disk_usage.err
kernel_swapusage/70296422: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/kernel_state/kernel_swapusage/70296422/stage
kernel_swapusage/70296422: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/70296422: failed to submit job with returncode: 255
───────────────── Error Message for kernel_swapusage/70296422 ──────────────────
sysctl: cannot stat /proc/sys/kernel/swapusage: No such file or directory

kernel_swapusage/70296422: Detected failure in running test, will attempt to retry test: 1 times
kernel_swapusage/70296422: Run - 1/1
kernel_swapusage/70296422: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/70296422: failed to submit job with returncode: 255
kernel_swapusage/70296422: Test completed in 0.016484 seconds with returncode: 255
kernel_swapusage/70296422: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/kernel_state/kernel_swapusage/70296422/kernel_swapusage.out
kernel_swapusage/70296422: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/kernel_state/kernel_swapusage/70296422/kernel_swapusage.err
systemd_default_target/c3e0b1e7: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/c3e0b1e7/stage
systemd_default_target/c3e0b1e7: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/c3e0b1e7: failed to submit job with returncode: 1
────────────── Error Message for systemd_default_target/c3e0b1e7 ───────────────

systemd_default_target/c3e0b1e7: Detected failure in running test, will attempt to retry test: 1 times
systemd_default_target/c3e0b1e7: Run - 1/1
systemd_default_target/c3e0b1e7: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/c3e0b1e7: failed to submit job with returncode: 1
systemd_default_target/c3e0b1e7: Test completed in 0.019597 seconds with returncode: 1
systemd_default_target/c3e0b1e7: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/c3e0b1e7/systemd_default_target.out
systemd_default_target/c3e0b1e7: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/c3e0b1e7/systemd_default_target.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ root_disk_usage/9590704 │ generic.local.bash │ PASS   │ 0          │ 0.010   │
│ c                       │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ kernel_swapusage/702964 │ generic.local.bash │ FAIL   │ 255        │ 0.016   │
│ 22                      │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ systemd_default_target/ │ generic.local.bash │ FAIL   │ 1          │ 0.020   │
│ c3e0b1e7                │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 3 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_8ogcrymx.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:11: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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/d3c28 │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ 232      │        │ 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/01b │        │ sh       │          │       │       │ list of  │ ckouts/ │
│ 79357    │        │          │          │       │       │ strings  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/tags_ │
│          │        │          │          │       │       │          │ example │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
string_tag/d3c28232: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/string_tag/d3c28232
list_of_strings_tags/01b79357: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/list_of_strings_tags/01b79357
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
list_of_strings_tags/01b79357 does not have any dependencies adding test to queue
string_tag/d3c28232 does not have any dependencies adding test to queue
    Builders Eligible to Run     
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                       ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ list_of_strings_tags/01b79357 │
│ string_tag/d3c28232           │
└───────────────────────────────┘
list_of_strings_tags/01b79357: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/list_of_strings_tags/01b79357/stage
list_of_strings_tags/01b79357: Running Test via command: bash list_of_strings_tags_build.sh
list_of_strings_tags/01b79357: Test completed in 3.028899 seconds with returncode: 0
list_of_strings_tags/01b79357: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/list_of_strings_tags/01b79357/list_of_strings_tags.out
list_of_strings_tags/01b79357: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/list_of_strings_tags/01b79357/list_of_strings_tags.err
string_tag/d3c28232: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/string_tag/d3c28232/stage
string_tag/d3c28232: Running Test via command: bash string_tag_build.sh
string_tag/d3c28232: Test completed in 0.006974 seconds with returncode: 0
string_tag/d3c28232: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/string_tag/d3c28232/string_tag.out
string_tag/d3c28232: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/string_tag/d3c28232/string_tag.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ list_of_strings_tags/01 │ generic.local.bash │ PASS   │ 0          │ 3.029   │
│ b79357                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ string_tag/d3c28232     │ generic.local.bash │ PASS   │ 0          │ 0.007   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest__6icy4gs.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:11: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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/test_status/pass_returncode.yml                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 3                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            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                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             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/python-shell.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-hello.yml: VALID
Total builder objects created: 6
                            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/cece │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 6278     │        │ 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    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/adb42 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 43f      │        │ 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/0ef0f │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ cf2      │        │ 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/ │
│ /12ae033 │        │          │          │       │       │ failed   │ readthe │
│ e        │        │          │          │       │       │ 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/6be │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ ceb47    │        │          │          │       │       │ 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/453 │        │ local.ba │          │       │       │ World    │ ocs/che │
│ b3a77    │        │ 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/cece6278: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/cece6278
exit1_fail/adb4243f: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/adb4243f
exit1_pass/0ef0fcf2: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_pass/0ef0fcf2
returncode_list_mismatch/12ae033e: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/12ae033e
returncode_int_match/6beceb47: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_int_match/6beceb47
python_hello/453b3a77: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/453b3a77
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/adb4243f does not have any dependencies adding test to queue
circle_area/cece6278 does not have any dependencies adding test to queue
returncode_list_mismatch/12ae033e does not have any dependencies adding test to queue
exit1_pass/0ef0fcf2 does not have any dependencies adding test to queue
returncode_int_match/6beceb47 does not have any dependencies adding test to queue
python_hello/453b3a77 does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/adb4243f               │
│ circle_area/cece6278              │
│ returncode_list_mismatch/12ae033e │
│ exit1_pass/0ef0fcf2               │
│ returncode_int_match/6beceb47     │
│ python_hello/453b3a77             │
└───────────────────────────────────┘
exit1_fail/adb4243f: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/adb4243f/stage
exit1_fail/adb4243f: Running Test via command: bash exit1_fail_build.sh
exit1_fail/adb4243f: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/adb4243f ─────────────────────

exit1_fail/adb4243f: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/adb4243f: Run - 1/1
exit1_fail/adb4243f: Running Test via command: bash exit1_fail_build.sh
exit1_fail/adb4243f: failed to submit job with returncode: 1
exit1_fail/adb4243f: Test completed in 0.014819 seconds with returncode: 1
exit1_fail/adb4243f: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/adb4243f/exit1_fail.out
exit1_fail/adb4243f: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/adb4243f/exit1_fail.err
circle_area/cece6278: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/cece6278/stage
circle_area/cece6278: Running Test via command: bash circle_area_build.sh
circle_area/cece6278: Test completed in 0.036093 seconds with returncode: 0
circle_area/cece6278: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/cece6278/circle_area.out
circle_area/cece6278: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/cece6278/circle_area.err
returncode_list_mismatch/12ae033e: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/12ae033e/stage
returncode_list_mismatch/12ae033e: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/12ae033e: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/12ae033e ──────────────

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

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

returncode_int_match/6beceb47: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/6beceb47: Run - 1/1
returncode_int_match/6beceb47: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/6beceb47: failed to submit job with returncode: 128
returncode_int_match/6beceb47: Test completed in 0.014168 seconds with returncode: 128
returncode_int_match/6beceb47: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_int_match/6beceb47/returncode_int_match.out
returncode_int_match/6beceb47: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_int_match/6beceb47/returncode_int_match.err
returncode_int_match/6beceb47: Checking returncode - 128 is matched in list [128]
python_hello/453b3a77: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/453b3a77/stage
python_hello/453b3a77: Running Test via command: bash python_hello_build.sh
python_hello/453b3a77: Test completed in 0.035198 seconds with returncode: 0
python_hello/453b3a77: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/453b3a77/python_hello.out
python_hello/453b3a77: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/453b3a77/python_hello.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.015   │
│ h/12ae033e              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ python_hello/453b3a77   │ generic.local.bash │ PASS   │ 0          │ 0.035   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/adb4243f     │ generic.local.bash │ FAIL   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/6b │ generic.local.bash │ PASS   │ 128        │ 0.014   │
│ eceb47                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/cece6278    │ generic.local.bash │ PASS   │ 0          │ 0.036   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/0ef0fcf2     │ generic.local.bash │ PASS   │ 1          │ 0.015   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 6 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_fmo7xj4v.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:11:54                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/31116 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ c28      │        │ 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/f774d │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ f80      │        │ 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/ │
│ /ac9eaca │        │          │          │       │       │ failed   │ readthe │
│ d        │        │          │          │       │       │ 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/5a7 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 1f0f7    │        │          │          │       │       │ 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/7564a │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ eab      │        │ 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/4b6 │        │ sh       │          │       │       │ list of  │ ckouts/ │
│ 406e1    │        │          │          │       │       │ strings  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/tags_ │
│          │        │          │          │       │       │          │ example │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/31116c28: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/31116c28
exit1_pass/f774df80: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_pass/f774df80
returncode_list_mismatch/ac9eacad: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/ac9eacad
returncode_int_match/5a71f0f7: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_int_match/5a71f0f7
string_tag/7564aeab: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/string_tag/7564aeab
list_of_strings_tags/4b6406e1: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/list_of_strings_tags/4b6406e1
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_pass/f774df80 does not have any dependencies adding test to queue
returncode_list_mismatch/ac9eacad does not have any dependencies adding test to queue
exit1_fail/31116c28 does not have any dependencies adding test to queue
list_of_strings_tags/4b6406e1 does not have any dependencies adding test to queue
string_tag/7564aeab does not have any dependencies adding test to queue
returncode_int_match/5a71f0f7 does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_pass/f774df80               │
│ returncode_list_mismatch/ac9eacad │
│ exit1_fail/31116c28               │
│ list_of_strings_tags/4b6406e1     │
│ string_tag/7564aeab               │
│ returncode_int_match/5a71f0f7     │
└───────────────────────────────────┘
exit1_pass/f774df80: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_pass/f774df80/stage
exit1_pass/f774df80: Running Test via command: bash exit1_pass_build.sh
exit1_pass/f774df80: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/f774df80 ─────────────────────

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

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

exit1_fail/31116c28: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/31116c28: Run - 1/1
exit1_fail/31116c28: Running Test via command: bash exit1_fail_build.sh
exit1_fail/31116c28: failed to submit job with returncode: 1
exit1_fail/31116c28: Test completed in 0.014071 seconds with returncode: 1
exit1_fail/31116c28: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/31116c28/exit1_fail.out
exit1_fail/31116c28: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/31116c28/exit1_fail.err
list_of_strings_tags/4b6406e1: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/list_of_strings_tags/4b6406e1/stage
list_of_strings_tags/4b6406e1: Running Test via command: bash list_of_strings_tags_build.sh
list_of_strings_tags/4b6406e1: Test completed in 3.030301 seconds with returncode: 0
list_of_strings_tags/4b6406e1: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/list_of_strings_tags/4b6406e1/list_of_strings_tags.out
list_of_strings_tags/4b6406e1: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/list_of_strings_tags/4b6406e1/list_of_strings_tags.err
string_tag/7564aeab: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/string_tag/7564aeab/stage
string_tag/7564aeab: Running Test via command: bash string_tag_build.sh
string_tag/7564aeab: Test completed in 0.006799 seconds with returncode: 0
string_tag/7564aeab: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/string_tag/7564aeab/string_tag.out
string_tag/7564aeab: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/string_tag/7564aeab/string_tag.err
returncode_int_match/5a71f0f7: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_int_match/5a71f0f7/stage
returncode_int_match/5a71f0f7: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/5a71f0f7: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/5a71f0f7 ────────────────

returncode_int_match/5a71f0f7: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/5a71f0f7: Run - 1/1
returncode_int_match/5a71f0f7: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/5a71f0f7: failed to submit job with returncode: 128
returncode_int_match/5a71f0f7: Test completed in 0.014582 seconds with returncode: 128
returncode_int_match/5a71f0f7: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_int_match/5a71f0f7/returncode_int_match.out
returncode_int_match/5a71f0f7: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_int_match/5a71f0f7/returncode_int_match.err
returncode_int_match/5a71f0f7: Checking returncode - 128 is matched in list [128]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ returncode_int_match/5a │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ 71f0f7                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ list_of_strings_tags/4b │ generic.local.bash │ PASS   │ 0          │ 3.030   │
│ 6406e1                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.014   │
│ h/ac9eacad              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ string_tag/7564aeab     │ generic.local.bash │ PASS   │ 0          │ 0.007   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/f774df80     │ generic.local.bash │ PASS   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/31116c28     │ 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/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_9hyqhybq.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:11: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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ 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/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-hello.yml: VALID
Total builder objects created: 5
                            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/f91ae │        │ local.ba │          │       │       │ by       │ ocs/che │
│ fab      │        │ 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/94541 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ bf6      │        │ 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/ │
│ /2752183 │        │          │          │       │       │ failed   │ readthe │
│ f        │        │          │          │       │       │ 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/693 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ a8d5f    │        │          │          │       │       │ 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/c42 │        │ local.ba │          │       │       │ World    │ ocs/che │
│ 0f230    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-hello │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/f91aefab: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/f91aefab
exit1_pass/94541bf6: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_pass/94541bf6
returncode_list_mismatch/2752183f: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/2752183f
returncode_int_match/693a8d5f: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_int_match/693a8d5f
python_hello/c420f230: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/c420f230
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_list_mismatch/2752183f does not have any dependencies adding test to queue
python_hello/c420f230 does not have any dependencies adding test to queue
returncode_int_match/693a8d5f does not have any dependencies adding test to queue
exit1_fail/f91aefab does not have any dependencies adding test to queue
exit1_pass/94541bf6 does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ returncode_list_mismatch/2752183f │
│ python_hello/c420f230             │
│ returncode_int_match/693a8d5f     │
│ exit1_fail/f91aefab               │
│ exit1_pass/94541bf6               │
└───────────────────────────────────┘
returncode_list_mismatch/2752183f: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/2752183f/stage
returncode_list_mismatch/2752183f: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/2752183f: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/2752183f ──────────────

returncode_list_mismatch/2752183f: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/2752183f: Run - 1/1
returncode_list_mismatch/2752183f: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/2752183f: failed to submit job with returncode: 2
returncode_list_mismatch/2752183f: Test completed in 0.014843 seconds with returncode: 2
returncode_list_mismatch/2752183f: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/2752183f/returncode_list_mismatch.out
returncode_list_mismatch/2752183f: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/2752183f/returncode_list_mismatch.err
returncode_list_mismatch/2752183f: Checking returncode - 2 is matched in list [1, 3]
python_hello/c420f230: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/c420f230/stage
python_hello/c420f230: Running Test via command: bash python_hello_build.sh
python_hello/c420f230: Test completed in 0.034662 seconds with returncode: 0
python_hello/c420f230: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/c420f230/python_hello.out
python_hello/c420f230: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/c420f230/python_hello.err
returncode_int_match/693a8d5f: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_int_match/693a8d5f/stage
returncode_int_match/693a8d5f: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/693a8d5f: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/693a8d5f ────────────────

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

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

exit1_pass/94541bf6: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/94541bf6: Run - 1/1
exit1_pass/94541bf6: Running Test via command: bash exit1_pass_build.sh
exit1_pass/94541bf6: failed to submit job with returncode: 1
exit1_pass/94541bf6: Test completed in 0.014091 seconds with returncode: 1
exit1_pass/94541bf6: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_pass/94541bf6/exit1_pass.out
exit1_pass/94541bf6: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_pass/94541bf6/exit1_pass.err
exit1_pass/94541bf6: Checking returncode - 1 is matched in list [1]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.015   │
│ h/2752183f              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/69 │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ 3a8d5f                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/94541bf6     │ generic.local.bash │ PASS   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/f91aefab     │ generic.local.bash │ FAIL   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ python_hello/c420f230   │ generic.local.bash │ PASS   │ 0          │ 0.035   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 5 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_ycjwfpli.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:11: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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/45986 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 300      │        │ 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/ │
│ /795a6b9 │        │          │          │       │       │ failed   │ readthe │
│ 3        │        │          │          │       │       │ 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/45986300: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/45986300
returncode_list_mismatch/795a6b93: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/795a6b93
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_list_mismatch/795a6b93 does not have any dependencies adding test to queue
exit1_fail/45986300 does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ returncode_list_mismatch/795a6b93 │
│ exit1_fail/45986300               │
└───────────────────────────────────┘
returncode_list_mismatch/795a6b93: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/795a6b93/stage
returncode_list_mismatch/795a6b93: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/795a6b93: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/795a6b93 ──────────────

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

exit1_fail/45986300: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/45986300: Run - 1/1
exit1_fail/45986300: Running Test via command: bash exit1_fail_build.sh
exit1_fail/45986300: failed to submit job with returncode: 1
exit1_fail/45986300: Test completed in 0.014261 seconds with returncode: 1
exit1_fail/45986300: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/45986300/exit1_fail.out
exit1_fail/45986300: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/45986300/exit1_fail.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fail/45986300     │ generic.local.bash │ FAIL   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.015   │
│ h/795a6b93              │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_hxo1je4e.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:00                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/tmpg56mdva9/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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:00                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/0918 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ f739     │        │ 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/0918f739: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/0918f739
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
hello_world/0918f739 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/0918f739 │
└──────────────────────┘
hello_world/0918f739: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/0918f739/stage
hello_world/0918f739: Running Test via command: bash hello_world_build.sh
hello_world/0918f739: Test completed in 0.006075 seconds with returncode: 0
hello_world/0918f739: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/0918f739/hello_world.out
hello_world/0918f739: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/0918f739/hello_world.err
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ hello_world/0918f739 │ 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/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_jlp476pt.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:01                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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 │
│ 499e2a70 │        │ 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/ae0b │        │ local.ba │          │       │       │          │ ocs/che │
│ 9042     │        │ 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/499e2a70: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/summary_example/summary_example/499e2a70
add_numbers/ae0b9042: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/add_numbers/add_numbers/ae0b9042
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
add_numbers/ae0b9042 does not have any dependencies adding test to queue
summary_example/499e2a70 does not have any dependencies adding test to queue
  Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                  ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ add_numbers/ae0b9042     │
│ summary_example/499e2a70 │
└──────────────────────────┘
add_numbers/ae0b9042: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/add_numbers/add_numbers/ae0b9042/stage
add_numbers/ae0b9042: Running Test via command: bash add_numbers_build.sh
add_numbers/ae0b9042: Test completed in 0.005919 seconds with returncode: 0
add_numbers/ae0b9042: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/add_numbers/add_numbers/ae0b9042/add_numbers.out
add_numbers/ae0b9042: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/add_numbers/add_numbers/ae0b9042/add_numbers.err
summary_example/499e2a70: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/summary_example/summary_example/499e2a70/stage
summary_example/499e2a70: Running Test via command: bash summary_example_build.sh
summary_example/499e2a70: Test completed in 0.006376 seconds with returncode: 0
summary_example/499e2a70: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/summary_example/summary_example/499e2a70/summary_example.out
summary_example/499e2a70: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/summary_example/summary_example/499e2a70/summary_example.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ summary_example/499e2a7 │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ 0                       │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ add_numbers/ae0b9042    │ 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/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_88ma5w57.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:01                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/environment.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/csh_shell_examples.yml                                             ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                    Buildspecs by Executor=generic.local.csh                    
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/environment.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/csh_shell_examples.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/environment.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/csh_shell_examples.yml: VALID
Total builder objects created: 4
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ bash_env │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ _variabl │        │ local.ba │          │       │       │ environm │ ocs/che │
│ es/f5086 │        │ sh       │          │       │       │ ent      │ ckouts/ │
│ 3ee      │        │          │          │       │       │ 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/88e4 │        │ h        │          │       │       │ example  │ ckouts/ │
│ e59c     │        │          │          │       │       │ 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/d04 │        │ h        │          │       │       │ example  │ ckouts/ │
│ 0865b    │        │          │          │       │       │ to       │ readthe │
│          │        │          │          │       │       │ declare  │ docs.or │
│          │        │          │          │       │       │ environm │ g/user_ │
│          │        │          │          │       │       │ ent      │ builds/ │
│          │        │          │          │       │       │ variable │ buildte │
│          │        │          │          │       │       │ s        │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/envir │
│          │        │          │          │       │       │          │ onment. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ csh_shel │ script │ generic. │ None     │ None  │ None  │ csh      │ /home/d │
│ l/fda20a │        │ local.cs │          │       │       │ shell    │ ocs/che │
│ 2c       │        │ h        │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/csh_s │
│          │        │          │          │       │       │          │ hell_ex │
│          │        │          │          │       │       │          │ amples. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
bash_env_variables/f50863ee: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/environment/bash_env_variables/f50863ee
csh_env_declaration/88e4e59c: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.csh/environment/csh_env_declaration/88e4e59c
tcsh_env_declaration/d040865b: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.csh/environment/tcsh_env_declaration/d040865b
csh_shell/fda20a2c: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.csh/csh_shell_examples/csh_shell/fda20a2c
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
bash_env_variables/f50863ee does not have any dependencies adding test to queue
tcsh_env_declaration/d040865b does not have any dependencies adding test to queue
csh_shell/fda20a2c does not have any dependencies adding test to queue
csh_env_declaration/88e4e59c does not have any dependencies adding test to queue
    Builders Eligible to Run     
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                       ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ bash_env_variables/f50863ee   │
│ tcsh_env_declaration/d040865b │
│ csh_shell/fda20a2c            │
│ csh_env_declaration/88e4e59c  │
└───────────────────────────────┘
bash_env_variables/f50863ee: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/environment/bash_env_variables/f50863ee/stage
bash_env_variables/f50863ee: Running Test via command: bash bash_env_variables_build.sh
bash_env_variables/f50863ee: Test completed in 0.007914 seconds with returncode: 0
bash_env_variables/f50863ee: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/environment/bash_env_variables/f50863ee/bash_env_variables.out
bash_env_variables/f50863ee: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/environment/bash_env_variables/f50863ee/bash_env_variables.err
tcsh_env_declaration/d040865b: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.csh/environment/tcsh_env_declaration/d040865b/stage
tcsh_env_declaration/d040865b: Running Test via command: bash tcsh_env_declaration_build.sh
tcsh_env_declaration/d040865b: Test completed in 0.015197 seconds with returncode: 0
tcsh_env_declaration/d040865b: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.csh/environment/tcsh_env_declaration/d040865b/tcsh_env_declaration.out
tcsh_env_declaration/d040865b: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.csh/environment/tcsh_env_declaration/d040865b/tcsh_env_declaration.err
csh_shell/fda20a2c: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.csh/csh_shell_examples/csh_shell/fda20a2c/stage
csh_shell/fda20a2c: Running Test via command: bash csh_shell_build.sh
csh_shell/fda20a2c: Test completed in 2.169576 seconds with returncode: 0
csh_shell/fda20a2c: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.csh/csh_shell_examples/csh_shell/fda20a2c/csh_shell.out
csh_shell/fda20a2c: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.csh/csh_shell_examples/csh_shell/fda20a2c/csh_shell.err
csh_env_declaration/88e4e59c: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.csh/environment/csh_env_declaration/88e4e59c/stage
csh_env_declaration/88e4e59c: Running Test via command: bash csh_env_declaration_build.sh
csh_env_declaration/88e4e59c: Test completed in 2.178276 seconds with returncode: 0
csh_env_declaration/88e4e59c: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.csh/environment/csh_env_declaration/88e4e59c/csh_env_declaration.out
csh_env_declaration/88e4e59c: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.csh/environment/csh_env_declaration/88e4e59c/csh_env_declaration.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ tcsh_env_declaration/d0 │ generic.local.csh  │ PASS   │ 0          │ 0.015   │
│ 40865b                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ csh_shell/fda20a2c      │ generic.local.csh  │ PASS   │ 0          │ 2.170   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ csh_env_declaration/88e │ generic.local.csh  │ PASS   │ 0          │ 2.178   │
│ 4e59c                   │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ bash_env_variables/f508 │ generic.local.bash │ PASS   │ 0          │ 0.008   │
│ 63ee                    │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 4 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_g78u33oj.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12: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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/030b9 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ ac5      │        │ 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/bb4 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ ea854    │        │          │          │       │       │ 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/030b9ac5: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_pass/030b9ac5
returncode_int_match/bb4ea854: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_int_match/bb4ea854
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_pass/030b9ac5 does not have any dependencies adding test to queue
returncode_int_match/bb4ea854 does not have any dependencies adding test to queue
    Builders Eligible to Run     
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                       ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_pass/030b9ac5           │
│ returncode_int_match/bb4ea854 │
└───────────────────────────────┘
exit1_pass/030b9ac5: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_pass/030b9ac5/stage
exit1_pass/030b9ac5: Running Test via command: bash exit1_pass_build.sh
exit1_pass/030b9ac5: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/030b9ac5 ─────────────────────

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

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



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


Adding 2 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_qb_6l48r.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:08                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/multi_executors/executor_scheduler.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/multi_executors/status_by_executors.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/invalid_buildspec_section.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/file_count_filetype.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/perf_checks/assert_ge.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/containers/container_executor/ubuntu.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/strict_example.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/burstbuffer_datawarp_executors.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/compilation/stream.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/pass_returncode.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/test_status/explicit_state.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/invalid_metric_name.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/missing_required_in_metrics.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/skip_tests.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_file_regex_with_invalid_linenum.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/test_status/is_symlink.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/status_regex.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/python-hello.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/containers/hello_world_singularity.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/csh_shell_examples.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/test_status/file_exists_with_number.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/containers/run_commands.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/metrics/metrics_regex_with_linenum.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/metrics/metrics_file_regex_invalid_file.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/multi_executors/executor_regex_script.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/job_dependency/ex2.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/invalid_tags.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/contains.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/perf_checks/assert_range.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/vars.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/compilation/hello_world_compilation.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/metrics/metrics_with_regex_type.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/add_numbers.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/job_dependency/ex1.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_count.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/test_status/mode.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/perf_checks/assert_eq.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_gt.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_file_regex_with_linenum.yml                        ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 78                                                                    ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  78
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  78
────────────────────────────── Parsing Buildspecs ──────────────────────────────
/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/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/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/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/summary_example.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/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/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/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/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/strict_example.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/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/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/compilation/stream.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/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/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/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/skip_buildspec.yml: skipping all test since 'skip' is defined
/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/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/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_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/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/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/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/status_regex.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/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/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/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/shell_examples.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/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/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/invalid_executor.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/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/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/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/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/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/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/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/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/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/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/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/environment.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/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/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/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/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/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/add_numbers.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/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/gcc_version.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/python-shell.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/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/perf_checks/assert_eq.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_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_gt.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/metrics/metrics_file_regex_with_linenum.yml: skipping test because 'maintainers' field is not specified in buildspec.
Valid Buildspecs: 71
Invalid Buildspecs: 7
/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/metrics/metrics_regex.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/regex_on_filename.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/file_count_filetype.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/perf_checks/assert_ge.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_pattern.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/strict_example.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/burstbuffer_datawarp_executors.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/compilation/stream.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_lt.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/containers/bind_mounts.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/shebang.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/specify_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/test_status/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/maintainers_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/file_linecount_failure.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/hello_world_singularity.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/csh_shell_examples.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/test_status/file_exists_with_number.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/containers/run_commands.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/metrics/metrics_regex_with_linenum.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/metrics/metrics_file_regex_invalid_file.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/multi_executors/executor_regex_script.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/job_dependency/ex2.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/containers/run_script.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/test_status/runtime_status_test.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/environment.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/perf_checks/assert_ne.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/test_status/file_linecount.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/perf_checks/assert_le.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/containers/container_executor/python_container.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/gcc_version.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/python-shell.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/job_dependency/ex3.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/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_gt.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_file_regex_with_linenum.yml: VALID
/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/test_status/file_linecount_invalid.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/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/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… │
│ /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/face │        │ local.ba │          │       │       │ world    │ ocs/che │
│ ab7d     │        │ 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/faceab7d: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/faceab7d
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
hello_world/faceab7d does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/faceab7d │
└──────────────────────┘
hello_world/faceab7d: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/faceab7d/stage
hello_world/faceab7d: Running Test via command: bash hello_world_build.sh
hello_world/faceab7d: Test completed in 0.006067 seconds with returncode: 0
hello_world/faceab7d: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/faceab7d/hello_world.out
hello_world/faceab7d: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/faceab7d/hello_world.err
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ hello_world/faceab7d │ 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/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_55nyii32.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:09                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/add_numbers.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/containers/run_script.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/job_dependency/ex4.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/test_status/mode.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/invalid_metrics.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/vars.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/test_status/file_linecount_failure.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/perf_checks/assert_eq_exceptions.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/test_status/file_linecount_invalid.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/compilation/stream.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/explicit_state.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/runtime_status_test.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/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/containers/container_executor/ubuntu.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/status_regex.yml                                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/strict_example.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_file_regex_with_linenum.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/containers/hello_world_singularity.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/metrics/metrics_regex_with_linenum.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/test_status/file_count_file_traverse_limit.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/metrics/metrics_regex.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/perf_checks/assert_gt.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/metrics/metrics_with_regex_type.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/test_status/file_count.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/skip_tests.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/metrics_regex_with_invalid_linenum.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/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/maintainers_example.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_invalid_file.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/test_status/specify_regex_type.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/test_status/exists.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/perf_checks/assert_range.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/shell_examples.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/contains.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/job_dependency/ex2.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/sleep.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/executors_var_env_declaration.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/metrics/metrics_file_regex_with_invalid_linenum.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/shebang.yml                                                        ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 78                                                                    ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  78
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  78
────────────────────────────── Parsing Buildspecs ──────────────────────────────
/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.
[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.
Valid Buildspecs: 71
Invalid Buildspecs: 7
/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/perf_checks/assert_ge.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/containers/bind_mounts.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/burstbuffer_datawarp_executors.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/test_status/file_count_filetype.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/job_dependency/ex3.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/assert_ne.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/test_status/file_and_dir_check.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/compilation/stream.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/test_status/explicit_state.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/runtime_status_test.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/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/containers/container_executor/ubuntu.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/status_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/strict_example.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_file_regex_with_linenum.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/containers/hello_world_singularity.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/metrics/metrics_regex_with_linenum.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/test_status/file_count_file_traverse_limit.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/csh_shell_examples.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/perf_checks/assert_eq.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/environment.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/test_status/file_exists_with_number.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/compilation/compiler_exclude.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/hello_world.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/maintainers_example.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/containers/hello_world.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/invalid_executor.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/containers/container_executor/python_container.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/python-hello.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/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/contains.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/job_dependency/ex2.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/sleep.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/executors_var_env_declaration.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/metrics/metrics_file_regex_with_invalid_linenum.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/metrics/invalid_metrics.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/test_status/file_linecount_invalid.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_metric_name.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/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: 116
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descrip ┃ buildspe ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ tion    ┃ cs       ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━┩
│ add_numb │ script │ generic. │ None     │ None  │ None  │ Add X+Y │ /home/do │
│ ers/845f │        │ local.ba │          │       │       │         │ cs/check │
│ 1901     │        │ sh       │          │       │       │         │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/ad │
│          │        │          │          │       │       │         │ d_number │
│          │        │          │          │       │       │         │ s.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ stream_t │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ est/53e2 │        │ local.ba │          │       │       │ stream  │ cs/check │
│ 2f0b     │        │ 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  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ run_scri │ script │ generic. │ None     │ None  │ None  │ run a   │ /home/do │
│ pt_in_co │        │ local.ba │          │       │       │ python  │ cs/check │
│ ntainer/ │        │ sh       │          │       │       │ script  │ outs/rea │
│ 41b0d2da │        │          │          │       │       │ in      │ dthedocs │
│          │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ er      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ ntainers │
│          │        │          │          │       │       │         │ /run_scr │
│          │        │          │          │       │       │         │ ipt.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 │
│ b539ae81 │        │          │          │       │       │ in      │ dthedocs │
│          │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ er      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ ntainers │
│          │        │          │          │       │       │         │ /bind_mo │
│          │        │          │          │       │       │         │ unts.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ runtime_ │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ test/f8f │        │ local.ba │          │       │       │ test    │ cs/check │
│ b75f1    │        │ 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/7a31de │        │ sh       │          │       │       │ will    │ outs/rea │
│ d3       │        │          │          │       │       │ 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/063d6e │        │ sh       │          │       │       │ will    │ outs/rea │
│ d7       │        │          │          │       │       │ 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     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ 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/2e │        │          │          │       │       │ for     │ dthedocs │
│ 2c7eaf   │        │          │          │       │       │ 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/1f │        │          │          │       │       │ for     │ dthedocs │
│ ac09cc   │        │          │          │       │       │ multipl │ .org/use │
│          │        │          │          │       │       │ e       │ r_builds │
│          │        │          │          │       │       │ executo │ /buildte │
│          │        │          │          │       │       │ rs      │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/bu │
│          │        │          │          │       │       │         │ rstbuffe │
│          │        │          │          │       │       │         │ r_datawa │
│          │        │          │          │       │       │         │ rp_execu │
│          │        │          │          │       │       │         │ tors.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_l │ script │ generic. │ None     │ None  │ None  │ Using   │ /home/do │
│ ogical_a │        │ local.ba │          │       │       │ logical │ cs/check │
│ nd/31cce │        │ sh       │          │       │       │ AND to  │ outs/rea │
│ 452      │        │          │          │       │       │ 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/1653ac │        │ sh       │          │       │       │ OR to   │ outs/rea │
│ aa       │        │          │          │       │       │ check   │ dthedocs │
│          │        │          │          │       │       │ status  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/mode.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ Count   │ /home/do │
│ nt_by_fi │        │ local.ba │          │       │       │ the     │ cs/check │
│ letype/a │        │ sh       │          │       │       │ number  │ outs/rea │
│ 45166cf  │        │          │          │       │       │ 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        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare │ /home/do │
│ s_bash/b │        │ local.ba │          │       │       │ shell   │ cs/check │
│ 9377a67  │        │ sh       │          │       │       │ variabl │ outs/rea │
│          │        │          │          │       │       │ es in   │ dthedocs │
│          │        │          │          │       │       │ bash    │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/va │
│          │        │          │          │       │       │         │ rs.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ pass_tes │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t/3f9d26 │        │ local.ba │          │       │       │ test    │ cs/check │
│ 28       │        │ 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/2677fc │        │ local.ba │          │       │       │ test    │ cs/check │
│ 9c       │        │ 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/45625 │        │ sh       │          │       │       │ will    │ outs/rea │
│ 2fc      │        │          │          │       │       │ 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/10264 │        │ local.ba │          │       │       │ will    │ cs/check │
│ 922      │        │ 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     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_lin │ script │ generic. │ None     │ None  │ None  │ Perform │ /home/do │
│ ecount_e │        │ local.ba │          │       │       │ ing     │ cs/check │
│ xception │        │ sh       │          │       │       │ file    │ outs/rea │
│ s/baa72d │        │          │          │       │       │ count   │ dthedocs │
│ d1       │        │          │          │       │       │ 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     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_n │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ e_exampl │        │ local.ba │          │       │       │ for     │ cs/check │
│ e/adcef5 │        │ sh       │          │       │       │ assert  │ outs/rea │
│ ba       │        │          │          │       │       │ not     │ dthedocs │
│          │        │          │          │       │       │ equal   │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _ne.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_e │ script │ generic. │ None     │ None  │ None  │ An      │ /home/do │
│ q_invali │        │ local.ba │          │       │       │ invalid │ cs/check │
│ d_metric │        │ sh       │          │       │       │ metric  │ outs/rea │
│ /a062d68 │        │          │          │       │       │ name    │ dthedocs │
│ e        │        │          │          │       │       │ 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/69c6f │        │ sh       │          │       │       │ will    │ outs/rea │
│ fa4      │        │          │          │       │       │ 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       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_and │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ _dir_che │        │ local.ba │          │       │       │ check   │ cs/check │
│ cks/f9f8 │        │ sh       │          │       │       │ for     │ outs/rea │
│ 5d74     │        │          │          │       │       │ 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/32f │        │          │          │       │       │ files   │ dthedocs │
│ ad49e    │        │          │          │       │       │ 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 │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ summary_ │ script │ generic. │ None     │ None  │ None  │ The     │ /home/do │
│ example/ │        │ local.ba │          │       │       │ summary │ cs/check │
│ db501cf8 │        │ 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        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ stream_o │ script │ generic. │ builtin_ │ None  │ None  │ STREAM  │ /home/do │
│ penmp_c/ │        │ local.ba │ gcc      │       │       │ Microbe │ cs/check │
│ a8aa9677 │        │ 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     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ gcc_vers │ script │ generic. │ None     │ None  │ None  │ Print   │ /home/do │
│ ion/0129 │        │ local.ba │          │       │       │ gcc     │ cs/check │
│ 39bd     │        │ sh       │          │       │       │ version │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/gc │
│          │        │          │          │       │       │         │ c_versio │
│          │        │          │          │       │       │         │ n.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ always_p │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ ass/2657 │        │ local.sh │          │       │       │ test    │ cs/check │
│ f53b     │        │          │          │       │       │ 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/229e │        │ local.sh │          │       │       │ test    │ cs/check │
│ 5399     │        │          │          │       │       │ 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/9eb1d │        │          │          │       │       │ 'FAIL'  │ dthedocs │
│ e13      │        │          │          │       │       │ 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/56 │        │          │          │       │       │ 'PASS'  │ dthedocs │
│ ff7459   │        │          │          │       │       │ 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     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_lin │ script │ generic. │ None     │ None  │ None  │ Perform │ /home/do │
│ ecount/5 │        │ local.ba │          │       │       │ linecou │ cs/check │
│ 1fcd520  │        │ 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     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ Run a   │ /home/do │
│ t_min_ma │        │ local.sh │          │       │       │ sleep   │ cs/check │
│ x/e32522 │        │          │          │       │       │ job for │ outs/rea │
│ 09       │        │          │          │       │       │ 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/43 │        │ local.sh │          │       │       │ sleep   │ cs/check │
│ 1a5e28   │        │          │          │       │       │ 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/bf │        │ local.sh │          │       │       │ sleep   │ cs/check │
│ a0571b   │        │          │          │       │       │ 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/fd5f9 │        │          │          │       │       │ fails   │ outs/rea │
│ 0d7      │        │          │          │       │       │ 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/55459 │        │          │          │       │       │ fails   │ outs/rea │
│ bd1      │        │          │          │       │       │ 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        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ string_t │ script │ generic. │ None     │ None  │ None  │ tags    │ /home/do │
│ ag/22cfb │        │ local.ba │          │       │       │ can be  │ cs/check │
│ 97e      │        │ 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/5fa │        │ sh       │          │       │       │ a list  │ outs/rea │
│ 0a4d9    │        │          │          │       │       │ of      │ dthedocs │
│          │        │          │          │       │       │ strings │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/ta │
│          │        │          │          │       │       │         │ gs_examp │
│          │        │          │          │       │       │         │ le.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ builtin_ │ None  │ None  │ Hello   │ /home/do │
│ rld_c_cp │        │ local.ba │ gcc      │       │       │ world   │ cs/check │
│ p/c13753 │        │ sh       │          │       │       │ compila │ outs/rea │
│ 3e       │        │          │          │       │       │ 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/8be142 │        │          │          │       │       │ linux   │ dthedocs │
│ 6e       │        │          │          │       │       │ 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/a12752 │        │ sh       │          │       │       │ ry      │ outs/rea │
│ 23       │        │          │          │       │       │ 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        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ multiple │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ _executo │        │ local.ba │          │       │       │ test    │ cs/check │
│ rs/ce95d │        │ sh       │          │       │       │ with    │ outs/rea │
│ 4b6      │        │          │          │       │       │ 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/ec85b │        │          │          │       │       │ with    │ outs/rea │
│ 240      │        │          │          │       │       │ 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  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ out_pass │        │ sh       │          │       │       │ based   │ outs/rea │
│ /3bb68b2 │        │          │          │       │       │ on      │ dthedocs │
│ 5        │        │          │          │       │       │ 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 │
│ /fa48b93 │        │          │          │       │       │ on      │ dthedocs │
│ d        │        │          │          │       │       │ 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 │
│ /e3b0d40 │        │          │          │       │       │ on      │ dthedocs │
│ 3        │        │          │          │       │       │ 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 │
│ /36d77c9 │        │          │          │       │       │ on      │ dthedocs │
│ 3        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/status │
│          │        │          │          │       │       │         │ _regex.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ linux_st │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ rict_tes │        │ local.ba │          │       │       │ example │ cs/check │
│ t/75f7f9 │        │ sh       │          │       │       │ test    │ outs/rea │
│ f6       │        │          │          │       │       │ will    │ dthedocs │
│          │        │          │          │       │       │ show    │ .org/use │
│          │        │          │          │       │       │ how     │ r_builds │
│          │        │          │          │       │       │ returnc │ /buildte │
│          │        │          │          │       │       │ ode     │ st/check │
│          │        │          │          │       │       │ will    │ outs/lat │
│          │        │          │          │       │       │ change  │ est/tuto │
│          │        │          │          │       │       │ when    │ rials/st │
│          │        │          │          │       │       │ using   │ rict_exa │
│          │        │          │          │       │       │ --stric │ mple.yml │
│          │        │          │          │       │       │ t flag  │          │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ 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/c │        │          │          │       │       │ file    │ .org/use │
│ 1f406a0  │        │          │          │       │       │ path    │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_fi │
│          │        │          │          │       │       │         │ le_regex │
│          │        │          │          │       │       │         │ _with_li │
│          │        │          │          │       │       │         │ nenum.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ jobA/09d │ script │ generic. │ None     │ None  │ None  │ no job  │ /home/do │
│ 341ea    │        │ 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/490 │ script │ generic. │ None     │ None  │ None  │ job     │ /home/do │
│ db2c1    │        │ 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/bbe │ script │ generic. │ None     │ None  │ None  │ job     │ /home/do │
│ 99ed1    │        │ 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     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ rld_sing │        │ local.ba │          │       │       │ hello-w │ cs/check │
│ ularity/ │        │ sh       │          │       │       │ orld    │ outs/rea │
│ 017c912c │        │          │          │       │       │ 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     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ executor │ script │ generic. │ None     │ None  │ None  │ Declari │ /home/do │
│ s_sbatch │        │ local.ba │          │       │       │ ng env  │ cs/check │
│ _declara │        │ sh       │          │       │       │ and     │ outs/rea │
│ tion/d07 │        │          │          │       │       │ vars by │ dthedocs │
│ 4d285    │        │          │          │       │       │ 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/c98 │        │          │          │       │       │ vars by │ dthedocs │
│ 20e4e    │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/mu │
│          │        │          │          │       │       │         │ lti_exec │
│          │        │          │          │       │       │         │ utors/ex │
│          │        │          │          │       │       │         │ ecutor_s │
│          │        │          │          │       │       │         │ cheduler │
│          │        │          │          │       │       │         │ .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/a30eec │        │          │          │       │       │ output  │ .org/use │
│ 67       │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_re │
│          │        │          │          │       │       │         │ gex_with │
│          │        │          │          │       │       │         │ _linenum │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ symlink_ │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ test/26d │        │ local.ba │          │       │       │ check   │ cs/check │
│ 39fa3    │        │ 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 │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_tra │ script │ generic. │ None     │ None  │ None  │ Use of  │ /home/do │
│ verse_li │        │ local.ba │          │       │       │ file_tr │ cs/check │
│ mit/32ec │        │ sh       │          │       │       │ averse_ │ outs/rea │
│ 6f19     │        │          │          │       │       │ 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     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_r │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ egex_exa │        │ local.ba │          │       │       │ result  │ cs/check │
│ mple/65d │        │ sh       │          │       │       │ metric  │ outs/rea │
│ 18e0a    │        │          │          │       │       │ 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/bed63e │        │ sh       │          │       │       │ metric  │ outs/rea │
│ bd       │        │          │          │       │       │ from    │ dthedocs │
│          │        │          │          │       │       │ file    │ .org/use │
│          │        │          │          │       │       │ path    │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_re │
│          │        │          │          │       │       │         │ gex.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ csh_shel │ script │ generic. │ None     │ None  │ None  │ csh     │ /home/do │
│ l/79cf23 │        │ local.cs │          │       │       │ shell   │ cs/check │
│ 84       │        │ h        │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/cs │
│          │        │          │          │       │       │         │ h_shell_ │
│          │        │          │          │       │       │         │ examples │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_g │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ t_exampl │        │ local.ba │          │       │       │ stream  │ cs/check │
│ e/c1ae71 │        │ sh       │          │       │       │ test    │ outs/rea │
│ ca       │        │          │          │       │       │ 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  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_e │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ q_exampl │        │ local.ba │          │       │       │ for     │ cs/check │
│ e/813b71 │        │ sh       │          │       │       │ assert  │ outs/rea │
│ e3       │        │          │          │       │       │ equalit │ dthedocs │
│          │        │          │          │       │       │ y       │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _eq.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/90f │        │          │          │       │       │ differe │ dthedocs │
│ 2e8d5    │        │          │          │       │       │ 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        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_env │ script │ generic. │ None     │ None  │ None  │ Declare │ /home/do │
│ _variabl │        │ local.ba │          │       │       │ environ │ cs/check │
│ es/f4d41 │        │ sh       │          │       │       │ ment    │ outs/rea │
│ 3a6      │        │          │          │       │       │ 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/ea57 │        │ h        │          │       │       │ example │ outs/rea │
│ a386     │        │          │          │       │       │ 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/e9e │        │ h        │          │       │       │ example │ outs/rea │
│ 2ae4f    │        │          │          │       │       │ to      │ dthedocs │
│          │        │          │          │       │       │ declare │ .org/use │
│          │        │          │          │       │       │ environ │ r_builds │
│          │        │          │          │       │       │ ment    │ /buildte │
│          │        │          │          │       │       │ variabl │ st/check │
│          │        │          │          │       │       │ es      │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/en │
│          │        │          │          │       │       │         │ vironmen │
│          │        │          │          │       │       │         │ t.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ file    │ /home/do │
│ nt_on_di │        │ local.ba │          │       │       │ count   │ cs/check │
│ rectory/ │        │ sh       │          │       │       │ check   │ outs/rea │
│ f614aa6b │        │          │          │       │       │ 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 │
│ 75d1a103 │        │          │          │       │       │ extensi │ dthedocs │
│          │        │          │          │       │       │ on      │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_c │
│          │        │          │          │       │       │         │ ount.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_exi │ script │ generic. │ None     │ None  │ None  │ this    │ /home/do │
│ sts_pass │        │ local.ba │          │       │       │ test    │ cs/check │
│ /fae02dd │        │ sh       │          │       │       │ will    │ outs/rea │
│ e        │        │          │          │       │       │ 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    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ unskippe │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ d/99eb62 │        │ local.ba │          │       │       │ test is │ cs/check │
│ 24       │        │ sh       │          │       │       │ not     │ outs/rea │
│          │        │          │          │       │       │ skipped │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sk │
│          │        │          │          │       │       │         │ ip_tests │
│          │        │          │          │       │       │         │ .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/1b6 │        │          │          │       │       │ in      │ .org/use │
│ 3d3af    │        │          │          │       │       │ failure │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_re │
│          │        │          │          │       │       │         │ gex_with │
│          │        │          │          │       │       │         │ _invalid │
│          │        │          │          │       │       │         │ _linenum │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello   │ /home/do │
│ rld/030a │        │ local.ba │          │       │       │ world   │ cs/check │
│ dce8     │        │ sh       │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/he │
│          │        │          │          │       │       │         │ llo_worl │
│          │        │          │          │       │       │         │ d.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ file    │ /home/do │
│ nt_by_ex │        │ local.ba │          │       │       │ count   │ cs/check │
│ pression │        │ sh       │          │       │       │ by      │ outs/rea │
│ /16d7788 │        │          │          │       │       │ express │ dthedocs │
│ a        │        │          │          │       │       │ 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/f │        │          │          │       │       │ extensi │ dthedocs │
│ f5dec0a  │        │          │          │       │       │ 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 │
│ 73989d73 │        │          │          │       │       │ 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 │
│ /0c9af6f │        │          │          │       │       │ ry is   │ .org/use │
│ 6        │        │          │          │       │       │ 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 │
│ /20a47ad │        │          │          │       │       │ variabl │ dthedocs │
│ e        │        │          │          │       │       │ 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  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ foo_bar/ │ script │ generic. │ None     │ None  │ None  │ prints  │ /home/do │
│ 0cd1e5e4 │        │ 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    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ 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/7 │        │          │          │       │       │ from    │ dthedocs │
│ c7d32aa  │        │          │          │       │       │ 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        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ rld_dock │        │ local.ba │          │       │       │ hello-w │ cs/check │
│ er/dd082 │        │ sh       │          │       │       │ orld    │ outs/rea │
│ 26e      │        │          │          │       │       │ contain │ dthedocs │
│          │        │          │          │       │       │ er with │ .org/use │
│          │        │          │          │       │       │ docker  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ ntainers │
│          │        │          │          │       │       │         │ /hello_w │
│          │        │          │          │       │       │         │ orld.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.searc │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ h.stdout │        │ local.ba │          │       │       │ re.sear │ cs/check │
│ /7f49e32 │        │ sh       │          │       │       │ ch on   │ outs/rea │
│ d        │        │          │          │       │       │ 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 │
│ f5f76ba7 │        │ 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/400b │        │ sh       │          │       │       │ match   │ outs/rea │
│ 0793     │        │          │          │       │       │ 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/2 │        │ sh       │          │       │       │ h on    │ outs/rea │
│ 964f2ca  │        │          │          │       │       │ file    │ dthedocs │
│          │        │          │          │       │       │ regex   │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/specif │
│          │        │          │          │       │       │         │ y_regex_ │
│          │        │          │          │       │       │         │ type.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_e │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ xists/90 │        │ local.ba │          │       │       │ check   │ cs/check │
│ 54b9d3   │        │ 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/3a │        │ sh       │          │       │       │ failure │ outs/rea │
│ 7006c3   │        │          │          │       │       │ for     │ dthedocs │
│          │        │          │          │       │       │ existen │ .org/use │
│          │        │          │          │       │       │ ce      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/exists │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_r │ script │ generic. │ None     │ None  │ None  │ Example │ /home/do │
│ ange_ex/ │        │ local.ba │          │       │       │ on      │ cs/check │
│ ee156d74 │        │ 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       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello   │ /home/do │
│ ello/bd6 │        │ local.ba │          │       │       │ World   │ cs/check │
│ 3c15c    │        │ sh       │          │       │       │ python  │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/py │
│          │        │          │          │       │       │         │ thon-hel │
│          │        │          │          │       │       │         │ lo.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ _bin_sh_ │ script │ generic. │ None     │ None  │ None  │ /bin/sh │ /home/do │
│ shell/82 │        │ local.sh │          │       │       │ shell   │ cs/check │
│ 5ab00f   │        │          │          │       │       │ 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 │
│ 9ae95949 │        │ 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/87cd7 │        │ local.ba │          │       │       │ shell   │ cs/check │
│ 3b6      │        │ 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 │
│ /ad44516 │        │ local.sh │          │       │       │ shell   │ cs/check │
│ c        │        │          │          │       │       │ 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/d9 │        │ local.sh │          │       │       │ options │ cs/check │
│ 62c317   │        │          │          │       │       │         │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sh │
│          │        │          │          │       │       │         │ ell_exam │
│          │        │          │          │       │       │         │ ples.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1  │ /home/do │
│ il/6e748 │        │ local.ba │          │       │       │ by      │ cs/check │
│ 2c0      │        │ 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/fda2e │        │ local.ba │          │       │       │ exit 1  │ cs/check │
│ c1c      │        │ 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 │
│ /3dddc78 │        │          │          │       │       │ it      │ dthedocs │
│ 9        │        │          │          │       │       │ 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/c5e │        │ sh       │          │       │       │ matches │ outs/rea │
│ eb59c    │        │          │          │       │       │ 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    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calcula │ /home/do │
│ rea/634d │        │ local.ba │          │       │       │ te      │ cs/check │
│ 5520     │        │ 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   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ contains │ script │ generic. │ None     │ None  │ None  │ Status  │ /home/do │
│ _and_not │        │ local.ba │          │       │       │ check   │ cs/check │
│ _contain │        │ sh       │          │       │       │ based   │ outs/rea │
│ s/63eaf4 │        │          │          │       │       │ on      │ dthedocs │
│ 73       │        │          │          │       │       │ 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/839 │        │ sh       │          │       │       │ based   │ outs/rea │
│ c170a    │        │          │          │       │       │ 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   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_l │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ t_exampl │        │ local.ba │          │       │       │ stream  │ cs/check │
│ e/42f6fa │        │ sh       │          │       │       │ test    │ outs/rea │
│ 73       │        │          │          │       │       │ 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  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test1/3e │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ c20604   │        │ 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/77 │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ b197c8   │        │ 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/98 │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ fc2a06   │        │ 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 │
│ e_exampl │        │ local.ba │          │       │       │ stream  │ cs/check │
│ e/5e8a40 │        │ sh       │          │       │       │ test    │ outs/rea │
│ fc       │        │          │          │       │       │ 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  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ sleep/9f │ script │ generic. │ None     │ None  │ None  │ sleep 2 │ /home/do │
│ 56e93d   │        │ local.ba │          │       │       │ seconds │ cs/check │
│          │        │ sh       │          │       │       │         │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sl │
│          │        │          │          │       │       │         │ eep.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ linecoun │ script │ generic. │ None     │ None  │ None  │ Write   │ /home/do │
│ t_stdout │        │ local.ba │          │       │       │ 10      │ cs/check │
│ /0590968 │        │ sh       │          │       │       │ lines   │ outs/rea │
│ 9        │        │          │          │       │       │ 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/c22f40 │        │          │          │       │       │ to      │ dthedocs │
│ 2b       │        │          │          │       │       │ 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  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ 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/8 │        │          │          │       │       │ vars by │ dthedocs │
│ 2c8c67c  │        │          │          │       │       │ 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/3 │        │          │          │       │       │ vars by │ dthedocs │
│ b8ff978  │        │          │          │       │       │ 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  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ define  │ /home/do │
│ eturncod │        │ local.ba │          │       │       │ status  │ cs/check │
│ e_by_exe │        │ sh       │          │       │       │ per     │ outs/rea │
│ cutors/5 │        │          │          │       │       │ executo │ dthedocs │
│ b217631  │        │          │          │       │       │ 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/8 │        │          │          │       │       │ executo │ dthedocs │
│ c51d809  │        │          │          │       │       │ r type. │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/mu │
│          │        │          │          │       │       │         │ lti_exec │
│          │        │          │          │       │       │         │ utors/st │
│          │        │          │          │       │       │         │ atus_by_ │
│          │        │          │          │       │       │         │ executor │
│          │        │          │          │       │       │         │ s.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_f │        │          │          │       │       │ from    │ dthedocs │
│ ailure_e │        │          │          │       │       │ file    │ .org/use │
│ xample/0 │        │          │          │       │       │ path    │ r_builds │
│ 4e6ca4e  │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_fi │
│          │        │          │          │       │       │         │ le_regex │
│          │        │          │          │       │       │         │ _with_in │
│          │        │          │          │       │       │         │ valid_li │
│          │        │          │          │       │       │         │ nenum.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_log │ script │ generic. │ None     │ None  │ None  │ customi │ /home/do │
│ in_sheba │        │ local.ba │          │       │       │ ze      │ cs/check │
│ ng/a81e4 │        │ sh       │          │       │       │ shebang │ outs/rea │
│ e43      │        │          │          │       │       │ 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/8b │        │ sh       │          │       │       │ shebang │ outs/rea │
│ 57919d   │        │          │          │       │       │ line    │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ default │ r_builds │
│          │        │          │          │       │       │ bash    │ /buildte │
│          │        │          │          │       │       │ (nonlog │ st/check │
│          │        │          │          │       │       │ in)     │ outs/lat │
│          │        │          │          │       │       │ shell   │ est/tuto │
│          │        │          │          │       │       │         │ rials/sh │
│          │        │          │          │       │       │         │ ebang.ym │
│          │        │          │          │       │       │         │ l        │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴─────────┴──────────┘
──────────────────────────────── Building Test ─────────────────────────────────
add_numbers/845f1901: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/add_numbers/add_numbers/845f1901
stream_test/53e22f0b: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/assert_ge/stream_test/53e22f0b
run_script_in_container/41b0d2da: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/run_script/run_script_in_container/41b0d2da
'Unable to find docker binary in PATH, this test will be not be executed.'
bind_mount_in_container/b539ae81: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/bind_mounts/bind_mount_in_container/b539ae81
'Unable to find docker binary in PATH, this test will be not be executed.'
runtime_test/f8fb75f1: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ex4/runtime_test/f8fb75f1
runtime_test_pass/7a31ded3: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ex4/runtime_test_pass/7a31ded3
runtime_test_fail/063d6ed7: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ex4/runtime_test_fail/063d6ed7
create_burst_buffer_executors/2e2c7eaf: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/burstbuffer_datawarp_executors/create_burst_buffer_executors/2e2c7eaf
create_burst_buffer_executors/1fac09cc: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/burstbuffer_datawarp_executors/create_burst_buffer_executors/1fac09cc
status_logical_and/31cce452: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/mode/status_logical_and/31cce452
status_logical_or/1653acaa: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/mode/status_logical_or/1653acaa
file_count_by_filetype/a45166cf: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/file_count_filetype/file_count_by_filetype/a45166cf
variables_bash/b9377a67: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/b9377a67
pass_test/3f9d2628: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ex3/pass_test/3f9d2628
fail_test/2677fc9c: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ex3/fail_test/2677fc9c
pass_and_fail_test/456252fc: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ex3/pass_and_fail_test/456252fc
final_test/10264922: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ex3/final_test/10264922
file_linecount_exceptions/baa72dd1: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/file_linecount_failure/file_linecount_exceptions/baa72dd1
assert_ne_example/adcef5ba: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/assert_ne/assert_ne_example/adcef5ba
assert_eq_invalid_metric/a062d68e: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_invalid_metric/a062d68e
assert_eq_mismatch/69c6ffa4: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_mismatch/69c6ffa4
file_and_dir_checks/f9f85d74: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/file_and_dir_check/file_and_dir_checks/f9f85d74
combined_file_and_dir_checks/32fad49e: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/file_and_dir_check/combined_file_and_dir_checks/32fad49e
summary_example/db501cf8: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/summary_example/summary_example/db501cf8
stream_openmp_c/a8aa9677: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/stream/stream_openmp_c/a8aa9677
gcc_version/012939bd: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/gcc_version/gcc_version/012939bd
always_pass/2657f53b: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/explicit_state/always_pass/2657f53b
always_fail/229e5399: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/explicit_state/always_fail/229e5399
test_fail_returncode_match/9eb1de13: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/explicit_state/test_fail_returncode_match/9eb1de13
test_pass_returncode_mismatch/56ff7459: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/explicit_state/test_pass_returncode_mismatch/56ff7459
file_linecount/51fcd520: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/file_linecount/file_linecount/51fcd520
timelimit_min_max/e3252209: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/runtime_status_test/timelimit_min_max/e3252209
timelimit_min/431a5e28: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/runtime_status_test/timelimit_min/431a5e28
timelimit_max/bfa0571b: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/runtime_status_test/timelimit_max/bfa0571b
timelimit_min_fail/fd5f90d7: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/runtime_status_test/timelimit_min_fail/fd5f90d7
timelimit_max_fail/55459bd1: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/runtime_status_test/timelimit_max_fail/55459bd1
string_tag/22cfb97e: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/string_tag/22cfb97e
list_of_strings_tags/5fa0a4d9: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/tags_example/list_of_strings_tags/5fa0a4d9
hello_world_c_cpp/c137533e: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world_compilation/hello_world_c_cpp/c137533e
container_commands_ubuntu/8be1426e: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/run_commands/container_commands_ubuntu/8be1426e
'Unable to find docker binary in PATH, this test will be not be executed.'
container_options/a1275223: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/run_commands/container_options/a1275223
'Unable to find docker binary in PATH, this test will be not be executed.'
multiple_executors/ce95d4b6: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/executor_regex_script/multiple_executors/ce95d4b6
multiple_executors/ec85b240: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/executor_regex_script/multiple_executors/ec85b240
status_regex_stdout_pass/3bb68b25: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/status_regex/status_regex_stdout_pass/3bb68b25
status_regex_stdout_fail/fa48b93d: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/status_regex/status_regex_stdout_fail/fa48b93d
status_regex_stderr_pass/e3b0d403: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/status_regex/status_regex_stderr_pass/e3b0d403
status_regex_stderr_fail/36d77c93: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/status_regex/status_regex_stderr_fail/36d77c93
linux_strict_test/75f7f9f6: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/strict_example/linux_strict_test/75f7f9f6
metric_file_regex_with_linenum_example/c1f406a0: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/metrics_file_regex_with_linenum/metric_file_regex_with_linenum_example/c1f406a0
jobA/09d341ea: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ex1/jobA/09d341ea
jobB/490db2c1: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ex1/jobB/490db2c1
jobC/bbe99ed1: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ex1/jobC/bbe99ed1
hello_world_singularity/017c912c: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world_singularity/hello_world_singularity/017c912c
'Unable to find singularity binary in PATH, this test will be not be executed.'
executors_sbatch_declaration/d074d285: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/executor_scheduler/executors_sbatch_declaration/d074d285
executors_sbatch_declaration/c9820e4e: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/executor_scheduler/executors_sbatch_declaration/c9820e4e
metric_regex_with_linenum_example/a30eec67: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/metrics_regex_with_linenum/metric_regex_with_linenum_example/a30eec67
symlink_test/26d39fa3: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/is_symlink/symlink_test/26d39fa3
file_traverse_limit/32ec6f19: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/file_count_file_traverse_limit/file_traverse_limit/32ec6f19
metric_regex_example/65d18e0a: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/metrics_regex/metric_regex_example/65d18e0a
metric_file_regex/bed63ebd: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/metrics_regex/metric_file_regex/bed63ebd
csh_shell/79cf2384: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.csh/csh_shell_examples/csh_shell/79cf2384
assert_gt_example/c1ae71ca: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/assert_gt/assert_gt_example/c1ae71ca
assert_eq_example/813b71e3: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/assert_eq/assert_eq_example/813b71e3
metric_regex_example_with_re/90f2e8d5: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/metrics_with_regex_type/metric_regex_example_with_re/90f2e8d5
bash_env_variables/f4d413a6: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/environment/bash_env_variables/f4d413a6
csh_env_declaration/ea57a386: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.csh/environment/csh_env_declaration/ea57a386
tcsh_env_declaration/e9e2ae4f: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.csh/environment/tcsh_env_declaration/e9e2ae4f
file_count_on_directory/f614aa6b: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/file_count/file_count_on_directory/f614aa6b
file_count_by_extension/75d1a103: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/file_count/file_count_by_extension/75d1a103
file_exists_pass/fae02dde: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/file_exists_with_number/file_exists_pass/fae02dde
unskipped/99eb6224: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/skip_tests/unskipped/99eb6224
metric_regex_linenum_failure_example/1b63d3af: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/metrics_regex_with_invalid_linenum/metric_regex_linenum_failure_example/1b63d3af
hello_world/030adce8: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/030adce8
file_count_by_expression/16d7788a: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/file_count_pattern/file_count_by_expression/16d7788a
file_extension_and_filepattern/ff5dec0a: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/file_count_pattern/file_extension_and_filepattern/ff5dec0a
regex_on_multiple_files/73989d73: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/regex_on_filename/regex_on_multiple_files/73989d73
regex_on_directory_not_supported/0c9af6f6: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/regex_on_filename/regex_on_directory_not_supported/0c9af6f6
file_expansion_supported/20a47ade: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/regex_on_filename/file_expansion_supported/20a47ade
foo_bar/0cd1e5e4: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/maintainers_example/foo_bar/0cd1e5e4
metric_file_regex_invalid_file/7c7d32aa: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/metrics_file_regex_invalid_file/metric_file_regex_invalid_file/7c7d32aa
hello_world_docker/dd08226e: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world_docker/dd08226e
'Unable to find docker binary in PATH, this test will be not be executed.'
re.search.stdout/7f49e32d: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/specify_regex_type/re.search.stdout/7f49e32d
re.match.stdout/f5f76ba7: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/specify_regex_type/re.match.stdout/f5f76ba7
re.fullmatch.stdout/400b0793: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/specify_regex_type/re.fullmatch.stdout/400b0793
re.match_on_file_regex/2964f2ca: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/specify_regex_type/re.match_on_file_regex/2964f2ca
status_exists/9054b9d3: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/exists/status_exists/9054b9d3
status_exists_failure/3a7006c3: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/exists/status_exists_failure/3a7006c3
assert_range_ex/ee156d74: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/assert_range/assert_range_ex/ee156d74
python_hello/bd63c15c: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/bd63c15c
_bin_sh_shell/825ab00f: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/shell_examples/_bin_sh_shell/825ab00f
_bin_bash_shell/9ae95949: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/shell_examples/_bin_bash_shell/9ae95949
bash_shell/87cd73b6: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/shell_examples/bash_shell/87cd73b6
sh_shell/ad44516c: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/shell_examples/sh_shell/ad44516c
shell_options/d962c317: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/shell_examples/shell_options/d962c317
exit1_fail/6e7482c0: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/6e7482c0
exit1_pass/fda2ec1c: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_pass/fda2ec1c
returncode_list_mismatch/3dddc789: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/3dddc789
returncode_int_match/c5eeb59c: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_int_match/c5eeb59c
circle_area/634d5520: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/634d5520
contains_and_not_contains/63eaf473: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/contains/contains_and_not_contains/63eaf473
assert_contains_fail/839c170a: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/contains/assert_contains_fail/839c170a
assert_lt_example/42f6fa73: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/assert_lt/assert_lt_example/42f6fa73
test1/3ec20604: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ex2/test1/3ec20604
test2/77b197c8: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ex2/test2/77b197c8
test3/98fc2a06: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/ex2/test3/98fc2a06
assert_le_example/5e8a40fc: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/assert_le/assert_le_example/5e8a40fc
sleep/9f56e93d: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/sleep/sleep/9f56e93d
linecount_stdout/05909689: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/linecount/linecount_stdout/05909689
linecount_stderr_mismatch/c22f402b: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/linecount/linecount_stderr_mismatch/c22f402b
executors_vars_env_declaration/82c8c67c: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/executors_var_env_declaration/executors_vars_env_declaration/82c8c67c
executors_vars_env_declaration/3b8ff978: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/executors_var_env_declaration/executors_vars_env_declaration/3b8ff978
status_returncode_by_executors/5b217631: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/status_by_executors/status_returncode_by_executors/5b217631
status_returncode_by_executors/8c51d809: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.sh/status_by_executors/status_returncode_by_executors/8c51d809
metric_file_regex_with_linenum_failure_example/04e6ca4e: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/metrics_file_regex_with_invalid_linenum/metric_file_regex_with_linenum_failure_example/04e6ca4e
bash_login_shebang/a81e4e43: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/shebang/bash_login_shebang/a81e4e43
bash_nonlogin_shebang/8b57919d: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/shebang/bash_nonlogin_shebang/8b57919d

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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:11                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/815f │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 6067     │        │ 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/5bb │        │ local.ba │          │       │       │ World    │ ocs/che │
│ d7b6c    │        │ 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/815f6067: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/815f6067
python_hello/5bbd7b6c: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/5bbd7b6c
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
circle_area/815f6067 does not have any dependencies adding test to queue
python_hello/5bbd7b6c does not have any dependencies adding test to queue
Builders Eligible to Run 
┏━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━┩
│ circle_area/815f6067  │
│ python_hello/5bbd7b6c │
└───────────────────────┘
circle_area/815f6067: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/815f6067/stage
circle_area/815f6067: Running Test via command: bash circle_area_build.sh
circle_area/815f6067: Test completed in 0.036399 seconds with returncode: 0
circle_area/815f6067: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/815f6067/circle_area.out
circle_area/815f6067: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/815f6067/circle_area.err
python_hello/5bbd7b6c: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/5bbd7b6c/stage
python_hello/5bbd7b6c: Running Test via command: bash python_hello_build.sh
python_hello/5bbd7b6c: Test completed in 0.035783 seconds with returncode: 0
python_hello/5bbd7b6c: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/5bbd7b6c/python_hello.out
python_hello/5bbd7b6c: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/5bbd7b6c/python_hello.err
                                 Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder               ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ python_hello/5bbd7b6c │ generic.local.bash │ PASS   │ 0          │ 0.036   │
├───────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/815f6067  │ generic.local.bash │ PASS   │ 0          │ 0.036   │
└───────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_0iwti7k3.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:11                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/python-shell.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            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                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  2
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
────────────────────────────── Parsing Buildspecs ──────────────────────────────
python_hello/558d62fb is excluded since its not using batch executor
circle_area/e543bf4b 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-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-shell.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/tmpg56mdva9/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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:12                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/1 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 922586a  │        │ 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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:13                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/tmpg56mdva9/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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:13                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/tmpg56mdva9/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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:12                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/1 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 922586a  │        │ 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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:14                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/8 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ fb875af  │        │ 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/8fb875af: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/8fb875af

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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:14                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/c5c5 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 1c4d     │        │ 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/87f6 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 87b8     │        │ 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/b4f7 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 799a     │        │ 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/c5c51c4d: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/c5c51c4d
circle_area/87f687b8: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/87f687b8
circle_area/b4f7799a: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/b4f7799a
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
circle_area/b4f7799a does not have any dependencies adding test to queue
circle_area/87f687b8 does not have any dependencies adding test to queue
circle_area/c5c51c4d does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ circle_area/b4f7799a │
│ circle_area/87f687b8 │
│ circle_area/c5c51c4d │
└──────────────────────┘
circle_area/b4f7799a: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/b4f7799a/stage
circle_area/b4f7799a: Running Test via command: bash circle_area_build.sh
circle_area/b4f7799a: Test completed in 0.035867 seconds with returncode: 0
circle_area/b4f7799a: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/b4f7799a/circle_area.out
circle_area/b4f7799a: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/b4f7799a/circle_area.err
circle_area/87f687b8: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/87f687b8/stage
circle_area/87f687b8: Running Test via command: bash circle_area_build.sh
circle_area/87f687b8: Test completed in 0.035872 seconds with returncode: 0
circle_area/87f687b8: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/87f687b8/circle_area.out
circle_area/87f687b8: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/87f687b8/circle_area.err
circle_area/c5c51c4d: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/c5c51c4d/stage
circle_area/c5c51c4d: Running Test via command: bash circle_area_build.sh
circle_area/c5c51c4d: Test completed in 0.036015 seconds with returncode: 0
circle_area/c5c51c4d: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/c5c51c4d/circle_area.out
circle_area/c5c51c4d: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/c5c51c4d/circle_area.err
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ circle_area/87f687b8 │ generic.local.bash │ PASS   │ 0          │ 0.036   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/b4f7799a │ generic.local.bash │ PASS   │ 0          │ 0.036   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/c5c51c4d │ generic.local.bash │ PASS   │ 0          │ 0.036   │
└──────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 3 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_rm57cd80.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:15                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/a7936 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 080      │        │ 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/86ef6 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ cd2      │        │ 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/ │
│ /8e20e9a │        │          │          │       │       │ 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/6ef │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ e629b    │        │          │          │       │       │ 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/50eb7 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ a30      │        │ 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/5e522 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 86c      │        │ 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/ │
│ /65ada02 │        │          │          │       │       │ failed   │ readthe │
│ 2        │        │          │          │       │       │ 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/08b │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 3bb37    │        │          │          │       │       │ 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/a7936080: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/a7936080
exit1_pass/86ef6cd2: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_pass/86ef6cd2
returncode_list_mismatch/8e20e9a0: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/8e20e9a0
returncode_int_match/6efe629b: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_int_match/6efe629b
exit1_fail/50eb7a30: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/50eb7a30
exit1_pass/5e52286c: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_pass/5e52286c
returncode_list_mismatch/65ada022: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/65ada022
returncode_int_match/08b3bb37: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_int_match/08b3bb37
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/50eb7a30 does not have any dependencies adding test to queue
returncode_int_match/6efe629b does not have any dependencies adding test to queue
exit1_fail/a7936080 does not have any dependencies adding test to queue
returncode_list_mismatch/65ada022 does not have any dependencies adding test to queue
returncode_int_match/08b3bb37 does not have any dependencies adding test to queue
exit1_pass/5e52286c does not have any dependencies adding test to queue
returncode_list_mismatch/8e20e9a0 does not have any dependencies adding test to queue
exit1_pass/86ef6cd2 does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/50eb7a30               │
│ returncode_int_match/6efe629b     │
│ exit1_fail/a7936080               │
│ returncode_list_mismatch/65ada022 │
│ returncode_int_match/08b3bb37     │
│ exit1_pass/5e52286c               │
│ returncode_list_mismatch/8e20e9a0 │
│ exit1_pass/86ef6cd2               │
└───────────────────────────────────┘
exit1_fail/50eb7a30: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/50eb7a30/stage
exit1_fail/50eb7a30: Running Test via command: bash exit1_fail_build.sh
exit1_fail/50eb7a30: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/50eb7a30 ─────────────────────

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

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

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

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

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

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

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

exit1_pass/86ef6cd2: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/86ef6cd2: Run - 1/1
exit1_pass/86ef6cd2: Running Test via command: bash exit1_pass_build.sh
exit1_pass/86ef6cd2: failed to submit job with returncode: 1
exit1_pass/86ef6cd2: Test completed in 0.015885 seconds with returncode: 1
exit1_pass/86ef6cd2: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_pass/86ef6cd2/exit1_pass.out
exit1_pass/86ef6cd2: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_pass/86ef6cd2/exit1_pass.err
exit1_pass/86ef6cd2: Checking returncode - 1 is matched in list [1]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fail/a7936080     │ generic.local.bash │ FAIL   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.015   │
│ h/65ada022              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/50eb7a30     │ generic.local.bash │ FAIL   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/6e │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ fe629b                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/08 │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ b3bb37                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/5e52286c     │ generic.local.bash │ PASS   │ 1          │ 0.016   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/86ef6cd2     │ generic.local.bash │ PASS   │ 1          │ 0.016   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.016   │
│ h/8e20e9a0              │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 8 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_rowpglf9.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 0x7f4ed9dcf280>                       │ │
│ │             os = <module 'os' from                                       │ │
│ │                  '/home/docs/.asdf/installs/python/3.9.18/lib/python3.9… │ │
│ │         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:96 in main                                                 │
│                                                                              │
│    93 │                                                                      │
│    94 │   # buildtest build command                                          │
│    95 │   if args.subcommands in ["build", "bd"]:                            │
│ ❱  96 │   │   handle_build_command(args, configuration, report_file)         │
│    97 │                                                                      │
│    98 │   # buildtest build history                                          │
│    99 │   if args.subcommands in ["history", "hy"]:                          │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │             args = Namespace(subcommands='build', configfile=None,       │ │
│ │                    debug=False, loglevel='DEBUG', editor=None,           │ │
│ │                    view_log=False, logpath=False, print_log=False,       │ │
│ │                    color=None, no_color=False, helpcolor=False,          │ │
│ │                    report=None, listopts=False, verbose=False,           │ │
│ │                    buildspec=['tutorials/test_status/pass_returncode.ym… │ │
│ │                    exclude=None, name=None, executor=None,               │ │
│ │                    exclude_tags=None, tags=None, rerun=False,            │ │
│ │                    filter=None, helpfilter=False, executor_type=None,    │ │
│ │                    module_purge=False, modules=None,                     │ │
│ │                    unload_modules=None, account=None, maxpendtime=None,  │ │
│ │                    pollinterval=None, procs=None, nodes=None,            │ │
│ │                    dry_run=False, limit=None, max_jobs=None,             │ │
│ │                    profile=None, remove_stagedir=False, rebuild=51,      │ │
│ │                    retry=1, save_profile=None, strict=False,             │ │
│ │                    testdir=None, timeout=None, validate=False,           │ │
│ │                    write_config_file=None)                               │ │
│ │ buildtest_editor = '/usr/bin/vim'                                        │ │
│ │    configuration = <buildtest.config.SiteConfiguration object at         │ │
│ │                    0x7f4ed7f90760>                                       │ │
│ │           parser = <buildtest.cli.BuildTestParser object at              │ │
│ │                    0x7f4ed9ec47c0>                                       │ │
│ │      report_file = None                                                  │ │
│ │           system = <buildtest.system.BuildTestSystem object at           │ │
│ │                    0x7f4ed7f904f0>                                       │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ │
│ buildtest/main.py:296 in handle_build_command                                │
│                                                                              │
│   293 │   if args.subcommands in ["build", "bd"]:                            │
│   294 │   │   stdout_file = tempfile.NamedTemporaryFile(delete=True, suffix= │
│   295 │   │   with Tee(stdout_file.name):                                    │
│ ❱ 296 │   │   │   cmd = BuildTest(                                           │
│   297 │   │   │   │   configuration=configuration,                           │
│   298 │   │   │   │   buildspecs=args.buildspec,                             │
│   299 │   │   │   │   exclude_buildspecs=args.exclude,                       │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │          args = Namespace(subcommands='build', configfile=None,          │ │
│ │                 debug=False, loglevel='DEBUG', editor=None,              │ │
│ │                 view_log=False, logpath=False, print_log=False,          │ │
│ │                 color=None, no_color=False, helpcolor=False,             │ │
│ │                 report=None, listopts=False, verbose=False,              │ │
│ │                 buildspec=['tutorials/test_status/pass_returncode.yml'], │ │
│ │                 exclude=None, name=None, executor=None,                  │ │
│ │                 exclude_tags=None, tags=None, rerun=False, filter=None,  │ │
│ │                 helpfilter=False, executor_type=None,                    │ │
│ │                 module_purge=False, modules=None, unload_modules=None,   │ │
│ │                 account=None, maxpendtime=None, pollinterval=None,       │ │
│ │                 procs=None, nodes=None, dry_run=False, limit=None,       │ │
│ │                 max_jobs=None, profile=None, remove_stagedir=False,      │ │
│ │                 rebuild=51, retry=1, save_profile=None, strict=False,    │ │
│ │                 testdir=None, timeout=None, validate=False,              │ │
│ │                 write_config_file=None)                                  │ │
│ │ configuration = <buildtest.config.SiteConfiguration object at            │ │
│ │                 0x7f4ed7f90760>                                          │ │
│ │   report_file = None                                                     │ │
│ │   stdout_file = <tempfile._TemporaryFileWrapper object at                │ │
│ │                 0x7f4ed7fb3b80>                                          │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ │
│ buildtest/cli/build.py:707 in __init__                                       │
│                                                                              │
│    704 │   │   │   │   raise BuildTestError(f"{rebuild} is not of type int") │
│    705 │   │   │                                                             │
│    706 │   │   │   if rebuild > 50:                                          │
│ ❱  707 │   │   │   │   raise BuildTestError(                                 │
│    708 │   │   │   │   │   f"--rebuild {rebuild} exceeds maximum rebuild lim │
│    709 │   │   │   │   )                                                     │
│    710                                                                       │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │            account = None                                                │ │
│ │           arg_name = None                                                │ │
│ │         buildspecs = ['tutorials/test_status/pass_returncode.yml']       │ │
│ │      configuration = <buildtest.config.SiteConfiguration object at       │ │
│ │                      0x7f4ed7f90760>                                     │ │
│ │            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            │ │
│ │                      0x7f4ed7fc3340>                                     │ │
│ │             strict = False                                               │ │
│ │               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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:17                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/4921a │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 891      │        │ 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/e684e │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ a29      │        │ 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/ │
│ /358082c │        │          │          │       │       │ failed   │ readthe │
│ 4        │        │          │          │       │       │ 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/6f2 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 84ec4    │        │          │          │       │       │ 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/4921a891: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/4921a891
exit1_pass/e684ea29: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_pass/e684ea29
returncode_list_mismatch/358082c4: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/358082c4
returncode_int_match/6f284ec4: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_int_match/6f284ec4
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_pass/e684ea29 does not have any dependencies adding test to queue
returncode_list_mismatch/358082c4 does not have any dependencies adding test to queue
exit1_fail/4921a891 does not have any dependencies adding test to queue
returncode_int_match/6f284ec4 does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_pass/e684ea29               │
│ exit1_fail/4921a891               │
│ returncode_list_mismatch/358082c4 │
│ returncode_int_match/6f284ec4     │
└───────────────────────────────────┘
exit1_pass/e684ea29: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_pass/e684ea29/stage
exit1_pass/e684ea29: Running Test via command: bash exit1_pass_build.sh
exit1_pass/e684ea29: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/e684ea29 ─────────────────────

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

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

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

returncode_int_match/6f284ec4: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/6f284ec4: Run - 1/1
returncode_int_match/6f284ec4: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/6f284ec4: failed to submit job with returncode: 128
returncode_int_match/6f284ec4: Test completed in 0.014678 seconds with returncode: 128
returncode_int_match/6f284ec4: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_int_match/6f284ec4/returncode_int_match.out
returncode_int_match/6f284ec4: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/returncode_int_match/6f284ec4/returncode_int_match.err
returncode_int_match/6f284ec4: Checking returncode - 128 is matched in list [128]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fail/4921a891     │ generic.local.bash │ FAIL   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.016   │
│ h/358082c4              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/e684ea29     │ generic.local.bash │ PASS   │ 1          │ 0.016   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/6f │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ 284ec4                  │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 4 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_fgjrs_p2.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:18                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/995c7 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ c2d      │        │ 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/ed7d8 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 64e      │        │ 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/ │
│ /5462d5d │        │          │          │       │       │ 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/78c │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 8c340    │        │          │          │       │       │ 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/995c7c2d: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/995c7c2d
exit1_pass/ed7d864e: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_pass/ed7d864e
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/995c7c2d does not have any dependencies adding test to queue
exit1_pass/ed7d864e does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder             ┃
┡━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/995c7c2d │
│ exit1_pass/ed7d864e │
└─────────────────────┘
exit1_fail/995c7c2d: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/pass_returncode/exit1_fail/995c7c2d/stage
exit1_fail/995c7c2d: Running Test via command: bash exit1_fail_build.sh
exit1_fail/995c7c2d: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/995c7c2d ─────────────────────

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

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



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


Adding 2 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_phy_4dfi.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]
                                            [--strict] [--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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:19                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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 │
│ c81bb42  │        │ 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/4c81bb42: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/4c81bb42
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/4c81bb42 does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/4c81bb42 │
└─────────────────────────┘
variables_bash/4c81bb42: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/4c81bb42/stage
variables_bash/4c81bb42: Running Test via command: bash variables_bash_build.sh
variables_bash/4c81bb42: Test completed in 0.009924 seconds with returncode: 0
variables_bash/4c81bb42: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/4c81bb42/variables_bash.out
variables_bash/4c81bb42: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/4c81bb42/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/4c81bb42 │ 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/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_zbgaqg1f.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/tmpg56mdva9/var/rerun.json all other options will be ignored.
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:20                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/5 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 2c32154  │        │ 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/52c32154: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/52c32154
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/52c32154 does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/52c32154 │
└─────────────────────────┘
variables_bash/52c32154: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/52c32154/stage
variables_bash/52c32154: Running Test via command: bash variables_bash_build.sh
variables_bash/52c32154: Test completed in 0.010046 seconds with returncode: 0
variables_bash/52c32154: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/52c32154/variables_bash.out
variables_bash/52c32154: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/52c32154/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/52c32154 │ 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/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_9lpu3wbb.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/tmpg56mdva9/var/rerun.json all other options will be ignored.
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:20                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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 │
│ 07af0cd  │        │ 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/b07af0cd: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/b07af0cd
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/b07af0cd does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/b07af0cd │
└─────────────────────────┘
variables_bash/b07af0cd: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/b07af0cd/stage
variables_bash/b07af0cd: Running Test via command: bash variables_bash_build.sh
variables_bash/b07af0cd: Test completed in 0.010189 seconds with returncode: 0
variables_bash/b07af0cd: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/b07af0cd/variables_bash.out
variables_bash/b07af0cd: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/vars/variables_bash/b07af0cd/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/b07af0cd │ 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/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_b9inj51j.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:21                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/a4 │ script │ generic. │ None     │ None  │ None  │ sleep 2  │ /home/d │
│ a2148e   │        │ 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/a4a2148e: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/sleep/sleep/a4a2148e
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
sleep/a4a2148e does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━┓
┃ Builder        ┃
┡━━━━━━━━━━━━━━━━┩
│ sleep/a4a2148e │
└────────────────┘
sleep/a4a2148e: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/sleep/sleep/a4a2148e/stage
sleep/a4a2148e: Running Test via command: bash sleep_build.sh
sleep/a4a2148e: failed to submit job with returncode: -9
─────────────────────── Error Message for sleep/a4a2148e ───────────────────────

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



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


Adding 1 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_35j7q_mp.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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12: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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/f1 │ script │ generic. │ None     │ None  │ None  │ sleep 2  │ /home/d │
│ 1abe12   │        │ 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/f11abe12: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/sleep/sleep/f11abe12
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
sleep/f11abe12 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━┓
┃ Builder        ┃
┡━━━━━━━━━━━━━━━━┩
│ sleep/f11abe12 │
└────────────────┘
sleep/f11abe12: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/sleep/sleep/f11abe12/stage
sleep/f11abe12: Running Test via command: bash sleep_build.sh
sleep/f11abe12: Test completed in 2.020549 seconds with returncode: 0
sleep/f11abe12: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/sleep/sleep/f11abe12/sleep.out
sleep/f11abe12: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/sleep/sleep/f11abe12/sleep.err
                             Test Summary                              
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder        ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ sleep/f11abe12 │ generic.local.bash │ PASS   │ 0          │ 2.021   │
└────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_dwnwyo38.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/tmpg56mdva9/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/tmpg56mdva9/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       # path to docker directory
   63       #docker: "/usr/local/bin"
   64 
   65       # path to singularity directory
   66       #singularity: "/usr/local/bin"
   67 
   68       # path to podman directory
   69       #podman: "/usr/local/bin"
   70 
   71     # start of executor configuration
   72     executors:
   73       # 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.
   74       local:
   75         bash:
   76           description: submit jobs on local machine using bash shell
   77           shell: bash
   78         sh:
   79           description: submit jobs on local machine using sh shell
   80           shell: sh
   81         csh:
   82           description: submit jobs on local machine using csh shell
   83           shell: csh
   84         zsh:
   85           description: submit jobs on local machine using zsh shell
   86           shell: zsh
   87     # specify compiler declaration
   88     compilers:
   89       compiler:
   90         # declaration of all gcc compilers
   91         gcc:
   92           # name of compiler
   93           builtin_gcc:
   94             cc: gcc
   95             fc: gfortran
   96             cxx: g++
   97     # specify CDASH configuration when using 'buildtest cdash upload'
   98     cdash:
   99       # CDASH server
  100       url: https://my.cdash.org/
  101       # name of CDASH project where to push test reports
  102       project: buildtest
  103       # specify the site name which should generally by name of your HPC system. This is used by CDASH to group test results by site
  104       site: generic
  105       # specify the build name which is used to group test results by build name
  106       buildname: tutorials
  107

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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12: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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/python-shell.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            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                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/python-shell.yml: VALID
Total builder objects created: 2
                            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/353 │        │ local.ba │          │       │       │ World    │ ocs/che │
│ 189d6    │        │ 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/7bb9 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 24df     │        │ 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 ─────────────────────────────────
python_hello/353189d6: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/353189d6
circle_area/7bb924df: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/7bb924df
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
python_hello/353189d6 does not have any dependencies adding test to queue
circle_area/7bb924df does not have any dependencies adding test to queue
Builders Eligible to Run 
┏━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━┩
│ python_hello/353189d6 │
│ circle_area/7bb924df  │
└───────────────────────┘
python_hello/353189d6: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/353189d6/stage
python_hello/353189d6: Running Test via command: bash python_hello_build.sh
python_hello/353189d6: Test completed in 0.036475 seconds with returncode: 0
python_hello/353189d6: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/353189d6/python_hello.out
python_hello/353189d6: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-hello/python_hello/353189d6/python_hello.err
circle_area/7bb924df: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/7bb924df/stage
circle_area/7bb924df: Running Test via command: bash circle_area_build.sh
circle_area/7bb924df: Test completed in 0.036894 seconds with returncode: 0
circle_area/7bb924df: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/7bb924df/circle_area.out
circle_area/7bb924df: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/python-shell/circle_area/7bb924df/circle_area.err
                                 Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder               ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ python_hello/353189d6 │ generic.local.bash │ PASS   │ 0          │ 0.036   │
├───────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/7bb924df  │ generic.local.bash │ PASS   │ 0          │ 0.037   │
└───────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_fqj1o38s.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/tmpg56mdva9/var/tests
  47         remove-stagedir: false
  48         strict: false
  49       prof1:
  50         tags:
  51         - python
  52         validate: false
  53         dry-run: false
  54         testdir: /tmp/tmpg56mdva9/var/tests
  55         remove-stagedir: false
  56         strict: false
  57       prof2:
  58         buildspecs:
  59         - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/shell_examples.yml
  60         validate: false
  61         dry-run: false
  62         testdir: /tmp/tmpg56mdva9/var/tests
  63         remove-stagedir: false
  64         strict: false
  65       python-tests:
  66         tags:
  67         - python
  68         validate: false
  69         dry-run: false
  70         testdir: /tmp/tmpg56mdva9/var/tests
  71         remove-stagedir: false
  72         strict: false
  73

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-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:29                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/bb6b │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 2c4a     │        │ 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/f085 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 4af9     │        │ 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/2938 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ a771     │        │ 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/fdff │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 8cb6     │        │ 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/e02d │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 9f90     │        │ 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/bb6b2c4a: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/bb6b2c4a
hello_world/f0854af9: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/f0854af9
hello_world/2938a771: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/2938a771
hello_world/fdff8cb6: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/fdff8cb6
hello_world/e02d9f90: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/e02d9f90
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
hello_world/bb6b2c4a does not have any dependencies adding test to queue
hello_world/2938a771 does not have any dependencies adding test to queue
hello_world/f0854af9 does not have any dependencies adding test to queue
hello_world/e02d9f90 does not have any dependencies adding test to queue
hello_world/fdff8cb6 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/bb6b2c4a │
│ hello_world/2938a771 │
└──────────────────────┘
hello_world/bb6b2c4a: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/bb6b2c4a/stage
hello_world/bb6b2c4a: Running Test via command: bash hello_world_build.sh
hello_world/bb6b2c4a: Test completed in 0.00629 seconds with returncode: 0
hello_world/bb6b2c4a: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/bb6b2c4a/hello_world.out
hello_world/bb6b2c4a: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/bb6b2c4a/hello_world.err
hello_world/2938a771: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/2938a771/stage
hello_world/2938a771: Running Test via command: bash hello_world_build.sh
hello_world/2938a771: Test completed in 0.006032 seconds with returncode: 0
hello_world/2938a771: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/2938a771/hello_world.out
hello_world/2938a771: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/2938a771/hello_world.err
───────────────────────────────── Iteration 2 ──────────────────────────────────
hello_world/f0854af9 does not have any dependencies adding test to queue
hello_world/e02d9f90 does not have any dependencies adding test to queue
hello_world/fdff8cb6 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/e02d9f90 │
│ hello_world/fdff8cb6 │
└──────────────────────┘
hello_world/e02d9f90: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/e02d9f90/stage
hello_world/e02d9f90: Running Test via command: bash hello_world_build.sh
hello_world/e02d9f90: Test completed in 0.006485 seconds with returncode: 0
hello_world/e02d9f90: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/e02d9f90/hello_world.out
hello_world/e02d9f90: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/e02d9f90/hello_world.err
hello_world/fdff8cb6: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/fdff8cb6/stage
hello_world/fdff8cb6: Running Test via command: bash hello_world_build.sh
hello_world/fdff8cb6: Test completed in 0.00602 seconds with returncode: 0
hello_world/fdff8cb6: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/fdff8cb6/hello_world.out
hello_world/fdff8cb6: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/fdff8cb6/hello_world.err
───────────────────────────────── Iteration 3 ──────────────────────────────────
hello_world/f0854af9 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/f0854af9 │
└──────────────────────┘
hello_world/f0854af9: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/f0854af9/stage
hello_world/f0854af9: Running Test via command: bash hello_world_build.sh
hello_world/f0854af9: Test completed in 0.006323 seconds with returncode: 0
hello_world/f0854af9: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/f0854af9/hello_world.out
hello_world/f0854af9: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/hello_world/hello_world/f0854af9/hello_world.err
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ hello_world/bb6b2c4a │ generic.local.bash │ PASS   │ 0          │ 0.006   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/2938a771 │ generic.local.bash │ PASS   │ 0          │ 0.006   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/e02d9f90 │ generic.local.bash │ PASS   │ 0          │ 0.006   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/f0854af9 │ generic.local.bash │ PASS   │ 0          │ 0.006   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/fdff8cb6 │ 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/tmpg56mdva9/var/report.json
Writing Logfile to /tmp/tmpg56mdva9/var/logs/buildtest_5xyvakhe.log

Strict Mode

Buildtest has an option to enable strict mode for test execution which can be enabled via --strict option. If this is set, buildtest will instead set -eo pipefail in the generated test which will cause test to exit immediately if any commands fail. To demonstrate this we have the following buildspec, which runs an ls command for an invalid path followed by an echo command.

buildspecs:
  linux_strict_test:
    type: script
    executor: generic.local.bash
    description: "This example test will show how returncode will change when using --strict flag"
    run: |
      echo "This is a test"
      ls -l /BAD_PATH
      echo "This is another test"

If we were to run this test without strict mode, we see the test will pass.

buildtest build -b tutorials/strict_example.yml
$ buildtest build -b tutorials/strict_example.yml
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:30                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/strict_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/strict_example.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ linux_st │ script │ generic. │ None     │ None  │ None  │ This     │ /home/d │
│ rict_tes │        │ local.ba │          │       │       │ example  │ ocs/che │
│ t/2c7199 │        │ sh       │          │       │       │ test     │ ckouts/ │
│ 37       │        │          │          │       │       │ will     │ readthe │
│          │        │          │          │       │       │ show how │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de will  │ builds/ │
│          │        │          │          │       │       │ change   │ buildte │
│          │        │          │          │       │       │ when     │ st/chec │
│          │        │          │          │       │       │ using    │ kouts/l │
│          │        │          │          │       │       │ --strict │ atest/t │
│          │        │          │          │       │       │ flag     │ utorial │
│          │        │          │          │       │       │          │ s/stric │
│          │        │          │          │       │       │          │ t_examp │
│          │        │          │          │       │       │          │ le.yml  │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
linux_strict_test/2c719937: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/strict_example/linux_strict_test/2c719937
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
linux_strict_test/2c719937 does not have any dependencies adding test to queue
   Builders Eligible to Run   
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                    ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ linux_strict_test/2c719937 │
└────────────────────────────┘
linux_strict_test/2c719937: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/strict_example/linux_strict_test/2c719937/stage
linux_strict_test/2c719937: Running Test via command: bash linux_strict_test_build.sh
linux_strict_test/2c719937: Test completed in 0.007903 seconds with returncode: 0
linux_strict_test/2c719937: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/strict_example/linux_strict_test/2c719937/linux_strict_test.out
linux_strict_test/2c719937: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/strict_example/linux_strict_test/2c719937/linux_strict_test.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ linux_strict_test/2c719 │ generic.local.bash │ PASS   │ 0          │ 0.008   │
│ 937                     │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


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

Now let’s run the same test with strict mode enabled, we will see the test will fail with a different return code.

buildtest build -b tutorials/strict_example.yml --strict
$ buildtest build -b tutorials/strict_example.yml --strict
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24390085-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/15 17:12:30                                      │
│ 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.9.18                                                   │
│ Configuration File: /tmp/tmpg56mdva9/config.yml                              │
│ Test Directory:     /tmp/tmpg56mdva9/var/tests                               │
│ Report File:        /tmp/tmpg56mdva9/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/strict_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/strict_example.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ linux_st │ script │ generic. │ None     │ None  │ None  │ This     │ /home/d │
│ rict_tes │        │ local.ba │          │       │       │ example  │ ocs/che │
│ t/c4a7bc │        │ sh       │          │       │       │ test     │ ckouts/ │
│ 3b       │        │          │          │       │       │ will     │ readthe │
│          │        │          │          │       │       │ show how │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de will  │ builds/ │
│          │        │          │          │       │       │ change   │ buildte │
│          │        │          │          │       │       │ when     │ st/chec │
│          │        │          │          │       │       │ using    │ kouts/l │
│          │        │          │          │       │       │ --strict │ atest/t │
│          │        │          │          │       │       │ flag     │ utorial │
│          │        │          │          │       │       │          │ s/stric │
│          │        │          │          │       │       │          │ t_examp │
│          │        │          │          │       │       │          │ le.yml  │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
linux_strict_test/c4a7bc3b: Creating Test Directory: /tmp/tmpg56mdva9/var/tests/generic.local.bash/strict_example/linux_strict_test/c4a7bc3b
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
linux_strict_test/c4a7bc3b does not have any dependencies adding test to queue
   Builders Eligible to Run   
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                    ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ linux_strict_test/c4a7bc3b │
└────────────────────────────┘
linux_strict_test/c4a7bc3b: Current Working Directory : /tmp/tmpg56mdva9/var/tests/generic.local.bash/strict_example/linux_strict_test/c4a7bc3b/stage
linux_strict_test/c4a7bc3b: Running Test via command: bash linux_strict_test_build.sh
linux_strict_test/c4a7bc3b: failed to submit job with returncode: 2
───────────────── Error Message for linux_strict_test/c4a7bc3b ─────────────────
ls: cannot access '/BAD_PATH': No such file or directory

linux_strict_test/c4a7bc3b: Detected failure in running test, will attempt to retry test: 1 times
linux_strict_test/c4a7bc3b: Run - 1/1
linux_strict_test/c4a7bc3b: Running Test via command: bash linux_strict_test_build.sh
linux_strict_test/c4a7bc3b: failed to submit job with returncode: 2
linux_strict_test/c4a7bc3b: Test completed in 0.019277 seconds with returncode: 2
linux_strict_test/c4a7bc3b: Writing output file -  /tmp/tmpg56mdva9/var/tests/generic.local.bash/strict_example/linux_strict_test/c4a7bc3b/linux_strict_test.out
linux_strict_test/c4a7bc3b: Writing error file - /tmp/tmpg56mdva9/var/tests/generic.local.bash/strict_example/linux_strict_test/c4a7bc3b/linux_strict_test.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ linux_strict_test/c4a7b │ generic.local.bash │ FAIL   │ 2          │ 0.019   │
│ c3b                     │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


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

We can see the generated test using buildtest inspect query -t and we will see the test script has set -eo pipefail in the generated test.

$ buildtest inspect query -t linux_strict_test
──────────── linux_strict_test/c4a7bc3b-6b59-47df-b103-a6ee89881b1a ────────────
Executor: generic.local.bash
Description: This example test will show how returncode will change when using --strict flag
State: FAIL
Returncode: 2
Runtime: 0.019277 sec
Starttime: 2024/05/15 17:12:30
Endtime: 2024/05/15 17:12:30
Command: bash linux_strict_test_build.sh
Test Script: /tmp/tmpg56mdva9/var/tests/generic.local.bash/strict_example/linux_strict_test/c4a7bc3b/linux_strict_test.sh
Build Script: /tmp/tmpg56mdva9/var/tests/generic.local.bash/strict_example/linux_strict_test/c4a7bc3b/linux_strict_test_build.sh
Output File: /tmp/tmpg56mdva9/var/tests/generic.local.bash/strict_example/linux_strict_test/c4a7bc3b/linux_strict_test.out
Error File: /tmp/tmpg56mdva9/var/tests/generic.local.bash/strict_example/linux_strict_test/c4a7bc3b/linux_strict_test.err
Log File: /tmp/tmpg56mdva9/var/logs/buildtest_6qjreij4.log
─ Test File:  /tmp/tmpg56mdva9/var/tests/generic.local.bash/strict_example/li… ─
#!/usr/bin/bash                                                                 
set -eo pipefail                                                                
# Content of run section                                                        
echo "This is a test"                                                           
ls -l /BAD_PATH                                                                 
echo "This is another test"