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 ...]]
                                            [--display {output,test}]
                                            [--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]

options:
  -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

  --display {output,test}
                        Display content of output/error or test
  --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/devel/tutorials', '/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/general_tests']
Updating buildspec cache file: /tmp/tmpg3p4j9in/var/buildspecs/cache.json
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:02:50                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ s_bash/0 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ c06043d  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /vars.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/0c06043d: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/0c06043d
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/0c06043d does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/0c06043d │
└─────────────────────────┘
variables_bash/0c06043d: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/0c06043d/stage
variables_bash/0c06043d: Running Test via command: bash variables_bash_build.sh
variables_bash/0c06043d: Test completed in 0.009332 seconds with returncode: 0
variables_bash/0c06043d: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/0c06043d/variables_bash.out
variables_bash/0c06043d: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/0c06043d/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/0c06043d │ generic.local.bash │ PASS   │ 0          │ 0.009   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_foj_vc79.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:03:41                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/g ║
║ eneral_tests/configuration/systemd-default-target.yml                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/g ║
║ eneral_tests/configuration/ulimits.yml                                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/g ║
║ eneral_tests/configuration/disk_usage.yml                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/g ║
║ eneral_tests/configuration/kernel_state.yml                                  ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 4                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  4
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  4
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 4
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/general_tests/configuration/systemd-default-target.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/general_tests/configuration/ulimits.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/general_tests/configuration/disk_usage.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/general_tests/configuration/kernel_state.yml: VALID
Total builder objects created: 9
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ systemd_ │ script │ generic. │ None     │ None  │ None  │ check if │ /home/d │
│ default_ │        │ local.ba │          │       │       │ default  │ ocs/che │
│ target/7 │        │ sh       │          │       │       │ target   │ ckouts/ │
│ 9e1c0b3  │        │          │          │       │       │ is       │ readthe │
│          │        │          │          │       │       │ multi-us │ docs.or │
│          │        │          │          │       │       │ er.targe │ g/user_ │
│          │        │          │          │       │       │ t        │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/sy │
│          │        │          │          │       │       │          │ stemd-d │
│          │        │          │          │       │       │          │ efault- │
│          │        │          │          │       │       │          │ target. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ ilelock_ │        │ local.ba │          │       │       │ file     │ ocs/che │
│ unlimite │        │ sh       │          │       │       │ lock is  │ ckouts/ │
│ d/2f4701 │        │          │          │       │       │ set to   │ readthe │
│ 03       │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/ul │
│          │        │          │          │       │       │          │ imits.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_c │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ putime_u │        │ local.ba │          │       │       │ cputime  │ ocs/che │
│ nlimited │        │ sh       │          │       │       │ is set   │ ckouts/ │
│ /8dfeb56 │        │          │          │       │       │ to       │ readthe │
│ a        │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/ul │
│          │        │          │          │       │       │          │ imits.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_s │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ tacksize │        │ local.ba │          │       │       │ stack    │ ocs/che │
│ _unlimit │        │ sh       │          │       │       │ size is  │ ckouts/ │
│ ed/aad8b │        │          │          │       │       │ set to   │ readthe │
│ 12f      │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/ul │
│          │        │          │          │       │       │          │ imits.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_v │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ msize_un │        │ local.ba │          │       │       │ virtual  │ ocs/che │
│ limited/ │        │ sh       │          │       │       │ memory   │ ckouts/ │
│ 8d212960 │        │          │          │       │       │ size and │ readthe │
│          │        │          │          │       │       │ check if │ docs.or │
│          │        │          │          │       │       │ its set  │ g/user_ │
│          │        │          │          │       │       │ to       │ builds/ │
│          │        │          │          │       │       │ unlimite │ buildte │
│          │        │          │          │       │       │ d        │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/ul │
│          │        │          │          │       │       │          │ imits.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ iledescr │        │ local.ba │          │       │       │ open     │ ocs/che │
│ iptor_40 │        │ sh       │          │       │       │ file     │ ckouts/ │
│ 96/5dd98 │        │          │          │       │       │ descript │ readthe │
│ e19      │        │          │          │       │       │ ors      │ docs.or │
│          │        │          │          │       │       │ limit is │ g/user_ │
│          │        │          │          │       │       │ set to   │ builds/ │
│          │        │          │          │       │       │ 4096     │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/ul │
│          │        │          │          │       │       │          │ imits.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_m │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ ax_user_ │        │ local.ba │          │       │       │ max      │ ocs/che │
│ process_ │        │ sh       │          │       │       │ number   │ ckouts/ │
│ 2048/5c4 │        │          │          │       │       │ of user  │ readthe │
│ 63e63    │        │          │          │       │       │ process  │ docs.or │
│          │        │          │          │       │       │ limit is │ g/user_ │
│          │        │          │          │       │       │ set to   │ builds/ │
│          │        │          │          │       │       │ 2048     │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/ul │
│          │        │          │          │       │       │          │ imits.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ root_dis │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ k_usage/ │        │ local.ba │          │       │       │ root     │ ocs/che │
│ a15ba693 │        │ sh       │          │       │       │ disk     │ ckouts/ │
│          │        │          │          │       │       │ usage    │ readthe │
│          │        │          │          │       │       │ and      │ docs.or │
│          │        │          │          │       │       │ report   │ g/user_ │
│          │        │          │          │       │       │ if it    │ builds/ │
│          │        │          │          │       │       │ exceeds  │ buildte │
│          │        │          │          │       │       │ threshol │ st/chec │
│          │        │          │          │       │       │ d        │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/di │
│          │        │          │          │       │       │          │ sk_usag │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ kernel_s │ script │ generic. │ None     │ None  │ None  │ Retrieve │ /home/d │
│ wapusage │        │ local.ba │          │       │       │ Kernel   │ ocs/che │
│ /e00ff34 │        │ sh       │          │       │       │ Swap     │ ckouts/ │
│ f        │        │          │          │       │       │ Usage    │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/ke │
│          │        │          │          │       │       │          │ rnel_st │
│          │        │          │          │       │       │          │ ate.yml │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
systemd_default_target/79e1c0b3: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/79e1c0b3
ulimit_filelock_unlimited/2f470103: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/2f470103
ulimit_cputime_unlimited/8dfeb56a: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/8dfeb56a
ulimit_stacksize_unlimited/aad8b12f: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/aad8b12f
ulimit_vmsize_unlimited/8d212960: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/8d212960
ulimit_filedescriptor_4096/5dd98e19: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/5dd98e19
ulimit_max_user_process_2048/5c463e63: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/5c463e63
root_disk_usage/a15ba693: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/disk_usage/root_disk_usage/a15ba693
kernel_swapusage/e00ff34f: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/kernel_state/kernel_swapusage/e00ff34f
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
ulimit_max_user_process_2048/5c463e63 does not have any dependencies adding test to queue
systemd_default_target/79e1c0b3 does not have any dependencies adding test to queue
ulimit_filedescriptor_4096/5dd98e19 does not have any dependencies adding test to queue
root_disk_usage/a15ba693 does not have any dependencies adding test to queue
kernel_swapusage/e00ff34f does not have any dependencies adding test to queue
ulimit_stacksize_unlimited/aad8b12f does not have any dependencies adding test to queue
ulimit_filelock_unlimited/2f470103 does not have any dependencies adding test to queue
ulimit_cputime_unlimited/8dfeb56a does not have any dependencies adding test to queue
ulimit_vmsize_unlimited/8d212960 does not have any dependencies adding test to queue
        Builders Eligible to Run         
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ ulimit_max_user_process_2048/5c463e63 │
│ root_disk_usage/a15ba693              │
│ systemd_default_target/79e1c0b3       │
│ ulimit_filedescriptor_4096/5dd98e19   │
│ kernel_swapusage/e00ff34f             │
│ ulimit_stacksize_unlimited/aad8b12f   │
│ ulimit_filelock_unlimited/2f470103    │
│ ulimit_cputime_unlimited/8dfeb56a     │
│ ulimit_vmsize_unlimited/8d212960      │
└───────────────────────────────────────┘
ulimit_max_user_process_2048/5c463e63: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/5c463e63/stage
ulimit_max_user_process_2048/5c463e63: Running Test via command: bash ulimit_max_user_process_2048_build.sh
ulimit_max_user_process_2048/5c463e63: Test completed in 0.004483 seconds with returncode: 0
ulimit_max_user_process_2048/5c463e63: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/5c463e63/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/5c463e63: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/5c463e63/ulimit_max_user_process_2048.err
ulimit_max_user_process_2048/5c463e63: performing regular expression - '^2048$' on file: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/5c463e63/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/5c463e63: Regular Expression Match - Failed!
root_disk_usage/a15ba693: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/disk_usage/root_disk_usage/a15ba693/stage
root_disk_usage/a15ba693: Running Test via command: bash root_disk_usage_build.sh
root_disk_usage/a15ba693: Test completed in 0.00826 seconds with returncode: 0
root_disk_usage/a15ba693: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/disk_usage/root_disk_usage/a15ba693/root_disk_usage.out
root_disk_usage/a15ba693: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/disk_usage/root_disk_usage/a15ba693/root_disk_usage.err
systemd_default_target/79e1c0b3: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/79e1c0b3/stage
systemd_default_target/79e1c0b3: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/79e1c0b3: failed to submit job with returncode: 1
systemd_default_target/79e1c0b3: Detected failure in running test, will attempt to retry test: 1 times
systemd_default_target/79e1c0b3: Run - 1/1
systemd_default_target/79e1c0b3: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/79e1c0b3: failed to submit job with returncode: 1
systemd_default_target/79e1c0b3: Test completed in 0.016445 seconds with returncode: 1
systemd_default_target/79e1c0b3: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/79e1c0b3/systemd_default_target.out
systemd_default_target/79e1c0b3: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/79e1c0b3/systemd_default_target.err
ulimit_filedescriptor_4096/5dd98e19: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/5dd98e19/stage
ulimit_filedescriptor_4096/5dd98e19: Running Test via command: bash ulimit_filedescriptor_4096_build.sh
ulimit_filedescriptor_4096/5dd98e19: Test completed in 0.004661 seconds with returncode: 0
ulimit_filedescriptor_4096/5dd98e19: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/5dd98e19/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/5dd98e19: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/5dd98e19/ulimit_filedescriptor_4096.err
ulimit_filedescriptor_4096/5dd98e19: performing regular expression - '^4096$' on file: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/5dd98e19/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/5dd98e19: Regular Expression Match - Failed!
kernel_swapusage/e00ff34f: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/kernel_state/kernel_swapusage/e00ff34f/stage
kernel_swapusage/e00ff34f: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/e00ff34f: failed to submit job with returncode: 255
kernel_swapusage/e00ff34f: Detected failure in running test, will attempt to retry test: 1 times
kernel_swapusage/e00ff34f: Run - 1/1
kernel_swapusage/e00ff34f: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/e00ff34f: failed to submit job with returncode: 255
kernel_swapusage/e00ff34f: Test completed in 0.012745 seconds with returncode: 255
kernel_swapusage/e00ff34f: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/kernel_state/kernel_swapusage/e00ff34f/kernel_swapusage.out
kernel_swapusage/e00ff34f: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/kernel_state/kernel_swapusage/e00ff34f/kernel_swapusage.err
ulimit_stacksize_unlimited/aad8b12f: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/aad8b12f/stage
ulimit_stacksize_unlimited/aad8b12f: Running Test via command: bash ulimit_stacksize_unlimited_build.sh
ulimit_stacksize_unlimited/aad8b12f: Test completed in 0.004564 seconds with returncode: 0
ulimit_stacksize_unlimited/aad8b12f: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/aad8b12f/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/aad8b12f: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/aad8b12f/ulimit_stacksize_unlimited.err
ulimit_stacksize_unlimited/aad8b12f: performing regular expression - '^unlimited$' on file: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/aad8b12f/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/aad8b12f: Regular Expression Match - Failed!
ulimit_filelock_unlimited/2f470103: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/2f470103/stage
ulimit_filelock_unlimited/2f470103: Running Test via command: bash ulimit_filelock_unlimited_build.sh
ulimit_filelock_unlimited/2f470103: Test completed in 0.004616 seconds with returncode: 0
ulimit_filelock_unlimited/2f470103: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/2f470103/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/2f470103: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/2f470103/ulimit_filelock_unlimited.err
ulimit_filelock_unlimited/2f470103: performing regular expression - '^unlimited$' on file: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/2f470103/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/2f470103: Regular Expression Match - Success!
ulimit_cputime_unlimited/8dfeb56a: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/8dfeb56a/stage
ulimit_cputime_unlimited/8dfeb56a: Running Test via command: bash ulimit_cputime_unlimited_build.sh
ulimit_cputime_unlimited/8dfeb56a: Test completed in 0.005141 seconds with returncode: 0
ulimit_cputime_unlimited/8dfeb56a: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/8dfeb56a/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/8dfeb56a: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/8dfeb56a/ulimit_cputime_unlimited.err
ulimit_cputime_unlimited/8dfeb56a: performing regular expression - '^unlimited$' on file: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/8dfeb56a/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/8dfeb56a: Regular Expression Match - Success!
ulimit_vmsize_unlimited/8d212960: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/8d212960/stage
ulimit_vmsize_unlimited/8d212960: Running Test via command: bash ulimit_vmsize_unlimited_build.sh
ulimit_vmsize_unlimited/8d212960: Test completed in 0.005436 seconds with returncode: 0
ulimit_vmsize_unlimited/8d212960: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/8d212960/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/8d212960: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/8d212960/ulimit_vmsize_unlimited.err
ulimit_vmsize_unlimited/8d212960: performing regular expression - '^unlimited$' on file: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/8d212960/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/8d212960: Regular Expression Match - Success!
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ ulimit_max_user_process │ generic.local.bash │ FAIL   │ 0          │ 0.004   │
│ _2048/5c463e63          │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filelock_unlimit │ generic.local.bash │ PASS   │ 0          │ 0.005   │
│ ed/2f470103             │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_cputime_unlimite │ generic.local.bash │ PASS   │ 0          │ 0.005   │
│ d/8dfeb56a              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ kernel_swapusage/e00ff3 │ generic.local.bash │ FAIL   │ 255        │ 0.013   │
│ 4f                      │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ root_disk_usage/a15ba69 │ generic.local.bash │ PASS   │ 0          │ 0.008   │
│ 3                       │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filedescriptor_4 │ generic.local.bash │ FAIL   │ 0          │ 0.005   │
│ 096/5dd98e19            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_vmsize_unlimited │ generic.local.bash │ PASS   │ 0          │ 0.005   │
│ /8d212960               │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ systemd_default_target/ │ generic.local.bash │ FAIL   │ 1          │ 0.016   │
│ 79e1c0b3                │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_stacksize_unlimi │ generic.local.bash │ FAIL   │ 0          │ 0.005   │
│ ted/aad8b12f            │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 9 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_dno54ssj.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:03:42                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/vars.yml                                                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/g ║
║ eneral_tests/configuration/ulimits.yml                                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/g ║
║ eneral_tests/configuration/systemd-default-target.yml                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/g ║
║ eneral_tests/configuration/disk_usage.yml                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/g ║
║ eneral_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/devel/tutorials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/general_tests/configuration/ulimits.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/general_tests/configuration/systemd-default-target.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/general_tests/configuration/disk_usage.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ s_bash/0 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 339dd39  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /vars.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ ilelock_ │        │ local.ba │          │       │       │ file     │ ocs/che │
│ unlimite │        │ sh       │          │       │       │ lock is  │ ckouts/ │
│ d/3e1d94 │        │          │          │       │       │ set to   │ readthe │
│ 5d       │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/ul │
│          │        │          │          │       │       │          │ imits.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_c │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ putime_u │        │ local.ba │          │       │       │ cputime  │ ocs/che │
│ nlimited │        │ sh       │          │       │       │ is set   │ ckouts/ │
│ /b01809c │        │          │          │       │       │ to       │ readthe │
│ 0        │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/ul │
│          │        │          │          │       │       │          │ imits.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_s │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ tacksize │        │ local.ba │          │       │       │ stack    │ ocs/che │
│ _unlimit │        │ sh       │          │       │       │ size is  │ ckouts/ │
│ ed/176e2 │        │          │          │       │       │ set to   │ readthe │
│ bd4      │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/ul │
│          │        │          │          │       │       │          │ imits.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_v │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ msize_un │        │ local.ba │          │       │       │ virtual  │ ocs/che │
│ limited/ │        │ sh       │          │       │       │ memory   │ ckouts/ │
│ 4fb9a440 │        │          │          │       │       │ size and │ readthe │
│          │        │          │          │       │       │ check if │ docs.or │
│          │        │          │          │       │       │ its set  │ g/user_ │
│          │        │          │          │       │       │ to       │ builds/ │
│          │        │          │          │       │       │ unlimite │ buildte │
│          │        │          │          │       │       │ d        │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/ul │
│          │        │          │          │       │       │          │ imits.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ iledescr │        │ local.ba │          │       │       │ open     │ ocs/che │
│ iptor_40 │        │ sh       │          │       │       │ file     │ ckouts/ │
│ 96/b59d5 │        │          │          │       │       │ descript │ readthe │
│ 2db      │        │          │          │       │       │ ors      │ docs.or │
│          │        │          │          │       │       │ limit is │ g/user_ │
│          │        │          │          │       │       │ set to   │ builds/ │
│          │        │          │          │       │       │ 4096     │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/ul │
│          │        │          │          │       │       │          │ imits.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_m │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ ax_user_ │        │ local.ba │          │       │       │ max      │ ocs/che │
│ process_ │        │ sh       │          │       │       │ number   │ ckouts/ │
│ 2048/206 │        │          │          │       │       │ of user  │ readthe │
│ 7cc25    │        │          │          │       │       │ process  │ docs.or │
│          │        │          │          │       │       │ limit is │ g/user_ │
│          │        │          │          │       │       │ set to   │ builds/ │
│          │        │          │          │       │       │ 2048     │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/ul │
│          │        │          │          │       │       │          │ imits.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ systemd_ │ script │ generic. │ None     │ None  │ None  │ check if │ /home/d │
│ default_ │        │ local.ba │          │       │       │ default  │ ocs/che │
│ target/6 │        │ sh       │          │       │       │ target   │ ckouts/ │
│ 9eaa8bb  │        │          │          │       │       │ is       │ readthe │
│          │        │          │          │       │       │ multi-us │ docs.or │
│          │        │          │          │       │       │ er.targe │ g/user_ │
│          │        │          │          │       │       │ t        │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/sy │
│          │        │          │          │       │       │          │ stemd-d │
│          │        │          │          │       │       │          │ efault- │
│          │        │          │          │       │       │          │ target. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ root_dis │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ k_usage/ │        │ local.ba │          │       │       │ root     │ ocs/che │
│ 3428e836 │        │ sh       │          │       │       │ disk     │ ckouts/ │
│          │        │          │          │       │       │ usage    │ readthe │
│          │        │          │          │       │       │ and      │ docs.or │
│          │        │          │          │       │       │ report   │ g/user_ │
│          │        │          │          │       │       │ if it    │ builds/ │
│          │        │          │          │       │       │ exceeds  │ buildte │
│          │        │          │          │       │       │ threshol │ st/chec │
│          │        │          │          │       │       │ d        │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/di │
│          │        │          │          │       │       │          │ sk_usag │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ kernel_s │ script │ generic. │ None     │ None  │ None  │ Retrieve │ /home/d │
│ wapusage │        │ local.ba │          │       │       │ Kernel   │ ocs/che │
│ /0218b83 │        │ sh       │          │       │       │ Swap     │ ckouts/ │
│ c        │        │          │          │       │       │ Usage    │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/ke │
│          │        │          │          │       │       │          │ rnel_st │
│          │        │          │          │       │       │          │ ate.yml │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/0339dd39: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/0339dd39
ulimit_filelock_unlimited/3e1d945d: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/3e1d945d
ulimit_cputime_unlimited/b01809c0: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/b01809c0
ulimit_stacksize_unlimited/176e2bd4: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/176e2bd4
ulimit_vmsize_unlimited/4fb9a440: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/4fb9a440
ulimit_filedescriptor_4096/b59d52db: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/b59d52db
ulimit_max_user_process_2048/2067cc25: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2067cc25
systemd_default_target/69eaa8bb: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/69eaa8bb
root_disk_usage/3428e836: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/disk_usage/root_disk_usage/3428e836
kernel_swapusage/0218b83c: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/kernel_state/kernel_swapusage/0218b83c
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
kernel_swapusage/0218b83c does not have any dependencies adding test to queue
systemd_default_target/69eaa8bb does not have any dependencies adding test to queue
ulimit_stacksize_unlimited/176e2bd4 does not have any dependencies adding test to queue
variables_bash/0339dd39 does not have any dependencies adding test to queue
ulimit_filedescriptor_4096/b59d52db does not have any dependencies adding test to queue
root_disk_usage/3428e836 does not have any dependencies adding test to queue
ulimit_cputime_unlimited/b01809c0 does not have any dependencies adding test to queue
ulimit_max_user_process_2048/2067cc25 does not have any dependencies adding test to queue
ulimit_vmsize_unlimited/4fb9a440 does not have any dependencies adding test to queue
ulimit_filelock_unlimited/3e1d945d does not have any dependencies adding test to queue
        Builders Eligible to Run         
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ kernel_swapusage/0218b83c             │
│ systemd_default_target/69eaa8bb       │
│ ulimit_stacksize_unlimited/176e2bd4   │
│ variables_bash/0339dd39               │
│ ulimit_filedescriptor_4096/b59d52db   │
│ ulimit_cputime_unlimited/b01809c0     │
│ root_disk_usage/3428e836              │
│ ulimit_max_user_process_2048/2067cc25 │
│ ulimit_vmsize_unlimited/4fb9a440      │
│ ulimit_filelock_unlimited/3e1d945d    │
└───────────────────────────────────────┘
kernel_swapusage/0218b83c: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/kernel_state/kernel_swapusage/0218b83c/stage
kernel_swapusage/0218b83c: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/0218b83c: failed to submit job with returncode: 255
kernel_swapusage/0218b83c: Detected failure in running test, will attempt to retry test: 1 times
kernel_swapusage/0218b83c: Run - 1/1
kernel_swapusage/0218b83c: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/0218b83c: failed to submit job with returncode: 255
kernel_swapusage/0218b83c: Test completed in 0.012598 seconds with returncode: 255
kernel_swapusage/0218b83c: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/kernel_state/kernel_swapusage/0218b83c/kernel_swapusage.out
kernel_swapusage/0218b83c: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/kernel_state/kernel_swapusage/0218b83c/kernel_swapusage.err
systemd_default_target/69eaa8bb: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/69eaa8bb/stage
systemd_default_target/69eaa8bb: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/69eaa8bb: failed to submit job with returncode: 1
systemd_default_target/69eaa8bb: Detected failure in running test, will attempt to retry test: 1 times
systemd_default_target/69eaa8bb: Run - 1/1
systemd_default_target/69eaa8bb: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/69eaa8bb: failed to submit job with returncode: 1
systemd_default_target/69eaa8bb: Test completed in 0.016442 seconds with returncode: 1
systemd_default_target/69eaa8bb: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/69eaa8bb/systemd_default_target.out
systemd_default_target/69eaa8bb: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/69eaa8bb/systemd_default_target.err
ulimit_stacksize_unlimited/176e2bd4: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/176e2bd4/stage
ulimit_stacksize_unlimited/176e2bd4: Running Test via command: bash ulimit_stacksize_unlimited_build.sh
ulimit_stacksize_unlimited/176e2bd4: Test completed in 0.004239 seconds with returncode: 0
ulimit_stacksize_unlimited/176e2bd4: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/176e2bd4/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/176e2bd4: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/176e2bd4/ulimit_stacksize_unlimited.err
ulimit_stacksize_unlimited/176e2bd4: performing regular expression - '^unlimited$' on file: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/176e2bd4/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/176e2bd4: Regular Expression Match - Failed!
variables_bash/0339dd39: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/0339dd39/stage
variables_bash/0339dd39: Running Test via command: bash variables_bash_build.sh
variables_bash/0339dd39: Test completed in 0.008115 seconds with returncode: 0
variables_bash/0339dd39: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/0339dd39/variables_bash.out
variables_bash/0339dd39: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/0339dd39/variables_bash.err
ulimit_filedescriptor_4096/b59d52db: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/b59d52db/stage
ulimit_filedescriptor_4096/b59d52db: Running Test via command: bash ulimit_filedescriptor_4096_build.sh
ulimit_filedescriptor_4096/b59d52db: Test completed in 0.004359 seconds with returncode: 0
ulimit_filedescriptor_4096/b59d52db: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/b59d52db/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/b59d52db: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/b59d52db/ulimit_filedescriptor_4096.err
ulimit_filedescriptor_4096/b59d52db: performing regular expression - '^4096$' on file: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/b59d52db/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/b59d52db: Regular Expression Match - Failed!
ulimit_cputime_unlimited/b01809c0: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/b01809c0/stage
ulimit_cputime_unlimited/b01809c0: Running Test via command: bash ulimit_cputime_unlimited_build.sh
ulimit_cputime_unlimited/b01809c0: Test completed in 0.004544 seconds with returncode: 0
ulimit_cputime_unlimited/b01809c0: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/b01809c0/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/b01809c0: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/b01809c0/ulimit_cputime_unlimited.err
ulimit_cputime_unlimited/b01809c0: performing regular expression - '^unlimited$' on file: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/b01809c0/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/b01809c0: Regular Expression Match - Success!
root_disk_usage/3428e836: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/disk_usage/root_disk_usage/3428e836/stage
root_disk_usage/3428e836: Running Test via command: bash root_disk_usage_build.sh
root_disk_usage/3428e836: Test completed in 0.00822 seconds with returncode: 0
root_disk_usage/3428e836: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/disk_usage/root_disk_usage/3428e836/root_disk_usage.out
root_disk_usage/3428e836: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/disk_usage/root_disk_usage/3428e836/root_disk_usage.err
ulimit_max_user_process_2048/2067cc25: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2067cc25/stage
ulimit_max_user_process_2048/2067cc25: Running Test via command: bash ulimit_max_user_process_2048_build.sh
ulimit_max_user_process_2048/2067cc25: Test completed in 0.00606 seconds with returncode: 0
ulimit_max_user_process_2048/2067cc25: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2067cc25/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/2067cc25: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2067cc25/ulimit_max_user_process_2048.err
ulimit_max_user_process_2048/2067cc25: performing regular expression - '^2048$' on file: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2067cc25/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/2067cc25: Regular Expression Match - Failed!
ulimit_vmsize_unlimited/4fb9a440: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/4fb9a440/stage
ulimit_vmsize_unlimited/4fb9a440: Running Test via command: bash ulimit_vmsize_unlimited_build.sh
ulimit_vmsize_unlimited/4fb9a440: Test completed in 0.006143 seconds with returncode: 0
ulimit_vmsize_unlimited/4fb9a440: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/4fb9a440/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/4fb9a440: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/4fb9a440/ulimit_vmsize_unlimited.err
ulimit_vmsize_unlimited/4fb9a440: performing regular expression - '^unlimited$' on file: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/4fb9a440/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/4fb9a440: Regular Expression Match - Success!
ulimit_filelock_unlimited/3e1d945d: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/3e1d945d/stage
ulimit_filelock_unlimited/3e1d945d: Running Test via command: bash ulimit_filelock_unlimited_build.sh
ulimit_filelock_unlimited/3e1d945d: Test completed in 0.006026 seconds with returncode: 0
ulimit_filelock_unlimited/3e1d945d: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/3e1d945d/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/3e1d945d: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/3e1d945d/ulimit_filelock_unlimited.err
ulimit_filelock_unlimited/3e1d945d: performing regular expression - '^unlimited$' on file: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/3e1d945d/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/3e1d945d: Regular Expression Match - Success!
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ ulimit_filelock_unlimit │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ ed/3e1d945d             │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_cputime_unlimite │ generic.local.bash │ PASS   │ 0          │ 0.005   │
│ d/b01809c0              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ systemd_default_target/ │ generic.local.bash │ FAIL   │ 1          │ 0.016   │
│ 69eaa8bb                │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_max_user_process │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ _2048/2067cc25          │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ root_disk_usage/3428e83 │ generic.local.bash │ PASS   │ 0          │ 0.008   │
│ 6                       │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_stacksize_unlimi │ generic.local.bash │ FAIL   │ 0          │ 0.004   │
│ ted/176e2bd4            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ variables_bash/0339dd39 │ generic.local.bash │ PASS   │ 0          │ 0.008   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_vmsize_unlimited │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ /4fb9a440               │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filedescriptor_4 │ generic.local.bash │ FAIL   │ 0          │ 0.004   │
│ 096/b59d52db            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ kernel_swapusage/0218b8 │ generic.local.bash │ FAIL   │ 255        │ 0.013   │
│ 3c                      │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 10 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest__vcwtbvw.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:03:45                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:03:46                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/g ║
║ eneral_tests/configuration/ulimits.yml                                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/g ║
║ eneral_tests/configuration/systemd-default-target.yml                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/g ║
║ eneral_tests/configuration/kernel_state.yml                                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/g ║
║ eneral_tests/configuration/disk_usage.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 4                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                              Excluded buildspecs                               
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/g ║
║ eneral_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/devel/general_tests/configuration/systemd-default-target.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/general_tests/configuration/kernel_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/general_tests/configuration/disk_usage.yml: VALID
Total builder objects created: 3
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ systemd_ │ script │ generic. │ None     │ None  │ None  │ check if │ /home/d │
│ default_ │        │ local.ba │          │       │       │ default  │ ocs/che │
│ target/7 │        │ sh       │          │       │       │ target   │ ckouts/ │
│ c3cdca6  │        │          │          │       │       │ is       │ readthe │
│          │        │          │          │       │       │ multi-us │ docs.or │
│          │        │          │          │       │       │ er.targe │ g/user_ │
│          │        │          │          │       │       │ t        │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/sy │
│          │        │          │          │       │       │          │ stemd-d │
│          │        │          │          │       │       │          │ efault- │
│          │        │          │          │       │       │          │ target. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ kernel_s │ script │ generic. │ None     │ None  │ None  │ Retrieve │ /home/d │
│ wapusage │        │ local.ba │          │       │       │ Kernel   │ ocs/che │
│ /85f88ed │        │ sh       │          │       │       │ Swap     │ ckouts/ │
│ b        │        │          │          │       │       │ Usage    │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/ke │
│          │        │          │          │       │       │          │ rnel_st │
│          │        │          │          │       │       │          │ ate.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ root_dis │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ k_usage/ │        │ local.ba │          │       │       │ root     │ ocs/che │
│ 3cf723d1 │        │ sh       │          │       │       │ disk     │ ckouts/ │
│          │        │          │          │       │       │ usage    │ readthe │
│          │        │          │          │       │       │ and      │ docs.or │
│          │        │          │          │       │       │ report   │ g/user_ │
│          │        │          │          │       │       │ if it    │ builds/ │
│          │        │          │          │       │       │ exceeds  │ buildte │
│          │        │          │          │       │       │ threshol │ st/chec │
│          │        │          │          │       │       │ d        │ kouts/d │
│          │        │          │          │       │       │          │ evel/ge │
│          │        │          │          │       │       │          │ neral_t │
│          │        │          │          │       │       │          │ ests/co │
│          │        │          │          │       │       │          │ nfigura │
│          │        │          │          │       │       │          │ tion/di │
│          │        │          │          │       │       │          │ sk_usag │
│          │        │          │          │       │       │          │ e.yml   │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
systemd_default_target/7c3cdca6: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/7c3cdca6
kernel_swapusage/85f88edb: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/kernel_state/kernel_swapusage/85f88edb
root_disk_usage/3cf723d1: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/disk_usage/root_disk_usage/3cf723d1
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
systemd_default_target/7c3cdca6 does not have any dependencies adding test to queue
root_disk_usage/3cf723d1 does not have any dependencies adding test to queue
kernel_swapusage/85f88edb does not have any dependencies adding test to queue
     Builders Eligible to Run      
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                         ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ systemd_default_target/7c3cdca6 │
│ root_disk_usage/3cf723d1        │
│ kernel_swapusage/85f88edb       │
└─────────────────────────────────┘
systemd_default_target/7c3cdca6: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/7c3cdca6/stage
systemd_default_target/7c3cdca6: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/7c3cdca6: failed to submit job with returncode: 1
systemd_default_target/7c3cdca6: Detected failure in running test, will attempt to retry test: 1 times
systemd_default_target/7c3cdca6: Run - 1/1
systemd_default_target/7c3cdca6: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/7c3cdca6: failed to submit job with returncode: 1
systemd_default_target/7c3cdca6: Test completed in 0.015856 seconds with returncode: 1
systemd_default_target/7c3cdca6: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/7c3cdca6/systemd_default_target.out
systemd_default_target/7c3cdca6: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/7c3cdca6/systemd_default_target.err
root_disk_usage/3cf723d1: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/disk_usage/root_disk_usage/3cf723d1/stage
root_disk_usage/3cf723d1: Running Test via command: bash root_disk_usage_build.sh
root_disk_usage/3cf723d1: Test completed in 0.007857 seconds with returncode: 0
root_disk_usage/3cf723d1: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/disk_usage/root_disk_usage/3cf723d1/root_disk_usage.out
root_disk_usage/3cf723d1: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/disk_usage/root_disk_usage/3cf723d1/root_disk_usage.err
kernel_swapusage/85f88edb: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/kernel_state/kernel_swapusage/85f88edb/stage
kernel_swapusage/85f88edb: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/85f88edb: failed to submit job with returncode: 255
kernel_swapusage/85f88edb: Detected failure in running test, will attempt to retry test: 1 times
kernel_swapusage/85f88edb: Run - 1/1
kernel_swapusage/85f88edb: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/85f88edb: failed to submit job with returncode: 255
kernel_swapusage/85f88edb: Test completed in 0.011433 seconds with returncode: 255
kernel_swapusage/85f88edb: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/kernel_state/kernel_swapusage/85f88edb/kernel_swapusage.out
kernel_swapusage/85f88edb: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/kernel_state/kernel_swapusage/85f88edb/kernel_swapusage.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ systemd_default_target/ │ generic.local.bash │ FAIL   │ 1          │ 0.016   │
│ 7c3cdca6                │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ kernel_swapusage/85f88e │ generic.local.bash │ FAIL   │ 255        │ 0.011   │
│ db                      │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ root_disk_usage/3cf723d │ generic.local.bash │ PASS   │ 0          │ 0.008   │
│ 1                       │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 3 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_d0e34pob.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:03:47                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/tags_example.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                           Buildspecs By Tag=network                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/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/devel/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/45cd7 │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ 04a      │        │ sh       │          │       │       │ string   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /tags_e │
│          │        │          │          │       │       │          │ xample. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ list_of_ │ script │ generic. │ None     │ None  │ None  │ tags can │ /home/d │
│ strings_ │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ tags/f35 │        │ sh       │          │       │       │ list of  │ ckouts/ │
│ 1c3d6    │        │          │          │       │       │ strings  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /tags_e │
│          │        │          │          │       │       │          │ xample. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
string_tag/45cd704a: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/string_tag/45cd704a
list_of_strings_tags/f351c3d6: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/list_of_strings_tags/f351c3d6
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
string_tag/45cd704a does not have any dependencies adding test to queue
list_of_strings_tags/f351c3d6 does not have any dependencies adding test to queue
    Builders Eligible to Run     
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                       ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ string_tag/45cd704a           │
│ list_of_strings_tags/f351c3d6 │
└───────────────────────────────┘
string_tag/45cd704a: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/string_tag/45cd704a/stage
string_tag/45cd704a: Running Test via command: bash string_tag_build.sh
string_tag/45cd704a: Test completed in 0.005034 seconds with returncode: 0
string_tag/45cd704a: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/string_tag/45cd704a/string_tag.out
string_tag/45cd704a: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/string_tag/45cd704a/string_tag.err
list_of_strings_tags/f351c3d6: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/list_of_strings_tags/f351c3d6/stage
list_of_strings_tags/f351c3d6: Running Test via command: bash list_of_strings_tags_build.sh
list_of_strings_tags/f351c3d6: Test completed in 3.020268 seconds with returncode: 0
list_of_strings_tags/f351c3d6: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/list_of_strings_tags/f351c3d6/list_of_strings_tags.out
list_of_strings_tags/f351c3d6: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/list_of_strings_tags/f351c3d6/list_of_strings_tags.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ list_of_strings_tags/f3 │ generic.local.bash │ PASS   │ 0          │ 3.020   │
│ 51c3d6                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ string_tag/45cd704a     │ generic.local.bash │ PASS   │ 0          │ 0.005   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_2i_6lw63.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:03:50                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/python-shell.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/python-hello.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/pass_returncode.yml                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 3                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/python-shell.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/python-hello.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/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/devel/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/pass_returncode.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/3706 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ cab1     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /python │
│          │        │          │          │       │       │          │ -shell. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello    │ /home/d │
│ ello/f94 │        │ local.ba │          │       │       │ World    │ ocs/che │
│ cb5fc    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /python │
│          │        │          │          │       │       │          │ -hello. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/278ad │        │ local.ba │          │       │       │ by       │ ocs/che │
│ ad0      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/f7278 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ ea7      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /b700284 │        │          │          │       │       │ failed   │ readthe │
│ c        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/031 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ f3658    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
circle_area/3706cab1: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/3706cab1
python_hello/f94cb5fc: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/f94cb5fc
exit1_fail/278adad0: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/278adad0
exit1_pass/f7278ea7: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/f7278ea7
returncode_list_mismatch/b700284c: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/b700284c
returncode_int_match/031f3658: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/031f3658
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_list_mismatch/b700284c does not have any dependencies adding test to queue
python_hello/f94cb5fc does not have any dependencies adding test to queue
returncode_int_match/031f3658 does not have any dependencies adding test to queue
exit1_pass/f7278ea7 does not have any dependencies adding test to queue
exit1_fail/278adad0 does not have any dependencies adding test to queue
circle_area/3706cab1 does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ returncode_list_mismatch/b700284c │
│ returncode_int_match/031f3658     │
│ python_hello/f94cb5fc             │
│ exit1_pass/f7278ea7               │
│ exit1_fail/278adad0               │
│ circle_area/3706cab1              │
└───────────────────────────────────┘
returncode_list_mismatch/b700284c: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/b700284c/stage
returncode_list_mismatch/b700284c: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/b700284c: failed to submit job with returncode: 2
returncode_list_mismatch/b700284c: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/b700284c: Run - 1/1
returncode_list_mismatch/b700284c: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/b700284c: failed to submit job with returncode: 2
returncode_list_mismatch/b700284c: Test completed in 0.009953 seconds with returncode: 2
returncode_list_mismatch/b700284c: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/b700284c/returncode_list_mismatch.out
returncode_list_mismatch/b700284c: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/b700284c/returncode_list_mismatch.err
returncode_list_mismatch/b700284c: Checking returncode - 2 is matched in list [1, 3]
returncode_int_match/031f3658: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/031f3658/stage
returncode_int_match/031f3658: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/031f3658: failed to submit job with returncode: 128
returncode_int_match/031f3658: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/031f3658: Run - 1/1
returncode_int_match/031f3658: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/031f3658: failed to submit job with returncode: 128
returncode_int_match/031f3658: Test completed in 0.009622 seconds with returncode: 128
returncode_int_match/031f3658: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/031f3658/returncode_int_match.out
returncode_int_match/031f3658: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/031f3658/returncode_int_match.err
returncode_int_match/031f3658: Checking returncode - 128 is matched in list [128]
python_hello/f94cb5fc: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/f94cb5fc/stage
python_hello/f94cb5fc: Running Test via command: bash python_hello_build.sh
python_hello/f94cb5fc: Test completed in 0.027738 seconds with returncode: 0
python_hello/f94cb5fc: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/f94cb5fc/python_hello.out
python_hello/f94cb5fc: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/f94cb5fc/python_hello.err
exit1_pass/f7278ea7: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/f7278ea7/stage
exit1_pass/f7278ea7: Running Test via command: bash exit1_pass_build.sh
exit1_pass/f7278ea7: failed to submit job with returncode: 1
exit1_pass/f7278ea7: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/f7278ea7: Run - 1/1
exit1_pass/f7278ea7: Running Test via command: bash exit1_pass_build.sh
exit1_pass/f7278ea7: failed to submit job with returncode: 1
exit1_pass/f7278ea7: Test completed in 0.009695 seconds with returncode: 1
exit1_pass/f7278ea7: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/f7278ea7/exit1_pass.out
exit1_pass/f7278ea7: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/f7278ea7/exit1_pass.err
exit1_pass/f7278ea7: Checking returncode - 1 is matched in list [1]
exit1_fail/278adad0: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/278adad0/stage
exit1_fail/278adad0: Running Test via command: bash exit1_fail_build.sh
exit1_fail/278adad0: failed to submit job with returncode: 1
exit1_fail/278adad0: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/278adad0: Run - 1/1
exit1_fail/278adad0: Running Test via command: bash exit1_fail_build.sh
exit1_fail/278adad0: failed to submit job with returncode: 1
exit1_fail/278adad0: Test completed in 0.01015 seconds with returncode: 1
exit1_fail/278adad0: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/278adad0/exit1_fail.out
exit1_fail/278adad0: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/278adad0/exit1_fail.err
circle_area/3706cab1: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/3706cab1/stage
circle_area/3706cab1: Running Test via command: bash circle_area_build.sh
circle_area/3706cab1: Test completed in 0.027885 seconds with returncode: 0
circle_area/3706cab1: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/3706cab1/circle_area.out
circle_area/3706cab1: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/3706cab1/circle_area.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ circle_area/3706cab1    │ generic.local.bash │ PASS   │ 0          │ 0.028   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/f7278ea7     │ generic.local.bash │ PASS   │ 1          │ 0.010   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ python_hello/f94cb5fc   │ generic.local.bash │ PASS   │ 0          │ 0.028   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/278adad0     │ generic.local.bash │ FAIL   │ 1          │ 0.010   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.010   │
│ h/b700284c              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/03 │ generic.local.bash │ PASS   │ 128        │ 0.010   │
│ 1f3658                  │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 6 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_m8axl4pl.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:03:51                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/tags_example.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/pass_returncode.yml                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/pass_returncode.yml                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=fail                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/pass_returncode.yml                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                           Buildspecs By Tag=network                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/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/devel/tutorials/tags_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/pass_returncode.yml: VALID
Total builder objects created: 6
                            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/29329 │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ 707      │        │ sh       │          │       │       │ string   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /tags_e │
│          │        │          │          │       │       │          │ xample. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ list_of_ │ script │ generic. │ None     │ None  │ None  │ tags can │ /home/d │
│ strings_ │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ tags/5a1 │        │ sh       │          │       │       │ list of  │ ckouts/ │
│ 54b9d    │        │          │          │       │       │ strings  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /tags_e │
│          │        │          │          │       │       │          │ xample. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/d55e7 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ c30      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/ccb25 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ a6e      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /c844bb0 │        │          │          │       │       │ failed   │ readthe │
│ d        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/095 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 08c82    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
string_tag/29329707: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/string_tag/29329707
list_of_strings_tags/5a154b9d: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/list_of_strings_tags/5a154b9d
exit1_fail/d55e7c30: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/d55e7c30
exit1_pass/ccb25a6e: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/ccb25a6e
returncode_list_mismatch/c844bb0d: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/c844bb0d
returncode_int_match/09508c82: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/09508c82
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/d55e7c30 does not have any dependencies adding test to queue
returncode_list_mismatch/c844bb0d does not have any dependencies adding test to queue
string_tag/29329707 does not have any dependencies adding test to queue
returncode_int_match/09508c82 does not have any dependencies adding test to queue
exit1_pass/ccb25a6e does not have any dependencies adding test to queue
list_of_strings_tags/5a154b9d does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/d55e7c30               │
│ returncode_list_mismatch/c844bb0d │
│ string_tag/29329707               │
│ returncode_int_match/09508c82     │
│ exit1_pass/ccb25a6e               │
│ list_of_strings_tags/5a154b9d     │
└───────────────────────────────────┘
exit1_fail/d55e7c30: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/d55e7c30/stage
exit1_fail/d55e7c30: Running Test via command: bash exit1_fail_build.sh
exit1_fail/d55e7c30: failed to submit job with returncode: 1
exit1_fail/d55e7c30: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/d55e7c30: Run - 1/1
exit1_fail/d55e7c30: Running Test via command: bash exit1_fail_build.sh
exit1_fail/d55e7c30: failed to submit job with returncode: 1
exit1_fail/d55e7c30: Test completed in 0.010106 seconds with returncode: 1
exit1_fail/d55e7c30: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/d55e7c30/exit1_fail.out
exit1_fail/d55e7c30: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/d55e7c30/exit1_fail.err
returncode_list_mismatch/c844bb0d: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/c844bb0d/stage
returncode_list_mismatch/c844bb0d: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/c844bb0d: failed to submit job with returncode: 2
returncode_list_mismatch/c844bb0d: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/c844bb0d: Run - 1/1
returncode_list_mismatch/c844bb0d: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/c844bb0d: failed to submit job with returncode: 2
returncode_list_mismatch/c844bb0d: Test completed in 0.01006 seconds with returncode: 2
returncode_list_mismatch/c844bb0d: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/c844bb0d/returncode_list_mismatch.out
returncode_list_mismatch/c844bb0d: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/c844bb0d/returncode_list_mismatch.err
returncode_list_mismatch/c844bb0d: Checking returncode - 2 is matched in list [1, 3]
string_tag/29329707: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/string_tag/29329707/stage
string_tag/29329707: Running Test via command: bash string_tag_build.sh
string_tag/29329707: Test completed in 0.004738 seconds with returncode: 0
string_tag/29329707: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/string_tag/29329707/string_tag.out
string_tag/29329707: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/string_tag/29329707/string_tag.err
returncode_int_match/09508c82: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/09508c82/stage
returncode_int_match/09508c82: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/09508c82: failed to submit job with returncode: 128
returncode_int_match/09508c82: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/09508c82: Run - 1/1
returncode_int_match/09508c82: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/09508c82: failed to submit job with returncode: 128
returncode_int_match/09508c82: Test completed in 0.009563 seconds with returncode: 128
returncode_int_match/09508c82: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/09508c82/returncode_int_match.out
returncode_int_match/09508c82: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/09508c82/returncode_int_match.err
returncode_int_match/09508c82: Checking returncode - 128 is matched in list [128]
exit1_pass/ccb25a6e: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/ccb25a6e/stage
exit1_pass/ccb25a6e: Running Test via command: bash exit1_pass_build.sh
exit1_pass/ccb25a6e: failed to submit job with returncode: 1
exit1_pass/ccb25a6e: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/ccb25a6e: Run - 1/1
exit1_pass/ccb25a6e: Running Test via command: bash exit1_pass_build.sh
exit1_pass/ccb25a6e: failed to submit job with returncode: 1
exit1_pass/ccb25a6e: Test completed in 0.009694 seconds with returncode: 1
exit1_pass/ccb25a6e: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/ccb25a6e/exit1_pass.out
exit1_pass/ccb25a6e: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/ccb25a6e/exit1_pass.err
exit1_pass/ccb25a6e: Checking returncode - 1 is matched in list [1]
list_of_strings_tags/5a154b9d: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/list_of_strings_tags/5a154b9d/stage
list_of_strings_tags/5a154b9d: Running Test via command: bash list_of_strings_tags_build.sh
list_of_strings_tags/5a154b9d: Test completed in 3.020405 seconds with returncode: 0
list_of_strings_tags/5a154b9d: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/list_of_strings_tags/5a154b9d/list_of_strings_tags.out
list_of_strings_tags/5a154b9d: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/list_of_strings_tags/5a154b9d/list_of_strings_tags.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ string_tag/29329707     │ generic.local.bash │ PASS   │ 0          │ 0.005   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/09 │ generic.local.bash │ PASS   │ 128        │ 0.010   │
│ 508c82                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ list_of_strings_tags/5a │ generic.local.bash │ PASS   │ 0          │ 3.020   │
│ 154b9d                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/ccb25a6e     │ generic.local.bash │ PASS   │ 1          │ 0.010   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.010   │
│ h/c844bb0d              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/d55e7c30     │ generic.local.bash │ FAIL   │ 1          │ 0.010   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 6 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_5r2w_dg_.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:03:55                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/python-hello.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/pass_returncode.yml                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/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/devel/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/pass_returncode.yml: VALID
Total builder objects created: 5
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello    │ /home/d │
│ ello/707 │        │ local.ba │          │       │       │ World    │ ocs/che │
│ 523ea    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /python │
│          │        │          │          │       │       │          │ -hello. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/5c87a │        │ local.ba │          │       │       │ by       │ ocs/che │
│ a21      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/af1ad │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ b1d      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /33ca324 │        │          │          │       │       │ failed   │ readthe │
│ 0        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/26a │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ d3a71    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
python_hello/707523ea: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/707523ea
exit1_fail/5c87aa21: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/5c87aa21
exit1_pass/af1adb1d: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/af1adb1d
returncode_list_mismatch/33ca3240: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/33ca3240
returncode_int_match/26ad3a71: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/26ad3a71
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
python_hello/707523ea does not have any dependencies adding test to queue
returncode_list_mismatch/33ca3240 does not have any dependencies adding test to queue
exit1_fail/5c87aa21 does not have any dependencies adding test to queue
returncode_int_match/26ad3a71 does not have any dependencies adding test to queue
exit1_pass/af1adb1d does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ python_hello/707523ea             │
│ returncode_list_mismatch/33ca3240 │
│ exit1_fail/5c87aa21               │
│ returncode_int_match/26ad3a71     │
│ exit1_pass/af1adb1d               │
└───────────────────────────────────┘
python_hello/707523ea: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/707523ea/stage
python_hello/707523ea: Running Test via command: bash python_hello_build.sh
python_hello/707523ea: Test completed in 0.027897 seconds with returncode: 0
python_hello/707523ea: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/707523ea/python_hello.out
python_hello/707523ea: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/707523ea/python_hello.err
returncode_list_mismatch/33ca3240: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/33ca3240/stage
returncode_list_mismatch/33ca3240: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/33ca3240: failed to submit job with returncode: 2
returncode_list_mismatch/33ca3240: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/33ca3240: Run - 1/1
returncode_list_mismatch/33ca3240: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/33ca3240: failed to submit job with returncode: 2
returncode_list_mismatch/33ca3240: Test completed in 0.010125 seconds with returncode: 2
returncode_list_mismatch/33ca3240: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/33ca3240/returncode_list_mismatch.out
returncode_list_mismatch/33ca3240: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/33ca3240/returncode_list_mismatch.err
returncode_list_mismatch/33ca3240: Checking returncode - 2 is matched in list [1, 3]
exit1_fail/5c87aa21: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/5c87aa21/stage
exit1_fail/5c87aa21: Running Test via command: bash exit1_fail_build.sh
exit1_fail/5c87aa21: failed to submit job with returncode: 1
exit1_fail/5c87aa21: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/5c87aa21: Run - 1/1
exit1_fail/5c87aa21: Running Test via command: bash exit1_fail_build.sh
exit1_fail/5c87aa21: failed to submit job with returncode: 1
exit1_fail/5c87aa21: Test completed in 0.009853 seconds with returncode: 1
exit1_fail/5c87aa21: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/5c87aa21/exit1_fail.out
exit1_fail/5c87aa21: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/5c87aa21/exit1_fail.err
returncode_int_match/26ad3a71: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/26ad3a71/stage
returncode_int_match/26ad3a71: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/26ad3a71: failed to submit job with returncode: 128
returncode_int_match/26ad3a71: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/26ad3a71: Run - 1/1
returncode_int_match/26ad3a71: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/26ad3a71: failed to submit job with returncode: 128
returncode_int_match/26ad3a71: Test completed in 0.009814 seconds with returncode: 128
returncode_int_match/26ad3a71: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/26ad3a71/returncode_int_match.out
returncode_int_match/26ad3a71: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/26ad3a71/returncode_int_match.err
returncode_int_match/26ad3a71: Checking returncode - 128 is matched in list [128]
exit1_pass/af1adb1d: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/af1adb1d/stage
exit1_pass/af1adb1d: Running Test via command: bash exit1_pass_build.sh
exit1_pass/af1adb1d: failed to submit job with returncode: 1
exit1_pass/af1adb1d: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/af1adb1d: Run - 1/1
exit1_pass/af1adb1d: Running Test via command: bash exit1_pass_build.sh
exit1_pass/af1adb1d: failed to submit job with returncode: 1
exit1_pass/af1adb1d: Test completed in 0.010126 seconds with returncode: 1
exit1_pass/af1adb1d: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/af1adb1d/exit1_pass.out
exit1_pass/af1adb1d: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/af1adb1d/exit1_pass.err
exit1_pass/af1adb1d: Checking returncode - 1 is matched in list [1]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.010   │
│ h/33ca3240              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/26 │ generic.local.bash │ PASS   │ 128        │ 0.010   │
│ ad3a71                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ python_hello/707523ea   │ generic.local.bash │ PASS   │ 0          │ 0.028   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/af1adb1d     │ generic.local.bash │ PASS   │ 1          │ 0.010   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/5c87aa21     │ generic.local.bash │ FAIL   │ 1          │ 0.010   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 5 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_t12zt3__.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:03:56                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/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/devel/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/devel/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/3222d │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 3fe      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /774befd │        │          │          │       │       │ failed   │ readthe │
│ f        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/3222d3fe: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/3222d3fe
returncode_list_mismatch/774befdf: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/774befdf
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/3222d3fe does not have any dependencies adding test to queue
returncode_list_mismatch/774befdf does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/3222d3fe               │
│ returncode_list_mismatch/774befdf │
└───────────────────────────────────┘
exit1_fail/3222d3fe: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/3222d3fe/stage
exit1_fail/3222d3fe: Running Test via command: bash exit1_fail_build.sh
exit1_fail/3222d3fe: failed to submit job with returncode: 1
exit1_fail/3222d3fe: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/3222d3fe: Run - 1/1
exit1_fail/3222d3fe: Running Test via command: bash exit1_fail_build.sh
exit1_fail/3222d3fe: failed to submit job with returncode: 1
exit1_fail/3222d3fe: Test completed in 0.009796 seconds with returncode: 1
exit1_fail/3222d3fe: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/3222d3fe/exit1_fail.out
exit1_fail/3222d3fe: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/3222d3fe/exit1_fail.err
returncode_list_mismatch/774befdf: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/774befdf/stage
returncode_list_mismatch/774befdf: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/774befdf: failed to submit job with returncode: 2
returncode_list_mismatch/774befdf: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/774befdf: Run - 1/1
returncode_list_mismatch/774befdf: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/774befdf: failed to submit job with returncode: 2
returncode_list_mismatch/774befdf: Test completed in 0.00968 seconds with returncode: 2
returncode_list_mismatch/774befdf: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/774befdf/returncode_list_mismatch.out
returncode_list_mismatch/774befdf: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/774befdf/returncode_list_mismatch.err
returncode_list_mismatch/774befdf: Checking returncode - 2 is matched in list [1, 3]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.010   │
│ h/774befdf              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/3222d3fe     │ generic.local.bash │ FAIL   │ 1          │ 0.010   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_mp_wo1r2.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:03:57                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/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/devel/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/devel/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/devel/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/devel/tutorials/test_status/pass_returncode.yml: VALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
└──────────────────────────────────────────────────────────────────────────────┘

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

Please see logfile: /tmp/tmpg3p4j9in/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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:03:57                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/hello_world.yml                                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                         Buildspecs by Name=hello_world                         
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/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/devel/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/0aec │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 9ab1     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /hello_ │
│          │        │          │          │       │       │          │ world.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
hello_world/0aec9ab1: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/0aec9ab1
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
hello_world/0aec9ab1 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/0aec9ab1 │
└──────────────────────┘
hello_world/0aec9ab1: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/0aec9ab1/stage
hello_world/0aec9ab1: Running Test via command: bash hello_world_build.sh
hello_world/0aec9ab1: Test completed in 0.00471 seconds with returncode: 0
hello_world/0aec9ab1: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/0aec9ab1/hello_world.out
hello_world/0aec9ab1: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/0aec9ab1/hello_world.err
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ hello_world/0aec9ab1 │ generic.local.bash │ PASS   │ 0          │ 0.005   │
└──────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_t4t_poe2.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:03:58                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/summary_example.yml                                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/add_numbers.yml                                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                         Buildspecs by Name=add_numbers                         
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/add_numbers.yml                                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                       Buildspecs by Name=summary_example                       
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/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/devel/tutorials/summary_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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 │
│ 58411838 │        │ sh       │          │       │       │ field    │ ckouts/ │
│          │        │          │          │       │       │ can be a │ readthe │
│          │        │          │          │       │       │ multi-li │ docs.or │
│          │        │          │          │       │       │ ne       │ g/user_ │
│          │        │          │          │       │       │ string   │ builds/ │
│          │        │          │          │       │       │ and      │ buildte │
│          │        │          │          │       │       │ exceed   │ st/chec │
│          │        │          │          │       │       │ 80 char  │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /summar │
│          │        │          │          │       │       │          │ y_examp │
│          │        │          │          │       │       │          │ le.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ add_numb │ script │ generic. │ None     │ None  │ None  │ Add X+Y  │ /home/d │
│ ers/a796 │        │ local.ba │          │       │       │          │ ocs/che │
│ 0bc6     │        │ sh       │          │       │       │          │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /add_nu │
│          │        │          │          │       │       │          │ mbers.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
summary_example/58411838: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/summary_example/summary_example/58411838
add_numbers/a7960bc6: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/add_numbers/add_numbers/a7960bc6
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
add_numbers/a7960bc6 does not have any dependencies adding test to queue
summary_example/58411838 does not have any dependencies adding test to queue
  Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                  ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ add_numbers/a7960bc6     │
│ summary_example/58411838 │
└──────────────────────────┘
add_numbers/a7960bc6: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/add_numbers/add_numbers/a7960bc6/stage
add_numbers/a7960bc6: Running Test via command: bash add_numbers_build.sh
add_numbers/a7960bc6: Test completed in 0.004441 seconds with returncode: 0
add_numbers/a7960bc6: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/add_numbers/add_numbers/a7960bc6/add_numbers.out
add_numbers/a7960bc6: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/add_numbers/add_numbers/a7960bc6/add_numbers.err
summary_example/58411838: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/summary_example/summary_example/58411838/stage
summary_example/58411838: Running Test via command: bash summary_example_build.sh
summary_example/58411838: Test completed in 0.004725 seconds with returncode: 0
summary_example/58411838: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/summary_example/summary_example/58411838/summary_example.out
summary_example/58411838: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/summary_example/summary_example/58411838/summary_example.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ add_numbers/a7960bc6    │ generic.local.bash │ PASS   │ 0          │ 0.004   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ summary_example/5841183 │ generic.local.bash │ PASS   │ 0          │ 0.005   │
│ 8                       │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_d57by267.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:03:59                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/csh_shell_examples.yml                                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/environment.yml                                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                    Buildspecs by Executor=generic.local.csh                    
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/csh_shell_examples.yml                                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/environment.yml                                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  2
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/csh_shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/environment.yml: VALID
Total builder objects created: 4
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ csh_shel │ script │ generic. │ None     │ None  │ None  │ csh      │ /home/d │
│ l/5c1f6a │        │ local.cs │          │       │       │ shell    │ ocs/che │
│ 1c       │        │ h        │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /csh_sh │
│          │        │          │          │       │       │          │ ell_exa │
│          │        │          │          │       │       │          │ mples.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ bash_env │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ _variabl │        │ local.ba │          │       │       │ environm │ ocs/che │
│ es/f449e │        │ sh       │          │       │       │ ent      │ ckouts/ │
│ f56      │        │          │          │       │       │ variable │ readthe │
│          │        │          │          │       │       │ s in     │ docs.or │
│          │        │          │          │       │       │ default  │ g/user_ │
│          │        │          │          │       │       │ shell    │ builds/ │
│          │        │          │          │       │       │ (bash)   │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /enviro │
│          │        │          │          │       │       │          │ nment.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ csh_env_ │ script │ generic. │ None     │ None  │ None  │ csh      │ /home/d │
│ declarat │        │ local.cs │          │       │       │ shell    │ ocs/che │
│ ion/d3b6 │        │ h        │          │       │       │ example  │ ckouts/ │
│ cc01     │        │          │          │       │       │ to       │ readthe │
│          │        │          │          │       │       │ declare  │ docs.or │
│          │        │          │          │       │       │ environm │ g/user_ │
│          │        │          │          │       │       │ ent      │ builds/ │
│          │        │          │          │       │       │ variable │ buildte │
│          │        │          │          │       │       │ s        │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /enviro │
│          │        │          │          │       │       │          │ nment.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ tcsh_env │ script │ generic. │ None     │ None  │ None  │ tcsh     │ /home/d │
│ _declara │        │ local.cs │          │       │       │ shell    │ ocs/che │
│ tion/457 │        │ h        │          │       │       │ example  │ ckouts/ │
│ 3358d    │        │          │          │       │       │ to       │ readthe │
│          │        │          │          │       │       │ declare  │ docs.or │
│          │        │          │          │       │       │ environm │ g/user_ │
│          │        │          │          │       │       │ ent      │ builds/ │
│          │        │          │          │       │       │ variable │ buildte │
│          │        │          │          │       │       │ s        │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /enviro │
│          │        │          │          │       │       │          │ nment.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
csh_shell/5c1f6a1c: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.csh/csh_shell_examples/csh_shell/5c1f6a1c
bash_env_variables/f449ef56: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/environment/bash_env_variables/f449ef56
csh_env_declaration/d3b6cc01: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.csh/environment/csh_env_declaration/d3b6cc01
tcsh_env_declaration/4573358d: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.csh/environment/tcsh_env_declaration/4573358d
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
csh_shell/5c1f6a1c does not have any dependencies adding test to queue
csh_env_declaration/d3b6cc01 does not have any dependencies adding test to queue
bash_env_variables/f449ef56 does not have any dependencies adding test to queue
tcsh_env_declaration/4573358d does not have any dependencies adding test to queue
    Builders Eligible to Run     
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                       ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ csh_shell/5c1f6a1c            │
│ csh_env_declaration/d3b6cc01  │
│ bash_env_variables/f449ef56   │
│ tcsh_env_declaration/4573358d │
└───────────────────────────────┘
csh_shell/5c1f6a1c: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.csh/csh_shell_examples/csh_shell/5c1f6a1c/stage
csh_shell/5c1f6a1c: Running Test via command: bash csh_shell_build.sh
csh_shell/5c1f6a1c: Test completed in 2.180649 seconds with returncode: 0
csh_shell/5c1f6a1c: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.csh/csh_shell_examples/csh_shell/5c1f6a1c/csh_shell.out
csh_shell/5c1f6a1c: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.csh/csh_shell_examples/csh_shell/5c1f6a1c/csh_shell.err
csh_env_declaration/d3b6cc01: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.csh/environment/csh_env_declaration/d3b6cc01/stage
csh_env_declaration/d3b6cc01: Running Test via command: bash csh_env_declaration_build.sh
csh_env_declaration/d3b6cc01: Test completed in 2.179569 seconds with returncode: 0
csh_env_declaration/d3b6cc01: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.csh/environment/csh_env_declaration/d3b6cc01/csh_env_declaration.out
csh_env_declaration/d3b6cc01: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.csh/environment/csh_env_declaration/d3b6cc01/csh_env_declaration.err
bash_env_variables/f449ef56: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/environment/bash_env_variables/f449ef56/stage
bash_env_variables/f449ef56: Running Test via command: bash bash_env_variables_build.sh
bash_env_variables/f449ef56: Test completed in 0.006096 seconds with returncode: 0
bash_env_variables/f449ef56: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/environment/bash_env_variables/f449ef56/bash_env_variables.out
bash_env_variables/f449ef56: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/environment/bash_env_variables/f449ef56/bash_env_variables.err
tcsh_env_declaration/4573358d: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.csh/environment/tcsh_env_declaration/4573358d/stage
tcsh_env_declaration/4573358d: Running Test via command: bash tcsh_env_declaration_build.sh
tcsh_env_declaration/4573358d: Test completed in 0.012737 seconds with returncode: 0
tcsh_env_declaration/4573358d: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.csh/environment/tcsh_env_declaration/4573358d/tcsh_env_declaration.out
tcsh_env_declaration/4573358d: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.csh/environment/tcsh_env_declaration/4573358d/tcsh_env_declaration.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ tcsh_env_declaration/45 │ generic.local.csh  │ PASS   │ 0          │ 0.013   │
│ 73358d                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ bash_env_variables/f449 │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ ef56                    │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ csh_shell/5c1f6a1c      │ generic.local.csh  │ PASS   │ 0          │ 2.181   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ csh_env_declaration/d3b │ generic.local.csh  │ PASS   │ 0          │ 2.180   │
│ 6cc01                   │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 4 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_6moh2v84.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:05                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/test_status/pass_returncode.yml                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/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/devel/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/devel/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/devel/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/307c9 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ b19      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/b84 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 15f32    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_pass/307c9b19: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/307c9b19
returncode_int_match/b8415f32: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b8415f32
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_int_match/b8415f32 does not have any dependencies adding test to queue
exit1_pass/307c9b19 does not have any dependencies adding test to queue
    Builders Eligible to Run     
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                       ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ returncode_int_match/b8415f32 │
│ exit1_pass/307c9b19           │
└───────────────────────────────┘
returncode_int_match/b8415f32: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b8415f32/stage
returncode_int_match/b8415f32: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/b8415f32: failed to submit job with returncode: 128
returncode_int_match/b8415f32: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/b8415f32: Run - 1/1
returncode_int_match/b8415f32: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/b8415f32: failed to submit job with returncode: 128
returncode_int_match/b8415f32: Test completed in 0.01013 seconds with returncode: 128
returncode_int_match/b8415f32: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b8415f32/returncode_int_match.out
returncode_int_match/b8415f32: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b8415f32/returncode_int_match.err
returncode_int_match/b8415f32: Checking returncode - 128 is matched in list [128]
exit1_pass/307c9b19: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/307c9b19/stage
exit1_pass/307c9b19: Running Test via command: bash exit1_pass_build.sh
exit1_pass/307c9b19: failed to submit job with returncode: 1
exit1_pass/307c9b19: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/307c9b19: Run - 1/1
exit1_pass/307c9b19: Running Test via command: bash exit1_pass_build.sh
exit1_pass/307c9b19: failed to submit job with returncode: 1
exit1_pass/307c9b19: Test completed in 0.009321 seconds with returncode: 1
exit1_pass/307c9b19: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/307c9b19/exit1_pass.out
exit1_pass/307c9b19: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/307c9b19/exit1_pass.err
exit1_pass/307c9b19: Checking returncode - 1 is matched in list [1]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_pass/307c9b19     │ generic.local.bash │ PASS   │ 1          │ 0.009   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/b8 │ generic.local.bash │ PASS   │ 128        │ 0.010   │
│ 415f32                  │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_hjq2bnbr.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:05                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/compilation/hello_world_compilation.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/containers/run_script.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/multi_executors/executor_regex_script.yml                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/shebang.yml                                                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/containers/hello_world.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/job_dependency/ex2.yml                                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/multi_executors/status_by_executors.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/python-hello.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/compilation/compiler_exclude.yml                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/specify_regex_type.yml                                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/vars.yml                                                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_linecount.yml                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/multi_executors/executors_var_env_declaration.yml                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/invalid_buildspec_section.yml                                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/containers/hello_world_singularity.yml                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/exists.yml                                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/multi_executors/executor_scheduler.yml                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/skip_tests.yml                                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/metrics_regex_with_invalid_linenum.yml                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/environment.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/metrics_file_regex_with_linenum.yml                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/maintainers_example.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/metrics_with_regex_type.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/linecount.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/pass_returncode.yml                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/containers/run_commands.yml                                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/gcc_version.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_linecount_invalid.yml                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/regex_on_filename.yml                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_and_dir_check.yml                                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/metrics_regex_with_linenum.yml                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/tags_example.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/hello_world.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/runtime_status_test.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/assert_lt.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/invalid_metrics.yml                                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_count_pattern.yml                                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/metrics_regex.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/job_dependency/ex1.yml                                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/summary_example.yml                                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/containers/container_executor/python_container.yml                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/explicit_state.yml                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_exists_exception.yml                               ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/invalid_tags.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/status_regex.yml                                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/assert_gt.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/compilation/stream.yml                                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_exists_with_number.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/invalid_metric_name.yml                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/assert_range.yml                                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/assert_eq_exceptions.yml                                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/assert_ge.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/assert_eq.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/python-shell.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/strict_example.yml                                                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/is_symlink.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/csh_shell_examples.yml                                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/sleep.yml                                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/containers/container_executor/ubuntu.yml                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/job_dependency/ex3.yml                                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/post_run.yml                                                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_count_file_traverse_limit.yml                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/metrics_file_regex_invalid_file.yml                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/burstbuffer_datawarp_executors.yml                                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/contains.yml                                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/containers/bind_mounts.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/assert_le.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/skip_buildspec.yml                                                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/job_dependency/ex4.yml                                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/metrics_file_regex_with_invalid_linenum.yml                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/missing_required_in_metrics.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_count.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/shell_examples.yml                                                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_count_filetype.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/invalid_executor.yml                                                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/mode.yml                                                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_linecount_failure.yml                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/assert_ne.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/add_numbers.yml                                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 79                                                                    ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  79
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  79
────────────────────────────── Parsing Buildspecs ──────────────────────────────
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/tutorials/containers/run_script.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/tutorials/shebang.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/containers/hello_world.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/job_dependency/ex2.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/tutorials/python-hello.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/compilation/compiler_exclude.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/tutorials/vars.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/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/devel/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/devel/tutorials/test_status/exists.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/tutorials/skip_tests.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/tutorials/environment.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/metrics_file_regex_with_linenum.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/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/devel/tutorials/test_status/linecount.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/tutorials/containers/run_commands.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/gcc_version.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/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/devel/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/devel/tutorials/tags_example.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/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/devel/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/devel/tutorials/metrics/metrics_regex.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/job_dependency/ex1.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/summary_example.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/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/devel/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/devel/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/devel/tutorials/compilation/stream.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/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/devel/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/devel/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/devel/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/devel/tutorials/python-shell.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/strict_example.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/tutorials/csh_shell_examples.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/sleep.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/tutorials/job_dependency/ex3.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/post_run.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/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/devel/tutorials/burstbuffer_datawarp_executors.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/contains.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/containers/bind_mounts.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/tutorials/skip_buildspec.yml: skipping all test since 'skip' is defined
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/job_dependency/ex4.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/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/devel/tutorials/shell_examples.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/tutorials/invalid_executor.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/mode.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/devel/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/devel/tutorials/add_numbers.yml: skipping test because 'maintainers' field is not specified in buildspec.
Valid Buildspecs: 72
Invalid Buildspecs: 7
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/compilation/hello_world_compilation.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/containers/run_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/multi_executors/executor_regex_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/shebang.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/containers/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/job_dependency/ex2.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/multi_executors/status_by_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/compilation/compiler_exclude.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/specify_regex_type.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_linecount.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/multi_executors/executors_var_env_declaration.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/containers/hello_world_singularity.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/exists.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/multi_executors/executor_scheduler.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/skip_tests.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/metrics_regex_with_invalid_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/environment.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/metrics_file_regex_with_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/maintainers_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/metrics_with_regex_type.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/linecount.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/containers/run_commands.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/gcc_version.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/regex_on_filename.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_and_dir_check.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/metrics_regex_with_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/tags_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/runtime_status_test.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/assert_lt.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_count_pattern.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/metrics_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/job_dependency/ex1.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/summary_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/containers/container_executor/python_container.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/explicit_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/status_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/assert_gt.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/compilation/stream.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_exists_with_number.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/assert_range.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/assert_eq_exceptions.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/assert_ge.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/assert_eq.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/strict_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/is_symlink.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/csh_shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/sleep.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/containers/container_executor/ubuntu.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/job_dependency/ex3.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/post_run.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_count_file_traverse_limit.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/metrics_file_regex_invalid_file.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/burstbuffer_datawarp_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/contains.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/containers/bind_mounts.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/assert_le.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/skip_buildspec.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/job_dependency/ex4.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/metrics_file_regex_with_invalid_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_count.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_count_filetype.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/invalid_executor.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/mode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_linecount_failure.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/assert_ne.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/add_numbers.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/invalid_buildspec_section.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_linecount_invalid.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/invalid_metrics.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_exists_exception.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/invalid_tags.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/invalid_metric_name.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/missing_required_in_metrics.yml: INVALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
└──────────────────────────────────────────────────────────────────────────────┘
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/c958 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 89b7     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /hello_ │
│          │        │          │          │       │       │          │ world.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
hello_world/c95889b7: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/c95889b7
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
hello_world/c95889b7 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/c95889b7 │
└──────────────────────┘
hello_world/c95889b7: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/c95889b7/stage
hello_world/c95889b7: Running Test via command: bash hello_world_build.sh
hello_world/c95889b7: Test completed in 0.004408 seconds with returncode: 0
hello_world/c95889b7: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/c95889b7/hello_world.out
hello_world/c95889b7: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/c95889b7/hello_world.err
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ hello_world/c95889b7 │ generic.local.bash │ PASS   │ 0          │ 0.004   │
└──────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_8wa8c0ov.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:07                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/test_status/file_count_filetype.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/metrics_file_regex_invalid_file.yml                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/csh_shell_examples.yml                                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/missing_required_in_metrics.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/post_run.yml                                                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/sleep.yml                                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/containers/container_executor/ubuntu.yml                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/invalid_metric_name.yml                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/python-shell.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/contains.yml                                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/compilation/stream.yml                                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_linecount_invalid.yml                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/environment.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/assert_gt.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/python-hello.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/metrics_regex.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/skip_buildspec.yml                                                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/compilation/hello_world_compilation.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/add_numbers.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/job_dependency/ex4.yml                                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/multi_executors/executor_scheduler.yml                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/tags_example.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/invalid_executor.yml                                                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/metrics_file_regex_with_invalid_linenum.yml                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/containers/container_executor/python_container.yml                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/explicit_state.yml                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/invalid_buildspec_section.yml                                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/containers/run_commands.yml                                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/job_dependency/ex3.yml                                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/is_symlink.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/summary_example.yml                                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/invalid_metrics.yml                                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/shebang.yml                                                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/assert_lt.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/strict_example.yml                                                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_and_dir_check.yml                                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/multi_executors/status_by_executors.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/containers/bind_mounts.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/mode.yml                                                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_count_pattern.yml                                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/assert_le.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/containers/run_script.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/metrics_with_regex_type.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/pass_returncode.yml                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/assert_eq_exceptions.yml                                ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_count_file_traverse_limit.yml                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/multi_executors/executors_var_env_declaration.yml                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/burstbuffer_datawarp_executors.yml                                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/containers/hello_world_singularity.yml                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/metrics_file_regex_with_linenum.yml                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/invalid_tags.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/status_regex.yml                                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/assert_ne.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/regex_on_filename.yml                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/linecount.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_linecount.yml                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/runtime_status_test.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/metrics_regex_with_invalid_linenum.yml                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/assert_ge.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/maintainers_example.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/shell_examples.yml                                                  ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/assert_range.yml                                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/perf_checks/assert_eq.yml                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/hello_world.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/metrics/metrics_regex_with_linenum.yml                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/job_dependency/ex1.yml                                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/containers/hello_world.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_exists_with_number.yml                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/multi_executors/executor_regex_script.yml                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/vars.yml                                                            ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/compilation/compiler_exclude.yml                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_count.yml                                          ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/gcc_version.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/skip_tests.yml                                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_exists_exception.yml                               ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/file_linecount_failure.yml                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/exists.yml                                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/job_dependency/ex2.yml                                              ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/test_status/specify_regex_type.yml                                  ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 79                                                                    ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  79
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  79
────────────────────────────── Parsing Buildspecs ──────────────────────────────
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/skip_buildspec.yml: skipping all test since 'skip' is defined
[compiler_exclude_example][/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/compilation/compiler_exclude.yml]: Unable to find any compilers based on regular expression: ['gcc'] so no tests were created.
skip: skipping test due to 'skip' property.
Valid Buildspecs: 72
Invalid Buildspecs: 7
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_count_filetype.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/metrics_file_regex_invalid_file.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/csh_shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/post_run.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/sleep.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/containers/container_executor/ubuntu.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/contains.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/compilation/stream.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/environment.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/assert_gt.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/metrics_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/skip_buildspec.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/compilation/hello_world_compilation.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/add_numbers.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/job_dependency/ex4.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/multi_executors/executor_scheduler.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/tags_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/invalid_executor.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/metrics_file_regex_with_invalid_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/containers/container_executor/python_container.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/explicit_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/containers/run_commands.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/job_dependency/ex3.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/is_symlink.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/summary_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/shebang.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/assert_lt.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/strict_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_and_dir_check.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/multi_executors/status_by_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/containers/bind_mounts.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/mode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_count_pattern.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/assert_le.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/containers/run_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/metrics_with_regex_type.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/assert_eq_exceptions.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_count_file_traverse_limit.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/multi_executors/executors_var_env_declaration.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/burstbuffer_datawarp_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/containers/hello_world_singularity.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/metrics_file_regex_with_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/status_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/assert_ne.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/regex_on_filename.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/linecount.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_linecount.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/runtime_status_test.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/metrics_regex_with_invalid_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/assert_ge.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/maintainers_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/assert_range.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/perf_checks/assert_eq.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/metrics_regex_with_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/job_dependency/ex1.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/containers/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_exists_with_number.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/multi_executors/executor_regex_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/compilation/compiler_exclude.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_count.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/gcc_version.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/skip_tests.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_linecount_failure.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/exists.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/job_dependency/ex2.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/specify_regex_type.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/missing_required_in_metrics.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/invalid_metric_name.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_linecount_invalid.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/invalid_buildspec_section.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/metrics/invalid_metrics.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/invalid_tags.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/test_status/file_exists_exception.yml: INVALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
└──────────────────────────────────────────────────────────────────────────────┘
Total builder objects created: 117
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descrip ┃ buildspe ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ tion    ┃ cs       ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━┩
│ file_cou │ script │ generic. │ None     │ None  │ None  │ Count   │ /home/do │
│ nt_by_fi │        │ local.ba │          │       │       │ the     │ cs/check │
│ letype/3 │        │ sh       │          │       │       │ number  │ outs/rea │
│ d0eda49  │        │          │          │       │       │ of      │ dthedocs │
│          │        │          │          │       │       │ directo │ .org/use │
│          │        │          │          │       │       │ ries    │ r_builds │
│          │        │          │          │       │       │ and     │ /buildte │
│          │        │          │          │       │       │ symboli │ st/check │
│          │        │          │          │       │       │ c links │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /file_co │
│          │        │          │          │       │       │         │ unt_file │
│          │        │          │          │       │       │         │ type.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/9 │        │          │          │       │       │ from    │ dthedocs │
│ aa7c7ee  │        │          │          │       │       │ file    │ .org/use │
│          │        │          │          │       │       │ path    │ r_builds │
│          │        │          │          │       │       │ when we │ /buildte │
│          │        │          │          │       │       │ have    │ st/check │
│          │        │          │          │       │       │ invalid │ outs/dev │
│          │        │          │          │       │       │ file    │ el/tutor │
│          │        │          │          │       │       │ path    │ ials/met │
│          │        │          │          │       │       │         │ rics/met │
│          │        │          │          │       │       │         │ rics_fil │
│          │        │          │          │       │       │         │ e_regex_ │
│          │        │          │          │       │       │         │ invalid_ │
│          │        │          │          │       │       │         │ file.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ csh_shel │ script │ generic. │ None     │ None  │ None  │ csh     │ /home/do │
│ l/e5c1e1 │        │ local.cs │          │       │       │ shell   │ cs/check │
│ 5e       │        │ h        │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/csh │
│          │        │          │          │       │       │         │ _shell_e │
│          │        │          │          │       │       │         │ xamples. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ post_run │ script │ generic. │ None     │ None  │ None  │ post    │ /home/do │
│ _example │        │ local.ba │          │       │       │ run     │ cs/check │
│ /8bafba1 │        │ sh       │          │       │       │ example │ outs/rea │
│ c        │        │          │          │       │       │ that    │ dthedocs │
│          │        │          │          │       │       │ will    │ .org/use │
│          │        │          │          │       │       │ remove  │ r_builds │
│          │        │          │          │       │       │ symboli │ /buildte │
│          │        │          │          │       │       │ c link  │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/pos │
│          │        │          │          │       │       │         │ t_run.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ sleep/cb │ script │ generic. │ None     │ None  │ None  │ sleep 2 │ /home/do │
│ 724b76   │        │ local.ba │          │       │       │ seconds │ cs/check │
│          │        │ sh       │          │       │       │         │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/sle │
│          │        │          │          │       │       │         │ ep.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calcula │ /home/do │
│ rea/468c │        │ local.ba │          │       │       │ te      │ cs/check │
│ d6d4     │        │ sh       │          │       │       │ circle  │ outs/rea │
│          │        │          │          │       │       │ of area │ dthedocs │
│          │        │          │          │       │       │ given a │ .org/use │
│          │        │          │          │       │       │ radius  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/pyt │
│          │        │          │          │       │       │         │ hon-shel │
│          │        │          │          │       │       │         │ l.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ contains │ script │ generic. │ None     │ None  │ None  │ Status  │ /home/do │
│ _and_not │        │ local.ba │          │       │       │ check   │ cs/check │
│ _contain │        │ sh       │          │       │       │ based   │ outs/rea │
│ s/9a4dc6 │        │          │          │       │       │ on      │ dthedocs │
│ 7b       │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ s and   │ r_builds │
│          │        │          │          │       │       │ not     │ /buildte │
│          │        │          │          │       │       │ contain │ st/check │
│          │        │          │          │       │       │ s where │ outs/dev │
│          │        │          │          │       │       │ test    │ el/tutor │
│          │        │          │          │       │       │ pass    │ ials/per │
│          │        │          │          │       │       │         │ f_checks │
│          │        │          │          │       │       │         │ /contain │
│          │        │          │          │       │       │         │ s.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_c │ script │ generic. │ None     │ None  │ None  │ Status  │ /home/do │
│ ontains_ │        │ local.ba │          │       │       │ check   │ cs/check │
│ fail/3ec │        │ sh       │          │       │       │ based   │ outs/rea │
│ a13b1    │        │          │          │       │       │ on      │ dthedocs │
│          │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ s where │ r_builds │
│          │        │          │          │       │       │ test    │ /buildte │
│          │        │          │          │       │       │ fails   │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/per │
│          │        │          │          │       │       │         │ f_checks │
│          │        │          │          │       │       │         │ /contain │
│          │        │          │          │       │       │         │ s.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ stream_o │ script │ generic. │ builtin_ │ None  │ None  │ STREAM  │ /home/do │
│ penmp_c/ │        │ local.ba │ gcc      │       │       │ Microbe │ cs/check │
│ 0e1a5eb7 │        │ sh       │          │       │       │ nchmark │ outs/rea │
│          │        │          │          │       │       │  C Test │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ OpenMP  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/com │
│          │        │          │          │       │       │         │ pilation │
│          │        │          │          │       │       │         │ /stream. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_env │ script │ generic. │ None     │ None  │ None  │ Declare │ /home/do │
│ _variabl │        │ local.ba │          │       │       │ environ │ cs/check │
│ es/1e5f5 │        │ sh       │          │       │       │ ment    │ outs/rea │
│ 562      │        │          │          │       │       │ variabl │ dthedocs │
│          │        │          │          │       │       │ es in   │ .org/use │
│          │        │          │          │       │       │ default │ r_builds │
│          │        │          │          │       │       │ shell   │ /buildte │
│          │        │          │          │       │       │ (bash)  │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/env │
│          │        │          │          │       │       │         │ ironment │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ csh_env_ │ script │ generic. │ None     │ None  │ None  │ csh     │ /home/do │
│ declarat │        │ local.cs │          │       │       │ shell   │ cs/check │
│ ion/8d82 │        │ h        │          │       │       │ example │ outs/rea │
│ 1907     │        │          │          │       │       │ to      │ dthedocs │
│          │        │          │          │       │       │ declare │ .org/use │
│          │        │          │          │       │       │ environ │ r_builds │
│          │        │          │          │       │       │ ment    │ /buildte │
│          │        │          │          │       │       │ variabl │ st/check │
│          │        │          │          │       │       │ es      │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/env │
│          │        │          │          │       │       │         │ ironment │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ tcsh_env │ script │ generic. │ None     │ None  │ None  │ tcsh    │ /home/do │
│ _declara │        │ local.cs │          │       │       │ shell   │ cs/check │
│ tion/057 │        │ h        │          │       │       │ example │ outs/rea │
│ d09c3    │        │          │          │       │       │ to      │ dthedocs │
│          │        │          │          │       │       │ declare │ .org/use │
│          │        │          │          │       │       │ environ │ r_builds │
│          │        │          │          │       │       │ ment    │ /buildte │
│          │        │          │          │       │       │ variabl │ st/check │
│          │        │          │          │       │       │ es      │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/env │
│          │        │          │          │       │       │         │ ironment │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_g │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ t_exampl │        │ local.ba │          │       │       │ stream  │ cs/check │
│ e/49684a │        │ sh       │          │       │       │ test    │ outs/rea │
│ e0       │        │          │          │       │       │ with    │ dthedocs │
│          │        │          │          │       │       │ metrics │ .org/use │
│          │        │          │          │       │       │ example │ r_builds │
│          │        │          │          │       │       │ using   │ /buildte │
│          │        │          │          │       │       │ assert  │ st/check │
│          │        │          │          │       │       │ greater │ outs/dev │
│          │        │          │          │       │       │ than.   │ el/tutor │
│          │        │          │          │       │       │         │ ials/per │
│          │        │          │          │       │       │         │ f_checks │
│          │        │          │          │       │       │         │ /assert_ │
│          │        │          │          │       │       │         │ gt.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello   │ /home/do │
│ ello/04c │        │ local.ba │          │       │       │ World   │ cs/check │
│ f8ec6    │        │ sh       │          │       │       │ python  │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/pyt │
│          │        │          │          │       │       │         │ hon-hell │
│          │        │          │          │       │       │         │ o.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_r │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ egex_exa │        │ local.ba │          │       │       │ result  │ cs/check │
│ mple/22f │        │ sh       │          │       │       │ metric  │ outs/rea │
│ a717c    │        │          │          │       │       │ from    │ dthedocs │
│          │        │          │          │       │       │ output  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/met │
│          │        │          │          │       │       │         │ rics/met │
│          │        │          │          │       │       │         │ rics_reg │
│          │        │          │          │       │       │         │ ex.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_f │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ ile_rege │        │ local.ba │          │       │       │ result  │ cs/check │
│ x/e49c7d │        │ sh       │          │       │       │ metric  │ outs/rea │
│ 88       │        │          │          │       │       │ from    │ dthedocs │
│          │        │          │          │       │       │ file    │ .org/use │
│          │        │          │          │       │       │ path    │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/met │
│          │        │          │          │       │       │         │ rics/met │
│          │        │          │          │       │       │         │ rics_reg │
│          │        │          │          │       │       │         │ ex.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ builtin_ │ None  │ None  │ Hello   │ /home/do │
│ rld_c_cp │        │ local.ba │ gcc      │       │       │ world   │ cs/check │
│ p/68f862 │        │ sh       │          │       │       │ compila │ outs/rea │
│ 82       │        │          │          │       │       │ tion in │ dthedocs │
│          │        │          │          │       │       │ C and   │ .org/use │
│          │        │          │          │       │       │ C++     │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/com │
│          │        │          │          │       │       │         │ pilation │
│          │        │          │          │       │       │         │ /hello_w │
│          │        │          │          │       │       │         │ orld_com │
│          │        │          │          │       │       │         │ pilation │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ add_numb │ script │ generic. │ None     │ None  │ None  │ Add X+Y │ /home/do │
│ ers/73e3 │        │ local.ba │          │       │       │         │ cs/check │
│ a5fe     │        │ sh       │          │       │       │         │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/add │
│          │        │          │          │       │       │         │ _numbers │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ runtime_ │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ test/95b │        │ local.ba │          │       │       │ test    │ cs/check │
│ f4555    │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ sleep 5 │ dthedocs │
│          │        │          │          │       │       │ second  │ .org/use │
│          │        │          │          │       │       │ but     │ r_builds │
│          │        │          │          │       │       │ will    │ /buildte │
│          │        │          │          │       │       │ fail    │ st/check │
│          │        │          │          │       │       │ due to  │ outs/dev │
│          │        │          │          │       │       │ runtime │ el/tutor │
│          │        │          │          │       │       │ 2sec    │ ials/job │
│          │        │          │          │       │       │         │ _depende │
│          │        │          │          │       │       │         │ ncy/ex4. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ runtime_ │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ test_pas │        │ local.ba │          │       │       │ test    │ cs/check │
│ s/64510c │        │ sh       │          │       │       │ will    │ outs/rea │
│ 0e       │        │          │          │       │       │ run     │ dthedocs │
│          │        │          │          │       │       │ when    │ .org/use │
│          │        │          │          │       │       │ runtime │ r_builds │
│          │        │          │          │       │       │ _test_p │ /buildte │
│          │        │          │          │       │       │ ass is  │ st/check │
│          │        │          │          │       │       │ PASS    │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/job │
│          │        │          │          │       │       │         │ _depende │
│          │        │          │          │       │       │         │ ncy/ex4. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ runtime_ │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ test_fai │        │ local.ba │          │       │       │ test    │ cs/check │
│ l/daa6fb │        │ sh       │          │       │       │ will    │ outs/rea │
│ 7a       │        │          │          │       │       │ run     │ dthedocs │
│          │        │          │          │       │       │ when    │ .org/use │
│          │        │          │          │       │       │ runtime │ r_builds │
│          │        │          │          │       │       │ _test_p │ /buildte │
│          │        │          │          │       │       │ ass is  │ st/check │
│          │        │          │          │       │       │ FAIL    │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/job │
│          │        │          │          │       │       │         │ _depende │
│          │        │          │          │       │       │         │ ncy/ex4. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ executor │ script │ generic. │ None     │ None  │ None  │ Declari │ /home/do │
│ s_sbatch │        │ local.ba │          │       │       │ ng env  │ cs/check │
│ _declara │        │ sh       │          │       │       │ and     │ outs/rea │
│ tion/d84 │        │          │          │       │       │ vars by │ dthedocs │
│ 654af    │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/mul │
│          │        │          │          │       │       │         │ ti_execu │
│          │        │          │          │       │       │         │ tors/exe │
│          │        │          │          │       │       │         │ cutor_sc │
│          │        │          │          │       │       │         │ heduler. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ executor │ script │ generic. │ None     │ None  │ None  │ Declari │ /home/do │
│ s_sbatch │        │ local.sh │          │       │       │ ng env  │ cs/check │
│ _declara │        │          │          │       │       │ and     │ outs/rea │
│ tion/8e2 │        │          │          │       │       │ vars by │ dthedocs │
│ 9eb07    │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/mul │
│          │        │          │          │       │       │         │ ti_execu │
│          │        │          │          │       │       │         │ tors/exe │
│          │        │          │          │       │       │         │ cutor_sc │
│          │        │          │          │       │       │         │ heduler. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ string_t │ script │ generic. │ None     │ None  │ None  │ tags    │ /home/do │
│ ag/bc050 │        │ local.ba │          │       │       │ can be  │ cs/check │
│ c85      │        │ sh       │          │       │       │ a       │ outs/rea │
│          │        │          │          │       │       │ string  │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tag │
│          │        │          │          │       │       │         │ s_exampl │
│          │        │          │          │       │       │         │ e.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ list_of_ │ script │ generic. │ None     │ None  │ None  │ tags    │ /home/do │
│ strings_ │        │ local.ba │          │       │       │ can be  │ cs/check │
│ tags/999 │        │ sh       │          │       │       │ a list  │ outs/rea │
│ 2aa96    │        │          │          │       │       │ of      │ dthedocs │
│          │        │          │          │       │       │ strings │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tag │
│          │        │          │          │       │       │         │ s_exampl │
│          │        │          │          │       │       │         │ e.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/9 │        │          │          │       │       │ path    │ r_builds │
│ 0584a28  │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/met │
│          │        │          │          │       │       │         │ rics/met │
│          │        │          │          │       │       │         │ rics_fil │
│          │        │          │          │       │       │         │ e_regex_ │
│          │        │          │          │       │       │         │ with_inv │
│          │        │          │          │       │       │         │ alid_lin │
│          │        │          │          │       │       │         │ enum.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ always_p │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ ass/9e09 │        │ local.sh │          │       │       │ test    │ cs/check │
│ ba62     │        │          │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ always  │ dthedocs │
│          │        │          │          │       │       │ 'PASS'  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /explici │
│          │        │          │          │       │       │         │ t_state. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ always_f │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ ail/1437 │        │ local.sh │          │       │       │ test    │ cs/check │
│ dc89     │        │          │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ always  │ dthedocs │
│          │        │          │          │       │       │ 'FAIL'  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /explici │
│          │        │          │          │       │       │         │ t_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/741eb │        │          │          │       │       │ 'FAIL'  │ dthedocs │
│ a05      │        │          │          │       │       │ even if │ .org/use │
│          │        │          │          │       │       │ we have │ r_builds │
│          │        │          │          │       │       │ returnc │ /buildte │
│          │        │          │          │       │       │ ode     │ st/check │
│          │        │          │          │       │       │ match   │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /explici │
│          │        │          │          │       │       │         │ t_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/d4 │        │          │          │       │       │ 'PASS'  │ dthedocs │
│ 45a173   │        │          │          │       │       │ even if │ .org/use │
│          │        │          │          │       │       │ we have │ r_builds │
│          │        │          │          │       │       │ returnc │ /buildte │
│          │        │          │          │       │       │ ode     │ st/check │
│          │        │          │          │       │       │ mismatc │ outs/dev │
│          │        │          │          │       │       │ h       │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /explici │
│          │        │          │          │       │       │         │ t_state. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ containe │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ r_comman │        │ local.ba │          │       │       │ arbitra │ cs/check │
│ ds_ubunt │        │ sh       │          │       │       │ ry      │ outs/rea │
│ u/75ce8b │        │          │          │       │       │ linux   │ dthedocs │
│ 9d       │        │          │          │       │       │ command │ .org/use │
│          │        │          │          │       │       │ s in    │ r_builds │
│          │        │          │          │       │       │ ubuntu  │ /buildte │
│          │        │          │          │       │       │ contain │ st/check │
│          │        │          │          │       │       │ er      │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/con │
│          │        │          │          │       │       │         │ tainers/ │
│          │        │          │          │       │       │         │ run_comm │
│          │        │          │          │       │       │         │ ands.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ containe │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ r_option │        │ local.ba │          │       │       │ arbitra │ cs/check │
│ s/cd3275 │        │ sh       │          │       │       │ ry      │ outs/rea │
│ e5       │        │          │          │       │       │ linux   │ dthedocs │
│          │        │          │          │       │       │ command │ .org/use │
│          │        │          │          │       │       │ s in    │ r_builds │
│          │        │          │          │       │       │ ubuntu  │ /buildte │
│          │        │          │          │       │       │ contain │ st/check │
│          │        │          │          │       │       │ er      │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/con │
│          │        │          │          │       │       │         │ tainers/ │
│          │        │          │          │       │       │         │ run_comm │
│          │        │          │          │       │       │         │ ands.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ pass_tes │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t/6e1f37 │        │ local.ba │          │       │       │ test    │ cs/check │
│ c3       │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ always  │ dthedocs │
│          │        │          │          │       │       │ pass    │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/job │
│          │        │          │          │       │       │         │ _depende │
│          │        │          │          │       │       │         │ ncy/ex3. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ fail_tes │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t/70ee41 │        │ local.ba │          │       │       │ test    │ cs/check │
│ 84       │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ run if  │ dthedocs │
│          │        │          │          │       │       │ test    │ .org/use │
│          │        │          │          │       │       │ 'pass_t │ r_builds │
│          │        │          │          │       │       │ est' is │ /buildte │
│          │        │          │          │       │       │ in      │ st/check │
│          │        │          │          │       │       │ state   │ outs/dev │
│          │        │          │          │       │       │ 'PASS'  │ el/tutor │
│          │        │          │          │       │       │         │ ials/job │
│          │        │          │          │       │       │         │ _depende │
│          │        │          │          │       │       │         │ ncy/ex3. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ pass_and │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ _fail_te │        │ local.ba │          │       │       │ test    │ cs/check │
│ st/1294e │        │ sh       │          │       │       │ will    │ outs/rea │
│ 94f      │        │          │          │       │       │ run if  │ dthedocs │
│          │        │          │          │       │       │ pass_te │ .org/use │
│          │        │          │          │       │       │ st is   │ r_builds │
│          │        │          │          │       │       │ 'PASS'  │ /buildte │
│          │        │          │          │       │       │ and     │ st/check │
│          │        │          │          │       │       │ fail_te │ outs/dev │
│          │        │          │          │       │       │ st is   │ el/tutor │
│          │        │          │          │       │       │ 'FAIL'  │ ials/job │
│          │        │          │          │       │       │         │ _depende │
│          │        │          │          │       │       │         │ ncy/ex3. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ final_te │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ st/bf491 │        │ local.ba │          │       │       │ will    │ cs/check │
│ 933      │        │ sh       │          │       │       │ run     │ outs/rea │
│          │        │          │          │       │       │ after   │ dthedocs │
│          │        │          │          │       │       │ 'pass_t │ .org/use │
│          │        │          │          │       │       │ est',   │ r_builds │
│          │        │          │          │       │       │ 'fail_t │ /buildte │
│          │        │          │          │       │       │ est',   │ st/check │
│          │        │          │          │       │       │ and     │ outs/dev │
│          │        │          │          │       │       │ 'pass_a │ el/tutor │
│          │        │          │          │       │       │ nd_fail │ ials/job │
│          │        │          │          │       │       │ _test'  │ _depende │
│          │        │          │          │       │       │         │ ncy/ex3. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ symlink_ │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ test/ccf │        │ local.ba │          │       │       │ check   │ cs/check │
│ 2898e    │        │ sh       │          │       │       │ based   │ outs/rea │
│          │        │          │          │       │       │ on      │ dthedocs │
│          │        │          │          │       │       │ symboli │ .org/use │
│          │        │          │          │       │       │ c link  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /is_syml │
│          │        │          │          │       │       │         │ ink.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ summary_ │ script │ generic. │ None     │ None  │ None  │ The     │ /home/do │
│ example/ │        │ local.ba │          │       │       │ summary │ cs/check │
│ f0a58fce │        │ sh       │          │       │       │ field   │ outs/rea │
│          │        │          │          │       │       │ can be  │ dthedocs │
│          │        │          │          │       │       │ a       │ .org/use │
│          │        │          │          │       │       │ multi-l │ r_builds │
│          │        │          │          │       │       │ ine     │ /buildte │
│          │        │          │          │       │       │ string  │ st/check │
│          │        │          │          │       │       │ and     │ outs/dev │
│          │        │          │          │       │       │ exceed  │ el/tutor │
│          │        │          │          │       │       │ 80 char │ ials/sum │
│          │        │          │          │       │       │         │ mary_exa │
│          │        │          │          │       │       │         │ mple.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_log │ script │ generic. │ None     │ None  │ None  │ customi │ /home/do │
│ in_sheba │        │ local.ba │          │       │       │ ze      │ cs/check │
│ ng/d4e67 │        │ sh       │          │       │       │ shebang │ outs/rea │
│ 9f2      │        │          │          │       │       │ line    │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ bash    │ r_builds │
│          │        │          │          │       │       │ login   │ /buildte │
│          │        │          │          │       │       │ shell   │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/she │
│          │        │          │          │       │       │         │ bang.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_non │ script │ generic. │ None     │ None  │ None  │ customi │ /home/do │
│ login_sh │        │ local.ba │          │       │       │ ze      │ cs/check │
│ ebang/c5 │        │ sh       │          │       │       │ shebang │ outs/rea │
│ 4f58c3   │        │          │          │       │       │ line    │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ default │ r_builds │
│          │        │          │          │       │       │ bash    │ /buildte │
│          │        │          │          │       │       │ (nonlog │ st/check │
│          │        │          │          │       │       │ in)     │ outs/dev │
│          │        │          │          │       │       │ shell   │ el/tutor │
│          │        │          │          │       │       │         │ ials/she │
│          │        │          │          │       │       │         │ bang.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_l │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ t_exampl │        │ local.ba │          │       │       │ stream  │ cs/check │
│ e/f735c7 │        │ sh       │          │       │       │ test    │ outs/rea │
│ d7       │        │          │          │       │       │ with    │ dthedocs │
│          │        │          │          │       │       │ metrics │ .org/use │
│          │        │          │          │       │       │ example │ r_builds │
│          │        │          │          │       │       │ using   │ /buildte │
│          │        │          │          │       │       │ assert  │ st/check │
│          │        │          │          │       │       │ less    │ outs/dev │
│          │        │          │          │       │       │ than    │ el/tutor │
│          │        │          │          │       │       │         │ ials/per │
│          │        │          │          │       │       │         │ f_checks │
│          │        │          │          │       │       │         │ /assert_ │
│          │        │          │          │       │       │         │ lt.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ linux_st │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ rict_tes │        │ local.ba │          │       │       │ example │ cs/check │
│ t/d151f7 │        │ sh       │          │       │       │ test    │ outs/rea │
│ 2e       │        │          │          │       │       │ will    │ dthedocs │
│          │        │          │          │       │       │ show    │ .org/use │
│          │        │          │          │       │       │ how     │ r_builds │
│          │        │          │          │       │       │ returnc │ /buildte │
│          │        │          │          │       │       │ ode     │ st/check │
│          │        │          │          │       │       │ will    │ outs/dev │
│          │        │          │          │       │       │ change  │ el/tutor │
│          │        │          │          │       │       │ when    │ ials/str │
│          │        │          │          │       │       │ using   │ ict_exam │
│          │        │          │          │       │       │ --stric │ ple.yml  │
│          │        │          │          │       │       │ t flag  │          │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_and │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ _dir_che │        │ local.ba │          │       │       │ check   │ cs/check │
│ cks/c8f8 │        │ sh       │          │       │       │ for     │ outs/rea │
│ d6bd     │        │          │          │       │       │ files   │ dthedocs │
│          │        │          │          │       │       │ and     │ .org/use │
│          │        │          │          │       │       │ directo │ r_builds │
│          │        │          │          │       │       │ ries    │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /file_an │
│          │        │          │          │       │       │         │ d_dir_ch │
│          │        │          │          │       │       │         │ eck.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/8e4 │        │          │          │       │       │ files   │ dthedocs │
│ 757de    │        │          │          │       │       │ and     │ .org/use │
│          │        │          │          │       │       │ directo │ r_builds │
│          │        │          │          │       │       │ ries    │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /file_an │
│          │        │          │          │       │       │         │ d_dir_ch │
│          │        │          │          │       │       │         │ eck.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/b │        │          │          │       │       │ executo │ dthedocs │
│ c0d2dd8  │        │          │          │       │       │ r type. │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/mul │
│          │        │          │          │       │       │         │ ti_execu │
│          │        │          │          │       │       │         │ tors/sta │
│          │        │          │          │       │       │         │ tus_by_e │
│          │        │          │          │       │       │         │ xecutors │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ define  │ /home/do │
│ eturncod │        │ local.sh │          │       │       │ status  │ cs/check │
│ e_by_exe │        │          │          │       │       │ per     │ outs/rea │
│ cutors/a │        │          │          │       │       │ executo │ dthedocs │
│ c8f6f51  │        │          │          │       │       │ r type. │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/mul │
│          │        │          │          │       │       │         │ ti_execu │
│          │        │          │          │       │       │         │ tors/sta │
│          │        │          │          │       │       │         │ tus_by_e │
│          │        │          │          │       │       │         │ xecutors │
│          │        │          │          │       │       │         │ .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 │
│ d5a64b97 │        │          │          │       │       │ in      │ dthedocs │
│          │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ er      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/con │
│          │        │          │          │       │       │         │ tainers/ │
│          │        │          │          │       │       │         │ bind_mou │
│          │        │          │          │       │       │         │ nts.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_l │ script │ generic. │ None     │ None  │ None  │ Using   │ /home/do │
│ ogical_a │        │ local.ba │          │       │       │ logical │ cs/check │
│ nd/a4de4 │        │ sh       │          │       │       │ AND to  │ outs/rea │
│ 182      │        │          │          │       │       │ check   │ dthedocs │
│          │        │          │          │       │       │ status  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /mode.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_l │ script │ generic. │ None     │ None  │ None  │ Using   │ /home/do │
│ ogical_o │        │ local.ba │          │       │       │ logical │ cs/check │
│ r/72cd02 │        │ sh       │          │       │       │ OR to   │ outs/rea │
│ 47       │        │          │          │       │       │ check   │ dthedocs │
│          │        │          │          │       │       │ status  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /mode.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ file    │ /home/do │
│ nt_by_ex │        │ local.ba │          │       │       │ count   │ cs/check │
│ pression │        │ sh       │          │       │       │ by      │ outs/rea │
│ /22b5fde │        │          │          │       │       │ express │ dthedocs │
│ 2        │        │          │          │       │       │ ion     │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /file_co │
│          │        │          │          │       │       │         │ unt_patt │
│          │        │          │          │       │       │         │ ern.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/b │        │          │          │       │       │ extensi │ dthedocs │
│ 05df75e  │        │          │          │       │       │ on and  │ .org/use │
│          │        │          │          │       │       │ file    │ r_builds │
│          │        │          │          │       │       │ pattern │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /file_co │
│          │        │          │          │       │       │         │ unt_patt │
│          │        │          │          │       │       │         │ ern.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_l │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ e_exampl │        │ local.ba │          │       │       │ stream  │ cs/check │
│ e/29ff18 │        │ sh       │          │       │       │ test    │ outs/rea │
│ b8       │        │          │          │       │       │ with    │ dthedocs │
│          │        │          │          │       │       │ metrics │ .org/use │
│          │        │          │          │       │       │ example │ r_builds │
│          │        │          │          │       │       │ using   │ /buildte │
│          │        │          │          │       │       │ assert  │ st/check │
│          │        │          │          │       │       │ less    │ outs/dev │
│          │        │          │          │       │       │ than    │ el/tutor │
│          │        │          │          │       │       │ equal   │ ials/per │
│          │        │          │          │       │       │         │ f_checks │
│          │        │          │          │       │       │         │ /assert_ │
│          │        │          │          │       │       │         │ le.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 │
│ 8985260b │        │          │          │       │       │ in      │ dthedocs │
│          │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ er      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/con │
│          │        │          │          │       │       │         │ tainers/ │
│          │        │          │          │       │       │         │ run_scri │
│          │        │          │          │       │       │         │ pt.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/cff │        │          │          │       │       │ differe │ dthedocs │
│ f5c1c    │        │          │          │       │       │ nt      │ .org/use │
│          │        │          │          │       │       │ regex   │ r_builds │
│          │        │          │          │       │       │ types   │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/met │
│          │        │          │          │       │       │         │ rics/met │
│          │        │          │          │       │       │         │ rics_wit │
│          │        │          │          │       │       │         │ h_regex_ │
│          │        │          │          │       │       │         │ type.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1  │ /home/do │
│ il/2c5f7 │        │ local.ba │          │       │       │ by      │ cs/check │
│ bd9      │        │ sh       │          │       │       │ default │ outs/rea │
│          │        │          │          │       │       │ is FAIL │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /pass_re │
│          │        │          │          │       │       │         │ turncode │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report  │ /home/do │
│ ss/99955 │        │ local.ba │          │       │       │ exit 1  │ cs/check │
│ 566      │        │ sh       │          │       │       │ as PASS │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /pass_re │
│          │        │          │          │       │       │         │ turncode │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2  │ /home/do │
│ de_list_ │        │ local.ba │          │       │       │ failed  │ cs/check │
│ mismatch │        │ sh       │          │       │       │ since   │ outs/rea │
│ /ee5515f │        │          │          │       │       │ it      │ dthedocs │
│ 1        │        │          │          │       │       │ failed  │ .org/use │
│          │        │          │          │       │       │ to      │ r_builds │
│          │        │          │          │       │       │ match   │ /buildte │
│          │        │          │          │       │       │ returnc │ st/check │
│          │        │          │          │       │       │ ode 1   │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /pass_re │
│          │        │          │          │       │       │         │ turncode │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit    │ /home/do │
│ de_int_m │        │ local.ba │          │       │       │ 128     │ cs/check │
│ atch/1fb │        │ sh       │          │       │       │ matches │ outs/rea │
│ 6cdc9    │        │          │          │       │       │ returnc │ dthedocs │
│          │        │          │          │       │       │ ode 128 │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /pass_re │
│          │        │          │          │       │       │         │ turncode │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_e │ script │ generic. │ None     │ None  │ None  │ An      │ /home/do │
│ q_invali │        │ local.ba │          │       │       │ invalid │ cs/check │
│ d_metric │        │ sh       │          │       │       │ metric  │ outs/rea │
│ /2bd5d7b │        │          │          │       │       │ name    │ dthedocs │
│ e        │        │          │          │       │       │ will    │ .org/use │
│          │        │          │          │       │       │ cause   │ r_builds │
│          │        │          │          │       │       │ failure │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/per │
│          │        │          │          │       │       │         │ f_checks │
│          │        │          │          │       │       │         │ /assert_ │
│          │        │          │          │       │       │         │ eq_excep │
│          │        │          │          │       │       │         │ tions.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_e │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ q_mismat │        │ local.ba │          │       │       │ test    │ cs/check │
│ ch/f1433 │        │ sh       │          │       │       │ will    │ outs/rea │
│ 668      │        │          │          │       │       │ fail    │ dthedocs │
│          │        │          │          │       │       │ because │ .org/use │
│          │        │          │          │       │       │ there   │ r_builds │
│          │        │          │          │       │       │ is a    │ /buildte │
│          │        │          │          │       │       │ mismatc │ st/check │
│          │        │          │          │       │       │ h in    │ outs/dev │
│          │        │          │          │       │       │ metric  │ el/tutor │
│          │        │          │          │       │       │ x       │ ials/per │
│          │        │          │          │       │       │ assert  │ f_checks │
│          │        │          │          │       │       │ equalit │ /assert_ │
│          │        │          │          │       │       │ y       │ eq_excep │
│          │        │          │          │       │       │         │ tions.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_tra │ script │ generic. │ None     │ None  │ None  │ Use of  │ /home/do │
│ verse_li │        │ local.ba │          │       │       │ file_tr │ cs/check │
│ mit/0e5e │        │ sh       │          │       │       │ averse_ │ outs/rea │
│ bc05     │        │          │          │       │       │ limit   │ dthedocs │
│          │        │          │          │       │       │ to      │ .org/use │
│          │        │          │          │       │       │ limit   │ r_builds │
│          │        │          │          │       │       │ number  │ /buildte │
│          │        │          │          │       │       │ of      │ st/check │
│          │        │          │          │       │       │ files   │ outs/dev │
│          │        │          │          │       │       │ searche │ el/tutor │
│          │        │          │          │       │       │ d in a  │ ials/tes │
│          │        │          │          │       │       │ directo │ t_status │
│          │        │          │          │       │       │ ry      │ /file_co │
│          │        │          │          │       │       │         │ unt_file │
│          │        │          │          │       │       │         │ _travers │
│          │        │          │          │       │       │         │ e_limit. │
│          │        │          │          │       │       │         │ 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/9 │        │          │          │       │       │ vars by │ dthedocs │
│ 4cf1cc6  │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/mul │
│          │        │          │          │       │       │         │ ti_execu │
│          │        │          │          │       │       │         │ tors/exe │
│          │        │          │          │       │       │         │ cutors_v │
│          │        │          │          │       │       │         │ ar_env_d │
│          │        │          │          │       │       │         │ eclarati │
│          │        │          │          │       │       │         │ on.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/6 │        │          │          │       │       │ vars by │ dthedocs │
│ 0d8bc4f  │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/mul │
│          │        │          │          │       │       │         │ ti_execu │
│          │        │          │          │       │       │         │ tors/exe │
│          │        │          │          │       │       │         │ cutors_v │
│          │        │          │          │       │       │         │ ar_env_d │
│          │        │          │          │       │       │         │ eclarati │
│          │        │          │          │       │       │         │ on.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/9c │        │          │          │       │       │ for     │ dthedocs │
│ d74c1a   │        │          │          │       │       │ multipl │ .org/use │
│          │        │          │          │       │       │ e       │ r_builds │
│          │        │          │          │       │       │ executo │ /buildte │
│          │        │          │          │       │       │ rs      │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/bur │
│          │        │          │          │       │       │         │ stbuffer │
│          │        │          │          │       │       │         │ _datawar │
│          │        │          │          │       │       │         │ p_execut │
│          │        │          │          │       │       │         │ ors.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/ff │        │          │          │       │       │ for     │ dthedocs │
│ 9deed9   │        │          │          │       │       │ multipl │ .org/use │
│          │        │          │          │       │       │ e       │ r_builds │
│          │        │          │          │       │       │ executo │ /buildte │
│          │        │          │          │       │       │ rs      │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/bur │
│          │        │          │          │       │       │         │ stbuffer │
│          │        │          │          │       │       │         │ _datawar │
│          │        │          │          │       │       │         │ p_execut │
│          │        │          │          │       │       │         │ ors.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ rld_sing │        │ local.ba │          │       │       │ hello-w │ cs/check │
│ ularity/ │        │ sh       │          │       │       │ orld    │ outs/rea │
│ 3627c397 │        │          │          │       │       │ contain │ dthedocs │
│          │        │          │          │       │       │ er      │ .org/use │
│          │        │          │          │       │       │ using   │ r_builds │
│          │        │          │          │       │       │ singula │ /buildte │
│          │        │          │          │       │       │ rity    │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/con │
│          │        │          │          │       │       │         │ tainers/ │
│          │        │          │          │       │       │         │ hello_wo │
│          │        │          │          │       │       │         │ rld_sing │
│          │        │          │          │       │       │         │ ularity. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_f │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ ile_rege │        │ local.ba │          │       │       │ result  │ cs/check │
│ x_with_l │        │ sh       │          │       │       │ metric  │ outs/rea │
│ inenum_e │        │          │          │       │       │ from    │ dthedocs │
│ xample/6 │        │          │          │       │       │ file    │ .org/use │
│ a0e596a  │        │          │          │       │       │ path    │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/met │
│          │        │          │          │       │       │         │ rics/met │
│          │        │          │          │       │       │         │ rics_fil │
│          │        │          │          │       │       │         │ e_regex_ │
│          │        │          │          │       │       │         │ with_lin │
│          │        │          │          │       │       │         │ enum.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ out_pass │        │ sh       │          │       │       │ based   │ outs/rea │
│ /821590a │        │          │          │       │       │ on      │ dthedocs │
│ e        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /status_ │
│          │        │          │          │       │       │         │ regex.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ out_fail │        │ sh       │          │       │       │ based   │ outs/rea │
│ /762ce40 │        │          │          │       │       │ on      │ dthedocs │
│ 9        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /status_ │
│          │        │          │          │       │       │         │ regex.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ err_pass │        │ sh       │          │       │       │ based   │ outs/rea │
│ /34156c1 │        │          │          │       │       │ on      │ dthedocs │
│ 2        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /status_ │
│          │        │          │          │       │       │         │ regex.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ err_fail │        │ sh       │          │       │       │ based   │ outs/rea │
│ /c21e2d5 │        │          │          │       │       │ on      │ dthedocs │
│ 1        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /status_ │
│          │        │          │          │       │       │         │ regex.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_n │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ e_exampl │        │ local.ba │          │       │       │ for     │ cs/check │
│ e/0f4d46 │        │ sh       │          │       │       │ assert  │ outs/rea │
│ d6       │        │          │          │       │       │ not     │ dthedocs │
│          │        │          │          │       │       │ equal   │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/per │
│          │        │          │          │       │       │         │ f_checks │
│          │        │          │          │       │       │         │ /assert_ │
│          │        │          │          │       │       │         │ ne.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ regex_on │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ _multipl │        │ local.ba │          │       │       │ regex   │ cs/check │
│ e_files/ │        │ sh       │          │       │       │ on      │ outs/rea │
│ d17c6cc8 │        │          │          │       │       │ multipl │ dthedocs │
│          │        │          │          │       │       │ e files │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /regex_o │
│          │        │          │          │       │       │         │ n_filena │
│          │        │          │          │       │       │         │ me.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 │
│ /287e0e0 │        │          │          │       │       │ ry is   │ .org/use │
│ d        │        │          │          │       │       │ not     │ r_builds │
│          │        │          │          │       │       │ support │ /buildte │
│          │        │          │          │       │       │ ed      │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /regex_o │
│          │        │          │          │       │       │         │ n_filena │
│          │        │          │          │       │       │         │ me.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_exp │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ ansion_s │        │ local.ba │          │       │       │ regex   │ cs/check │
│ upported │        │ sh       │          │       │       │ with    │ outs/rea │
│ /1855f13 │        │          │          │       │       │ variabl │ dthedocs │
│ 3        │        │          │          │       │       │ e and   │ .org/use │
│          │        │          │          │       │       │ shell   │ r_builds │
│          │        │          │          │       │       │ expansi │ /buildte │
│          │        │          │          │       │       │ on      │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /regex_o │
│          │        │          │          │       │       │         │ n_filena │
│          │        │          │          │       │       │         │ me.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ linecoun │ script │ generic. │ None     │ None  │ None  │ Write   │ /home/do │
│ t_stdout │        │ local.ba │          │       │       │ 10      │ cs/check │
│ /032db3d │        │ sh       │          │       │       │ lines   │ outs/rea │
│ 9        │        │          │          │       │       │ to      │ dthedocs │
│          │        │          │          │       │       │ stdout  │ .org/use │
│          │        │          │          │       │       │ and run │ r_builds │
│          │        │          │          │       │       │ linecou │ /buildte │
│          │        │          │          │       │       │ nt      │ st/check │
│          │        │          │          │       │       │ check   │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /linecou │
│          │        │          │          │       │       │         │ nt.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ linecoun │ script │ generic. │ None     │ None  │ None  │ Write   │ /home/do │
│ t_stderr │        │ local.ba │          │       │       │ 10      │ cs/check │
│ _mismatc │        │ sh       │          │       │       │ lines   │ outs/rea │
│ h/c10d4b │        │          │          │       │       │ to      │ dthedocs │
│ 2a       │        │          │          │       │       │ stderr  │ .org/use │
│          │        │          │          │       │       │ and run │ r_builds │
│          │        │          │          │       │       │ linecou │ /buildte │
│          │        │          │          │       │       │ nt      │ st/check │
│          │        │          │          │       │       │ check   │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /linecou │
│          │        │          │          │       │       │         │ nt.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_lin │ script │ generic. │ None     │ None  │ None  │ Perform │ /home/do │
│ ecount/6 │        │ local.ba │          │       │       │ linecou │ cs/check │
│ cd5800a  │        │ sh       │          │       │       │ nt      │ outs/rea │
│          │        │          │          │       │       │ compari │ dthedocs │
│          │        │          │          │       │       │ son on  │ .org/use │
│          │        │          │          │       │       │ files   │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /file_li │
│          │        │          │          │       │       │         │ necount. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ Run a   │ /home/do │
│ t_min_ma │        │ local.sh │          │       │       │ sleep   │ cs/check │
│ x/f873f8 │        │          │          │       │       │ job for │ outs/rea │
│ 2f       │        │          │          │       │       │ 2       │ dthedocs │
│          │        │          │          │       │       │ seconds │ .org/use │
│          │        │          │          │       │       │ and     │ r_builds │
│          │        │          │          │       │       │ test    │ /buildte │
│          │        │          │          │       │       │ pass if │ st/check │
│          │        │          │          │       │       │ its     │ outs/dev │
│          │        │          │          │       │       │ within  │ el/tutor │
│          │        │          │          │       │       │ 1.0-3.0 │ ials/tes │
│          │        │          │          │       │       │ sec     │ t_status │
│          │        │          │          │       │       │         │ /runtime │
│          │        │          │          │       │       │         │ _status_ │
│          │        │          │          │       │       │         │ test.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ Run a   │ /home/do │
│ t_min/f4 │        │ local.sh │          │       │       │ sleep   │ cs/check │
│ bdf28e   │        │          │          │       │       │ job for │ outs/rea │
│          │        │          │          │       │       │ 2       │ dthedocs │
│          │        │          │          │       │       │ seconds │ .org/use │
│          │        │          │          │       │       │ and     │ r_builds │
│          │        │          │          │       │       │ test    │ /buildte │
│          │        │          │          │       │       │ pass if │ st/check │
│          │        │          │          │       │       │ its     │ outs/dev │
│          │        │          │          │       │       │ exceeds │ el/tutor │
│          │        │          │          │       │       │ min     │ ials/tes │
│          │        │          │          │       │       │ time of │ t_status │
│          │        │          │          │       │       │ 1.0 sec │ /runtime │
│          │        │          │          │       │       │         │ _status_ │
│          │        │          │          │       │       │         │ test.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ Run a   │ /home/do │
│ t_max/f5 │        │ local.sh │          │       │       │ sleep   │ cs/check │
│ acb6da   │        │          │          │       │       │ job for │ outs/rea │
│          │        │          │          │       │       │ 2       │ dthedocs │
│          │        │          │          │       │       │ seconds │ .org/use │
│          │        │          │          │       │       │ and     │ r_builds │
│          │        │          │          │       │       │ test    │ /buildte │
│          │        │          │          │       │       │ pass if │ st/check │
│          │        │          │          │       │       │ it's    │ outs/dev │
│          │        │          │          │       │       │ within  │ el/tutor │
│          │        │          │          │       │       │ max     │ ials/tes │
│          │        │          │          │       │       │ time:   │ t_status │
│          │        │          │          │       │       │ 5.0 sec │ /runtime │
│          │        │          │          │       │       │         │ _status_ │
│          │        │          │          │       │       │         │ test.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t_min_fa │        │ local.sh │          │       │       │ test    │ cs/check │
│ il/96326 │        │          │          │       │       │ fails   │ outs/rea │
│ 761      │        │          │          │       │       │ because │ dthedocs │
│          │        │          │          │       │       │ it runs │ .org/use │
│          │        │          │          │       │       │ less    │ r_builds │
│          │        │          │          │       │       │ than    │ /buildte │
│          │        │          │          │       │       │ mintime │ st/check │
│          │        │          │          │       │       │ of 10   │ outs/dev │
│          │        │          │          │       │       │ second  │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /runtime │
│          │        │          │          │       │       │         │ _status_ │
│          │        │          │          │       │       │         │ test.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t_max_fa │        │ local.sh │          │       │       │ test    │ cs/check │
│ il/03614 │        │          │          │       │       │ fails   │ outs/rea │
│ 94f      │        │          │          │       │       │ because │ dthedocs │
│          │        │          │          │       │       │ it      │ .org/use │
│          │        │          │          │       │       │ exceeds │ r_builds │
│          │        │          │          │       │       │ maxtime │ /buildte │
│          │        │          │          │       │       │ of 1.0  │ st/check │
│          │        │          │          │       │       │ second  │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /runtime │
│          │        │          │          │       │       │         │ _status_ │
│          │        │          │          │       │       │         │ test.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/0f7 │        │          │          │       │       │ in      │ .org/use │
│ a9d76    │        │          │          │       │       │ failure │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/met │
│          │        │          │          │       │       │         │ rics/met │
│          │        │          │          │       │       │         │ rics_reg │
│          │        │          │          │       │       │         │ ex_with_ │
│          │        │          │          │       │       │         │ invalid_ │
│          │        │          │          │       │       │         │ linenum. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ stream_t │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ est/3388 │        │ local.ba │          │       │       │ stream  │ cs/check │
│ b639     │        │ sh       │          │       │       │ test    │ outs/rea │
│          │        │          │          │       │       │ with    │ dthedocs │
│          │        │          │          │       │       │ metrics │ .org/use │
│          │        │          │          │       │       │ example │ r_builds │
│          │        │          │          │       │       │ using   │ /buildte │
│          │        │          │          │       │       │ assert  │ st/check │
│          │        │          │          │       │       │ greater │ outs/dev │
│          │        │          │          │       │       │ equal   │ el/tutor │
│          │        │          │          │       │       │         │ ials/per │
│          │        │          │          │       │       │         │ f_checks │
│          │        │          │          │       │       │         │ /assert_ │
│          │        │          │          │       │       │         │ ge.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ foo_bar/ │ script │ generic. │ None     │ None  │ None  │ prints  │ /home/do │
│ b22000b5 │        │ local.sh │          │       │       │ variabl │ cs/check │
│          │        │          │          │       │       │ e $FOO  │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/mai │
│          │        │          │          │       │       │         │ ntainers │
│          │        │          │          │       │       │         │ _example │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ _bin_sh_ │ script │ generic. │ None     │ None  │ None  │ /bin/sh │ /home/do │
│ shell/a0 │        │ local.sh │          │       │       │ shell   │ cs/check │
│ 42c30c   │        │          │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/she │
│          │        │          │          │       │       │         │ ll_examp │
│          │        │          │          │       │       │         │ les.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ _bin_bas │ script │ generic. │ None     │ None  │ None  │ /bin/ba │ /home/do │
│ h_shell/ │        │ local.ba │          │       │       │ sh      │ cs/check │
│ 1b4fc3a8 │        │ sh       │          │       │       │ shell   │ outs/rea │
│          │        │          │          │       │       │ example │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/she │
│          │        │          │          │       │       │         │ ll_examp │
│          │        │          │          │       │       │         │ les.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_she │ script │ generic. │ None     │ None  │ None  │ bash    │ /home/do │
│ ll/d0ee3 │        │ local.ba │          │       │       │ shell   │ cs/check │
│ ac7      │        │ sh       │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/she │
│          │        │          │          │       │       │         │ ll_examp │
│          │        │          │          │       │       │         │ les.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ sh_shell │ script │ generic. │ None     │ None  │ None  │ sh      │ /home/do │
│ /ebfe0e8 │        │ local.sh │          │       │       │ shell   │ cs/check │
│ 5        │        │          │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/she │
│          │        │          │          │       │       │         │ ll_examp │
│          │        │          │          │       │       │         │ les.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ shell_op │ script │ generic. │ None     │ None  │ None  │ shell   │ /home/do │
│ tions/7e │        │ local.sh │          │       │       │ options │ cs/check │
│ 1cf78f   │        │          │          │       │       │         │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/she │
│          │        │          │          │       │       │         │ ll_examp │
│          │        │          │          │       │       │         │ les.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_r │ script │ generic. │ None     │ None  │ None  │ Example │ /home/do │
│ ange_ex/ │        │ local.ba │          │       │       │ on      │ cs/check │
│ 40be8f41 │        │ sh       │          │       │       │ assert_ │ outs/rea │
│          │        │          │          │       │       │ range   │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/per │
│          │        │          │          │       │       │         │ f_checks │
│          │        │          │          │       │       │         │ /assert_ │
│          │        │          │          │       │       │         │ range.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_e │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ q_exampl │        │ local.ba │          │       │       │ for     │ cs/check │
│ e/ffe663 │        │ sh       │          │       │       │ assert  │ outs/rea │
│ a1       │        │          │          │       │       │ equalit │ dthedocs │
│          │        │          │          │       │       │ y       │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/per │
│          │        │          │          │       │       │         │ f_checks │
│          │        │          │          │       │       │         │ /assert_ │
│          │        │          │          │       │       │         │ eq.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello   │ /home/do │
│ rld/a8ba │        │ local.ba │          │       │       │ world   │ cs/check │
│ 7b60     │        │ sh       │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/hel │
│          │        │          │          │       │       │         │ lo_world │
│          │        │          │          │       │       │         │ .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/3f5dd9 │        │          │          │       │       │ output  │ .org/use │
│ 18       │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/met │
│          │        │          │          │       │       │         │ rics/met │
│          │        │          │          │       │       │         │ rics_reg │
│          │        │          │          │       │       │         │ ex_with_ │
│          │        │          │          │       │       │         │ linenum. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ jobA/398 │ script │ generic. │ None     │ None  │ None  │ no job  │ /home/do │
│ 60c05    │        │ local.ba │          │       │       │ depende │ cs/check │
│          │        │ sh       │          │       │       │ ncy     │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/job │
│          │        │          │          │       │       │         │ _depende │
│          │        │          │          │       │       │         │ ncy/ex1. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ jobB/259 │ script │ generic. │ None     │ None  │ None  │ job     │ /home/do │
│ 30787    │        │ local.ba │          │       │       │ depende │ cs/check │
│          │        │ sh       │          │       │       │ ncy on  │ outs/rea │
│          │        │          │          │       │       │ jobA    │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/job │
│          │        │          │          │       │       │         │ _depende │
│          │        │          │          │       │       │         │ ncy/ex1. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ jobC/90f │ script │ generic. │ None     │ None  │ None  │ job     │ /home/do │
│ 918e9    │        │ local.ba │          │       │       │ depende │ cs/check │
│          │        │ sh       │          │       │       │ ncy on  │ outs/rea │
│          │        │          │          │       │       │ jobA    │ dthedocs │
│          │        │          │          │       │       │ and     │ .org/use │
│          │        │          │          │       │       │ jobB    │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/job │
│          │        │          │          │       │       │         │ _depende │
│          │        │          │          │       │       │         │ ncy/ex1. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ rld_dock │        │ local.ba │          │       │       │ hello-w │ cs/check │
│ er/455cd │        │ sh       │          │       │       │ orld    │ outs/rea │
│ a38      │        │          │          │       │       │ contain │ dthedocs │
│          │        │          │          │       │       │ er with │ .org/use │
│          │        │          │          │       │       │ docker  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/con │
│          │        │          │          │       │       │         │ tainers/ │
│          │        │          │          │       │       │         │ hello_wo │
│          │        │          │          │       │       │         │ rld.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_exi │ script │ generic. │ None     │ None  │ None  │ this    │ /home/do │
│ sts_pass │        │ local.ba │          │       │       │ test    │ cs/check │
│ /66470d9 │        │ sh       │          │       │       │ will    │ outs/rea │
│ 3        │        │          │          │       │       │ pass    │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /file_ex │
│          │        │          │          │       │       │         │ ists_wit │
│          │        │          │          │       │       │         │ h_number │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ multiple │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ _executo │        │ local.ba │          │       │       │ test    │ cs/check │
│ rs/b334d │        │ sh       │          │       │       │ with    │ outs/rea │
│ 8e1      │        │          │          │       │       │ executo │ dthedocs │
│          │        │          │          │       │       │ r       │ .org/use │
│          │        │          │          │       │       │ generic │ r_builds │
│          │        │          │          │       │       │ .local. │ /buildte │
│          │        │          │          │       │       │ bash    │ st/check │
│          │        │          │          │       │       │ and     │ outs/dev │
│          │        │          │          │       │       │ generic │ el/tutor │
│          │        │          │          │       │       │ .local. │ ials/mul │
│          │        │          │          │       │       │ sh      │ ti_execu │
│          │        │          │          │       │       │ executo │ tors/exe │
│          │        │          │          │       │       │ r       │ cutor_re │
│          │        │          │          │       │       │         │ gex_scri │
│          │        │          │          │       │       │         │ pt.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ multiple │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ _executo │        │ local.sh │          │       │       │ test    │ cs/check │
│ rs/b8cbe │        │          │          │       │       │ with    │ outs/rea │
│ 3f9      │        │          │          │       │       │ executo │ dthedocs │
│          │        │          │          │       │       │ r       │ .org/use │
│          │        │          │          │       │       │ generic │ r_builds │
│          │        │          │          │       │       │ .local. │ /buildte │
│          │        │          │          │       │       │ bash    │ st/check │
│          │        │          │          │       │       │ and     │ outs/dev │
│          │        │          │          │       │       │ generic │ el/tutor │
│          │        │          │          │       │       │ .local. │ ials/mul │
│          │        │          │          │       │       │ sh      │ ti_execu │
│          │        │          │          │       │       │ executo │ tors/exe │
│          │        │          │          │       │       │ r       │ cutor_re │
│          │        │          │          │       │       │         │ gex_scri │
│          │        │          │          │       │       │         │ pt.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare │ /home/do │
│ s_bash/b │        │ local.ba │          │       │       │ shell   │ cs/check │
│ 98655b4  │        │ sh       │          │       │       │ variabl │ outs/rea │
│          │        │          │          │       │       │ es in   │ dthedocs │
│          │        │          │          │       │       │ bash    │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/var │
│          │        │          │          │       │       │         │ s.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ file    │ /home/do │
│ nt_on_di │        │ local.ba │          │       │       │ count   │ cs/check │
│ rectory/ │        │ sh       │          │       │       │ check   │ outs/rea │
│ cf55fb03 │        │          │          │       │       │ in      │ dthedocs │
│          │        │          │          │       │       │ directo │ .org/use │
│          │        │          │          │       │       │ ry      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /file_co │
│          │        │          │          │       │       │         │ unt.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ file    │ /home/do │
│ nt_by_ex │        │ local.ba │          │       │       │ count   │ cs/check │
│ tension/ │        │ sh       │          │       │       │ by      │ outs/rea │
│ 2d109f30 │        │          │          │       │       │ extensi │ dthedocs │
│          │        │          │          │       │       │ on      │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /file_co │
│          │        │          │          │       │       │         │ unt.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ gcc_vers │ script │ generic. │ None     │ None  │ None  │ Print   │ /home/do │
│ ion/4265 │        │ local.ba │          │       │       │ gcc     │ cs/check │
│ eb18     │        │ sh       │          │       │       │ version │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/gcc │
│          │        │          │          │       │       │         │ _version │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ unskippe │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ d/28c3ee │        │ local.ba │          │       │       │ test is │ cs/check │
│ c8       │        │ sh       │          │       │       │ not     │ outs/rea │
│          │        │          │          │       │       │ skipped │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/ski │
│          │        │          │          │       │       │         │ p_tests. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_lin │ script │ generic. │ None     │ None  │ None  │ Perform │ /home/do │
│ ecount_e │        │ local.ba │          │       │       │ ing     │ cs/check │
│ xception │        │ sh       │          │       │       │ file    │ outs/rea │
│ s/40d56d │        │          │          │       │       │ count   │ dthedocs │
│ 57       │        │          │          │       │       │ on      │ .org/use │
│          │        │          │          │       │       │ directo │ r_builds │
│          │        │          │          │       │       │ ry or   │ /buildte │
│          │        │          │          │       │       │ invalid │ st/check │
│          │        │          │          │       │       │ files   │ outs/dev │
│          │        │          │          │       │       │ can     │ el/tutor │
│          │        │          │          │       │       │ result  │ ials/tes │
│          │        │          │          │       │       │ in      │ t_status │
│          │        │          │          │       │       │ failure │ /file_li │
│          │        │          │          │       │       │         │ necount_ │
│          │        │          │          │       │       │         │ failure. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_e │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ xists/f7 │        │ local.ba │          │       │       │ check   │ cs/check │
│ 1c4890   │        │ sh       │          │       │       │ based   │ outs/rea │
│          │        │          │          │       │       │ for     │ dthedocs │
│          │        │          │          │       │       │ file    │ .org/use │
│          │        │          │          │       │       │ and     │ r_builds │
│          │        │          │          │       │       │ directo │ /buildte │
│          │        │          │          │       │       │ ry      │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /exists. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_e │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ xists_fa │        │ local.ba │          │       │       │ check   │ cs/check │
│ ilure/65 │        │ sh       │          │       │       │ failure │ outs/rea │
│ 0a44a0   │        │          │          │       │       │ for     │ dthedocs │
│          │        │          │          │       │       │ existen │ .org/use │
│          │        │          │          │       │       │ ce      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /exists. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test1/78 │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ eb6273   │        │ local.ba │          │       │       │ test    │ cs/check │
│          │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ pass    │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ exit 1  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/job │
│          │        │          │          │       │       │         │ _depende │
│          │        │          │          │       │       │         │ ncy/ex2. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test2/a3 │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ e44100   │        │ 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/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/job │
│          │        │          │          │       │       │         │ _depende │
│          │        │          │          │       │       │         │ ncy/ex2. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test3/e4 │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ 5cc69c   │        │ 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/dev │
│          │        │          │          │       │       │ test2   │ el/tutor │
│          │        │          │          │       │       │ has     │ ials/job │
│          │        │          │          │       │       │ returnc │ _depende │
│          │        │          │          │       │       │ ode 2   │ ncy/ex2. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.searc │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ h.stdout │        │ local.ba │          │       │       │ re.sear │ cs/check │
│ /7783249 │        │ sh       │          │       │       │ ch on   │ outs/rea │
│ c        │        │          │          │       │       │ stdout  │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /specify │
│          │        │          │          │       │       │         │ _regex_t │
│          │        │          │          │       │       │         │ ype.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.match │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ .stdout/ │        │ local.ba │          │       │       │ re.matc │ cs/check │
│ 3d726b6e │        │ sh       │          │       │       │ h on    │ outs/rea │
│          │        │          │          │       │       │ stdout  │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /specify │
│          │        │          │          │       │       │         │ _regex_t │
│          │        │          │          │       │       │         │ ype.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.fullm │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ atch.std │        │ local.ba │          │       │       │ re.full │ cs/check │
│ out/3445 │        │ sh       │          │       │       │ match   │ outs/rea │
│ 5a28     │        │          │          │       │       │ on      │ dthedocs │
│          │        │          │          │       │       │ stdout  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /specify │
│          │        │          │          │       │       │         │ _regex_t │
│          │        │          │          │       │       │         │ ype.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.match │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ _on_file │        │ local.ba │          │       │       │ re.matc │ cs/check │
│ _regex/e │        │ sh       │          │       │       │ h on    │ outs/rea │
│ cb4334d  │        │          │          │       │       │ file    │ dthedocs │
│          │        │          │          │       │       │ regex   │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/dev │
│          │        │          │          │       │       │         │ el/tutor │
│          │        │          │          │       │       │         │ ials/tes │
│          │        │          │          │       │       │         │ t_status │
│          │        │          │          │       │       │         │ /specify │
│          │        │          │          │       │       │         │ _regex_t │
│          │        │          │          │       │       │         │ ype.yml  │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴─────────┴──────────┘
──────────────────────────────── Building Test ─────────────────────────────────
file_count_by_filetype/3d0eda49: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/file_count_filetype/file_count_by_filetype/3d0eda49
metric_file_regex_invalid_file/9aa7c7ee: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/metrics_file_regex_invalid_file/metric_file_regex_invalid_file/9aa7c7ee
csh_shell/e5c1e15e: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.csh/csh_shell_examples/csh_shell/e5c1e15e
post_run_example/8bafba1c: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/post_run/post_run_example/8bafba1c
post_run_example/8bafba1c: Writing Post Run Script: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/post_run/post_run_example/8bafba1c/stage/post_run_example_postrun.sh
sleep/cb724b76: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/sleep/sleep/cb724b76
circle_area/468cd6d4: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/468cd6d4
contains_and_not_contains/9a4dc67b: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/contains/contains_and_not_contains/9a4dc67b
assert_contains_fail/3eca13b1: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/contains/assert_contains_fail/3eca13b1
stream_openmp_c/0e1a5eb7: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/stream/stream_openmp_c/0e1a5eb7
bash_env_variables/1e5f5562: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/environment/bash_env_variables/1e5f5562
csh_env_declaration/8d821907: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.csh/environment/csh_env_declaration/8d821907
tcsh_env_declaration/057d09c3: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.csh/environment/tcsh_env_declaration/057d09c3
assert_gt_example/49684ae0: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/assert_gt/assert_gt_example/49684ae0
python_hello/04cf8ec6: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/04cf8ec6
metric_regex_example/22fa717c: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/metrics_regex/metric_regex_example/22fa717c
metric_file_regex/e49c7d88: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/metrics_regex/metric_file_regex/e49c7d88
hello_world_c_cpp/68f86282: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world_compilation/hello_world_c_cpp/68f86282
add_numbers/73e3a5fe: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/add_numbers/add_numbers/73e3a5fe
runtime_test/95bf4555: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ex4/runtime_test/95bf4555
runtime_test_pass/64510c0e: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ex4/runtime_test_pass/64510c0e
runtime_test_fail/daa6fb7a: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ex4/runtime_test_fail/daa6fb7a
executors_sbatch_declaration/d84654af: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/executor_scheduler/executors_sbatch_declaration/d84654af
executors_sbatch_declaration/8e29eb07: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/executor_scheduler/executors_sbatch_declaration/8e29eb07
string_tag/bc050c85: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/string_tag/bc050c85
list_of_strings_tags/9992aa96: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/tags_example/list_of_strings_tags/9992aa96
metric_file_regex_with_linenum_failure_example/90584a28: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/metrics_file_regex_with_invalid_linenum/metric_file_regex_with_linenum_failure_example/90584a28
always_pass/9e09ba62: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/explicit_state/always_pass/9e09ba62
always_fail/1437dc89: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/explicit_state/always_fail/1437dc89
test_fail_returncode_match/741eba05: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/explicit_state/test_fail_returncode_match/741eba05
test_pass_returncode_mismatch/d445a173: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/explicit_state/test_pass_returncode_mismatch/d445a173
container_commands_ubuntu/75ce8b9d: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/run_commands/container_commands_ubuntu/75ce8b9d
'Unable to find docker binary in PATH, this test will be not be executed.'
container_options/cd3275e5: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/run_commands/container_options/cd3275e5
'Unable to find docker binary in PATH, this test will be not be executed.'
pass_test/6e1f37c3: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ex3/pass_test/6e1f37c3
fail_test/70ee4184: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ex3/fail_test/70ee4184
pass_and_fail_test/1294e94f: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ex3/pass_and_fail_test/1294e94f
final_test/bf491933: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ex3/final_test/bf491933
symlink_test/ccf2898e: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/is_symlink/symlink_test/ccf2898e
summary_example/f0a58fce: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/summary_example/summary_example/f0a58fce
bash_login_shebang/d4e679f2: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/shebang/bash_login_shebang/d4e679f2
bash_nonlogin_shebang/c54f58c3: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/shebang/bash_nonlogin_shebang/c54f58c3
assert_lt_example/f735c7d7: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/assert_lt/assert_lt_example/f735c7d7
linux_strict_test/d151f72e: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/strict_example/linux_strict_test/d151f72e
file_and_dir_checks/c8f8d6bd: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/file_and_dir_check/file_and_dir_checks/c8f8d6bd
combined_file_and_dir_checks/8e4757de: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/file_and_dir_check/combined_file_and_dir_checks/8e4757de
status_returncode_by_executors/bc0d2dd8: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/status_by_executors/status_returncode_by_executors/bc0d2dd8
status_returncode_by_executors/ac8f6f51: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/status_by_executors/status_returncode_by_executors/ac8f6f51
bind_mount_in_container/d5a64b97: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/bind_mounts/bind_mount_in_container/d5a64b97
'Unable to find docker binary in PATH, this test will be not be executed.'
status_logical_and/a4de4182: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/mode/status_logical_and/a4de4182
status_logical_or/72cd0247: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/mode/status_logical_or/72cd0247
file_count_by_expression/22b5fde2: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/file_count_pattern/file_count_by_expression/22b5fde2
file_extension_and_filepattern/b05df75e: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/file_count_pattern/file_extension_and_filepattern/b05df75e
assert_le_example/29ff18b8: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/assert_le/assert_le_example/29ff18b8
run_script_in_container/8985260b: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/run_script/run_script_in_container/8985260b
'Unable to find docker binary in PATH, this test will be not be executed.'
metric_regex_example_with_re/cfff5c1c: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/metrics_with_regex_type/metric_regex_example_with_re/cfff5c1c
exit1_fail/2c5f7bd9: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/2c5f7bd9
exit1_pass/99955566: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/99955566
returncode_list_mismatch/ee5515f1: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/ee5515f1
returncode_int_match/1fb6cdc9: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/1fb6cdc9
assert_eq_invalid_metric/2bd5d7be: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_invalid_metric/2bd5d7be
assert_eq_mismatch/f1433668: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_mismatch/f1433668
file_traverse_limit/0e5ebc05: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/file_count_file_traverse_limit/file_traverse_limit/0e5ebc05
executors_vars_env_declaration/94cf1cc6: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/executors_var_env_declaration/executors_vars_env_declaration/94cf1cc6
executors_vars_env_declaration/60d8bc4f: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/executors_var_env_declaration/executors_vars_env_declaration/60d8bc4f
create_burst_buffer_executors/9cd74c1a: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/burstbuffer_datawarp_executors/create_burst_buffer_executors/9cd74c1a
create_burst_buffer_executors/ff9deed9: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/burstbuffer_datawarp_executors/create_burst_buffer_executors/ff9deed9
hello_world_singularity/3627c397: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world_singularity/hello_world_singularity/3627c397
'Unable to find singularity binary in PATH, this test will be not be executed.'
metric_file_regex_with_linenum_example/6a0e596a: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/metrics_file_regex_with_linenum/metric_file_regex_with_linenum_example/6a0e596a
status_regex_stdout_pass/821590ae: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/status_regex/status_regex_stdout_pass/821590ae
status_regex_stdout_fail/762ce409: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/status_regex/status_regex_stdout_fail/762ce409
status_regex_stderr_pass/34156c12: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/status_regex/status_regex_stderr_pass/34156c12
status_regex_stderr_fail/c21e2d51: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/status_regex/status_regex_stderr_fail/c21e2d51
assert_ne_example/0f4d46d6: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/assert_ne/assert_ne_example/0f4d46d6
regex_on_multiple_files/d17c6cc8: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/regex_on_filename/regex_on_multiple_files/d17c6cc8
regex_on_directory_not_supported/287e0e0d: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/regex_on_filename/regex_on_directory_not_supported/287e0e0d
file_expansion_supported/1855f133: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/regex_on_filename/file_expansion_supported/1855f133
linecount_stdout/032db3d9: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/linecount/linecount_stdout/032db3d9
linecount_stderr_mismatch/c10d4b2a: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/linecount/linecount_stderr_mismatch/c10d4b2a
file_linecount/6cd5800a: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/file_linecount/file_linecount/6cd5800a
timelimit_min_max/f873f82f: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/runtime_status_test/timelimit_min_max/f873f82f
timelimit_min/f4bdf28e: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/runtime_status_test/timelimit_min/f4bdf28e
timelimit_max/f5acb6da: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/runtime_status_test/timelimit_max/f5acb6da
timelimit_min_fail/96326761: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/runtime_status_test/timelimit_min_fail/96326761
timelimit_max_fail/0361494f: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/runtime_status_test/timelimit_max_fail/0361494f
metric_regex_linenum_failure_example/0f7a9d76: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/metrics_regex_with_invalid_linenum/metric_regex_linenum_failure_example/0f7a9d76
stream_test/3388b639: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/assert_ge/stream_test/3388b639
foo_bar/b22000b5: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/maintainers_example/foo_bar/b22000b5
_bin_sh_shell/a042c30c: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/shell_examples/_bin_sh_shell/a042c30c
_bin_bash_shell/1b4fc3a8: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/shell_examples/_bin_bash_shell/1b4fc3a8
bash_shell/d0ee3ac7: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/shell_examples/bash_shell/d0ee3ac7
sh_shell/ebfe0e85: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/shell_examples/sh_shell/ebfe0e85
shell_options/7e1cf78f: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/shell_examples/shell_options/7e1cf78f
assert_range_ex/40be8f41: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/assert_range/assert_range_ex/40be8f41
assert_eq_example/ffe663a1: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/assert_eq/assert_eq_example/ffe663a1
hello_world/a8ba7b60: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/a8ba7b60
metric_regex_with_linenum_example/3f5dd918: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/metrics_regex_with_linenum/metric_regex_with_linenum_example/3f5dd918
jobA/39860c05: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ex1/jobA/39860c05
jobB/25930787: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ex1/jobB/25930787
jobC/90f918e9: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ex1/jobC/90f918e9
hello_world_docker/455cda38: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world_docker/455cda38
'Unable to find docker binary in PATH, this test will be not be executed.'
file_exists_pass/66470d93: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/file_exists_with_number/file_exists_pass/66470d93
multiple_executors/b334d8e1: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/executor_regex_script/multiple_executors/b334d8e1
multiple_executors/b8cbe3f9: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.sh/executor_regex_script/multiple_executors/b8cbe3f9
variables_bash/b98655b4: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/b98655b4
file_count_on_directory/cf55fb03: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/file_count/file_count_on_directory/cf55fb03
file_count_by_extension/2d109f30: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/file_count/file_count_by_extension/2d109f30
gcc_version/4265eb18: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/gcc_version/gcc_version/4265eb18
unskipped/28c3eec8: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/skip_tests/unskipped/28c3eec8
file_linecount_exceptions/40d56d57: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/file_linecount_failure/file_linecount_exceptions/40d56d57
status_exists/f71c4890: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/exists/status_exists/f71c4890
status_exists_failure/650a44a0: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/exists/status_exists_failure/650a44a0
test1/78eb6273: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ex2/test1/78eb6273
test2/a3e44100: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ex2/test2/a3e44100
test3/e45cc69c: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/ex2/test3/e45cc69c
re.search.stdout/7783249c: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/specify_regex_type/re.search.stdout/7783249c
re.match.stdout/3d726b6e: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/specify_regex_type/re.match.stdout/3d726b6e
re.fullmatch.stdout/34455a28: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/specify_regex_type/re.fullmatch.stdout/34455a28
re.match_on_file_regex/ecb4334d: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/specify_regex_type/re.match_on_file_regex/ecb4334d

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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:09                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/python-hello.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/python-shell.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/python-hello.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/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/devel/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/7cd │        │ local.ba │          │       │       │ World    │ ocs/che │
│ 93eda    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /python │
│          │        │          │          │       │       │          │ -hello. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/dcd2 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ b241     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /python │
│          │        │          │          │       │       │          │ -shell. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
python_hello/7cd93eda: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/7cd93eda
circle_area/dcd2b241: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/dcd2b241
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
python_hello/7cd93eda does not have any dependencies adding test to queue
circle_area/dcd2b241 does not have any dependencies adding test to queue
Builders Eligible to Run 
┏━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━┩
│ python_hello/7cd93eda │
│ circle_area/dcd2b241  │
└───────────────────────┘
python_hello/7cd93eda: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/7cd93eda/stage
python_hello/7cd93eda: Running Test via command: bash python_hello_build.sh
python_hello/7cd93eda: Test completed in 0.029048 seconds with returncode: 0
python_hello/7cd93eda: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/7cd93eda/python_hello.out
python_hello/7cd93eda: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/7cd93eda/python_hello.err
circle_area/dcd2b241: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/dcd2b241/stage
circle_area/dcd2b241: Running Test via command: bash circle_area_build.sh
circle_area/dcd2b241: Test completed in 0.028847 seconds with returncode: 0
circle_area/dcd2b241: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/dcd2b241/circle_area.out
circle_area/dcd2b241: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/dcd2b241/circle_area.err
                                 Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder               ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ circle_area/dcd2b241  │ generic.local.bash │ PASS   │ 0          │ 0.029   │
├───────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ python_hello/7cd93eda │ generic.local.bash │ PASS   │ 0          │ 0.029   │
└───────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_p_f6vnp2.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:09                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/python-hello.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/python-shell.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/python-hello.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/python-shell.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

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

Please see logfile: /tmp/tmpg3p4j9in/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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:10                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/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/9 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 68550fe  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /vars.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘

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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:11                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/tutorials/invalid_buildspec_section.yml: INVALID

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

Please see logfile: /tmp/tmpg3p4j9in/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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:11                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/tutorials/invalid_executor.yml: VALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/… │
└──────────────────────────────────────────────────────────────────────────────┘

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

Please see logfile: /tmp/tmpg3p4j9in/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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:10                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/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/9 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 68550fe  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /vars.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘

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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:12                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/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/7 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 7219cbf  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /vars.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/77219cbf: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/77219cbf

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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:13                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/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/f053 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ e0e1     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /python │
│          │        │          │          │       │       │          │ -shell. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/1243 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ a79c     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /python │
│          │        │          │          │       │       │          │ -shell. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/afda │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ f5bf     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /python │
│          │        │          │          │       │       │          │ -shell. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
circle_area/f053e0e1: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/f053e0e1
circle_area/1243a79c: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/1243a79c
circle_area/afdaf5bf: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/afdaf5bf
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
circle_area/afdaf5bf does not have any dependencies adding test to queue
circle_area/f053e0e1 does not have any dependencies adding test to queue
circle_area/1243a79c does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ circle_area/afdaf5bf │
│ circle_area/f053e0e1 │
│ circle_area/1243a79c │
└──────────────────────┘
circle_area/afdaf5bf: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/afdaf5bf/stage
circle_area/afdaf5bf: Running Test via command: bash circle_area_build.sh
circle_area/afdaf5bf: Test completed in 0.028189 seconds with returncode: 0
circle_area/afdaf5bf: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/afdaf5bf/circle_area.out
circle_area/afdaf5bf: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/afdaf5bf/circle_area.err
circle_area/f053e0e1: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/f053e0e1/stage
circle_area/f053e0e1: Running Test via command: bash circle_area_build.sh
circle_area/f053e0e1: Test completed in 0.028024 seconds with returncode: 0
circle_area/f053e0e1: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/f053e0e1/circle_area.out
circle_area/f053e0e1: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/f053e0e1/circle_area.err
circle_area/1243a79c: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/1243a79c/stage
circle_area/1243a79c: Running Test via command: bash circle_area_build.sh
circle_area/1243a79c: Test completed in 0.028188 seconds with returncode: 0
circle_area/1243a79c: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/1243a79c/circle_area.out
circle_area/1243a79c: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/1243a79c/circle_area.err
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ circle_area/f053e0e1 │ generic.local.bash │ PASS   │ 0          │ 0.028   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/afdaf5bf │ generic.local.bash │ PASS   │ 0          │ 0.028   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/1243a79c │ generic.local.bash │ PASS   │ 0          │ 0.028   │
└──────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 3 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_gka5_a_k.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:13                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/test_status/pass_returncode.yml                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=fail                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/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/devel/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/c36d5 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ c92      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/9a024 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 8d8      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /10c2724 │        │          │          │       │       │ failed   │ readthe │
│ 0        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/435 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 304d3    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/373c8 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 0bc      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/ae53c │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 8d7      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /bab016c │        │          │          │       │       │ failed   │ readthe │
│ e        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/733 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ ee3c0    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/c36d5c92: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/c36d5c92
exit1_pass/9a0248d8: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/9a0248d8
returncode_list_mismatch/10c27240: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/10c27240
returncode_int_match/435304d3: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/435304d3
exit1_fail/373c80bc: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/373c80bc
exit1_pass/ae53c8d7: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/ae53c8d7
returncode_list_mismatch/bab016ce: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bab016ce
returncode_int_match/733ee3c0: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/733ee3c0
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/c36d5c92 does not have any dependencies adding test to queue
returncode_list_mismatch/10c27240 does not have any dependencies adding test to queue
returncode_int_match/733ee3c0 does not have any dependencies adding test to queue
returncode_int_match/435304d3 does not have any dependencies adding test to queue
exit1_fail/373c80bc does not have any dependencies adding test to queue
exit1_pass/9a0248d8 does not have any dependencies adding test to queue
exit1_pass/ae53c8d7 does not have any dependencies adding test to queue
returncode_list_mismatch/bab016ce does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/c36d5c92               │
│ returncode_list_mismatch/10c27240 │
│ returncode_int_match/733ee3c0     │
│ returncode_int_match/435304d3     │
│ exit1_fail/373c80bc               │
│ exit1_pass/9a0248d8               │
│ exit1_pass/ae53c8d7               │
│ returncode_list_mismatch/bab016ce │
└───────────────────────────────────┘
exit1_fail/c36d5c92: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/c36d5c92/stage
exit1_fail/c36d5c92: Running Test via command: bash exit1_fail_build.sh
exit1_fail/c36d5c92: failed to submit job with returncode: 1
exit1_fail/c36d5c92: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/c36d5c92: Run - 1/1
exit1_fail/c36d5c92: Running Test via command: bash exit1_fail_build.sh
exit1_fail/c36d5c92: failed to submit job with returncode: 1
exit1_fail/c36d5c92: Test completed in 0.009695 seconds with returncode: 1
exit1_fail/c36d5c92: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/c36d5c92/exit1_fail.out
exit1_fail/c36d5c92: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/c36d5c92/exit1_fail.err
returncode_list_mismatch/10c27240: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/10c27240/stage
returncode_list_mismatch/10c27240: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/10c27240: failed to submit job with returncode: 2
returncode_list_mismatch/10c27240: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/10c27240: Run - 1/1
returncode_list_mismatch/10c27240: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/10c27240: failed to submit job with returncode: 2
returncode_list_mismatch/10c27240: Test completed in 0.009817 seconds with returncode: 2
returncode_list_mismatch/10c27240: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/10c27240/returncode_list_mismatch.out
returncode_list_mismatch/10c27240: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/10c27240/returncode_list_mismatch.err
returncode_list_mismatch/10c27240: Checking returncode - 2 is matched in list [1, 3]
returncode_int_match/733ee3c0: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/733ee3c0/stage
returncode_int_match/733ee3c0: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/733ee3c0: failed to submit job with returncode: 128
returncode_int_match/733ee3c0: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/733ee3c0: Run - 1/1
returncode_int_match/733ee3c0: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/733ee3c0: failed to submit job with returncode: 128
returncode_int_match/733ee3c0: Test completed in 0.009865 seconds with returncode: 128
returncode_int_match/733ee3c0: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/733ee3c0/returncode_int_match.out
returncode_int_match/733ee3c0: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/733ee3c0/returncode_int_match.err
returncode_int_match/733ee3c0: Checking returncode - 128 is matched in list [128]
returncode_int_match/435304d3: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/435304d3/stage
returncode_int_match/435304d3: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/435304d3: failed to submit job with returncode: 128
returncode_int_match/435304d3: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/435304d3: Run - 1/1
returncode_int_match/435304d3: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/435304d3: failed to submit job with returncode: 128
returncode_int_match/435304d3: Test completed in 0.009936 seconds with returncode: 128
returncode_int_match/435304d3: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/435304d3/returncode_int_match.out
returncode_int_match/435304d3: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/435304d3/returncode_int_match.err
returncode_int_match/435304d3: Checking returncode - 128 is matched in list [128]
exit1_fail/373c80bc: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/373c80bc/stage
exit1_fail/373c80bc: Running Test via command: bash exit1_fail_build.sh
exit1_fail/373c80bc: failed to submit job with returncode: 1
exit1_fail/373c80bc: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/373c80bc: Run - 1/1
exit1_fail/373c80bc: Running Test via command: bash exit1_fail_build.sh
exit1_fail/373c80bc: failed to submit job with returncode: 1
exit1_fail/373c80bc: Test completed in 0.00979 seconds with returncode: 1
exit1_fail/373c80bc: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/373c80bc/exit1_fail.out
exit1_fail/373c80bc: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/373c80bc/exit1_fail.err
exit1_pass/9a0248d8: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/9a0248d8/stage
exit1_pass/9a0248d8: Running Test via command: bash exit1_pass_build.sh
exit1_pass/9a0248d8: failed to submit job with returncode: 1
exit1_pass/9a0248d8: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/9a0248d8: Run - 1/1
exit1_pass/9a0248d8: Running Test via command: bash exit1_pass_build.sh
exit1_pass/9a0248d8: failed to submit job with returncode: 1
exit1_pass/9a0248d8: Test completed in 0.00963 seconds with returncode: 1
exit1_pass/9a0248d8: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/9a0248d8/exit1_pass.out
exit1_pass/9a0248d8: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/9a0248d8/exit1_pass.err
exit1_pass/9a0248d8: Checking returncode - 1 is matched in list [1]
exit1_pass/ae53c8d7: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/ae53c8d7/stage
exit1_pass/ae53c8d7: Running Test via command: bash exit1_pass_build.sh
exit1_pass/ae53c8d7: failed to submit job with returncode: 1
exit1_pass/ae53c8d7: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/ae53c8d7: Run - 1/1
exit1_pass/ae53c8d7: Running Test via command: bash exit1_pass_build.sh
exit1_pass/ae53c8d7: failed to submit job with returncode: 1
exit1_pass/ae53c8d7: Test completed in 0.009475 seconds with returncode: 1
exit1_pass/ae53c8d7: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/ae53c8d7/exit1_pass.out
exit1_pass/ae53c8d7: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/ae53c8d7/exit1_pass.err
exit1_pass/ae53c8d7: Checking returncode - 1 is matched in list [1]
returncode_list_mismatch/bab016ce: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bab016ce/stage
returncode_list_mismatch/bab016ce: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/bab016ce: failed to submit job with returncode: 2
returncode_list_mismatch/bab016ce: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/bab016ce: Run - 1/1
returncode_list_mismatch/bab016ce: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/bab016ce: failed to submit job with returncode: 2
returncode_list_mismatch/bab016ce: Test completed in 0.01057 seconds with returncode: 2
returncode_list_mismatch/bab016ce: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bab016ce/returncode_list_mismatch.out
returncode_list_mismatch/bab016ce: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bab016ce/returncode_list_mismatch.err
returncode_list_mismatch/bab016ce: Checking returncode - 2 is matched in list [1, 3]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_pass/ae53c8d7     │ generic.local.bash │ PASS   │ 1          │ 0.009   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/9a0248d8     │ generic.local.bash │ PASS   │ 1          │ 0.010   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/73 │ generic.local.bash │ PASS   │ 128        │ 0.010   │
│ 3ee3c0                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.010   │
│ h/10c27240              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/43 │ generic.local.bash │ PASS   │ 128        │ 0.010   │
│ 5304d3                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/373c80bc     │ generic.local.bash │ FAIL   │ 1          │ 0.010   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.011   │
│ h/bab016ce              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/c36d5c92     │ generic.local.bash │ FAIL   │ 1          │ 0.010   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 8 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_9_i1u9p_.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/devel/b │
│ in/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… │ │
│ │             os = <module 'os' from                                       │ │
│ │                  '/home/docs/.asdf/installs/python/3.10.14/lib/python3.… │ │
│ │         prefix = '/home/docs/checkouts/readthedocs.org/user_builds/buil… │ │
│ │            sys = <module 'sys' (built-in)>                               │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/b │
│ uildtest/main.py:95 in main                                                  │
│                                                                              │
│    92 │                                                                      │
│    93 │   # buildtest build command                                          │
│    94 │   if args.subcommands in ["build", "bd"]:                            │
│ ❱  95 │   │   handle_build_command(args, configuration, report_file)         │
│    96 │                                                                      │
│    97 │   # buildtest build history                                          │
│    98 │   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,            │ │
│ │                    display=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         │ │
│ │                    0x7f98e5480bb0>                                       │ │
│ │           parser = <buildtest.cli.BuildTestParser object at              │ │
│ │                    0x7f98e759e6e0>                                       │ │
│ │      report_file = None                                                  │ │
│ │           system = <buildtest.system.BuildTestSystem object at           │ │
│ │                    0x7f98e5480f40>                                       │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/b │
│ uildtest/main.py:292 in handle_build_command                                 │
│                                                                              │
│   289 │   if args.subcommands in ["build", "bd"]:                            │
│   290 │   │   stdout_file = tempfile.NamedTemporaryFile(delete=True, suffix= │
│   291 │   │   with Tee(stdout_file.name):                                    │
│ ❱ 292 │   │   │   cmd = BuildTest(                                           │
│   293 │   │   │   │   account=args.account,                                  │
│   294 │   │   │   │   buildspecs=args.buildspec,                             │
│   295 │   │   │   │   configuration=configuration,                           │
│                                                                              │
│ ╭───────────────────────────────── 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, display=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            │ │
│ │                 0x7f98e5480bb0>                                          │ │
│ │   report_file = None                                                     │ │
│ │   stdout_file = <tempfile._TemporaryFileWrapper object at                │ │
│ │                 0x7f98e52c1f60>                                          │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/b │
│ uildtest/cli/build.py:712 in __init__                                        │
│                                                                              │
│    709 │   │   │   │   raise BuildTestError(f"{rebuild} is not of type int") │
│    710 │   │   │                                                             │
│    711 │   │   │   if rebuild > 50:                                          │
│ ❱  712 │   │   │   │   raise BuildTestError(                                 │
│    713 │   │   │   │   │   f"--rebuild {rebuild} exceeds maximum rebuild lim │
│    714 │   │   │   │   )                                                     │
│    715                                                                       │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │            account = None                                                │ │
│ │           arg_name = None                                                │ │
│ │         buildspecs = ['tutorials/test_status/pass_returncode.yml']       │ │
│ │      configuration = <buildtest.config.SiteConfiguration object at       │ │
│ │                      0x7f98e5480bb0>                                     │ │
│ │            display = None                                                │ │
│ │            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            │ │
│ │                      0x7f98e52c1f90>                                     │ │
│ │             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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:15                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/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/20ab0 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 957      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/8da37 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 285      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /5882976 │        │          │          │       │       │ failed   │ readthe │
│ 4        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/f61 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 74e04    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/20ab0957: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/20ab0957
exit1_pass/8da37285: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/8da37285
returncode_list_mismatch/58829764: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/58829764
returncode_int_match/f6174e04: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/f6174e04
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_list_mismatch/58829764 does not have any dependencies adding test to queue
exit1_fail/20ab0957 does not have any dependencies adding test to queue
returncode_int_match/f6174e04 does not have any dependencies adding test to queue
exit1_pass/8da37285 does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ returncode_list_mismatch/58829764 │
│ exit1_fail/20ab0957               │
│ exit1_pass/8da37285               │
│ returncode_int_match/f6174e04     │
└───────────────────────────────────┘
returncode_list_mismatch/58829764: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/58829764/stage
returncode_list_mismatch/58829764: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/58829764: failed to submit job with returncode: 2
returncode_list_mismatch/58829764: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/58829764: Run - 1/1
returncode_list_mismatch/58829764: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/58829764: failed to submit job with returncode: 2
returncode_list_mismatch/58829764: Test completed in 0.011183 seconds with returncode: 2
returncode_list_mismatch/58829764: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/58829764/returncode_list_mismatch.out
returncode_list_mismatch/58829764: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/58829764/returncode_list_mismatch.err
returncode_list_mismatch/58829764: Checking returncode - 2 is matched in list [1, 3]
exit1_fail/20ab0957: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/20ab0957/stage
exit1_fail/20ab0957: Running Test via command: bash exit1_fail_build.sh
exit1_fail/20ab0957: failed to submit job with returncode: 1
exit1_fail/20ab0957: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/20ab0957: Run - 1/1
exit1_fail/20ab0957: Running Test via command: bash exit1_fail_build.sh
exit1_fail/20ab0957: failed to submit job with returncode: 1
exit1_fail/20ab0957: Test completed in 0.010395 seconds with returncode: 1
exit1_fail/20ab0957: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/20ab0957/exit1_fail.out
exit1_fail/20ab0957: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/20ab0957/exit1_fail.err
exit1_pass/8da37285: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/8da37285/stage
exit1_pass/8da37285: Running Test via command: bash exit1_pass_build.sh
exit1_pass/8da37285: failed to submit job with returncode: 1
exit1_pass/8da37285: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/8da37285: Run - 1/1
exit1_pass/8da37285: Running Test via command: bash exit1_pass_build.sh
exit1_pass/8da37285: failed to submit job with returncode: 1
exit1_pass/8da37285: Test completed in 0.010443 seconds with returncode: 1
exit1_pass/8da37285: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/8da37285/exit1_pass.out
exit1_pass/8da37285: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/8da37285/exit1_pass.err
exit1_pass/8da37285: Checking returncode - 1 is matched in list [1]
returncode_int_match/f6174e04: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/f6174e04/stage
returncode_int_match/f6174e04: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/f6174e04: failed to submit job with returncode: 128
returncode_int_match/f6174e04: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/f6174e04: Run - 1/1
returncode_int_match/f6174e04: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/f6174e04: failed to submit job with returncode: 128
returncode_int_match/f6174e04: Test completed in 0.010238 seconds with returncode: 128
returncode_int_match/f6174e04: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/f6174e04/returncode_int_match.out
returncode_int_match/f6174e04: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/returncode_int_match/f6174e04/returncode_int_match.err
returncode_int_match/f6174e04: Checking returncode - 128 is matched in list [128]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ returncode_int_match/f6 │ generic.local.bash │ PASS   │ 128        │ 0.010   │
│ 174e04                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/8da37285     │ generic.local.bash │ PASS   │ 1          │ 0.010   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/20ab0957     │ generic.local.bash │ FAIL   │ 1          │ 0.010   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.011   │
│ h/58829764              │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 4 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_oaj89zxz.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:16                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/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/40995 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 085      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/a8dda │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 202      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /55e8b6b │        │          │          │       │       │ failed   │ readthe │
│ 8        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/9c3 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 7d05b    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /test_s │
│          │        │          │          │       │       │          │ tatus/p │
│          │        │          │          │       │       │          │ ass_ret │
│          │        │          │          │       │       │          │ urncode │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
Limit number of tests to 2 for Building and Running. 
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/40995085: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/40995085
exit1_pass/a8dda202: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/a8dda202
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_pass/a8dda202 does not have any dependencies adding test to queue
exit1_fail/40995085 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder             ┃
┡━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_pass/a8dda202 │
│ exit1_fail/40995085 │
└─────────────────────┘
exit1_pass/a8dda202: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/a8dda202/stage
exit1_pass/a8dda202: Running Test via command: bash exit1_pass_build.sh
exit1_pass/a8dda202: failed to submit job with returncode: 1
exit1_pass/a8dda202: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/a8dda202: Run - 1/1
exit1_pass/a8dda202: Running Test via command: bash exit1_pass_build.sh
exit1_pass/a8dda202: failed to submit job with returncode: 1
exit1_pass/a8dda202: Test completed in 0.010404 seconds with returncode: 1
exit1_pass/a8dda202: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/a8dda202/exit1_pass.out
exit1_pass/a8dda202: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_pass/a8dda202/exit1_pass.err
exit1_pass/a8dda202: Checking returncode - 1 is matched in list [1]
exit1_fail/40995085: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/40995085/stage
exit1_fail/40995085: Running Test via command: bash exit1_fail_build.sh
exit1_fail/40995085: failed to submit job with returncode: 1
exit1_fail/40995085: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/40995085: Run - 1/1
exit1_fail/40995085: Running Test via command: bash exit1_fail_build.sh
exit1_fail/40995085: failed to submit job with returncode: 1
exit1_fail/40995085: Test completed in 0.010125 seconds with returncode: 1
exit1_fail/40995085: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/40995085/exit1_fail.out
exit1_fail/40995085: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/pass_returncode/exit1_fail/40995085/exit1_fail.err
                                Test Summary                                
┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder             ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fail/40995085 │ generic.local.bash │ FAIL   │ 1          │ 0.010   │
├─────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/a8dda202 │ generic.local.bash │ PASS   │ 1          │ 0.010   │
└─────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_g9wviq6m.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 ...]]
                                            [--display {output,test}]
                                            [--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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:17                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/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/f │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 0ff9061  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /vars.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/f0ff9061: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/f0ff9061
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/f0ff9061 does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/f0ff9061 │
└─────────────────────────┘
variables_bash/f0ff9061: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/f0ff9061/stage
variables_bash/f0ff9061: Running Test via command: bash variables_bash_build.sh
variables_bash/f0ff9061: Test completed in 0.007789 seconds with returncode: 0
variables_bash/f0ff9061: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/f0ff9061/variables_bash.out
variables_bash/f0ff9061: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/f0ff9061/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/f0ff9061 │ generic.local.bash │ PASS   │ 0          │ 0.008   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_r9o1nkq1.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/tmpg3p4j9in/var/rerun.json all other options will be ignored.
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:18                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/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 │
│ dada461  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /vars.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/bdada461: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/bdada461
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/bdada461 does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/bdada461 │
└─────────────────────────┘
variables_bash/bdada461: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/bdada461/stage
variables_bash/bdada461: Running Test via command: bash variables_bash_build.sh
variables_bash/bdada461: Test completed in 0.007766 seconds with returncode: 0
variables_bash/bdada461: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/bdada461/variables_bash.out
variables_bash/bdada461: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/bdada461/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/bdada461 │ generic.local.bash │ PASS   │ 0          │ 0.008   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_lj7f1rom.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/tmpg3p4j9in/var/rerun.json all other options will be ignored.
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:19                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/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/9 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 6ae4f49  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /vars.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/96ae4f49: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/96ae4f49
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/96ae4f49 does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/96ae4f49 │
└─────────────────────────┘
variables_bash/96ae4f49: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/96ae4f49/stage
variables_bash/96ae4f49: Running Test via command: bash variables_bash_build.sh
variables_bash/96ae4f49: Test completed in 0.008012 seconds with returncode: 0
variables_bash/96ae4f49: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/96ae4f49/variables_bash.out
variables_bash/96ae4f49: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/96ae4f49/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/96ae4f49 │ generic.local.bash │ PASS   │ 0          │ 0.008   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_x3zdpy7u.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:19                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/tutorials/sleep.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ sleep/e9 │ script │ generic. │ None     │ None  │ None  │ sleep 2  │ /home/d │
│ 1ec8f4   │        │ local.ba │          │       │       │ seconds  │ ocs/che │
│          │        │ sh       │          │       │       │          │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /sleep. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
sleep/e91ec8f4: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/sleep/sleep/e91ec8f4
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
sleep/e91ec8f4 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━┓
┃ Builder        ┃
┡━━━━━━━━━━━━━━━━┩
│ sleep/e91ec8f4 │
└────────────────┘
sleep/e91ec8f4: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/sleep/sleep/e91ec8f4/stage
sleep/e91ec8f4: Running Test via command: bash sleep_build.sh
sleep/e91ec8f4: failed to submit job with returncode: -9
sleep/e91ec8f4: Detected failure in running test, will attempt to retry test: 1 times
sleep/e91ec8f4: Run - 1/1
sleep/e91ec8f4: Running Test via command: bash sleep_build.sh
sleep/e91ec8f4: failed to submit job with returncode: -9
sleep/e91ec8f4: Test completed in 2.006834 seconds with returncode: -9
sleep/e91ec8f4: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/sleep/sleep/e91ec8f4/sleep.out
sleep/e91ec8f4: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/sleep/sleep/e91ec8f4/sleep.err
                             Test Summary                              
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder        ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ sleep/e91ec8f4 │ generic.local.bash │ FAIL   │ -9         │ 2.007   │
└────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_7fc4phb1.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:22                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/tutorials/sleep.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ sleep/f7 │ script │ generic. │ None     │ None  │ None  │ sleep 2  │ /home/d │
│ 3df1ad   │        │ local.ba │          │       │       │ seconds  │ ocs/che │
│          │        │ sh       │          │       │       │          │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /sleep. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
sleep/f73df1ad: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/sleep/sleep/f73df1ad
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
sleep/f73df1ad does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━┓
┃ Builder        ┃
┡━━━━━━━━━━━━━━━━┩
│ sleep/f73df1ad │
└────────────────┘
sleep/f73df1ad: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/sleep/sleep/f73df1ad/stage
sleep/f73df1ad: Running Test via command: bash sleep_build.sh
sleep/f73df1ad: Test completed in 2.018627 seconds with returncode: 0
sleep/f73df1ad: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/sleep/sleep/f73df1ad/sleep.out
sleep/f73df1ad: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/sleep/sleep/f73df1ad/sleep.err
                             Test Summary                              
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder        ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ sleep/f73df1ad │ generic.local.bash │ PASS   │ 0          │ 2.019   │
└────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_ddul9jqi.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/tmpg3p4j9in/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/tmpg3p4j9in/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 where it can be file or directory
   37       # search: ["$BUILDTEST_ROOT/tutorials/containers", "$BUILDTEST_ROOT/examples", "demo.yml"]
   38 
   39     # options for buildtest report command
   40     report:
   41       # number of records to display
   42       count: 25
   43 
   44       # specify format fields
   45       format: name,id,state,runtime,returncode
   46 
   47     # specify directory paths to search for binaries
   48     #paths:
   49       # directory path to search for slurm binaries.
   50       #slurm: "/usr/bin"
   51 
   52       # directory path to search for lsf binaries.
   53       #lsf: "/usr/bin"
   54 
   55       # directory path to search for pbs binaries.
   56       #pbs: "/usr/bin"
   57 
   58       # directory path to search for torque binaries.
   59       #torque: "/usr/bin"
   60 
   61       # path to docker directory
   62       #docker: "/usr/local/bin"
   63 
   64       # path to singularity directory
   65       #singularity: "/usr/local/bin"
   66 
   67       # path to podman directory
   68       #podman: "/usr/local/bin"
   69 
   70     # start of executor configuration
   71     executors:
   72       # 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.
   73       local:
   74         bash:
   75           description: submit jobs on local machine using bash shell
   76           shell: bash
   77         sh:
   78           description: submit jobs on local machine using sh shell
   79           shell: sh
   80         csh:
   81           description: submit jobs on local machine using csh shell
   82           shell: csh
   83         zsh:
   84           description: submit jobs on local machine using zsh shell
   85           shell: zsh
   86     # specify compiler declaration
   87     compilers:
   88       compiler:
   89         # declaration of all gcc compilers
   90         gcc:
   91           # name of compiler
   92           builtin_gcc:
   93             cc: gcc
   94             fc: gfortran
   95             cxx: g++
   96     # specify CDASH configuration when using 'buildtest cdash upload'
   97     cdash:
   98       # CDASH server
   99       url: https://my.cdash.org/
  100       # name of CDASH project where to push test reports
  101       project: buildtest
  102       # specify the site name which should generally by name of your HPC system. This is used by CDASH to group test results by site
  103       site: generic
  104       # specify the build name which is used to group test results by build name
  105       buildname: tutorials
  106

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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:25                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/python-shell.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/python-hello.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/python-shell.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/t ║
║ utorials/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/devel/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/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/1805 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ c40a     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /python │
│          │        │          │          │       │       │          │ -shell. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello    │ /home/d │
│ ello/db1 │        │ local.ba │          │       │       │ World    │ ocs/che │
│ 50f5e    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /python │
│          │        │          │          │       │       │          │ -hello. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
circle_area/1805c40a: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/1805c40a
python_hello/db150f5e: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/db150f5e
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
circle_area/1805c40a does not have any dependencies adding test to queue
python_hello/db150f5e does not have any dependencies adding test to queue
Builders Eligible to Run 
┏━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━┩
│ circle_area/1805c40a  │
│ python_hello/db150f5e │
└───────────────────────┘
circle_area/1805c40a: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/1805c40a/stage
circle_area/1805c40a: Running Test via command: bash circle_area_build.sh
circle_area/1805c40a: Test completed in 0.027927 seconds with returncode: 0
circle_area/1805c40a: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/1805c40a/circle_area.out
circle_area/1805c40a: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-shell/circle_area/1805c40a/circle_area.err
python_hello/db150f5e: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/db150f5e/stage
python_hello/db150f5e: Running Test via command: bash python_hello_build.sh
python_hello/db150f5e: Test completed in 0.026996 seconds with returncode: 0
python_hello/db150f5e: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/db150f5e/python_hello.out
python_hello/db150f5e: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/python-hello/python_hello/db150f5e/python_hello.err
                                 Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder               ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ python_hello/db150f5e │ generic.local.bash │ PASS   │ 0          │ 0.027   │
├───────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/1805c40a  │ generic.local.bash │ PASS   │ 0          │ 0.028   │
└───────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_0h9iazte.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       format: name,id,state,runtime,returncode
  16     executors:
  17       local:
  18         bash:
  19           description: submit jobs on local machine using bash shell
  20           shell: bash
  21         sh:
  22           description: submit jobs on local machine using sh shell
  23           shell: sh
  24         csh:
  25           description: submit jobs on local machine using csh shell
  26           shell: csh
  27     compilers:
  28       compiler:
  29         gcc:
  30           builtin_gcc:
  31             cc: gcc
  32             fc: gfortran
  33             cxx: g++
  34     cdash:
  35       url: https://my.cdash.org/
  36       project: buildtest
  37       site: generic
  38       buildname: tutorials
  39     profiles:
  40       python:
  41         tags:
  42         - python
  43         validate: false
  44         dry-run: false
  45         testdir: /tmp/tmpg3p4j9in/var/tests
  46         remove-stagedir: false
  47         strict: false
  48       prof1:
  49         tags:
  50         - python
  51         validate: false
  52         dry-run: false
  53         testdir: /tmp/tmpg3p4j9in/var/tests
  54         remove-stagedir: false
  55         strict: false
  56       prof2:
  57         buildspecs:
  58         - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/devel/tutorials/shell_examples.yml
  59         validate: false
  60         dry-run: false
  61         testdir: /tmp/tmpg3p4j9in/var/tests
  62         remove-stagedir: false
  63         strict: false
  64       python-tests:
  65         tags:
  66         - python
  67         validate: false
  68         dry-run: false
  69         testdir: /tmp/tmpg3p4j9in/var/tests
  70         remove-stagedir: false
  71         strict: false
  72

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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:27                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/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/7542 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ b624     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /hello_ │
│          │        │          │          │       │       │          │ world.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/471a │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 33a0     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /hello_ │
│          │        │          │          │       │       │          │ world.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/b079 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 7885     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /hello_ │
│          │        │          │          │       │       │          │ world.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/047a │        │ local.ba │          │       │       │ world    │ ocs/che │
│ f82a     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /hello_ │
│          │        │          │          │       │       │          │ world.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/90c1 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 867b     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /hello_ │
│          │        │          │          │       │       │          │ world.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
hello_world/7542b624: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/7542b624
hello_world/471a33a0: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/471a33a0
hello_world/b0797885: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/b0797885
hello_world/047af82a: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/047af82a
hello_world/90c1867b: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/90c1867b
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
hello_world/90c1867b does not have any dependencies adding test to queue
hello_world/b0797885 does not have any dependencies adding test to queue
hello_world/047af82a does not have any dependencies adding test to queue
hello_world/471a33a0 does not have any dependencies adding test to queue
hello_world/7542b624 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/90c1867b │
│ hello_world/b0797885 │
└──────────────────────┘
hello_world/90c1867b: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/90c1867b/stage
hello_world/90c1867b: Running Test via command: bash hello_world_build.sh
hello_world/90c1867b: Test completed in 0.004451 seconds with returncode: 0
hello_world/90c1867b: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/90c1867b/hello_world.out
hello_world/90c1867b: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/90c1867b/hello_world.err
hello_world/b0797885: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/b0797885/stage
hello_world/b0797885: Running Test via command: bash hello_world_build.sh
hello_world/b0797885: Test completed in 0.004572 seconds with returncode: 0
hello_world/b0797885: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/b0797885/hello_world.out
hello_world/b0797885: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/b0797885/hello_world.err
───────────────────────────────── Iteration 2 ──────────────────────────────────
hello_world/047af82a does not have any dependencies adding test to queue
hello_world/471a33a0 does not have any dependencies adding test to queue
hello_world/7542b624 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/7542b624 │
│ hello_world/471a33a0 │
└──────────────────────┘
hello_world/7542b624: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/7542b624/stage
hello_world/7542b624: Running Test via command: bash hello_world_build.sh
hello_world/7542b624: Test completed in 0.004362 seconds with returncode: 0
hello_world/7542b624: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/7542b624/hello_world.out
hello_world/7542b624: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/7542b624/hello_world.err
hello_world/471a33a0: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/471a33a0/stage
hello_world/471a33a0: Running Test via command: bash hello_world_build.sh
hello_world/471a33a0: Test completed in 0.004497 seconds with returncode: 0
hello_world/471a33a0: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/471a33a0/hello_world.out
hello_world/471a33a0: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/471a33a0/hello_world.err
───────────────────────────────── Iteration 3 ──────────────────────────────────
hello_world/047af82a does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/047af82a │
└──────────────────────┘
hello_world/047af82a: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/047af82a/stage
hello_world/047af82a: Running Test via command: bash hello_world_build.sh
hello_world/047af82a: Test completed in 0.004491 seconds with returncode: 0
hello_world/047af82a: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/047af82a/hello_world.out
hello_world/047af82a: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/hello_world/hello_world/047af82a/hello_world.err
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ hello_world/90c1867b │ generic.local.bash │ PASS   │ 0          │ 0.004   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/b0797885 │ generic.local.bash │ PASS   │ 0          │ 0.005   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/047af82a │ generic.local.bash │ PASS   │ 0          │ 0.004   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/7542b624 │ generic.local.bash │ PASS   │ 0          │ 0.004   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/471a33a0 │ generic.local.bash │ PASS   │ 0          │ 0.004   │
└──────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


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

Strict Mode (buildtest build --strict)

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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:28                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/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/03dfad │        │ sh       │          │       │       │ test     │ ckouts/ │
│ 91       │        │          │          │       │       │ will     │ readthe │
│          │        │          │          │       │       │ show how │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de will  │ builds/ │
│          │        │          │          │       │       │ change   │ buildte │
│          │        │          │          │       │       │ when     │ st/chec │
│          │        │          │          │       │       │ using    │ kouts/d │
│          │        │          │          │       │       │ --strict │ evel/tu │
│          │        │          │          │       │       │ flag     │ torials │
│          │        │          │          │       │       │          │ /strict │
│          │        │          │          │       │       │          │ _exampl │
│          │        │          │          │       │       │          │ e.yml   │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
linux_strict_test/03dfad91: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/strict_example/linux_strict_test/03dfad91
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
linux_strict_test/03dfad91 does not have any dependencies adding test to queue
   Builders Eligible to Run   
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                    ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ linux_strict_test/03dfad91 │
└────────────────────────────┘
linux_strict_test/03dfad91: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/strict_example/linux_strict_test/03dfad91/stage
linux_strict_test/03dfad91: Running Test via command: bash linux_strict_test_build.sh
linux_strict_test/03dfad91: Test completed in 0.006179 seconds with returncode: 0
linux_strict_test/03dfad91: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/strict_example/linux_strict_test/03dfad91/linux_strict_test.out
linux_strict_test/03dfad91: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/strict_example/linux_strict_test/03dfad91/linux_strict_test.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ linux_strict_test/03dfa │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ d91                     │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest_h9gjwblg.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-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:29                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/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/50870b │        │ sh       │          │       │       │ test     │ ckouts/ │
│ 7d       │        │          │          │       │       │ will     │ readthe │
│          │        │          │          │       │       │ show how │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de will  │ builds/ │
│          │        │          │          │       │       │ change   │ buildte │
│          │        │          │          │       │       │ when     │ st/chec │
│          │        │          │          │       │       │ using    │ kouts/d │
│          │        │          │          │       │       │ --strict │ evel/tu │
│          │        │          │          │       │       │ flag     │ torials │
│          │        │          │          │       │       │          │ /strict │
│          │        │          │          │       │       │          │ _exampl │
│          │        │          │          │       │       │          │ e.yml   │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
linux_strict_test/50870b7d: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/strict_example/linux_strict_test/50870b7d
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
linux_strict_test/50870b7d does not have any dependencies adding test to queue
   Builders Eligible to Run   
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                    ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ linux_strict_test/50870b7d │
└────────────────────────────┘
linux_strict_test/50870b7d: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/strict_example/linux_strict_test/50870b7d/stage
linux_strict_test/50870b7d: Running Test via command: bash linux_strict_test_build.sh
linux_strict_test/50870b7d: failed to submit job with returncode: 2
linux_strict_test/50870b7d: Detected failure in running test, will attempt to retry test: 1 times
linux_strict_test/50870b7d: Run - 1/1
linux_strict_test/50870b7d: Running Test via command: bash linux_strict_test_build.sh
linux_strict_test/50870b7d: failed to submit job with returncode: 2
linux_strict_test/50870b7d: Test completed in 0.01292 seconds with returncode: 2
linux_strict_test/50870b7d: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/strict_example/linux_strict_test/50870b7d/linux_strict_test.out
linux_strict_test/50870b7d: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/strict_example/linux_strict_test/50870b7d/linux_strict_test.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ linux_strict_test/50870 │ generic.local.bash │ FAIL   │ 2          │ 0.013   │
│ b7d                     │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmpg3p4j9in/var/report.json
Writing Logfile to /tmp/tmpg3p4j9in/var/logs/buildtest__hxdya65.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/50870b7d-2869-4cf5-ba27-17953407d5f7 ────────────
Executor: generic.local.bash
Description: This example test will show how returncode will change when using --strict flag
State: FAIL
Returncode: 2
Runtime: 0.01292 sec
Starttime: 2024/11/08 18:04:29
Endtime: 2024/11/08 18:04:29
Command: bash linux_strict_test_build.sh
Test Script: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/strict_example/linux_strict_test/50870b7d/stage/linux_strict_test.sh
Build Script: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/strict_example/linux_strict_test/50870b7d/linux_strict_test_build.sh
Output File: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/strict_example/linux_strict_test/50870b7d/linux_strict_test.out
Error File: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/strict_example/linux_strict_test/50870b7d/linux_strict_test.err
Log File: /tmp/tmpg3p4j9in/var/logs/buildtest__hxdya65.log
─ Buildspec File: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/… ─
buildspecs:                                                                     
  linux_strict_test:                                                            
    type: script                                                                
    executor: generic.local.bash                                                
    description: "This example test will show how returncode will change when us
    run: |                                                                      
      echo "This is a test"                                                     
      ls -l /BAD_PATH                                                           
      echo "This is another test"                                               
────────────────────────────────────────────────────────────────────────────────
────────────────────────────────── Test File  ──────────────────────────────────
#!/usr/bin/bash                                                                 
set -eo pipefail                                                                
# Content of run section                                                        
echo "This is a test"                                                           
ls -l /BAD_PATH                                                                 
echo "This is another test"                                                     
────────────────────────────────────────────────────────────────────────────────

Display Mode (buildtest build --display)

Buildtest can display output of test content and stream outout and error file to console. This can be useful if you want to see how the test is generated for debugging purposes.

In order to use this functionality, you can specify the --display option which takes either output or test. When output is specified, buildtest will display output and error files to console. When test is specified, buildtest will display the content of the test and build script. You can append the --display option if you want to specify both options. Shown below we run a test and display both output and test.

buildtest build -b tutorials/vars.yml --display output --display test
$ buildtest build -b tutorials/vars.yml --display output --display test
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-26220538-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/11/08 18:04:30                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.10.14                                                  │
│ Configuration File: /tmp/tmpg3p4j9in/config.yml                              │
│ Test Directory:     /tmp/tmpg3p4j9in/var/tests                               │
│ Report File:        /tmp/tmpg3p4j9in/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/devel/t ║
║ utorials/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/devel/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/6 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 48e69ee  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/d │
│          │        │          │          │       │       │          │ evel/tu │
│          │        │          │          │       │       │          │ torials │
│          │        │          │          │       │       │          │ /vars.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/648e69ee: Creating Test Directory: /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/648e69ee
──────────────── variables_bash/648e69ee: Start of Build Script ────────────────
#!/bin/bash                                                                     
                                                                                
# Function to handle all signals and perform cleanup                            
function cleanup() {                                                            
    echo "Signal trapped. Performing cleanup before exiting."                   
    exitcode=$?                                                                 
    echo "buildtest: command '$BASH_COMMAND' failed (exit code: $exitcode)"     
    exit $exitcode                                                              
}                                                                               
                                                                                
# Trap all signals and call the cleanup function                                
trap cleanup SIGINT SIGTERM SIGHUP SIGQUIT SIGABRT SIGKILL SIGALRM SIGPIPE SIGTE
                                                                                
export BUILDTEST_TEST_NAME=variables_bash                                       
export BUILDTEST_TEST_ROOT=/tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/va
export BUILDTEST_BUILDSPEC_DIR=/home/docs/checkouts/readthedocs.org/user_builds/
export BUILDTEST_STAGE_DIR=/tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/va
source /tmp/tmpg3p4j9in/var/executor/generic.local.bash/before_script.sh        
# Run generated script                                                          
bash  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/648e69ee
# Get return code                                                               
returncode=$?                                                                   
# Exit with return code                                                         
exit $returncode                                                                
────────────────────────────────────────────────────────────────────────────────
──────────────── variables_bash/648e69ee: Start of Test Script ─────────────────
#!/usr/bin/bash                                                                 
X="1"                                                                           
Y="2"                                                                           
literalstring="this is a literal string"                                        
singlequote="\'singlequote\'"                                                   
doublequote="\"doublequote\""                                                   
current_user="$(whoami)"                                                        
num_files="`find $HOME -type f -maxdepth 1 | wc -l`"                            
multiline_string="Hello my name is Bob \n                                       
I am 30 years old                                                               
"                                                                               
# Content of run section                                                        
echo "$X+$Y="$(($X+$Y))                                                         
echo $literalstring                                                             
echo $singlequote                                                               
echo $doublequote                                                               
echo "current user:" $current_user                                              
echo "number of files:" $num_files                                              
echo -e $multiline_string                                                       
                                                                                
────────────────────────────────────────────────────────────────────────────────
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/648e69ee does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/648e69ee │
└─────────────────────────┘
variables_bash/648e69ee: Current Working Directory : /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/648e69ee/stage
variables_bash/648e69ee: Running Test via command: bash variables_bash_build.sh
─────────────────── variables_bash/648e69ee: Start of Output ───────────────────
1+2=3                                                                           
this is a literal string                                                        
\'singlequote\'                                                                 
"doublequote"                                                                   
current user: docs                                                              
number of files: 4                                                              
Hello my name is Bob                                                            
 I am 30 years old                                                              
                                                                                
────────────────────────────────────────────────────────────────────────────────
variables_bash/648e69ee: Test completed in 0.011096 seconds with returncode: 0
variables_bash/648e69ee: Writing output file -  /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/648e69ee/variables_bash.out
variables_bash/648e69ee: Writing error file - /tmp/tmpg3p4j9in/var/tests/generic.local.bash/vars/variables_bash/648e69ee/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/648e69ee │ generic.local.bash │ PASS   │ 0          │ 0.011   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


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