Building Test (buildtest build)

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

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

Note

buildtest bd is an alias for buildtest build command.

Build Usage

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

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

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

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

filter:
  Filter tests after selection

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

module:
  Module Selection option

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

batch:
  Batch Submission options

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

extra:
  All extra options

  --dry-run             Show a list of tests that will potentially be run
                        without actually running them.
  --limit LIMIT         Limit number of tests that can be run.
  --max-jobs MAX_JOBS   Maximum number of jobs that can be run concurrently.
  --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
  --validate            Validate given buildspecs and control behavior of
                        buildtest build to stop execution after parsing the
                        YAML files.
  --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
  --save-profile SAVE_PROFILE
                        Save buildtest command options into a profile and
                        update configuration file
  --profile PROFILE     Specify a profile to load from configuration file

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/v2.0/tutorials', '/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/general_tests']
Updating buildspec cache file: /tmp/tmp4h8j2kdp/var/buildspecs/cache.json
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:47:07                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/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 │
│ 11a67f3  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ vars.ym │
│          │        │          │          │       │       │          │ l       │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/f11a67f3: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/f11a67f3
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/f11a67f3 does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/f11a67f3 │
└─────────────────────────┘
variables_bash/f11a67f3: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/f11a67f3/stage
variables_bash/f11a67f3: Running Test via command: bash variables_bash_build.sh
variables_bash/f11a67f3: Test completed in 0.011405 seconds with returncode: 0
variables_bash/f11a67f3: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/f11a67f3/variables_bash.out
variables_bash/f11a67f3: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/f11a67f3/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/f11a67f3 │ 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/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_dicnooja.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:47:55                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/ge ║
║ neral_tests/configuration/ulimits.yml                                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/ge ║
║ neral_tests/configuration/kernel_state.yml                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/ge ║
║ neral_tests/configuration/systemd-default-target.yml                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/ge ║
║ neral_tests/configuration/disk_usage.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/v2.0/general_tests/configuration/ulimits.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/general_tests/configuration/kernel_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/general_tests/configuration/systemd-default-target.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/general_tests/configuration/disk_usage.yml: VALID
Total builder objects created: 9
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ ilelock_ │        │ local.ba │          │       │       │ file     │ ocs/che │
│ unlimite │        │ sh       │          │       │       │ lock is  │ ckouts/ │
│ d/a2a762 │        │          │          │       │       │ set to   │ readthe │
│ 5b       │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/uli │
│          │        │          │          │       │       │          │ mits.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_c │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ putime_u │        │ local.ba │          │       │       │ cputime  │ ocs/che │
│ nlimited │        │ sh       │          │       │       │ is set   │ ckouts/ │
│ /99b172b │        │          │          │       │       │ to       │ readthe │
│ a        │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/uli │
│          │        │          │          │       │       │          │ mits.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_s │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ tacksize │        │ local.ba │          │       │       │ stack    │ ocs/che │
│ _unlimit │        │ sh       │          │       │       │ size is  │ ckouts/ │
│ ed/19355 │        │          │          │       │       │ set to   │ readthe │
│ 946      │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/uli │
│          │        │          │          │       │       │          │ mits.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_v │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ msize_un │        │ local.ba │          │       │       │ virtual  │ ocs/che │
│ limited/ │        │ sh       │          │       │       │ memory   │ ckouts/ │
│ 985cc0db │        │          │          │       │       │ size and │ readthe │
│          │        │          │          │       │       │ check if │ docs.or │
│          │        │          │          │       │       │ its set  │ g/user_ │
│          │        │          │          │       │       │ to       │ builds/ │
│          │        │          │          │       │       │ unlimite │ buildte │
│          │        │          │          │       │       │ d        │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/uli │
│          │        │          │          │       │       │          │ mits.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ iledescr │        │ local.ba │          │       │       │ open     │ ocs/che │
│ iptor_40 │        │ sh       │          │       │       │ file     │ ckouts/ │
│ 96/c7654 │        │          │          │       │       │ descript │ readthe │
│ 03f      │        │          │          │       │       │ ors      │ docs.or │
│          │        │          │          │       │       │ limit is │ g/user_ │
│          │        │          │          │       │       │ set to   │ builds/ │
│          │        │          │          │       │       │ 4096     │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/uli │
│          │        │          │          │       │       │          │ mits.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_m │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ ax_user_ │        │ local.ba │          │       │       │ max      │ ocs/che │
│ process_ │        │ sh       │          │       │       │ number   │ ckouts/ │
│ 2048/cca │        │          │          │       │       │ of user  │ readthe │
│ 33afc    │        │          │          │       │       │ process  │ docs.or │
│          │        │          │          │       │       │ limit is │ g/user_ │
│          │        │          │          │       │       │ set to   │ builds/ │
│          │        │          │          │       │       │ 2048     │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/uli │
│          │        │          │          │       │       │          │ mits.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ kernel_s │ script │ generic. │ None     │ None  │ None  │ Retrieve │ /home/d │
│ wapusage │        │ local.ba │          │       │       │ Kernel   │ ocs/che │
│ /09511fb │        │ sh       │          │       │       │ Swap     │ ckouts/ │
│ 6        │        │          │          │       │       │ Usage    │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/ker │
│          │        │          │          │       │       │          │ nel_sta │
│          │        │          │          │       │       │          │ te.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ systemd_ │ script │ generic. │ None     │ None  │ None  │ check if │ /home/d │
│ default_ │        │ local.ba │          │       │       │ default  │ ocs/che │
│ target/5 │        │ sh       │          │       │       │ target   │ ckouts/ │
│ 68dec4f  │        │          │          │       │       │ is       │ readthe │
│          │        │          │          │       │       │ multi-us │ docs.or │
│          │        │          │          │       │       │ er.targe │ g/user_ │
│          │        │          │          │       │       │ t        │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/sys │
│          │        │          │          │       │       │          │ temd-de │
│          │        │          │          │       │       │          │ fault-t │
│          │        │          │          │       │       │          │ arget.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ root_dis │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ k_usage/ │        │ local.ba │          │       │       │ root     │ ocs/che │
│ cf99622a │        │ sh       │          │       │       │ disk     │ ckouts/ │
│          │        │          │          │       │       │ usage    │ readthe │
│          │        │          │          │       │       │ and      │ docs.or │
│          │        │          │          │       │       │ report   │ g/user_ │
│          │        │          │          │       │       │ if it    │ builds/ │
│          │        │          │          │       │       │ exceeds  │ buildte │
│          │        │          │          │       │       │ threshol │ st/chec │
│          │        │          │          │       │       │ d        │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/dis │
│          │        │          │          │       │       │          │ k_usage │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
ulimit_filelock_unlimited/a2a7625b: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/a2a7625b
ulimit_cputime_unlimited/99b172ba: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/99b172ba
ulimit_stacksize_unlimited/19355946: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/19355946
ulimit_vmsize_unlimited/985cc0db: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/985cc0db
ulimit_filedescriptor_4096/c765403f: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/c765403f
ulimit_max_user_process_2048/cca33afc: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/cca33afc
kernel_swapusage/09511fb6: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/kernel_state/kernel_swapusage/09511fb6
systemd_default_target/568dec4f: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/568dec4f
root_disk_usage/cf99622a: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/disk_usage/root_disk_usage/cf99622a
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
ulimit_stacksize_unlimited/19355946 does not have any dependencies adding test to queue
root_disk_usage/cf99622a does not have any dependencies adding test to queue
kernel_swapusage/09511fb6 does not have any dependencies adding test to queue
ulimit_filedescriptor_4096/c765403f does not have any dependencies adding test to queue
systemd_default_target/568dec4f does not have any dependencies adding test to queue
ulimit_vmsize_unlimited/985cc0db does not have any dependencies adding test to queue
ulimit_cputime_unlimited/99b172ba does not have any dependencies adding test to queue
ulimit_filelock_unlimited/a2a7625b does not have any dependencies adding test to queue
ulimit_max_user_process_2048/cca33afc does not have any dependencies adding test to queue
        Builders Eligible to Run         
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ ulimit_stacksize_unlimited/19355946   │
│ root_disk_usage/cf99622a              │
│ kernel_swapusage/09511fb6             │
│ ulimit_filedescriptor_4096/c765403f   │
│ systemd_default_target/568dec4f       │
│ ulimit_vmsize_unlimited/985cc0db      │
│ ulimit_cputime_unlimited/99b172ba     │
│ ulimit_filelock_unlimited/a2a7625b    │
│ ulimit_max_user_process_2048/cca33afc │
└───────────────────────────────────────┘
ulimit_stacksize_unlimited/19355946: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/19355946/stage
ulimit_stacksize_unlimited/19355946: Running Test via command: bash ulimit_stacksize_unlimited_build.sh
ulimit_stacksize_unlimited/19355946: Test completed in 0.006013 seconds with returncode: 0
ulimit_stacksize_unlimited/19355946: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/19355946/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/19355946: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/19355946/ulimit_stacksize_unlimited.err
ulimit_stacksize_unlimited/19355946: performing regular expression - '^unlimited$' on file: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/19355946/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/19355946: Regular Expression Match - Failed!
root_disk_usage/cf99622a: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/disk_usage/root_disk_usage/cf99622a/stage
root_disk_usage/cf99622a: Running Test via command: bash root_disk_usage_build.sh
root_disk_usage/cf99622a: Test completed in 0.009449 seconds with returncode: 0
root_disk_usage/cf99622a: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/disk_usage/root_disk_usage/cf99622a/root_disk_usage.out
root_disk_usage/cf99622a: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/disk_usage/root_disk_usage/cf99622a/root_disk_usage.err
kernel_swapusage/09511fb6: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/kernel_state/kernel_swapusage/09511fb6/stage
kernel_swapusage/09511fb6: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/09511fb6: failed to submit job with returncode: 255
───────────────── Error Message for kernel_swapusage/09511fb6 ──────────────────
sysctl: cannot stat /proc/sys/kernel/swapusage: No such file or directory

kernel_swapusage/09511fb6: Detected failure in running test, will attempt to retry test: 1 times
kernel_swapusage/09511fb6: Run - 1/1
kernel_swapusage/09511fb6: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/09511fb6: failed to submit job with returncode: 255
kernel_swapusage/09511fb6: Test completed in 0.01648 seconds with returncode: 255
kernel_swapusage/09511fb6: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/kernel_state/kernel_swapusage/09511fb6/kernel_swapusage.out
kernel_swapusage/09511fb6: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/kernel_state/kernel_swapusage/09511fb6/kernel_swapusage.err
ulimit_filedescriptor_4096/c765403f: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/c765403f/stage
ulimit_filedescriptor_4096/c765403f: Running Test via command: bash ulimit_filedescriptor_4096_build.sh
ulimit_filedescriptor_4096/c765403f: Test completed in 0.005581 seconds with returncode: 0
ulimit_filedescriptor_4096/c765403f: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/c765403f/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/c765403f: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/c765403f/ulimit_filedescriptor_4096.err
ulimit_filedescriptor_4096/c765403f: performing regular expression - '^4096$' on file: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/c765403f/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/c765403f: Regular Expression Match - Failed!
systemd_default_target/568dec4f: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/568dec4f/stage
systemd_default_target/568dec4f: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/568dec4f: failed to submit job with returncode: 1
────────────── Error Message for systemd_default_target/568dec4f ───────────────

systemd_default_target/568dec4f: Detected failure in running test, will attempt to retry test: 1 times
systemd_default_target/568dec4f: Run - 1/1
systemd_default_target/568dec4f: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/568dec4f: failed to submit job with returncode: 1
systemd_default_target/568dec4f: Test completed in 0.019542 seconds with returncode: 1
systemd_default_target/568dec4f: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/568dec4f/systemd_default_target.out
systemd_default_target/568dec4f: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/568dec4f/systemd_default_target.err
ulimit_vmsize_unlimited/985cc0db: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/985cc0db/stage
ulimit_vmsize_unlimited/985cc0db: Running Test via command: bash ulimit_vmsize_unlimited_build.sh
ulimit_vmsize_unlimited/985cc0db: Test completed in 0.006012 seconds with returncode: 0
ulimit_vmsize_unlimited/985cc0db: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/985cc0db/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/985cc0db: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/985cc0db/ulimit_vmsize_unlimited.err
ulimit_vmsize_unlimited/985cc0db: performing regular expression - '^unlimited$' on file: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/985cc0db/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/985cc0db: Regular Expression Match - Success!
ulimit_cputime_unlimited/99b172ba: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/99b172ba/stage
ulimit_cputime_unlimited/99b172ba: Running Test via command: bash ulimit_cputime_unlimited_build.sh
ulimit_cputime_unlimited/99b172ba: Test completed in 0.006209 seconds with returncode: 0
ulimit_cputime_unlimited/99b172ba: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/99b172ba/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/99b172ba: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/99b172ba/ulimit_cputime_unlimited.err
ulimit_cputime_unlimited/99b172ba: performing regular expression - '^unlimited$' on file: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/99b172ba/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/99b172ba: Regular Expression Match - Success!
ulimit_filelock_unlimited/a2a7625b: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/a2a7625b/stage
ulimit_filelock_unlimited/a2a7625b: Running Test via command: bash ulimit_filelock_unlimited_build.sh
ulimit_filelock_unlimited/a2a7625b: Test completed in 0.00603 seconds with returncode: 0
ulimit_filelock_unlimited/a2a7625b: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/a2a7625b/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/a2a7625b: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/a2a7625b/ulimit_filelock_unlimited.err
ulimit_filelock_unlimited/a2a7625b: performing regular expression - '^unlimited$' on file: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/a2a7625b/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/a2a7625b: Regular Expression Match - Success!
ulimit_max_user_process_2048/cca33afc: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/cca33afc/stage
ulimit_max_user_process_2048/cca33afc: Running Test via command: bash ulimit_max_user_process_2048_build.sh
ulimit_max_user_process_2048/cca33afc: Test completed in 0.006612 seconds with returncode: 0
ulimit_max_user_process_2048/cca33afc: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/cca33afc/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/cca33afc: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/cca33afc/ulimit_max_user_process_2048.err
ulimit_max_user_process_2048/cca33afc: performing regular expression - '^2048$' on file: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/cca33afc/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/cca33afc: Regular Expression Match - Failed!
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ ulimit_filelock_unlimit │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ ed/a2a7625b             │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ root_disk_usage/cf99622 │ generic.local.bash │ PASS   │ 0          │ 0.009   │
│ a                       │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ systemd_default_target/ │ generic.local.bash │ FAIL   │ 1          │ 0.020   │
│ 568dec4f                │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_vmsize_unlimited │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ /985cc0db               │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_stacksize_unlimi │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ ted/19355946            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_cputime_unlimite │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ d/99b172ba              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filedescriptor_4 │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ 096/c765403f            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_max_user_process │ generic.local.bash │ FAIL   │ 0          │ 0.007   │
│ _2048/cca33afc          │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ kernel_swapusage/09511f │ generic.local.bash │ FAIL   │ 255        │ 0.016   │
│ b6                      │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 9 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_398al9w3.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:47:56                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/vars.yml                                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/ge ║
║ neral_tests/configuration/disk_usage.yml                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/ge ║
║ neral_tests/configuration/kernel_state.yml                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/ge ║
║ neral_tests/configuration/ulimits.yml                                        ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/ge ║
║ neral_tests/configuration/systemd-default-target.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/v2.0/tutorials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/general_tests/configuration/disk_usage.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/general_tests/configuration/kernel_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/general_tests/configuration/ulimits.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/general_tests/configuration/systemd-default-target.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/d │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ c2c83d0  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ vars.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ root_dis │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ k_usage/ │        │ local.ba │          │       │       │ root     │ ocs/che │
│ c18fa614 │        │ sh       │          │       │       │ disk     │ ckouts/ │
│          │        │          │          │       │       │ usage    │ readthe │
│          │        │          │          │       │       │ and      │ docs.or │
│          │        │          │          │       │       │ report   │ g/user_ │
│          │        │          │          │       │       │ if it    │ builds/ │
│          │        │          │          │       │       │ exceeds  │ buildte │
│          │        │          │          │       │       │ threshol │ st/chec │
│          │        │          │          │       │       │ d        │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/dis │
│          │        │          │          │       │       │          │ k_usage │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ kernel_s │ script │ generic. │ None     │ None  │ None  │ Retrieve │ /home/d │
│ wapusage │        │ local.ba │          │       │       │ Kernel   │ ocs/che │
│ /8cc957c │        │ sh       │          │       │       │ Swap     │ ckouts/ │
│ f        │        │          │          │       │       │ Usage    │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/ker │
│          │        │          │          │       │       │          │ nel_sta │
│          │        │          │          │       │       │          │ te.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ ilelock_ │        │ local.ba │          │       │       │ file     │ ocs/che │
│ unlimite │        │ sh       │          │       │       │ lock is  │ ckouts/ │
│ d/9f2e29 │        │          │          │       │       │ set to   │ readthe │
│ cb       │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/uli │
│          │        │          │          │       │       │          │ mits.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_c │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ putime_u │        │ local.ba │          │       │       │ cputime  │ ocs/che │
│ nlimited │        │ sh       │          │       │       │ is set   │ ckouts/ │
│ /0a5c37d │        │          │          │       │       │ to       │ readthe │
│ d        │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/uli │
│          │        │          │          │       │       │          │ mits.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_s │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ tacksize │        │ local.ba │          │       │       │ stack    │ ocs/che │
│ _unlimit │        │ sh       │          │       │       │ size is  │ ckouts/ │
│ ed/7e0a0 │        │          │          │       │       │ set to   │ readthe │
│ dc8      │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/uli │
│          │        │          │          │       │       │          │ mits.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_v │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ msize_un │        │ local.ba │          │       │       │ virtual  │ ocs/che │
│ limited/ │        │ sh       │          │       │       │ memory   │ ckouts/ │
│ 9efb4140 │        │          │          │       │       │ size and │ readthe │
│          │        │          │          │       │       │ check if │ docs.or │
│          │        │          │          │       │       │ its set  │ g/user_ │
│          │        │          │          │       │       │ to       │ builds/ │
│          │        │          │          │       │       │ unlimite │ buildte │
│          │        │          │          │       │       │ d        │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/uli │
│          │        │          │          │       │       │          │ mits.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ iledescr │        │ local.ba │          │       │       │ open     │ ocs/che │
│ iptor_40 │        │ sh       │          │       │       │ file     │ ckouts/ │
│ 96/9b872 │        │          │          │       │       │ descript │ readthe │
│ 39b      │        │          │          │       │       │ ors      │ docs.or │
│          │        │          │          │       │       │ limit is │ g/user_ │
│          │        │          │          │       │       │ set to   │ builds/ │
│          │        │          │          │       │       │ 4096     │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/uli │
│          │        │          │          │       │       │          │ mits.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_m │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ ax_user_ │        │ local.ba │          │       │       │ max      │ ocs/che │
│ process_ │        │ sh       │          │       │       │ number   │ ckouts/ │
│ 2048/31b │        │          │          │       │       │ of user  │ readthe │
│ 13de1    │        │          │          │       │       │ process  │ docs.or │
│          │        │          │          │       │       │ limit is │ g/user_ │
│          │        │          │          │       │       │ set to   │ builds/ │
│          │        │          │          │       │       │ 2048     │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/uli │
│          │        │          │          │       │       │          │ mits.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ systemd_ │ script │ generic. │ None     │ None  │ None  │ check if │ /home/d │
│ default_ │        │ local.ba │          │       │       │ default  │ ocs/che │
│ target/d │        │ sh       │          │       │       │ target   │ ckouts/ │
│ 5b5cd26  │        │          │          │       │       │ is       │ readthe │
│          │        │          │          │       │       │ multi-us │ docs.or │
│          │        │          │          │       │       │ er.targe │ g/user_ │
│          │        │          │          │       │       │ t        │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/sys │
│          │        │          │          │       │       │          │ temd-de │
│          │        │          │          │       │       │          │ fault-t │
│          │        │          │          │       │       │          │ arget.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/dc2c83d0: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/dc2c83d0
root_disk_usage/c18fa614: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/disk_usage/root_disk_usage/c18fa614
kernel_swapusage/8cc957cf: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/kernel_state/kernel_swapusage/8cc957cf
ulimit_filelock_unlimited/9f2e29cb: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/9f2e29cb
ulimit_cputime_unlimited/0a5c37dd: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/0a5c37dd
ulimit_stacksize_unlimited/7e0a0dc8: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/7e0a0dc8
ulimit_vmsize_unlimited/9efb4140: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/9efb4140
ulimit_filedescriptor_4096/9b87239b: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/9b87239b
ulimit_max_user_process_2048/31b13de1: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/31b13de1
systemd_default_target/d5b5cd26: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/d5b5cd26
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
ulimit_stacksize_unlimited/7e0a0dc8 does not have any dependencies adding test to queue
ulimit_vmsize_unlimited/9efb4140 does not have any dependencies adding test to queue
root_disk_usage/c18fa614 does not have any dependencies adding test to queue
kernel_swapusage/8cc957cf does not have any dependencies adding test to queue
ulimit_cputime_unlimited/0a5c37dd does not have any dependencies adding test to queue
ulimit_filedescriptor_4096/9b87239b does not have any dependencies adding test to queue
ulimit_max_user_process_2048/31b13de1 does not have any dependencies adding test to queue
systemd_default_target/d5b5cd26 does not have any dependencies adding test to queue
ulimit_filelock_unlimited/9f2e29cb does not have any dependencies adding test to queue
variables_bash/dc2c83d0 does not have any dependencies adding test to queue
        Builders Eligible to Run         
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ ulimit_stacksize_unlimited/7e0a0dc8   │
│ ulimit_vmsize_unlimited/9efb4140      │
│ root_disk_usage/c18fa614              │
│ kernel_swapusage/8cc957cf             │
│ ulimit_cputime_unlimited/0a5c37dd     │
│ ulimit_filedescriptor_4096/9b87239b   │
│ ulimit_max_user_process_2048/31b13de1 │
│ systemd_default_target/d5b5cd26       │
│ ulimit_filelock_unlimited/9f2e29cb    │
│ variables_bash/dc2c83d0               │
└───────────────────────────────────────┘
ulimit_stacksize_unlimited/7e0a0dc8: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/7e0a0dc8/stage
ulimit_stacksize_unlimited/7e0a0dc8: Running Test via command: bash ulimit_stacksize_unlimited_build.sh
ulimit_stacksize_unlimited/7e0a0dc8: Test completed in 0.005939 seconds with returncode: 0
ulimit_stacksize_unlimited/7e0a0dc8: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/7e0a0dc8/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/7e0a0dc8: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/7e0a0dc8/ulimit_stacksize_unlimited.err
ulimit_stacksize_unlimited/7e0a0dc8: performing regular expression - '^unlimited$' on file: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/7e0a0dc8/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/7e0a0dc8: Regular Expression Match - Failed!
ulimit_vmsize_unlimited/9efb4140: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/9efb4140/stage
ulimit_vmsize_unlimited/9efb4140: Running Test via command: bash ulimit_vmsize_unlimited_build.sh
ulimit_vmsize_unlimited/9efb4140: Test completed in 0.00566 seconds with returncode: 0
ulimit_vmsize_unlimited/9efb4140: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/9efb4140/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/9efb4140: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/9efb4140/ulimit_vmsize_unlimited.err
ulimit_vmsize_unlimited/9efb4140: performing regular expression - '^unlimited$' on file: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/9efb4140/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/9efb4140: Regular Expression Match - Success!
root_disk_usage/c18fa614: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/disk_usage/root_disk_usage/c18fa614/stage
root_disk_usage/c18fa614: Running Test via command: bash root_disk_usage_build.sh
root_disk_usage/c18fa614: Test completed in 0.009329 seconds with returncode: 0
root_disk_usage/c18fa614: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/disk_usage/root_disk_usage/c18fa614/root_disk_usage.out
root_disk_usage/c18fa614: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/disk_usage/root_disk_usage/c18fa614/root_disk_usage.err
kernel_swapusage/8cc957cf: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/kernel_state/kernel_swapusage/8cc957cf/stage
kernel_swapusage/8cc957cf: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/8cc957cf: failed to submit job with returncode: 255
───────────────── Error Message for kernel_swapusage/8cc957cf ──────────────────
sysctl: cannot stat /proc/sys/kernel/swapusage: No such file or directory

kernel_swapusage/8cc957cf: Detected failure in running test, will attempt to retry test: 1 times
kernel_swapusage/8cc957cf: Run - 1/1
kernel_swapusage/8cc957cf: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/8cc957cf: failed to submit job with returncode: 255
kernel_swapusage/8cc957cf: Test completed in 0.018824 seconds with returncode: 255
kernel_swapusage/8cc957cf: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/kernel_state/kernel_swapusage/8cc957cf/kernel_swapusage.out
kernel_swapusage/8cc957cf: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/kernel_state/kernel_swapusage/8cc957cf/kernel_swapusage.err
ulimit_cputime_unlimited/0a5c37dd: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/0a5c37dd/stage
ulimit_cputime_unlimited/0a5c37dd: Running Test via command: bash ulimit_cputime_unlimited_build.sh
ulimit_cputime_unlimited/0a5c37dd: Test completed in 0.005932 seconds with returncode: 0
ulimit_cputime_unlimited/0a5c37dd: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/0a5c37dd/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/0a5c37dd: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/0a5c37dd/ulimit_cputime_unlimited.err
ulimit_cputime_unlimited/0a5c37dd: performing regular expression - '^unlimited$' on file: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/0a5c37dd/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/0a5c37dd: Regular Expression Match - Success!
ulimit_filedescriptor_4096/9b87239b: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/9b87239b/stage
ulimit_filedescriptor_4096/9b87239b: Running Test via command: bash ulimit_filedescriptor_4096_build.sh
ulimit_filedescriptor_4096/9b87239b: Test completed in 0.00584 seconds with returncode: 0
ulimit_filedescriptor_4096/9b87239b: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/9b87239b/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/9b87239b: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/9b87239b/ulimit_filedescriptor_4096.err
ulimit_filedescriptor_4096/9b87239b: performing regular expression - '^4096$' on file: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/9b87239b/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/9b87239b: Regular Expression Match - Failed!
ulimit_max_user_process_2048/31b13de1: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/31b13de1/stage
ulimit_max_user_process_2048/31b13de1: Running Test via command: bash ulimit_max_user_process_2048_build.sh
ulimit_max_user_process_2048/31b13de1: Test completed in 0.006441 seconds with returncode: 0
ulimit_max_user_process_2048/31b13de1: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/31b13de1/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/31b13de1: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/31b13de1/ulimit_max_user_process_2048.err
ulimit_max_user_process_2048/31b13de1: performing regular expression - '^2048$' on file: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/31b13de1/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/31b13de1: Regular Expression Match - Failed!
systemd_default_target/d5b5cd26: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/d5b5cd26/stage
systemd_default_target/d5b5cd26: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/d5b5cd26: failed to submit job with returncode: 1
────────────── Error Message for systemd_default_target/d5b5cd26 ───────────────

systemd_default_target/d5b5cd26: Detected failure in running test, will attempt to retry test: 1 times
systemd_default_target/d5b5cd26: Run - 1/1
systemd_default_target/d5b5cd26: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/d5b5cd26: failed to submit job with returncode: 1
systemd_default_target/d5b5cd26: Test completed in 0.023746 seconds with returncode: 1
systemd_default_target/d5b5cd26: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/d5b5cd26/systemd_default_target.out
systemd_default_target/d5b5cd26: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/d5b5cd26/systemd_default_target.err
ulimit_filelock_unlimited/9f2e29cb: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/9f2e29cb/stage
ulimit_filelock_unlimited/9f2e29cb: Running Test via command: bash ulimit_filelock_unlimited_build.sh
ulimit_filelock_unlimited/9f2e29cb: Test completed in 0.006083 seconds with returncode: 0
ulimit_filelock_unlimited/9f2e29cb: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/9f2e29cb/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/9f2e29cb: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/9f2e29cb/ulimit_filelock_unlimited.err
ulimit_filelock_unlimited/9f2e29cb: performing regular expression - '^unlimited$' on file: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/9f2e29cb/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/9f2e29cb: Regular Expression Match - Success!
variables_bash/dc2c83d0: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/dc2c83d0/stage
variables_bash/dc2c83d0: Running Test via command: bash variables_bash_build.sh
variables_bash/dc2c83d0: Test completed in 0.009961 seconds with returncode: 0
variables_bash/dc2c83d0: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/dc2c83d0/variables_bash.out
variables_bash/dc2c83d0: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/dc2c83d0/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ kernel_swapusage/8cc957 │ generic.local.bash │ FAIL   │ 255        │ 0.019   │
│ cf                      │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_vmsize_unlimited │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ /9efb4140               │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ variables_bash/dc2c83d0 │ generic.local.bash │ PASS   │ 0          │ 0.010   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filelock_unlimit │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ ed/9f2e29cb             │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filedescriptor_4 │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ 096/9b87239b            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_stacksize_unlimi │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ ted/7e0a0dc8            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ root_disk_usage/c18fa61 │ generic.local.bash │ PASS   │ 0          │ 0.009   │
│ 4                       │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_cputime_unlimite │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ d/0a5c37dd              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ systemd_default_target/ │ generic.local.bash │ FAIL   │ 1          │ 0.024   │
│ d5b5cd26                │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_max_user_process │ generic.local.bash │ FAIL   │ 0          │ 0.006   │
│ _2048/31b13de1          │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 10 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_ruzb17h2.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:47:58                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:47:59                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/ge ║
║ neral_tests/configuration/systemd-default-target.yml                         ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/ge ║
║ neral_tests/configuration/kernel_state.yml                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/ge ║
║ neral_tests/configuration/disk_usage.yml                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/ge ║
║ neral_tests/configuration/ulimits.yml                                        ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 4                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                              Excluded buildspecs                               
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/ge ║
║ neral_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/v2.0/general_tests/configuration/systemd-default-target.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/general_tests/configuration/kernel_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/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/ │
│ 6e97751  │        │          │          │       │       │ is       │ readthe │
│          │        │          │          │       │       │ multi-us │ docs.or │
│          │        │          │          │       │       │ er.targe │ g/user_ │
│          │        │          │          │       │       │ t        │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/sys │
│          │        │          │          │       │       │          │ temd-de │
│          │        │          │          │       │       │          │ fault-t │
│          │        │          │          │       │       │          │ arget.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ kernel_s │ script │ generic. │ None     │ None  │ None  │ Retrieve │ /home/d │
│ wapusage │        │ local.ba │          │       │       │ Kernel   │ ocs/che │
│ /e3ad9a8 │        │ sh       │          │       │       │ Swap     │ ckouts/ │
│ 3        │        │          │          │       │       │ Usage    │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/ker │
│          │        │          │          │       │       │          │ nel_sta │
│          │        │          │          │       │       │          │ te.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ root_dis │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ k_usage/ │        │ local.ba │          │       │       │ root     │ ocs/che │
│ 768e931c │        │ sh       │          │       │       │ disk     │ ckouts/ │
│          │        │          │          │       │       │ usage    │ readthe │
│          │        │          │          │       │       │ and      │ docs.or │
│          │        │          │          │       │       │ report   │ g/user_ │
│          │        │          │          │       │       │ if it    │ builds/ │
│          │        │          │          │       │       │ exceeds  │ buildte │
│          │        │          │          │       │       │ threshol │ st/chec │
│          │        │          │          │       │       │ d        │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/gen │
│          │        │          │          │       │       │          │ eral_te │
│          │        │          │          │       │       │          │ sts/con │
│          │        │          │          │       │       │          │ figurat │
│          │        │          │          │       │       │          │ ion/dis │
│          │        │          │          │       │       │          │ k_usage │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
systemd_default_target/76e97751: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/76e97751
kernel_swapusage/e3ad9a83: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/kernel_state/kernel_swapusage/e3ad9a83
root_disk_usage/768e931c: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/disk_usage/root_disk_usage/768e931c
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
kernel_swapusage/e3ad9a83 does not have any dependencies adding test to queue
root_disk_usage/768e931c does not have any dependencies adding test to queue
systemd_default_target/76e97751 does not have any dependencies adding test to queue
     Builders Eligible to Run      
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                         ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ kernel_swapusage/e3ad9a83       │
│ root_disk_usage/768e931c        │
│ systemd_default_target/76e97751 │
└─────────────────────────────────┘
kernel_swapusage/e3ad9a83: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/kernel_state/kernel_swapusage/e3ad9a83/stage
kernel_swapusage/e3ad9a83: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/e3ad9a83: failed to submit job with returncode: 255
───────────────── Error Message for kernel_swapusage/e3ad9a83 ──────────────────
sysctl: cannot stat /proc/sys/kernel/swapusage: No such file or directory

kernel_swapusage/e3ad9a83: Detected failure in running test, will attempt to retry test: 1 times
kernel_swapusage/e3ad9a83: Run - 1/1
kernel_swapusage/e3ad9a83: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/e3ad9a83: failed to submit job with returncode: 255
kernel_swapusage/e3ad9a83: Test completed in 0.017049 seconds with returncode: 255
kernel_swapusage/e3ad9a83: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/kernel_state/kernel_swapusage/e3ad9a83/kernel_swapusage.out
kernel_swapusage/e3ad9a83: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/kernel_state/kernel_swapusage/e3ad9a83/kernel_swapusage.err
root_disk_usage/768e931c: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/disk_usage/root_disk_usage/768e931c/stage
root_disk_usage/768e931c: Running Test via command: bash root_disk_usage_build.sh
root_disk_usage/768e931c: Test completed in 0.009351 seconds with returncode: 0
root_disk_usage/768e931c: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/disk_usage/root_disk_usage/768e931c/root_disk_usage.out
root_disk_usage/768e931c: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/disk_usage/root_disk_usage/768e931c/root_disk_usage.err
systemd_default_target/76e97751: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/76e97751/stage
systemd_default_target/76e97751: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/76e97751: failed to submit job with returncode: 1
────────────── Error Message for systemd_default_target/76e97751 ───────────────

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



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


Adding 3 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_x_px518k.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:47:59                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/tags_example.yml                                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                           Buildspecs By Tag=network                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/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/v2.0/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/b9f2c │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ 429      │        │ sh       │          │       │       │ string   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ tags_ex │
│          │        │          │          │       │       │          │ ample.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ list_of_ │ script │ generic. │ None     │ None  │ None  │ tags can │ /home/d │
│ strings_ │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ tags/970 │        │ sh       │          │       │       │ list of  │ ckouts/ │
│ 16c50    │        │          │          │       │       │ strings  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ tags_ex │
│          │        │          │          │       │       │          │ ample.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
string_tag/b9f2c429: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/string_tag/b9f2c429
list_of_strings_tags/97016c50: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/list_of_strings_tags/97016c50
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
string_tag/b9f2c429 does not have any dependencies adding test to queue
list_of_strings_tags/97016c50 does not have any dependencies adding test to queue
    Builders Eligible to Run     
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                       ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ string_tag/b9f2c429           │
│ list_of_strings_tags/97016c50 │
└───────────────────────────────┘
string_tag/b9f2c429: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/string_tag/b9f2c429/stage
string_tag/b9f2c429: Running Test via command: bash string_tag_build.sh
string_tag/b9f2c429: Test completed in 0.006825 seconds with returncode: 0
string_tag/b9f2c429: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/string_tag/b9f2c429/string_tag.out
string_tag/b9f2c429: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/string_tag/b9f2c429/string_tag.err
list_of_strings_tags/97016c50: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/list_of_strings_tags/97016c50/stage
list_of_strings_tags/97016c50: Running Test via command: bash list_of_strings_tags_build.sh
list_of_strings_tags/97016c50: Test completed in 3.029017 seconds with returncode: 0
list_of_strings_tags/97016c50: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/list_of_strings_tags/97016c50/list_of_strings_tags.out
list_of_strings_tags/97016c50: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/list_of_strings_tags/97016c50/list_of_strings_tags.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ string_tag/b9f2c429     │ generic.local.bash │ PASS   │ 0          │ 0.007   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ list_of_strings_tags/97 │ generic.local.bash │ PASS   │ 0          │ 3.029   │
│ 016c50                  │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_1_pzkg83.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:03                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/python-shell.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/python-hello.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/test_status/pass_returncode.yml                                      ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 3                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/python-shell.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/python-hello.yml                                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/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/v2.0/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/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/db34 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 9067     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ python- │
│          │        │          │          │       │       │          │ shell.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello    │ /home/d │
│ ello/9fc │        │ local.ba │          │       │       │ World    │ ocs/che │
│ fe999    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ python- │
│          │        │          │          │       │       │          │ hello.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/1e797 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 0fd      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/84a79 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 5c0      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /8e4b441 │        │          │          │       │       │ failed   │ readthe │
│ f        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/9a3 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ a46ec    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
circle_area/db349067: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/db349067
python_hello/9fcfe999: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/9fcfe999
exit1_fail/1e7970fd: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/1e7970fd
exit1_pass/84a795c0: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_pass/84a795c0
returncode_list_mismatch/8e4b441f: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/8e4b441f
returncode_int_match/9a3a46ec: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_int_match/9a3a46ec
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/1e7970fd does not have any dependencies adding test to queue
returncode_list_mismatch/8e4b441f does not have any dependencies adding test to queue
circle_area/db349067 does not have any dependencies adding test to queue
python_hello/9fcfe999 does not have any dependencies adding test to queue
returncode_int_match/9a3a46ec does not have any dependencies adding test to queue
exit1_pass/84a795c0 does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/1e7970fd               │
│ returncode_list_mismatch/8e4b441f │
│ circle_area/db349067              │
│ python_hello/9fcfe999             │
│ returncode_int_match/9a3a46ec     │
│ exit1_pass/84a795c0               │
└───────────────────────────────────┘
exit1_fail/1e7970fd: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/1e7970fd/stage
exit1_fail/1e7970fd: Running Test via command: bash exit1_fail_build.sh
exit1_fail/1e7970fd: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/1e7970fd ─────────────────────

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

returncode_list_mismatch/8e4b441f: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/8e4b441f: Run - 1/1
returncode_list_mismatch/8e4b441f: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/8e4b441f: failed to submit job with returncode: 2
returncode_list_mismatch/8e4b441f: Test completed in 0.014536 seconds with returncode: 2
returncode_list_mismatch/8e4b441f: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/8e4b441f/returncode_list_mismatch.out
returncode_list_mismatch/8e4b441f: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/8e4b441f/returncode_list_mismatch.err
returncode_list_mismatch/8e4b441f: Checking returncode - 2 is matched in list [1, 3]
circle_area/db349067: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/db349067/stage
circle_area/db349067: Running Test via command: bash circle_area_build.sh
circle_area/db349067: Test completed in 0.035486 seconds with returncode: 0
circle_area/db349067: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/db349067/circle_area.out
circle_area/db349067: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/db349067/circle_area.err
python_hello/9fcfe999: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/9fcfe999/stage
python_hello/9fcfe999: Running Test via command: bash python_hello_build.sh
python_hello/9fcfe999: Test completed in 0.030933 seconds with returncode: 0
python_hello/9fcfe999: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/9fcfe999/python_hello.out
python_hello/9fcfe999: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/9fcfe999/python_hello.err
returncode_int_match/9a3a46ec: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_int_match/9a3a46ec/stage
returncode_int_match/9a3a46ec: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/9a3a46ec: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/9a3a46ec ────────────────

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

exit1_pass/84a795c0: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/84a795c0: Run - 1/1
exit1_pass/84a795c0: Running Test via command: bash exit1_pass_build.sh
exit1_pass/84a795c0: failed to submit job with returncode: 1
exit1_pass/84a795c0: Test completed in 0.014572 seconds with returncode: 1
exit1_pass/84a795c0: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_pass/84a795c0/exit1_pass.out
exit1_pass/84a795c0: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_pass/84a795c0/exit1_pass.err
exit1_pass/84a795c0: Checking returncode - 1 is matched in list [1]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fail/1e7970fd     │ generic.local.bash │ FAIL   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/84a795c0     │ generic.local.bash │ PASS   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.015   │
│ h/8e4b441f              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ python_hello/9fcfe999   │ generic.local.bash │ PASS   │ 0          │ 0.031   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/db349067    │ generic.local.bash │ PASS   │ 0          │ 0.035   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/9a │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ 3a46ec                  │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 6 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_k7p33zao.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:04                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/test_status/pass_returncode.yml                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/tags_example.yml                                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/test_status/pass_returncode.yml                                      ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=fail                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/test_status/pass_returncode.yml                                      ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                           Buildspecs By Tag=network                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/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/v2.0/tutorials/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/tags_example.yml: VALID
Total builder objects created: 6
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/09413 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ c89      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/5963e │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ b84      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /bcf7ba1 │        │          │          │       │       │ failed   │ readthe │
│ e        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/09e │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 7f193    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ string_t │ script │ generic. │ None     │ None  │ None  │ tags can │ /home/d │
│ ag/d1978 │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ a6d      │        │ sh       │          │       │       │ string   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ tags_ex │
│          │        │          │          │       │       │          │ ample.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ list_of_ │ script │ generic. │ None     │ None  │ None  │ tags can │ /home/d │
│ strings_ │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ tags/b9e │        │ sh       │          │       │       │ list of  │ ckouts/ │
│ 44992    │        │          │          │       │       │ strings  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ tags_ex │
│          │        │          │          │       │       │          │ ample.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/09413c89: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/09413c89
exit1_pass/5963eb84: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_pass/5963eb84
returncode_list_mismatch/bcf7ba1e: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bcf7ba1e
returncode_int_match/09e7f193: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_int_match/09e7f193
string_tag/d1978a6d: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/string_tag/d1978a6d
list_of_strings_tags/b9e44992: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/list_of_strings_tags/b9e44992
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_int_match/09e7f193 does not have any dependencies adding test to queue
exit1_fail/09413c89 does not have any dependencies adding test to queue
string_tag/d1978a6d does not have any dependencies adding test to queue
exit1_pass/5963eb84 does not have any dependencies adding test to queue
returncode_list_mismatch/bcf7ba1e does not have any dependencies adding test to queue
list_of_strings_tags/b9e44992 does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ returncode_int_match/09e7f193     │
│ exit1_fail/09413c89               │
│ string_tag/d1978a6d               │
│ exit1_pass/5963eb84               │
│ returncode_list_mismatch/bcf7ba1e │
│ list_of_strings_tags/b9e44992     │
└───────────────────────────────────┘
returncode_int_match/09e7f193: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_int_match/09e7f193/stage
returncode_int_match/09e7f193: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/09e7f193: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/09e7f193 ────────────────

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

exit1_fail/09413c89: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/09413c89: Run - 1/1
exit1_fail/09413c89: Running Test via command: bash exit1_fail_build.sh
exit1_fail/09413c89: failed to submit job with returncode: 1
exit1_fail/09413c89: Test completed in 0.014075 seconds with returncode: 1
exit1_fail/09413c89: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/09413c89/exit1_fail.out
exit1_fail/09413c89: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/09413c89/exit1_fail.err
string_tag/d1978a6d: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/string_tag/d1978a6d/stage
string_tag/d1978a6d: Running Test via command: bash string_tag_build.sh
string_tag/d1978a6d: Test completed in 0.006185 seconds with returncode: 0
string_tag/d1978a6d: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/string_tag/d1978a6d/string_tag.out
string_tag/d1978a6d: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/string_tag/d1978a6d/string_tag.err
exit1_pass/5963eb84: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_pass/5963eb84/stage
exit1_pass/5963eb84: Running Test via command: bash exit1_pass_build.sh
exit1_pass/5963eb84: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/5963eb84 ─────────────────────

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

returncode_list_mismatch/bcf7ba1e: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/bcf7ba1e: Run - 1/1
returncode_list_mismatch/bcf7ba1e: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/bcf7ba1e: failed to submit job with returncode: 2
returncode_list_mismatch/bcf7ba1e: Test completed in 0.014307 seconds with returncode: 2
returncode_list_mismatch/bcf7ba1e: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bcf7ba1e/returncode_list_mismatch.out
returncode_list_mismatch/bcf7ba1e: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bcf7ba1e/returncode_list_mismatch.err
returncode_list_mismatch/bcf7ba1e: Checking returncode - 2 is matched in list [1, 3]
list_of_strings_tags/b9e44992: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/list_of_strings_tags/b9e44992/stage
list_of_strings_tags/b9e44992: Running Test via command: bash list_of_strings_tags_build.sh
list_of_strings_tags/b9e44992: Test completed in 3.02986 seconds with returncode: 0
list_of_strings_tags/b9e44992: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/list_of_strings_tags/b9e44992/list_of_strings_tags.out
list_of_strings_tags/b9e44992: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/list_of_strings_tags/b9e44992/list_of_strings_tags.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ returncode_int_match/09 │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ e7f193                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.014   │
│ h/bcf7ba1e              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ string_tag/d1978a6d     │ generic.local.bash │ PASS   │ 0          │ 0.006   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/5963eb84     │ generic.local.bash │ PASS   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ list_of_strings_tags/b9 │ generic.local.bash │ PASS   │ 0          │ 3.030   │
│ e44992                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/09413c89     │ generic.local.bash │ FAIL   │ 1          │ 0.014   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 6 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_0tzjyzjm.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:08                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/test_status/pass_returncode.yml                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/python-hello.yml                                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/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/v2.0/tutorials/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/python-hello.yml: VALID
Total builder objects created: 5
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/4c531 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ d1a      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/37542 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 67f      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /4cb24f4 │        │          │          │       │       │ failed   │ readthe │
│ 2        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/039 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 5404d    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello    │ /home/d │
│ ello/a2c │        │ local.ba │          │       │       │ World    │ ocs/che │
│ 1a9ec    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ python- │
│          │        │          │          │       │       │          │ hello.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/4c531d1a: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/4c531d1a
exit1_pass/3754267f: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_pass/3754267f
returncode_list_mismatch/4cb24f42: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/4cb24f42
returncode_int_match/0395404d: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_int_match/0395404d
python_hello/a2c1a9ec: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/a2c1a9ec
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/4c531d1a does not have any dependencies adding test to queue
returncode_int_match/0395404d does not have any dependencies adding test to queue
python_hello/a2c1a9ec does not have any dependencies adding test to queue
exit1_pass/3754267f does not have any dependencies adding test to queue
returncode_list_mismatch/4cb24f42 does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/4c531d1a               │
│ returncode_int_match/0395404d     │
│ python_hello/a2c1a9ec             │
│ exit1_pass/3754267f               │
│ returncode_list_mismatch/4cb24f42 │
└───────────────────────────────────┘
exit1_fail/4c531d1a: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/4c531d1a/stage
exit1_fail/4c531d1a: Running Test via command: bash exit1_fail_build.sh
exit1_fail/4c531d1a: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/4c531d1a ─────────────────────

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

returncode_int_match/0395404d: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/0395404d: Run - 1/1
returncode_int_match/0395404d: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/0395404d: failed to submit job with returncode: 128
returncode_int_match/0395404d: Test completed in 0.014086 seconds with returncode: 128
returncode_int_match/0395404d: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_int_match/0395404d/returncode_int_match.out
returncode_int_match/0395404d: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_int_match/0395404d/returncode_int_match.err
returncode_int_match/0395404d: Checking returncode - 128 is matched in list [128]
python_hello/a2c1a9ec: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/a2c1a9ec/stage
python_hello/a2c1a9ec: Running Test via command: bash python_hello_build.sh
python_hello/a2c1a9ec: Test completed in 0.03013 seconds with returncode: 0
python_hello/a2c1a9ec: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/a2c1a9ec/python_hello.out
python_hello/a2c1a9ec: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/a2c1a9ec/python_hello.err
exit1_pass/3754267f: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_pass/3754267f/stage
exit1_pass/3754267f: Running Test via command: bash exit1_pass_build.sh
exit1_pass/3754267f: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/3754267f ─────────────────────

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

returncode_list_mismatch/4cb24f42: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/4cb24f42: Run - 1/1
returncode_list_mismatch/4cb24f42: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/4cb24f42: failed to submit job with returncode: 2
returncode_list_mismatch/4cb24f42: Test completed in 0.014915 seconds with returncode: 2
returncode_list_mismatch/4cb24f42: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/4cb24f42/returncode_list_mismatch.out
returncode_list_mismatch/4cb24f42: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/4cb24f42/returncode_list_mismatch.err
returncode_list_mismatch/4cb24f42: Checking returncode - 2 is matched in list [1, 3]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ returncode_int_match/03 │ generic.local.bash │ PASS   │ 128        │ 0.014   │
│ 95404d                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/3754267f     │ generic.local.bash │ PASS   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/4c531d1a     │ generic.local.bash │ FAIL   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ python_hello/a2c1a9ec   │ generic.local.bash │ PASS   │ 0          │ 0.030   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.015   │
│ h/4cb24f42              │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 5 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_1d115117.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:09                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/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/v2.0/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/v2.0/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/d1ed0 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 49e      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /d087f85 │        │          │          │       │       │ failed   │ readthe │
│ f        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/d1ed049e: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/d1ed049e
returncode_list_mismatch/d087f85f: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/d087f85f
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/d1ed049e does not have any dependencies adding test to queue
returncode_list_mismatch/d087f85f does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/d1ed049e               │
│ returncode_list_mismatch/d087f85f │
└───────────────────────────────────┘
exit1_fail/d1ed049e: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/d1ed049e/stage
exit1_fail/d1ed049e: Running Test via command: bash exit1_fail_build.sh
exit1_fail/d1ed049e: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/d1ed049e ─────────────────────

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

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



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


Adding 2 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_sb1hwlx8.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:09                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/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/v2.0/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/v2.0/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/v2.0/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/v2.0/tutorials/test_status/pass_returncode.yml: VALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/t… │
└──────────────────────────────────────────────────────────────────────────────┘

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

Please see logfile: /tmp/tmp4h8j2kdp/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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:10                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/hello_world.yml                                                      ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                         Buildspecs by Name=hello_world                         
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/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/v2.0/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/ad17 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 2cc1     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ hello_w │
│          │        │          │          │       │       │          │ orld.ym │
│          │        │          │          │       │       │          │ l       │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
hello_world/ad172cc1: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/ad172cc1
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
hello_world/ad172cc1 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/ad172cc1 │
└──────────────────────┘
hello_world/ad172cc1: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/ad172cc1/stage
hello_world/ad172cc1: Running Test via command: bash hello_world_build.sh
hello_world/ad172cc1: Test completed in 0.005871 seconds with returncode: 0
hello_world/ad172cc1: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/ad172cc1/hello_world.out
hello_world/ad172cc1: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/ad172cc1/hello_world.err
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ hello_world/ad172cc1 │ generic.local.bash │ PASS   │ 0          │ 0.006   │
└──────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_xswfw_xv.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:10                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/add_numbers.yml                                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/summary_example.yml                                                  ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                         Buildspecs by Name=add_numbers                         
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/add_numbers.yml                                                      ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                       Buildspecs by Name=summary_example                       
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/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/v2.0/tutorials/add_numbers.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/summary_example.yml: VALID
Total builder objects created: 2
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ add_numb │ script │ generic. │ None     │ None  │ None  │ Add X+Y  │ /home/d │
│ ers/f352 │        │ local.ba │          │       │       │          │ ocs/che │
│ 4139     │        │ sh       │          │       │       │          │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ add_num │
│          │        │          │          │       │       │          │ bers.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ summary_ │ script │ generic. │ None     │ None  │ None  │ The      │ /home/d │
│ example/ │        │ local.ba │          │       │       │ summary  │ ocs/che │
│ 6b37dca7 │        │ sh       │          │       │       │ field    │ ckouts/ │
│          │        │          │          │       │       │ can be a │ readthe │
│          │        │          │          │       │       │ multi-li │ docs.or │
│          │        │          │          │       │       │ ne       │ g/user_ │
│          │        │          │          │       │       │ string   │ builds/ │
│          │        │          │          │       │       │ and      │ buildte │
│          │        │          │          │       │       │ exceed   │ st/chec │
│          │        │          │          │       │       │ 80 char  │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ summary │
│          │        │          │          │       │       │          │ _exampl │
│          │        │          │          │       │       │          │ e.yml   │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
add_numbers/f3524139: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/add_numbers/add_numbers/f3524139
summary_example/6b37dca7: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/summary_example/summary_example/6b37dca7
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
add_numbers/f3524139 does not have any dependencies adding test to queue
summary_example/6b37dca7 does not have any dependencies adding test to queue
  Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                  ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ add_numbers/f3524139     │
│ summary_example/6b37dca7 │
└──────────────────────────┘
add_numbers/f3524139: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/add_numbers/add_numbers/f3524139/stage
add_numbers/f3524139: Running Test via command: bash add_numbers_build.sh
add_numbers/f3524139: Test completed in 0.006047 seconds with returncode: 0
add_numbers/f3524139: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/add_numbers/add_numbers/f3524139/add_numbers.out
add_numbers/f3524139: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/add_numbers/add_numbers/f3524139/add_numbers.err
summary_example/6b37dca7: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/summary_example/summary_example/6b37dca7/stage
summary_example/6b37dca7: Running Test via command: bash summary_example_build.sh
summary_example/6b37dca7: Test completed in 0.006161 seconds with returncode: 0
summary_example/6b37dca7: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/summary_example/summary_example/6b37dca7/summary_example.out
summary_example/6b37dca7: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/summary_example/summary_example/6b37dca7/summary_example.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ add_numbers/f3524139    │ generic.local.bash │ PASS   │ 0          │ 0.006   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ summary_example/6b37dca │ generic.local.bash │ PASS   │ 0          │ 0.006   │
│ 7                       │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_8k3tf5fy.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:11                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/csh_shell_examples.yml                                               ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/environment.yml                                                      ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                    Buildspecs by Executor=generic.local.csh                    
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/csh_shell_examples.yml                                               ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/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/v2.0/tutorials/csh_shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/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/c12ca1 │        │ local.cs │          │       │       │ shell    │ ocs/che │
│ 1e       │        │ h        │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ csh_she │
│          │        │          │          │       │       │          │ ll_exam │
│          │        │          │          │       │       │          │ ples.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ bash_env │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ _variabl │        │ local.ba │          │       │       │ environm │ ocs/che │
│ es/ac0c9 │        │ sh       │          │       │       │ ent      │ ckouts/ │
│ 880      │        │          │          │       │       │ variable │ readthe │
│          │        │          │          │       │       │ s in     │ docs.or │
│          │        │          │          │       │       │ default  │ g/user_ │
│          │        │          │          │       │       │ shell    │ builds/ │
│          │        │          │          │       │       │ (bash)   │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ environ │
│          │        │          │          │       │       │          │ ment.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ csh_env_ │ script │ generic. │ None     │ None  │ None  │ csh      │ /home/d │
│ declarat │        │ local.cs │          │       │       │ shell    │ ocs/che │
│ ion/0786 │        │ h        │          │       │       │ example  │ ckouts/ │
│ 2136     │        │          │          │       │       │ to       │ readthe │
│          │        │          │          │       │       │ declare  │ docs.or │
│          │        │          │          │       │       │ environm │ g/user_ │
│          │        │          │          │       │       │ ent      │ builds/ │
│          │        │          │          │       │       │ variable │ buildte │
│          │        │          │          │       │       │ s        │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ environ │
│          │        │          │          │       │       │          │ ment.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ tcsh_env │ script │ generic. │ None     │ None  │ None  │ tcsh     │ /home/d │
│ _declara │        │ local.cs │          │       │       │ shell    │ ocs/che │
│ tion/54d │        │ h        │          │       │       │ example  │ ckouts/ │
│ 77566    │        │          │          │       │       │ to       │ readthe │
│          │        │          │          │       │       │ declare  │ docs.or │
│          │        │          │          │       │       │ environm │ g/user_ │
│          │        │          │          │       │       │ ent      │ builds/ │
│          │        │          │          │       │       │ variable │ buildte │
│          │        │          │          │       │       │ s        │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ environ │
│          │        │          │          │       │       │          │ ment.ym │
│          │        │          │          │       │       │          │ l       │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
csh_shell/c12ca11e: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.csh/csh_shell_examples/csh_shell/c12ca11e
bash_env_variables/ac0c9880: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/environment/bash_env_variables/ac0c9880
csh_env_declaration/07862136: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.csh/environment/csh_env_declaration/07862136
tcsh_env_declaration/54d77566: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.csh/environment/tcsh_env_declaration/54d77566
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
bash_env_variables/ac0c9880 does not have any dependencies adding test to queue
csh_shell/c12ca11e does not have any dependencies adding test to queue
csh_env_declaration/07862136 does not have any dependencies adding test to queue
tcsh_env_declaration/54d77566 does not have any dependencies adding test to queue
    Builders Eligible to Run     
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                       ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ bash_env_variables/ac0c9880   │
│ csh_shell/c12ca11e            │
│ csh_env_declaration/07862136  │
│ tcsh_env_declaration/54d77566 │
└───────────────────────────────┘
bash_env_variables/ac0c9880: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/environment/bash_env_variables/ac0c9880/stage
bash_env_variables/ac0c9880: Running Test via command: bash bash_env_variables_build.sh
bash_env_variables/ac0c9880: Test completed in 0.007659 seconds with returncode: 0
bash_env_variables/ac0c9880: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/environment/bash_env_variables/ac0c9880/bash_env_variables.out
bash_env_variables/ac0c9880: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/environment/bash_env_variables/ac0c9880/bash_env_variables.err
csh_shell/c12ca11e: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.csh/csh_shell_examples/csh_shell/c12ca11e/stage
csh_shell/c12ca11e: Running Test via command: bash csh_shell_build.sh
csh_shell/c12ca11e: Test completed in 2.178838 seconds with returncode: 0
csh_shell/c12ca11e: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.csh/csh_shell_examples/csh_shell/c12ca11e/csh_shell.out
csh_shell/c12ca11e: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.csh/csh_shell_examples/csh_shell/c12ca11e/csh_shell.err
csh_env_declaration/07862136: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.csh/environment/csh_env_declaration/07862136/stage
csh_env_declaration/07862136: Running Test via command: bash csh_env_declaration_build.sh
csh_env_declaration/07862136: Test completed in 2.181413 seconds with returncode: 0
csh_env_declaration/07862136: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.csh/environment/csh_env_declaration/07862136/csh_env_declaration.out
csh_env_declaration/07862136: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.csh/environment/csh_env_declaration/07862136/csh_env_declaration.err
tcsh_env_declaration/54d77566: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.csh/environment/tcsh_env_declaration/54d77566/stage
tcsh_env_declaration/54d77566: Running Test via command: bash tcsh_env_declaration_build.sh
tcsh_env_declaration/54d77566: Test completed in 0.013686 seconds with returncode: 0
tcsh_env_declaration/54d77566: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.csh/environment/tcsh_env_declaration/54d77566/tcsh_env_declaration.out
tcsh_env_declaration/54d77566: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.csh/environment/tcsh_env_declaration/54d77566/tcsh_env_declaration.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ bash_env_variables/ac0c │ generic.local.bash │ PASS   │ 0          │ 0.008   │
│ 9880                    │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ csh_env_declaration/078 │ generic.local.csh  │ PASS   │ 0          │ 2.181   │
│ 62136                   │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ csh_shell/c12ca11e      │ generic.local.csh  │ PASS   │ 0          │ 2.179   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ tcsh_env_declaration/54 │ generic.local.csh  │ PASS   │ 0          │ 0.014   │
│ d77566                  │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 4 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest__l45odct.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:17                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/test_status/pass_returncode.yml                                      ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/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/v2.0/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/v2.0/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/v2.0/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/c7169 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 43f      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/3ec │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 9a4a8    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_pass/c716943f: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_pass/c716943f
returncode_int_match/3ec9a4a8: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_int_match/3ec9a4a8
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_int_match/3ec9a4a8 does not have any dependencies adding test to queue
exit1_pass/c716943f does not have any dependencies adding test to queue
    Builders Eligible to Run     
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                       ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ returncode_int_match/3ec9a4a8 │
│ exit1_pass/c716943f           │
└───────────────────────────────┘
returncode_int_match/3ec9a4a8: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_int_match/3ec9a4a8/stage
returncode_int_match/3ec9a4a8: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/3ec9a4a8: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/3ec9a4a8 ────────────────

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

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



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


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


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



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


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


Total Discovered Buildspecs:  75
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  75
────────────────────────────── Parsing Buildspecs ──────────────────────────────
[compiler_exclude_example][/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/compilation/compiler_exclude.yml]: Unable to find any compilers based on regular expression: ['gcc'] so no tests were created.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/skip_buildspec.yml: skipping all test since 'skip' is defined
skip: skipping test due to 'skip' property.
Valid Buildspecs: 68
Invalid Buildspecs: 7
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/containers/run_commands.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/specify_regex_type.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/sleep.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/perf_checks/assert_lt.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/status_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/regex_on_filename.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/multi_executors/executors_var_env_declaration.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/gcc_version.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/file_count_pattern.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/file_count_filetype.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/compilation/compiler_exclude.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/explicit_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/perf_checks/assert_ne.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/exists.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/is_symlink.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/linecount.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/metrics/metrics_regex_with_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/perf_checks/assert_gt.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/environment.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/runtime_status_test.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/containers/container_executor/python_container.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/job_dependency/ex2.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/metrics/metrics_with_regex_type.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/metrics/metrics_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/add_numbers.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/file_count_file_traverse_limit.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/containers/hello_world_singularity.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/containers/run_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/csh_shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/perf_checks/assert_range.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/skip_buildspec.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/skip_tests.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/containers/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/perf_checks/assert_eq_exceptions.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/metrics/metrics_file_regex_invalid_file.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/file_count.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/file_and_dir_check.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/job_dependency/ex1.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/perf_checks/assert_eq.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/perf_checks/contains.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/metrics/metrics_regex_with_invalid_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/burstbuffer_datawarp_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/compilation/stream.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/multi_executors/executor_scheduler.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/containers/bind_mounts.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/mode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/maintainers_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/multi_executors/executor_regex_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/compilation/hello_world_compilation.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/job_dependency/ex3.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/perf_checks/assert_ge.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/file_linecount_failure.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/perf_checks/assert_le.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/invalid_executor.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/shebang.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/containers/container_executor/ubuntu.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/job_dependency/ex4.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/file_exists_with_number.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/file_linecount.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/tags_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/multi_executors/status_by_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/summary_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/metrics/invalid_metrics.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/metrics/missing_required_in_metrics.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/metrics/invalid_metric_name.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/invalid_buildspec_section.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/invalid_tags.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/file_linecount_invalid.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tutorials/test_status/file_exists_exception.yml: INVALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/t… │
└──────────────────────────────────────────────────────────────────────────────┘
Total builder objects created: 113
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descrip ┃ buildspe ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ tion    ┃ cs       ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━┩
│ containe │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ r_comman │        │ local.ba │          │       │       │ arbitra │ cs/check │
│ ds_ubunt │        │ sh       │          │       │       │ ry      │ outs/rea │
│ u/52823e │        │          │          │       │       │ linux   │ dthedocs │
│ d4       │        │          │          │       │       │ command │ .org/use │
│          │        │          │          │       │       │ s in    │ r_builds │
│          │        │          │          │       │       │ ubuntu  │ /buildte │
│          │        │          │          │       │       │ contain │ st/check │
│          │        │          │          │       │       │ er      │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/cont │
│          │        │          │          │       │       │         │ ainers/r │
│          │        │          │          │       │       │         │ un_comma │
│          │        │          │          │       │       │         │ nds.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ containe │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ r_option │        │ local.ba │          │       │       │ arbitra │ cs/check │
│ s/248c04 │        │ sh       │          │       │       │ ry      │ outs/rea │
│ 39       │        │          │          │       │       │ linux   │ dthedocs │
│          │        │          │          │       │       │ command │ .org/use │
│          │        │          │          │       │       │ s in    │ r_builds │
│          │        │          │          │       │       │ ubuntu  │ /buildte │
│          │        │          │          │       │       │ contain │ st/check │
│          │        │          │          │       │       │ er      │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/cont │
│          │        │          │          │       │       │         │ ainers/r │
│          │        │          │          │       │       │         │ un_comma │
│          │        │          │          │       │       │         │ nds.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.searc │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ h.stdout │        │ local.ba │          │       │       │ re.sear │ cs/check │
│ /791d1db │        │ sh       │          │       │       │ ch on   │ outs/rea │
│ b        │        │          │          │       │       │ stdout  │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ specify_ │
│          │        │          │          │       │       │         │ regex_ty │
│          │        │          │          │       │       │         │ pe.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.match │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ .stdout/ │        │ local.ba │          │       │       │ re.matc │ cs/check │
│ 6664ae9a │        │ sh       │          │       │       │ h on    │ outs/rea │
│          │        │          │          │       │       │ stdout  │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ specify_ │
│          │        │          │          │       │       │         │ regex_ty │
│          │        │          │          │       │       │         │ pe.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.fullm │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ atch.std │        │ local.ba │          │       │       │ re.full │ cs/check │
│ out/89fe │        │ sh       │          │       │       │ match   │ outs/rea │
│ e34b     │        │          │          │       │       │ on      │ dthedocs │
│          │        │          │          │       │       │ stdout  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ specify_ │
│          │        │          │          │       │       │         │ regex_ty │
│          │        │          │          │       │       │         │ pe.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.match │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ _on_file │        │ local.ba │          │       │       │ re.matc │ cs/check │
│ _regex/1 │        │ sh       │          │       │       │ h on    │ outs/rea │
│ 6121872  │        │          │          │       │       │ file    │ dthedocs │
│          │        │          │          │       │       │ regex   │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ specify_ │
│          │        │          │          │       │       │         │ regex_ty │
│          │        │          │          │       │       │         │ pe.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ sleep/25 │ script │ generic. │ None     │ None  │ None  │ sleep 2 │ /home/do │
│ 7a11bc   │        │ local.ba │          │       │       │ seconds │ cs/check │
│          │        │ sh       │          │       │       │         │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/slee │
│          │        │          │          │       │       │         │ p.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_l │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ t_exampl │        │ local.ba │          │       │       │ stream  │ cs/check │
│ e/078f76 │        │ sh       │          │       │       │ test    │ outs/rea │
│ 75       │        │          │          │       │       │ with    │ dthedocs │
│          │        │          │          │       │       │ metrics │ .org/use │
│          │        │          │          │       │       │ example │ r_builds │
│          │        │          │          │       │       │ using   │ /buildte │
│          │        │          │          │       │       │ assert  │ st/check │
│          │        │          │          │       │       │ less    │ outs/v2. │
│          │        │          │          │       │       │ than    │ 0/tutori │
│          │        │          │          │       │       │         │ als/perf │
│          │        │          │          │       │       │         │ _checks/ │
│          │        │          │          │       │       │         │ assert_l │
│          │        │          │          │       │       │         │ t.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ out_pass │        │ sh       │          │       │       │ based   │ outs/rea │
│ /ad998b4 │        │          │          │       │       │ on      │ dthedocs │
│ d        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ status_r │
│          │        │          │          │       │       │         │ egex.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ out_fail │        │ sh       │          │       │       │ based   │ outs/rea │
│ /28938bf │        │          │          │       │       │ on      │ dthedocs │
│ d        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ status_r │
│          │        │          │          │       │       │         │ egex.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ err_pass │        │ sh       │          │       │       │ based   │ outs/rea │
│ /381f750 │        │          │          │       │       │ on      │ dthedocs │
│ 0        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ status_r │
│          │        │          │          │       │       │         │ egex.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ err_fail │        │ sh       │          │       │       │ based   │ outs/rea │
│ /f1eec4b │        │          │          │       │       │ on      │ dthedocs │
│ 9        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ status_r │
│          │        │          │          │       │       │         │ egex.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ regex_on │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ _multipl │        │ local.ba │          │       │       │ regex   │ cs/check │
│ e_files/ │        │ sh       │          │       │       │ on      │ outs/rea │
│ 77f381c5 │        │          │          │       │       │ multipl │ dthedocs │
│          │        │          │          │       │       │ e files │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ regex_on │
│          │        │          │          │       │       │         │ _filenam │
│          │        │          │          │       │       │         │ e.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 │
│ /c2782f1 │        │          │          │       │       │ ry is   │ .org/use │
│ b        │        │          │          │       │       │ not     │ r_builds │
│          │        │          │          │       │       │ support │ /buildte │
│          │        │          │          │       │       │ ed      │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ regex_on │
│          │        │          │          │       │       │         │ _filenam │
│          │        │          │          │       │       │         │ e.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_exp │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ ansion_s │        │ local.ba │          │       │       │ regex   │ cs/check │
│ upported │        │ sh       │          │       │       │ with    │ outs/rea │
│ /d4b42eb │        │          │          │       │       │ variabl │ dthedocs │
│ f        │        │          │          │       │       │ e and   │ .org/use │
│          │        │          │          │       │       │ shell   │ r_builds │
│          │        │          │          │       │       │ expansi │ /buildte │
│          │        │          │          │       │       │ on      │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ regex_on │
│          │        │          │          │       │       │         │ _filenam │
│          │        │          │          │       │       │         │ e.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 │
│ e7aa531  │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/mult │
│          │        │          │          │       │       │         │ i_execut │
│          │        │          │          │       │       │         │ ors/exec │
│          │        │          │          │       │       │         │ utors_va │
│          │        │          │          │       │       │         │ r_env_de │
│          │        │          │          │       │       │         │ claratio │
│          │        │          │          │       │       │         │ n.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/f │        │          │          │       │       │ vars by │ dthedocs │
│ 4738310  │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/mult │
│          │        │          │          │       │       │         │ i_execut │
│          │        │          │          │       │       │         │ ors/exec │
│          │        │          │          │       │       │         │ utors_va │
│          │        │          │          │       │       │         │ r_env_de │
│          │        │          │          │       │       │         │ claratio │
│          │        │          │          │       │       │         │ n.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ gcc_vers │ script │ generic. │ None     │ None  │ None  │ Print   │ /home/do │
│ ion/7955 │        │ local.ba │          │       │       │ gcc     │ cs/check │
│ 6687     │        │ sh       │          │       │       │ version │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/gcc_ │
│          │        │          │          │       │       │         │ version. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ file    │ /home/do │
│ nt_by_ex │        │ local.ba │          │       │       │ count   │ cs/check │
│ pression │        │ sh       │          │       │       │ by      │ outs/rea │
│ /6b5f671 │        │          │          │       │       │ express │ dthedocs │
│ b        │        │          │          │       │       │ ion     │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ file_cou │
│          │        │          │          │       │       │         │ nt_patte │
│          │        │          │          │       │       │         │ rn.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 │
│ eda4f75  │        │          │          │       │       │ on and  │ .org/use │
│          │        │          │          │       │       │ file    │ r_builds │
│          │        │          │          │       │       │ pattern │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ file_cou │
│          │        │          │          │       │       │         │ nt_patte │
│          │        │          │          │       │       │         │ rn.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ Count   │ /home/do │
│ nt_by_fi │        │ local.ba │          │       │       │ the     │ cs/check │
│ letype/a │        │ sh       │          │       │       │ number  │ outs/rea │
│ c51a8dc  │        │          │          │       │       │ of      │ dthedocs │
│          │        │          │          │       │       │ directo │ .org/use │
│          │        │          │          │       │       │ ries    │ r_builds │
│          │        │          │          │       │       │ and     │ /buildte │
│          │        │          │          │       │       │ symboli │ st/check │
│          │        │          │          │       │       │ c links │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ file_cou │
│          │        │          │          │       │       │         │ nt_filet │
│          │        │          │          │       │       │         │ ype.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello   │ /home/do │
│ rld/af96 │        │ local.ba │          │       │       │ world   │ cs/check │
│ fe6a     │        │ sh       │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/hell │
│          │        │          │          │       │       │         │ o_world. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calcula │ /home/do │
│ rea/1045 │        │ local.ba │          │       │       │ te      │ cs/check │
│ f543     │        │ sh       │          │       │       │ circle  │ outs/rea │
│          │        │          │          │       │       │ of area │ dthedocs │
│          │        │          │          │       │       │ given a │ .org/use │
│          │        │          │          │       │       │ radius  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/pyth │
│          │        │          │          │       │       │         │ on-shell │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ always_p │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ ass/ba24 │        │ local.sh │          │       │       │ test    │ cs/check │
│ 4bd8     │        │          │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ always  │ dthedocs │
│          │        │          │          │       │       │ 'PASS'  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ explicit │
│          │        │          │          │       │       │         │ _state.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ always_f │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ ail/f9b7 │        │ local.sh │          │       │       │ test    │ cs/check │
│ d279     │        │          │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ always  │ dthedocs │
│          │        │          │          │       │       │ 'FAIL'  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ explicit │
│          │        │          │          │       │       │         │ _state.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test_fai │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ l_return │        │ local.sh │          │       │       │ test    │ cs/check │
│ code_mat │        │          │          │       │       │ will    │ outs/rea │
│ ch/b54b2 │        │          │          │       │       │ 'FAIL'  │ dthedocs │
│ 28e      │        │          │          │       │       │ even if │ .org/use │
│          │        │          │          │       │       │ we have │ r_builds │
│          │        │          │          │       │       │ returnc │ /buildte │
│          │        │          │          │       │       │ ode     │ st/check │
│          │        │          │          │       │       │ match   │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ explicit │
│          │        │          │          │       │       │         │ _state.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test_pas │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ s_return │        │ local.sh │          │       │       │ test    │ cs/check │
│ code_mis │        │          │          │       │       │ will    │ outs/rea │
│ match/ab │        │          │          │       │       │ 'PASS'  │ dthedocs │
│ 831ba5   │        │          │          │       │       │ even if │ .org/use │
│          │        │          │          │       │       │ we have │ r_builds │
│          │        │          │          │       │       │ returnc │ /buildte │
│          │        │          │          │       │       │ ode     │ st/check │
│          │        │          │          │       │       │ mismatc │ outs/v2. │
│          │        │          │          │       │       │ h       │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ explicit │
│          │        │          │          │       │       │         │ _state.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_n │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ e_exampl │        │ local.ba │          │       │       │ for     │ cs/check │
│ e/2333a4 │        │ sh       │          │       │       │ assert  │ outs/rea │
│ 0b       │        │          │          │       │       │ not     │ dthedocs │
│          │        │          │          │       │       │ equal   │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/perf │
│          │        │          │          │       │       │         │ _checks/ │
│          │        │          │          │       │       │         │ assert_n │
│          │        │          │          │       │       │         │ e.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_e │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ xists/55 │        │ local.ba │          │       │       │ check   │ cs/check │
│ 270b83   │        │ sh       │          │       │       │ based   │ outs/rea │
│          │        │          │          │       │       │ for     │ dthedocs │
│          │        │          │          │       │       │ file    │ .org/use │
│          │        │          │          │       │       │ and     │ r_builds │
│          │        │          │          │       │       │ directo │ /buildte │
│          │        │          │          │       │       │ ry      │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ exists.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_e │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ xists_fa │        │ local.ba │          │       │       │ check   │ cs/check │
│ ilure/4d │        │ sh       │          │       │       │ failure │ outs/rea │
│ 0499be   │        │          │          │       │       │ for     │ dthedocs │
│          │        │          │          │       │       │ existen │ .org/use │
│          │        │          │          │       │       │ ce      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ exists.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ symlink_ │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ test/82c │        │ local.ba │          │       │       │ check   │ cs/check │
│ 22f39    │        │ sh       │          │       │       │ based   │ outs/rea │
│          │        │          │          │       │       │ on      │ dthedocs │
│          │        │          │          │       │       │ symboli │ .org/use │
│          │        │          │          │       │       │ c link  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ is_symli │
│          │        │          │          │       │       │         │ nk.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ linecoun │ script │ generic. │ None     │ None  │ None  │ Write   │ /home/do │
│ t_stdout │        │ local.ba │          │       │       │ 10      │ cs/check │
│ /ced1898 │        │ sh       │          │       │       │ lines   │ outs/rea │
│ a        │        │          │          │       │       │ to      │ dthedocs │
│          │        │          │          │       │       │ stdout  │ .org/use │
│          │        │          │          │       │       │ and run │ r_builds │
│          │        │          │          │       │       │ linecou │ /buildte │
│          │        │          │          │       │       │ nt      │ st/check │
│          │        │          │          │       │       │ check   │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ linecoun │
│          │        │          │          │       │       │         │ t.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ linecoun │ script │ generic. │ None     │ None  │ None  │ Write   │ /home/do │
│ t_stderr │        │ local.ba │          │       │       │ 10      │ cs/check │
│ _mismatc │        │ sh       │          │       │       │ lines   │ outs/rea │
│ h/8bcf22 │        │          │          │       │       │ to      │ dthedocs │
│ 7b       │        │          │          │       │       │ stderr  │ .org/use │
│          │        │          │          │       │       │ and run │ r_builds │
│          │        │          │          │       │       │ linecou │ /buildte │
│          │        │          │          │       │       │ nt      │ st/check │
│          │        │          │          │       │       │ check   │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ linecoun │
│          │        │          │          │       │       │         │ t.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/5e2db0 │        │          │          │       │       │ output  │ .org/use │
│ 24       │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/metr │
│          │        │          │          │       │       │         │ ics/metr │
│          │        │          │          │       │       │         │ ics_rege │
│          │        │          │          │       │       │         │ x_with_l │
│          │        │          │          │       │       │         │ inenum.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_g │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ t_exampl │        │ local.ba │          │       │       │ stream  │ cs/check │
│ e/672a5e │        │ sh       │          │       │       │ test    │ outs/rea │
│ 0a       │        │          │          │       │       │ with    │ dthedocs │
│          │        │          │          │       │       │ metrics │ .org/use │
│          │        │          │          │       │       │ example │ r_builds │
│          │        │          │          │       │       │ using   │ /buildte │
│          │        │          │          │       │       │ assert  │ st/check │
│          │        │          │          │       │       │ greater │ outs/v2. │
│          │        │          │          │       │       │ than.   │ 0/tutori │
│          │        │          │          │       │       │         │ als/perf │
│          │        │          │          │       │       │         │ _checks/ │
│          │        │          │          │       │       │         │ assert_g │
│          │        │          │          │       │       │         │ t.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_env │ script │ generic. │ None     │ None  │ None  │ Declare │ /home/do │
│ _variabl │        │ local.ba │          │       │       │ environ │ cs/check │
│ es/7647c │        │ sh       │          │       │       │ ment    │ outs/rea │
│ 350      │        │          │          │       │       │ variabl │ dthedocs │
│          │        │          │          │       │       │ es in   │ .org/use │
│          │        │          │          │       │       │ default │ r_builds │
│          │        │          │          │       │       │ shell   │ /buildte │
│          │        │          │          │       │       │ (bash)  │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/envi │
│          │        │          │          │       │       │         │ ronment. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ csh_env_ │ script │ generic. │ None     │ None  │ None  │ csh     │ /home/do │
│ declarat │        │ local.cs │          │       │       │ shell   │ cs/check │
│ ion/60a8 │        │ h        │          │       │       │ example │ outs/rea │
│ 9b65     │        │          │          │       │       │ to      │ dthedocs │
│          │        │          │          │       │       │ declare │ .org/use │
│          │        │          │          │       │       │ environ │ r_builds │
│          │        │          │          │       │       │ ment    │ /buildte │
│          │        │          │          │       │       │ variabl │ st/check │
│          │        │          │          │       │       │ es      │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/envi │
│          │        │          │          │       │       │         │ ronment. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ tcsh_env │ script │ generic. │ None     │ None  │ None  │ tcsh    │ /home/do │
│ _declara │        │ local.cs │          │       │       │ shell   │ cs/check │
│ tion/abc │        │ h        │          │       │       │ example │ outs/rea │
│ 5d7b5    │        │          │          │       │       │ to      │ dthedocs │
│          │        │          │          │       │       │ declare │ .org/use │
│          │        │          │          │       │       │ environ │ r_builds │
│          │        │          │          │       │       │ ment    │ /buildte │
│          │        │          │          │       │       │ variabl │ st/check │
│          │        │          │          │       │       │ es      │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/envi │
│          │        │          │          │       │       │         │ ronment. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ Run a   │ /home/do │
│ t_min_ma │        │ local.sh │          │       │       │ sleep   │ cs/check │
│ x/ba8546 │        │          │          │       │       │ job for │ outs/rea │
│ 77       │        │          │          │       │       │ 2       │ dthedocs │
│          │        │          │          │       │       │ seconds │ .org/use │
│          │        │          │          │       │       │ and     │ r_builds │
│          │        │          │          │       │       │ test    │ /buildte │
│          │        │          │          │       │       │ pass if │ st/check │
│          │        │          │          │       │       │ its     │ outs/v2. │
│          │        │          │          │       │       │ within  │ 0/tutori │
│          │        │          │          │       │       │ 1.0-3.0 │ als/test │
│          │        │          │          │       │       │ sec     │ _status/ │
│          │        │          │          │       │       │         │ runtime_ │
│          │        │          │          │       │       │         │ status_t │
│          │        │          │          │       │       │         │ est.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ Run a   │ /home/do │
│ t_min/90 │        │ local.sh │          │       │       │ sleep   │ cs/check │
│ 549924   │        │          │          │       │       │ job for │ outs/rea │
│          │        │          │          │       │       │ 2       │ dthedocs │
│          │        │          │          │       │       │ seconds │ .org/use │
│          │        │          │          │       │       │ and     │ r_builds │
│          │        │          │          │       │       │ test    │ /buildte │
│          │        │          │          │       │       │ pass if │ st/check │
│          │        │          │          │       │       │ its     │ outs/v2. │
│          │        │          │          │       │       │ exceeds │ 0/tutori │
│          │        │          │          │       │       │ min     │ als/test │
│          │        │          │          │       │       │ time of │ _status/ │
│          │        │          │          │       │       │ 1.0 sec │ runtime_ │
│          │        │          │          │       │       │         │ status_t │
│          │        │          │          │       │       │         │ est.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ Run a   │ /home/do │
│ t_max/2f │        │ local.sh │          │       │       │ sleep   │ cs/check │
│ 613f72   │        │          │          │       │       │ job for │ outs/rea │
│          │        │          │          │       │       │ 2       │ dthedocs │
│          │        │          │          │       │       │ seconds │ .org/use │
│          │        │          │          │       │       │ and     │ r_builds │
│          │        │          │          │       │       │ test    │ /buildte │
│          │        │          │          │       │       │ pass if │ st/check │
│          │        │          │          │       │       │ it's    │ outs/v2. │
│          │        │          │          │       │       │ within  │ 0/tutori │
│          │        │          │          │       │       │ max     │ als/test │
│          │        │          │          │       │       │ time:   │ _status/ │
│          │        │          │          │       │       │ 5.0 sec │ runtime_ │
│          │        │          │          │       │       │         │ status_t │
│          │        │          │          │       │       │         │ est.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t_min_fa │        │ local.sh │          │       │       │ test    │ cs/check │
│ il/85b02 │        │          │          │       │       │ fails   │ outs/rea │
│ d0d      │        │          │          │       │       │ because │ dthedocs │
│          │        │          │          │       │       │ it runs │ .org/use │
│          │        │          │          │       │       │ less    │ r_builds │
│          │        │          │          │       │       │ than    │ /buildte │
│          │        │          │          │       │       │ mintime │ st/check │
│          │        │          │          │       │       │ of 10   │ outs/v2. │
│          │        │          │          │       │       │ second  │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ runtime_ │
│          │        │          │          │       │       │         │ status_t │
│          │        │          │          │       │       │         │ est.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t_max_fa │        │ local.sh │          │       │       │ test    │ cs/check │
│ il/22089 │        │          │          │       │       │ fails   │ outs/rea │
│ bfd      │        │          │          │       │       │ because │ dthedocs │
│          │        │          │          │       │       │ it      │ .org/use │
│          │        │          │          │       │       │ exceeds │ r_builds │
│          │        │          │          │       │       │ maxtime │ /buildte │
│          │        │          │          │       │       │ of 1.0  │ st/check │
│          │        │          │          │       │       │ second  │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ runtime_ │
│          │        │          │          │       │       │         │ status_t │
│          │        │          │          │       │       │         │ est.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test1/60 │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ 2445e2   │        │ local.ba │          │       │       │ test    │ cs/check │
│          │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ pass    │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ exit 1  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/job_ │
│          │        │          │          │       │       │         │ dependen │
│          │        │          │          │       │       │         │ cy/ex2.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test2/1f │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ 0d119d   │        │ 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/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/job_ │
│          │        │          │          │       │       │         │ dependen │
│          │        │          │          │       │       │         │ cy/ex2.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test3/cd │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ 86a89c   │        │ 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/v2. │
│          │        │          │          │       │       │ test2   │ 0/tutori │
│          │        │          │          │       │       │ has     │ als/job_ │
│          │        │          │          │       │       │ returnc │ dependen │
│          │        │          │          │       │       │ ode 2   │ cy/ex2.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ 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/562 │        │          │          │       │       │ differe │ dthedocs │
│ 2d3e9    │        │          │          │       │       │ nt      │ .org/use │
│          │        │          │          │       │       │ regex   │ r_builds │
│          │        │          │          │       │       │ types   │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/metr │
│          │        │          │          │       │       │         │ ics/metr │
│          │        │          │          │       │       │         │ ics_with │
│          │        │          │          │       │       │         │ _regex_t │
│          │        │          │          │       │       │         │ ype.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_r │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ egex_exa │        │ local.ba │          │       │       │ result  │ cs/check │
│ mple/ced │        │ sh       │          │       │       │ metric  │ outs/rea │
│ 125b1    │        │          │          │       │       │ from    │ dthedocs │
│          │        │          │          │       │       │ output  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/metr │
│          │        │          │          │       │       │         │ ics/metr │
│          │        │          │          │       │       │         │ ics_rege │
│          │        │          │          │       │       │         │ x.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_f │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ ile_rege │        │ local.ba │          │       │       │ result  │ cs/check │
│ x/dd2992 │        │ sh       │          │       │       │ metric  │ outs/rea │
│ a8       │        │          │          │       │       │ from    │ dthedocs │
│          │        │          │          │       │       │ file    │ .org/use │
│          │        │          │          │       │       │ path    │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/metr │
│          │        │          │          │       │       │         │ ics/metr │
│          │        │          │          │       │       │         │ ics_rege │
│          │        │          │          │       │       │         │ x.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ add_numb │ script │ generic. │ None     │ None  │ None  │ Add X+Y │ /home/do │
│ ers/b579 │        │ local.ba │          │       │       │         │ cs/check │
│ 4d97     │        │ sh       │          │       │       │         │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/add_ │
│          │        │          │          │       │       │         │ numbers. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_tra │ script │ generic. │ None     │ None  │ None  │ Use of  │ /home/do │
│ verse_li │        │ local.ba │          │       │       │ file_tr │ cs/check │
│ mit/3690 │        │ sh       │          │       │       │ averse_ │ outs/rea │
│ 417a     │        │          │          │       │       │ limit   │ dthedocs │
│          │        │          │          │       │       │ to      │ .org/use │
│          │        │          │          │       │       │ limit   │ r_builds │
│          │        │          │          │       │       │ number  │ /buildte │
│          │        │          │          │       │       │ of      │ st/check │
│          │        │          │          │       │       │ files   │ outs/v2. │
│          │        │          │          │       │       │ searche │ 0/tutori │
│          │        │          │          │       │       │ d in a  │ als/test │
│          │        │          │          │       │       │ directo │ _status/ │
│          │        │          │          │       │       │ ry      │ file_cou │
│          │        │          │          │       │       │         │ nt_file_ │
│          │        │          │          │       │       │         │ traverse │
│          │        │          │          │       │       │         │ _limit.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello   │ /home/do │
│ ello/8bb │        │ local.ba │          │       │       │ World   │ cs/check │
│ d3c0d    │        │ sh       │          │       │       │ python  │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/pyth │
│          │        │          │          │       │       │         │ on-hello │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ rld_sing │        │ local.ba │          │       │       │ hello-w │ cs/check │
│ ularity/ │        │ sh       │          │       │       │ orld    │ outs/rea │
│ d8fd970f │        │          │          │       │       │ contain │ dthedocs │
│          │        │          │          │       │       │ er      │ .org/use │
│          │        │          │          │       │       │ using   │ r_builds │
│          │        │          │          │       │       │ singula │ /buildte │
│          │        │          │          │       │       │ rity    │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/cont │
│          │        │          │          │       │       │         │ ainers/h │
│          │        │          │          │       │       │         │ ello_wor │
│          │        │          │          │       │       │         │ ld_singu │
│          │        │          │          │       │       │         │ larity.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ run_scri │ script │ generic. │ None     │ None  │ None  │ run a   │ /home/do │
│ pt_in_co │        │ local.ba │          │       │       │ python  │ cs/check │
│ ntainer/ │        │ sh       │          │       │       │ script  │ outs/rea │
│ 1b616d8b │        │          │          │       │       │ in      │ dthedocs │
│          │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ er      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/cont │
│          │        │          │          │       │       │         │ ainers/r │
│          │        │          │          │       │       │         │ un_scrip │
│          │        │          │          │       │       │         │ t.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ csh_shel │ script │ generic. │ None     │ None  │ None  │ csh     │ /home/do │
│ l/d954ef │        │ local.cs │          │       │       │ shell   │ cs/check │
│ 9c       │        │ h        │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/csh_ │
│          │        │          │          │       │       │         │ shell_ex │
│          │        │          │          │       │       │         │ amples.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_r │ script │ generic. │ None     │ None  │ None  │ Example │ /home/do │
│ ange_ex/ │        │ local.ba │          │       │       │ on      │ cs/check │
│ c3955238 │        │ sh       │          │       │       │ assert_ │ outs/rea │
│          │        │          │          │       │       │ range   │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/perf │
│          │        │          │          │       │       │         │ _checks/ │
│          │        │          │          │       │       │         │ assert_r │
│          │        │          │          │       │       │         │ ange.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ unskippe │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ d/37ee07 │        │ local.ba │          │       │       │ test is │ cs/check │
│ 36       │        │ sh       │          │       │       │ not     │ outs/rea │
│          │        │          │          │       │       │ skipped │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/skip │
│          │        │          │          │       │       │         │ _tests.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ rld_dock │        │ local.ba │          │       │       │ hello-w │ cs/check │
│ er/484f9 │        │ sh       │          │       │       │ orld    │ outs/rea │
│ 306      │        │          │          │       │       │ contain │ dthedocs │
│          │        │          │          │       │       │ er with │ .org/use │
│          │        │          │          │       │       │ docker  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/cont │
│          │        │          │          │       │       │         │ ainers/h │
│          │        │          │          │       │       │         │ ello_wor │
│          │        │          │          │       │       │         │ ld.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_e │ script │ generic. │ None     │ None  │ None  │ An      │ /home/do │
│ q_invali │        │ local.ba │          │       │       │ invalid │ cs/check │
│ d_metric │        │ sh       │          │       │       │ metric  │ outs/rea │
│ /92443b5 │        │          │          │       │       │ name    │ dthedocs │
│ 2        │        │          │          │       │       │ will    │ .org/use │
│          │        │          │          │       │       │ cause   │ r_builds │
│          │        │          │          │       │       │ failure │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/perf │
│          │        │          │          │       │       │         │ _checks/ │
│          │        │          │          │       │       │         │ assert_e │
│          │        │          │          │       │       │         │ q_except │
│          │        │          │          │       │       │         │ ions.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_e │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ q_mismat │        │ local.ba │          │       │       │ test    │ cs/check │
│ ch/65984 │        │ sh       │          │       │       │ will    │ outs/rea │
│ 196      │        │          │          │       │       │ fail    │ dthedocs │
│          │        │          │          │       │       │ because │ .org/use │
│          │        │          │          │       │       │ there   │ r_builds │
│          │        │          │          │       │       │ is a    │ /buildte │
│          │        │          │          │       │       │ mismatc │ st/check │
│          │        │          │          │       │       │ h in    │ outs/v2. │
│          │        │          │          │       │       │ metric  │ 0/tutori │
│          │        │          │          │       │       │ x       │ als/perf │
│          │        │          │          │       │       │ assert  │ _checks/ │
│          │        │          │          │       │       │ equalit │ assert_e │
│          │        │          │          │       │       │ y       │ q_except │
│          │        │          │          │       │       │         │ ions.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/8 │        │          │          │       │       │ from    │ dthedocs │
│ 8447829  │        │          │          │       │       │ file    │ .org/use │
│          │        │          │          │       │       │ path    │ r_builds │
│          │        │          │          │       │       │ when we │ /buildte │
│          │        │          │          │       │       │ have    │ st/check │
│          │        │          │          │       │       │ invalid │ outs/v2. │
│          │        │          │          │       │       │ file    │ 0/tutori │
│          │        │          │          │       │       │ path    │ als/metr │
│          │        │          │          │       │       │         │ ics/metr │
│          │        │          │          │       │       │         │ ics_file │
│          │        │          │          │       │       │         │ _regex_i │
│          │        │          │          │       │       │         │ nvalid_f │
│          │        │          │          │       │       │         │ ile.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ file    │ /home/do │
│ nt_on_di │        │ local.ba │          │       │       │ count   │ cs/check │
│ rectory/ │        │ sh       │          │       │       │ check   │ outs/rea │
│ 4adb3758 │        │          │          │       │       │ in      │ dthedocs │
│          │        │          │          │       │       │ directo │ .org/use │
│          │        │          │          │       │       │ ry      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ file_cou │
│          │        │          │          │       │       │         │ nt.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ file    │ /home/do │
│ nt_by_ex │        │ local.ba │          │       │       │ count   │ cs/check │
│ tension/ │        │ sh       │          │       │       │ by      │ outs/rea │
│ 93875a71 │        │          │          │       │       │ extensi │ dthedocs │
│          │        │          │          │       │       │ on      │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ file_cou │
│          │        │          │          │       │       │         │ nt.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_and │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ _dir_che │        │ local.ba │          │       │       │ check   │ cs/check │
│ cks/579b │        │ sh       │          │       │       │ for     │ outs/rea │
│ 4049     │        │          │          │       │       │ files   │ dthedocs │
│          │        │          │          │       │       │ and     │ .org/use │
│          │        │          │          │       │       │ directo │ r_builds │
│          │        │          │          │       │       │ ries    │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ file_and │
│          │        │          │          │       │       │         │ _dir_che │
│          │        │          │          │       │       │         │ ck.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/7ed │        │          │          │       │       │ files   │ dthedocs │
│ 43fc4    │        │          │          │       │       │ and     │ .org/use │
│          │        │          │          │       │       │ directo │ r_builds │
│          │        │          │          │       │       │ ries    │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ file_and │
│          │        │          │          │       │       │         │ _dir_che │
│          │        │          │          │       │       │         │ ck.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ jobA/ff5 │ script │ generic. │ None     │ None  │ None  │ no job  │ /home/do │
│ 29b5f    │        │ local.ba │          │       │       │ depende │ cs/check │
│          │        │ sh       │          │       │       │ ncy     │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/job_ │
│          │        │          │          │       │       │         │ dependen │
│          │        │          │          │       │       │         │ cy/ex1.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ jobB/020 │ script │ generic. │ None     │ None  │ None  │ job     │ /home/do │
│ 6c0c7    │        │ local.ba │          │       │       │ depende │ cs/check │
│          │        │ sh       │          │       │       │ ncy on  │ outs/rea │
│          │        │          │          │       │       │ jobA    │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/job_ │
│          │        │          │          │       │       │         │ dependen │
│          │        │          │          │       │       │         │ cy/ex1.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ jobC/73c │ script │ generic. │ None     │ None  │ None  │ job     │ /home/do │
│ 83640    │        │ local.ba │          │       │       │ depende │ cs/check │
│          │        │ sh       │          │       │       │ ncy on  │ outs/rea │
│          │        │          │          │       │       │ jobA    │ dthedocs │
│          │        │          │          │       │       │ and     │ .org/use │
│          │        │          │          │       │       │ jobB    │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/job_ │
│          │        │          │          │       │       │         │ dependen │
│          │        │          │          │       │       │         │ cy/ex1.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_e │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ q_exampl │        │ local.ba │          │       │       │ for     │ cs/check │
│ e/369250 │        │ sh       │          │       │       │ assert  │ outs/rea │
│ 28       │        │          │          │       │       │ equalit │ dthedocs │
│          │        │          │          │       │       │ y       │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/perf │
│          │        │          │          │       │       │         │ _checks/ │
│          │        │          │          │       │       │         │ assert_e │
│          │        │          │          │       │       │         │ q.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ contains │ script │ generic. │ None     │ None  │ None  │ Status  │ /home/do │
│ _and_not │        │ local.ba │          │       │       │ check   │ cs/check │
│ _contain │        │ sh       │          │       │       │ based   │ outs/rea │
│ s/6dc92e │        │          │          │       │       │ on      │ dthedocs │
│ 12       │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ s and   │ r_builds │
│          │        │          │          │       │       │ not     │ /buildte │
│          │        │          │          │       │       │ contain │ st/check │
│          │        │          │          │       │       │ s where │ outs/v2. │
│          │        │          │          │       │       │ test    │ 0/tutori │
│          │        │          │          │       │       │ pass    │ als/perf │
│          │        │          │          │       │       │         │ _checks/ │
│          │        │          │          │       │       │         │ contains │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_c │ script │ generic. │ None     │ None  │ None  │ Status  │ /home/do │
│ ontains_ │        │ local.ba │          │       │       │ check   │ cs/check │
│ fail/a77 │        │ sh       │          │       │       │ based   │ outs/rea │
│ 97171    │        │          │          │       │       │ on      │ dthedocs │
│          │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ s where │ r_builds │
│          │        │          │          │       │       │ test    │ /buildte │
│          │        │          │          │       │       │ fails   │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/perf │
│          │        │          │          │       │       │         │ _checks/ │
│          │        │          │          │       │       │         │ contains │
│          │        │          │          │       │       │         │ .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/e2e │        │          │          │       │       │ in      │ .org/use │
│ 5e0f3    │        │          │          │       │       │ failure │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/metr │
│          │        │          │          │       │       │         │ ics/metr │
│          │        │          │          │       │       │         │ ics_rege │
│          │        │          │          │       │       │         │ x_with_i │
│          │        │          │          │       │       │         │ nvalid_l │
│          │        │          │          │       │       │         │ inenum.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare │ /home/do │
│ s_bash/a │        │ local.ba │          │       │       │ shell   │ cs/check │
│ bd0e5ad  │        │ sh       │          │       │       │ variabl │ outs/rea │
│          │        │          │          │       │       │ es in   │ dthedocs │
│          │        │          │          │       │       │ bash    │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/vars │
│          │        │          │          │       │       │         │ .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/35 │        │          │          │       │       │ for     │ dthedocs │
│ 65a895   │        │          │          │       │       │ multipl │ .org/use │
│          │        │          │          │       │       │ e       │ r_builds │
│          │        │          │          │       │       │ executo │ /buildte │
│          │        │          │          │       │       │ rs      │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/burs │
│          │        │          │          │       │       │         │ tbuffer_ │
│          │        │          │          │       │       │         │ datawarp │
│          │        │          │          │       │       │         │ _executo │
│          │        │          │          │       │       │         │ rs.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/5f │        │          │          │       │       │ for     │ dthedocs │
│ a44712   │        │          │          │       │       │ multipl │ .org/use │
│          │        │          │          │       │       │ e       │ r_builds │
│          │        │          │          │       │       │ executo │ /buildte │
│          │        │          │          │       │       │ rs      │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/burs │
│          │        │          │          │       │       │         │ tbuffer_ │
│          │        │          │          │       │       │         │ datawarp │
│          │        │          │          │       │       │         │ _executo │
│          │        │          │          │       │       │         │ rs.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ stream_o │ script │ generic. │ builtin_ │ None  │ None  │ STREAM  │ /home/do │
│ penmp_c/ │        │ local.ba │ gcc      │       │       │ Microbe │ cs/check │
│ 82afe199 │        │ sh       │          │       │       │ nchmark │ outs/rea │
│          │        │          │          │       │       │  C Test │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ OpenMP  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/comp │
│          │        │          │          │       │       │         │ ilation/ │
│          │        │          │          │       │       │         │ stream.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ executor │ script │ generic. │ None     │ None  │ None  │ Declari │ /home/do │
│ s_sbatch │        │ local.ba │          │       │       │ ng env  │ cs/check │
│ _declara │        │ sh       │          │       │       │ and     │ outs/rea │
│ tion/830 │        │          │          │       │       │ vars by │ dthedocs │
│ 79c4b    │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/mult │
│          │        │          │          │       │       │         │ i_execut │
│          │        │          │          │       │       │         │ ors/exec │
│          │        │          │          │       │       │         │ utor_sch │
│          │        │          │          │       │       │         │ eduler.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ executor │ script │ generic. │ None     │ None  │ None  │ Declari │ /home/do │
│ s_sbatch │        │ local.sh │          │       │       │ ng env  │ cs/check │
│ _declara │        │          │          │       │       │ and     │ outs/rea │
│ tion/41c │        │          │          │       │       │ vars by │ dthedocs │
│ 3d3af    │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/mult │
│          │        │          │          │       │       │         │ i_execut │
│          │        │          │          │       │       │         │ ors/exec │
│          │        │          │          │       │       │         │ utor_sch │
│          │        │          │          │       │       │         │ eduler.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bind_mou │ script │ generic. │ None     │ None  │ None  │ run a   │ /home/do │
│ nt_in_co │        │ local.ba │          │       │       │ python  │ cs/check │
│ ntainer/ │        │ sh       │          │       │       │ script  │ outs/rea │
│ 4307995b │        │          │          │       │       │ in      │ dthedocs │
│          │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ er      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/cont │
│          │        │          │          │       │       │         │ ainers/b │
│          │        │          │          │       │       │         │ ind_moun │
│          │        │          │          │       │       │         │ ts.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_l │ script │ generic. │ None     │ None  │ None  │ Using   │ /home/do │
│ ogical_a │        │ local.ba │          │       │       │ logical │ cs/check │
│ nd/88eed │        │ sh       │          │       │       │ AND to  │ outs/rea │
│ d2d      │        │          │          │       │       │ check   │ dthedocs │
│          │        │          │          │       │       │ status  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ mode.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_l │ script │ generic. │ None     │ None  │ None  │ Using   │ /home/do │
│ ogical_o │        │ local.ba │          │       │       │ logical │ cs/check │
│ r/10e64e │        │ sh       │          │       │       │ OR to   │ outs/rea │
│ 06       │        │          │          │       │       │ check   │ dthedocs │
│          │        │          │          │       │       │ status  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ mode.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ foo_bar/ │ script │ generic. │ None     │ None  │ None  │ prints  │ /home/do │
│ 16003968 │        │ local.sh │          │       │       │ variabl │ cs/check │
│          │        │          │          │       │       │ e $FOO  │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/main │
│          │        │          │          │       │       │         │ tainers_ │
│          │        │          │          │       │       │         │ example. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ multiple │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ _executo │        │ local.ba │          │       │       │ test    │ cs/check │
│ rs/b6585 │        │ sh       │          │       │       │ with    │ outs/rea │
│ 31d      │        │          │          │       │       │ executo │ dthedocs │
│          │        │          │          │       │       │ r       │ .org/use │
│          │        │          │          │       │       │ generic │ r_builds │
│          │        │          │          │       │       │ .local. │ /buildte │
│          │        │          │          │       │       │ bash    │ st/check │
│          │        │          │          │       │       │ and     │ outs/v2. │
│          │        │          │          │       │       │ generic │ 0/tutori │
│          │        │          │          │       │       │ .local. │ als/mult │
│          │        │          │          │       │       │ sh      │ i_execut │
│          │        │          │          │       │       │ executo │ ors/exec │
│          │        │          │          │       │       │ r       │ utor_reg │
│          │        │          │          │       │       │         │ ex_scrip │
│          │        │          │          │       │       │         │ t.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ multiple │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ _executo │        │ local.sh │          │       │       │ test    │ cs/check │
│ rs/fbdb4 │        │          │          │       │       │ with    │ outs/rea │
│ 446      │        │          │          │       │       │ executo │ dthedocs │
│          │        │          │          │       │       │ r       │ .org/use │
│          │        │          │          │       │       │ generic │ r_builds │
│          │        │          │          │       │       │ .local. │ /buildte │
│          │        │          │          │       │       │ bash    │ st/check │
│          │        │          │          │       │       │ and     │ outs/v2. │
│          │        │          │          │       │       │ generic │ 0/tutori │
│          │        │          │          │       │       │ .local. │ als/mult │
│          │        │          │          │       │       │ sh      │ i_execut │
│          │        │          │          │       │       │ executo │ ors/exec │
│          │        │          │          │       │       │ r       │ utor_reg │
│          │        │          │          │       │       │         │ ex_scrip │
│          │        │          │          │       │       │         │ t.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ _bin_sh_ │ script │ generic. │ None     │ None  │ None  │ /bin/sh │ /home/do │
│ shell/c4 │        │ local.sh │          │       │       │ shell   │ cs/check │
│ 816db1   │        │          │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/shel │
│          │        │          │          │       │       │         │ l_exampl │
│          │        │          │          │       │       │         │ es.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ _bin_bas │ script │ generic. │ None     │ None  │ None  │ /bin/ba │ /home/do │
│ h_shell/ │        │ local.ba │          │       │       │ sh      │ cs/check │
│ 3b0aba33 │        │ sh       │          │       │       │ shell   │ outs/rea │
│          │        │          │          │       │       │ example │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/shel │
│          │        │          │          │       │       │         │ l_exampl │
│          │        │          │          │       │       │         │ es.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_she │ script │ generic. │ None     │ None  │ None  │ bash    │ /home/do │
│ ll/824c5 │        │ local.ba │          │       │       │ shell   │ cs/check │
│ 58d      │        │ sh       │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/shel │
│          │        │          │          │       │       │         │ l_exampl │
│          │        │          │          │       │       │         │ es.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ sh_shell │ script │ generic. │ None     │ None  │ None  │ sh      │ /home/do │
│ /83e99d9 │        │ local.sh │          │       │       │ shell   │ cs/check │
│ a        │        │          │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/shel │
│          │        │          │          │       │       │         │ l_exampl │
│          │        │          │          │       │       │         │ es.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ shell_op │ script │ generic. │ None     │ None  │ None  │ shell   │ /home/do │
│ tions/32 │        │ local.sh │          │       │       │ options │ cs/check │
│ ed563e   │        │          │          │       │       │         │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/shel │
│          │        │          │          │       │       │         │ l_exampl │
│          │        │          │          │       │       │         │ es.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ builtin_ │ None  │ None  │ Hello   │ /home/do │
│ rld_c_cp │        │ local.ba │ gcc      │       │       │ world   │ cs/check │
│ p/2295ea │        │ sh       │          │       │       │ compila │ outs/rea │
│ 95       │        │          │          │       │       │ tion in │ dthedocs │
│          │        │          │          │       │       │ C and   │ .org/use │
│          │        │          │          │       │       │ C++     │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/comp │
│          │        │          │          │       │       │         │ ilation/ │
│          │        │          │          │       │       │         │ hello_wo │
│          │        │          │          │       │       │         │ rld_comp │
│          │        │          │          │       │       │         │ ilation. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ pass_tes │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t/78c559 │        │ local.ba │          │       │       │ test    │ cs/check │
│ a0       │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ always  │ dthedocs │
│          │        │          │          │       │       │ pass    │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/job_ │
│          │        │          │          │       │       │         │ dependen │
│          │        │          │          │       │       │         │ cy/ex3.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ fail_tes │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t/c00cde │        │ local.ba │          │       │       │ test    │ cs/check │
│ 22       │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ run if  │ dthedocs │
│          │        │          │          │       │       │ test    │ .org/use │
│          │        │          │          │       │       │ 'pass_t │ r_builds │
│          │        │          │          │       │       │ est' is │ /buildte │
│          │        │          │          │       │       │ in      │ st/check │
│          │        │          │          │       │       │ state   │ outs/v2. │
│          │        │          │          │       │       │ 'PASS'  │ 0/tutori │
│          │        │          │          │       │       │         │ als/job_ │
│          │        │          │          │       │       │         │ dependen │
│          │        │          │          │       │       │         │ cy/ex3.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ pass_and │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ _fail_te │        │ local.ba │          │       │       │ test    │ cs/check │
│ st/bdc3b │        │ sh       │          │       │       │ will    │ outs/rea │
│ 747      │        │          │          │       │       │ run if  │ dthedocs │
│          │        │          │          │       │       │ pass_te │ .org/use │
│          │        │          │          │       │       │ st is   │ r_builds │
│          │        │          │          │       │       │ 'PASS'  │ /buildte │
│          │        │          │          │       │       │ and     │ st/check │
│          │        │          │          │       │       │ fail_te │ outs/v2. │
│          │        │          │          │       │       │ st is   │ 0/tutori │
│          │        │          │          │       │       │ 'FAIL'  │ als/job_ │
│          │        │          │          │       │       │         │ dependen │
│          │        │          │          │       │       │         │ cy/ex3.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ final_te │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ st/77394 │        │ local.ba │          │       │       │ will    │ cs/check │
│ 98a      │        │ sh       │          │       │       │ run     │ outs/rea │
│          │        │          │          │       │       │ after   │ dthedocs │
│          │        │          │          │       │       │ 'pass_t │ .org/use │
│          │        │          │          │       │       │ est',   │ r_builds │
│          │        │          │          │       │       │ 'fail_t │ /buildte │
│          │        │          │          │       │       │ est',   │ st/check │
│          │        │          │          │       │       │ and     │ outs/v2. │
│          │        │          │          │       │       │ 'pass_a │ 0/tutori │
│          │        │          │          │       │       │ nd_fail │ als/job_ │
│          │        │          │          │       │       │ _test'  │ dependen │
│          │        │          │          │       │       │         │ cy/ex3.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ stream_t │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ est/cfe1 │        │ local.ba │          │       │       │ stream  │ cs/check │
│ 30cb     │        │ sh       │          │       │       │ test    │ outs/rea │
│          │        │          │          │       │       │ with    │ dthedocs │
│          │        │          │          │       │       │ metrics │ .org/use │
│          │        │          │          │       │       │ example │ r_builds │
│          │        │          │          │       │       │ using   │ /buildte │
│          │        │          │          │       │       │ assert  │ st/check │
│          │        │          │          │       │       │ greater │ outs/v2. │
│          │        │          │          │       │       │ equal   │ 0/tutori │
│          │        │          │          │       │       │         │ als/perf │
│          │        │          │          │       │       │         │ _checks/ │
│          │        │          │          │       │       │         │ assert_g │
│          │        │          │          │       │       │         │ e.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_lin │ script │ generic. │ None     │ None  │ None  │ Perform │ /home/do │
│ ecount_e │        │ local.ba │          │       │       │ ing     │ cs/check │
│ xception │        │ sh       │          │       │       │ file    │ outs/rea │
│ s/521795 │        │          │          │       │       │ count   │ dthedocs │
│ 05       │        │          │          │       │       │ on      │ .org/use │
│          │        │          │          │       │       │ directo │ r_builds │
│          │        │          │          │       │       │ ry or   │ /buildte │
│          │        │          │          │       │       │ invalid │ st/check │
│          │        │          │          │       │       │ files   │ outs/v2. │
│          │        │          │          │       │       │ can     │ 0/tutori │
│          │        │          │          │       │       │ result  │ als/test │
│          │        │          │          │       │       │ in      │ _status/ │
│          │        │          │          │       │       │ failure │ file_lin │
│          │        │          │          │       │       │         │ ecount_f │
│          │        │          │          │       │       │         │ ailure.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_l │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ e_exampl │        │ local.ba │          │       │       │ stream  │ cs/check │
│ e/35f7ab │        │ sh       │          │       │       │ test    │ outs/rea │
│ 3f       │        │          │          │       │       │ with    │ dthedocs │
│          │        │          │          │       │       │ metrics │ .org/use │
│          │        │          │          │       │       │ example │ r_builds │
│          │        │          │          │       │       │ using   │ /buildte │
│          │        │          │          │       │       │ assert  │ st/check │
│          │        │          │          │       │       │ less    │ outs/v2. │
│          │        │          │          │       │       │ than    │ 0/tutori │
│          │        │          │          │       │       │ equal   │ als/perf │
│          │        │          │          │       │       │         │ _checks/ │
│          │        │          │          │       │       │         │ assert_l │
│          │        │          │          │       │       │         │ e.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1  │ /home/do │
│ il/128c1 │        │ local.ba │          │       │       │ by      │ cs/check │
│ 049      │        │ sh       │          │       │       │ default │ outs/rea │
│          │        │          │          │       │       │ is FAIL │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ pass_ret │
│          │        │          │          │       │       │         │ urncode. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report  │ /home/do │
│ ss/1cb40 │        │ local.ba │          │       │       │ exit 1  │ cs/check │
│ c99      │        │ sh       │          │       │       │ as PASS │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ pass_ret │
│          │        │          │          │       │       │         │ urncode. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2  │ /home/do │
│ de_list_ │        │ local.ba │          │       │       │ failed  │ cs/check │
│ mismatch │        │ sh       │          │       │       │ since   │ outs/rea │
│ /100d418 │        │          │          │       │       │ it      │ dthedocs │
│ 9        │        │          │          │       │       │ failed  │ .org/use │
│          │        │          │          │       │       │ to      │ r_builds │
│          │        │          │          │       │       │ match   │ /buildte │
│          │        │          │          │       │       │ returnc │ st/check │
│          │        │          │          │       │       │ ode 1   │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ pass_ret │
│          │        │          │          │       │       │         │ urncode. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit    │ /home/do │
│ de_int_m │        │ local.ba │          │       │       │ 128     │ cs/check │
│ atch/c66 │        │ sh       │          │       │       │ matches │ outs/rea │
│ c22e2    │        │          │          │       │       │ returnc │ dthedocs │
│          │        │          │          │       │       │ ode 128 │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ pass_ret │
│          │        │          │          │       │       │         │ urncode. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_log │ script │ generic. │ None     │ None  │ None  │ customi │ /home/do │
│ in_sheba │        │ local.ba │          │       │       │ ze      │ cs/check │
│ ng/bb6b0 │        │ sh       │          │       │       │ shebang │ outs/rea │
│ d4d      │        │          │          │       │       │ line    │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ bash    │ r_builds │
│          │        │          │          │       │       │ login   │ /buildte │
│          │        │          │          │       │       │ shell   │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/sheb │
│          │        │          │          │       │       │         │ ang.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_non │ script │ generic. │ None     │ None  │ None  │ customi │ /home/do │
│ login_sh │        │ local.ba │          │       │       │ ze      │ cs/check │
│ ebang/34 │        │ sh       │          │       │       │ shebang │ outs/rea │
│ 88ffb1   │        │          │          │       │       │ line    │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ default │ r_builds │
│          │        │          │          │       │       │ bash    │ /buildte │
│          │        │          │          │       │       │ (nonlog │ st/check │
│          │        │          │          │       │       │ in)     │ outs/v2. │
│          │        │          │          │       │       │ shell   │ 0/tutori │
│          │        │          │          │       │       │         │ als/sheb │
│          │        │          │          │       │       │         │ ang.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ runtime_ │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ test/15f │        │ local.ba │          │       │       │ test    │ cs/check │
│ 34957    │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ sleep 5 │ dthedocs │
│          │        │          │          │       │       │ second  │ .org/use │
│          │        │          │          │       │       │ but     │ r_builds │
│          │        │          │          │       │       │ will    │ /buildte │
│          │        │          │          │       │       │ fail    │ st/check │
│          │        │          │          │       │       │ due to  │ outs/v2. │
│          │        │          │          │       │       │ runtime │ 0/tutori │
│          │        │          │          │       │       │ 2sec    │ als/job_ │
│          │        │          │          │       │       │         │ dependen │
│          │        │          │          │       │       │         │ cy/ex4.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ runtime_ │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ test_pas │        │ local.ba │          │       │       │ test    │ cs/check │
│ s/3b5347 │        │ sh       │          │       │       │ will    │ outs/rea │
│ 6a       │        │          │          │       │       │ run     │ dthedocs │
│          │        │          │          │       │       │ when    │ .org/use │
│          │        │          │          │       │       │ runtime │ r_builds │
│          │        │          │          │       │       │ _test_p │ /buildte │
│          │        │          │          │       │       │ ass is  │ st/check │
│          │        │          │          │       │       │ PASS    │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/job_ │
│          │        │          │          │       │       │         │ dependen │
│          │        │          │          │       │       │         │ cy/ex4.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ runtime_ │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ test_fai │        │ local.ba │          │       │       │ test    │ cs/check │
│ l/031ca5 │        │ sh       │          │       │       │ will    │ outs/rea │
│ 58       │        │          │          │       │       │ run     │ dthedocs │
│          │        │          │          │       │       │ when    │ .org/use │
│          │        │          │          │       │       │ runtime │ r_builds │
│          │        │          │          │       │       │ _test_p │ /buildte │
│          │        │          │          │       │       │ ass is  │ st/check │
│          │        │          │          │       │       │ FAIL    │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/job_ │
│          │        │          │          │       │       │         │ dependen │
│          │        │          │          │       │       │         │ cy/ex4.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_exi │ script │ generic. │ None     │ None  │ None  │ this    │ /home/do │
│ sts_pass │        │ local.ba │          │       │       │ test    │ cs/check │
│ /7eb5217 │        │ sh       │          │       │       │ will    │ outs/rea │
│ b        │        │          │          │       │       │ pass    │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ file_exi │
│          │        │          │          │       │       │         │ sts_with │
│          │        │          │          │       │       │         │ _number. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_lin │ script │ generic. │ None     │ None  │ None  │ Perform │ /home/do │
│ ecount/f │        │ local.ba │          │       │       │ linecou │ cs/check │
│ 05a9fba  │        │ sh       │          │       │       │ nt      │ outs/rea │
│          │        │          │          │       │       │ compari │ dthedocs │
│          │        │          │          │       │       │ son on  │ .org/use │
│          │        │          │          │       │       │ files   │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/test │
│          │        │          │          │       │       │         │ _status/ │
│          │        │          │          │       │       │         │ file_lin │
│          │        │          │          │       │       │         │ ecount.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ string_t │ script │ generic. │ None     │ None  │ None  │ tags    │ /home/do │
│ ag/45925 │        │ local.ba │          │       │       │ can be  │ cs/check │
│ 0e3      │        │ sh       │          │       │       │ a       │ outs/rea │
│          │        │          │          │       │       │ string  │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/tags │
│          │        │          │          │       │       │         │ _example │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ list_of_ │ script │ generic. │ None     │ None  │ None  │ tags    │ /home/do │
│ strings_ │        │ local.ba │          │       │       │ can be  │ cs/check │
│ tags/96c │        │ sh       │          │       │       │ a list  │ outs/rea │
│ 68a14    │        │          │          │       │       │ of      │ dthedocs │
│          │        │          │          │       │       │ strings │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/tags │
│          │        │          │          │       │       │         │ _example │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ define  │ /home/do │
│ eturncod │        │ local.ba │          │       │       │ status  │ cs/check │
│ e_by_exe │        │ sh       │          │       │       │ per     │ outs/rea │
│ cutors/0 │        │          │          │       │       │ executo │ dthedocs │
│ 78c0bc6  │        │          │          │       │       │ r type. │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/mult │
│          │        │          │          │       │       │         │ i_execut │
│          │        │          │          │       │       │         │ ors/stat │
│          │        │          │          │       │       │         │ us_by_ex │
│          │        │          │          │       │       │         │ ecutors. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ define  │ /home/do │
│ eturncod │        │ local.sh │          │       │       │ status  │ cs/check │
│ e_by_exe │        │          │          │       │       │ per     │ outs/rea │
│ cutors/0 │        │          │          │       │       │ executo │ dthedocs │
│ 339d6e8  │        │          │          │       │       │ r type. │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/v2. │
│          │        │          │          │       │       │         │ 0/tutori │
│          │        │          │          │       │       │         │ als/mult │
│          │        │          │          │       │       │         │ i_execut │
│          │        │          │          │       │       │         │ ors/stat │
│          │        │          │          │       │       │         │ us_by_ex │
│          │        │          │          │       │       │         │ ecutors. │
│          │        │          │          │       │       │         │ yml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ summary_ │ script │ generic. │ None     │ None  │ None  │ The     │ /home/do │
│ example/ │        │ local.ba │          │       │       │ summary │ cs/check │
│ 6fddf7f2 │        │ sh       │          │       │       │ field   │ outs/rea │
│          │        │          │          │       │       │ can be  │ dthedocs │
│          │        │          │          │       │       │ a       │ .org/use │
│          │        │          │          │       │       │ multi-l │ r_builds │
│          │        │          │          │       │       │ ine     │ /buildte │
│          │        │          │          │       │       │ string  │ st/check │
│          │        │          │          │       │       │ and     │ outs/v2. │
│          │        │          │          │       │       │ exceed  │ 0/tutori │
│          │        │          │          │       │       │ 80 char │ als/summ │
│          │        │          │          │       │       │         │ ary_exam │
│          │        │          │          │       │       │         │ ple.yml  │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴─────────┴──────────┘
──────────────────────────────── Building Test ─────────────────────────────────
container_commands_ubuntu/52823ed4: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/run_commands/container_commands_ubuntu/52823ed4
container_options/248c0439: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/run_commands/container_options/248c0439
re.search.stdout/791d1dbb: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/specify_regex_type/re.search.stdout/791d1dbb
re.match.stdout/6664ae9a: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/specify_regex_type/re.match.stdout/6664ae9a
re.fullmatch.stdout/89fee34b: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/specify_regex_type/re.fullmatch.stdout/89fee34b
re.match_on_file_regex/16121872: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/specify_regex_type/re.match_on_file_regex/16121872
sleep/257a11bc: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/sleep/sleep/257a11bc
assert_lt_example/078f7675: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/assert_lt/assert_lt_example/078f7675
status_regex_stdout_pass/ad998b4d: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/status_regex/status_regex_stdout_pass/ad998b4d
status_regex_stdout_fail/28938bfd: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/status_regex/status_regex_stdout_fail/28938bfd
status_regex_stderr_pass/381f7500: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/status_regex/status_regex_stderr_pass/381f7500
status_regex_stderr_fail/f1eec4b9: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/status_regex/status_regex_stderr_fail/f1eec4b9
regex_on_multiple_files/77f381c5: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/regex_on_filename/regex_on_multiple_files/77f381c5
regex_on_directory_not_supported/c2782f1b: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/regex_on_filename/regex_on_directory_not_supported/c2782f1b
file_expansion_supported/d4b42ebf: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/regex_on_filename/file_expansion_supported/d4b42ebf
executors_vars_env_declaration/9e7aa531: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/executors_var_env_declaration/executors_vars_env_declaration/9e7aa531
executors_vars_env_declaration/f4738310: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/executors_var_env_declaration/executors_vars_env_declaration/f4738310
gcc_version/79556687: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/gcc_version/gcc_version/79556687
file_count_by_expression/6b5f671b: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/file_count_pattern/file_count_by_expression/6b5f671b
file_extension_and_filepattern/beda4f75: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/file_count_pattern/file_extension_and_filepattern/beda4f75
file_count_by_filetype/ac51a8dc: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/file_count_filetype/file_count_by_filetype/ac51a8dc
hello_world/af96fe6a: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/af96fe6a
circle_area/1045f543: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/1045f543
always_pass/ba244bd8: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/explicit_state/always_pass/ba244bd8
always_fail/f9b7d279: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/explicit_state/always_fail/f9b7d279
test_fail_returncode_match/b54b228e: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/explicit_state/test_fail_returncode_match/b54b228e
test_pass_returncode_mismatch/ab831ba5: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/explicit_state/test_pass_returncode_mismatch/ab831ba5
assert_ne_example/2333a40b: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/assert_ne/assert_ne_example/2333a40b
status_exists/55270b83: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/exists/status_exists/55270b83
status_exists_failure/4d0499be: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/exists/status_exists_failure/4d0499be
symlink_test/82c22f39: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/is_symlink/symlink_test/82c22f39
linecount_stdout/ced1898a: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/linecount/linecount_stdout/ced1898a
linecount_stderr_mismatch/8bcf227b: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/linecount/linecount_stderr_mismatch/8bcf227b
metric_regex_with_linenum_example/5e2db024: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/metrics_regex_with_linenum/metric_regex_with_linenum_example/5e2db024
assert_gt_example/672a5e0a: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/assert_gt/assert_gt_example/672a5e0a
bash_env_variables/7647c350: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/environment/bash_env_variables/7647c350
csh_env_declaration/60a89b65: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.csh/environment/csh_env_declaration/60a89b65
tcsh_env_declaration/abc5d7b5: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.csh/environment/tcsh_env_declaration/abc5d7b5
timelimit_min_max/ba854677: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/runtime_status_test/timelimit_min_max/ba854677
timelimit_min/90549924: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/runtime_status_test/timelimit_min/90549924
timelimit_max/2f613f72: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/runtime_status_test/timelimit_max/2f613f72
timelimit_min_fail/85b02d0d: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/runtime_status_test/timelimit_min_fail/85b02d0d
timelimit_max_fail/22089bfd: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/runtime_status_test/timelimit_max_fail/22089bfd
test1/602445e2: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ex2/test1/602445e2
test2/1f0d119d: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ex2/test2/1f0d119d
test3/cd86a89c: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ex2/test3/cd86a89c
metric_regex_example_with_re/5622d3e9: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/metrics_with_regex_type/metric_regex_example_with_re/5622d3e9
metric_regex_example/ced125b1: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/metrics_regex/metric_regex_example/ced125b1
metric_file_regex/dd2992a8: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/metrics_regex/metric_file_regex/dd2992a8
add_numbers/b5794d97: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/add_numbers/add_numbers/b5794d97
file_traverse_limit/3690417a: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/file_count_file_traverse_limit/file_traverse_limit/3690417a
python_hello/8bbd3c0d: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/8bbd3c0d
hello_world_singularity/d8fd970f: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world_singularity/hello_world_singularity/d8fd970f
run_script_in_container/1b616d8b: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/run_script/run_script_in_container/1b616d8b
csh_shell/d954ef9c: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.csh/csh_shell_examples/csh_shell/d954ef9c
assert_range_ex/c3955238: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/assert_range/assert_range_ex/c3955238
unskipped/37ee0736: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/skip_tests/unskipped/37ee0736
hello_world_docker/484f9306: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world_docker/484f9306
assert_eq_invalid_metric/92443b52: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_invalid_metric/92443b52
assert_eq_mismatch/65984196: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_mismatch/65984196
metric_file_regex_invalid_file/88447829: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/metrics_file_regex_invalid_file/metric_file_regex_invalid_file/88447829
file_count_on_directory/4adb3758: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/file_count/file_count_on_directory/4adb3758
file_count_by_extension/93875a71: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/file_count/file_count_by_extension/93875a71
file_and_dir_checks/579b4049: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/file_and_dir_check/file_and_dir_checks/579b4049
combined_file_and_dir_checks/7ed43fc4: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/file_and_dir_check/combined_file_and_dir_checks/7ed43fc4
jobA/ff529b5f: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ex1/jobA/ff529b5f
jobB/0206c0c7: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ex1/jobB/0206c0c7
jobC/73c83640: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ex1/jobC/73c83640
assert_eq_example/36925028: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/assert_eq/assert_eq_example/36925028
contains_and_not_contains/6dc92e12: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/contains/contains_and_not_contains/6dc92e12
assert_contains_fail/a7797171: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/contains/assert_contains_fail/a7797171
metric_regex_linenum_failure_example/e2e5e0f3: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/metrics_regex_with_invalid_linenum/metric_regex_linenum_failure_example/e2e5e0f3
variables_bash/abd0e5ad: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/abd0e5ad
create_burst_buffer_executors/3565a895: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/burstbuffer_datawarp_executors/create_burst_buffer_executors/3565a895
create_burst_buffer_executors/5fa44712: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/burstbuffer_datawarp_executors/create_burst_buffer_executors/5fa44712
stream_openmp_c/82afe199: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/stream/stream_openmp_c/82afe199
executors_sbatch_declaration/83079c4b: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/executor_scheduler/executors_sbatch_declaration/83079c4b
executors_sbatch_declaration/41c3d3af: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/executor_scheduler/executors_sbatch_declaration/41c3d3af
bind_mount_in_container/4307995b: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/bind_mounts/bind_mount_in_container/4307995b
status_logical_and/88eedd2d: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/mode/status_logical_and/88eedd2d
status_logical_or/10e64e06: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/mode/status_logical_or/10e64e06
foo_bar/16003968: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/maintainers_example/foo_bar/16003968
multiple_executors/b658531d: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/executor_regex_script/multiple_executors/b658531d
multiple_executors/fbdb4446: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/executor_regex_script/multiple_executors/fbdb4446
_bin_sh_shell/c4816db1: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/shell_examples/_bin_sh_shell/c4816db1
_bin_bash_shell/3b0aba33: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/shell_examples/_bin_bash_shell/3b0aba33
bash_shell/824c558d: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/shell_examples/bash_shell/824c558d
sh_shell/83e99d9a: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/shell_examples/sh_shell/83e99d9a
shell_options/32ed563e: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/shell_examples/shell_options/32ed563e
hello_world_c_cpp/2295ea95: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world_compilation/hello_world_c_cpp/2295ea95
pass_test/78c559a0: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ex3/pass_test/78c559a0
fail_test/c00cde22: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ex3/fail_test/c00cde22
pass_and_fail_test/bdc3b747: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ex3/pass_and_fail_test/bdc3b747
final_test/7739498a: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ex3/final_test/7739498a
stream_test/cfe130cb: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/assert_ge/stream_test/cfe130cb
file_linecount_exceptions/52179505: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/file_linecount_failure/file_linecount_exceptions/52179505
assert_le_example/35f7ab3f: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/assert_le/assert_le_example/35f7ab3f
exit1_fail/128c1049: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/128c1049
exit1_pass/1cb40c99: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_pass/1cb40c99
returncode_list_mismatch/100d4189: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/100d4189
returncode_int_match/c66c22e2: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_int_match/c66c22e2
bash_login_shebang/bb6b0d4d: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/shebang/bash_login_shebang/bb6b0d4d
bash_nonlogin_shebang/3488ffb1: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/shebang/bash_nonlogin_shebang/3488ffb1
runtime_test/15f34957: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ex4/runtime_test/15f34957
runtime_test_pass/3b53476a: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ex4/runtime_test_pass/3b53476a
runtime_test_fail/031ca558: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/ex4/runtime_test_fail/031ca558
file_exists_pass/7eb5217b: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/file_exists_with_number/file_exists_pass/7eb5217b
file_linecount/f05a9fba: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/file_linecount/file_linecount/f05a9fba
string_tag/459250e3: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/string_tag/459250e3
list_of_strings_tags/96c68a14: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/tags_example/list_of_strings_tags/96c68a14
status_returncode_by_executors/078c0bc6: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/status_by_executors/status_returncode_by_executors/078c0bc6
status_returncode_by_executors/0339d6e8: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.sh/status_by_executors/status_returncode_by_executors/0339d6e8
summary_example/6fddf7f2: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/summary_example/summary_example/6fddf7f2

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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:20                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/python-hello.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/python-shell.yml                                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/python-hello.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/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/v2.0/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/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/98a │        │ local.ba │          │       │       │ World    │ ocs/che │
│ 6b230    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ python- │
│          │        │          │          │       │       │          │ hello.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/cd21 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ ff23     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ python- │
│          │        │          │          │       │       │          │ shell.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
python_hello/98a6b230: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/98a6b230
circle_area/cd21ff23: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/cd21ff23
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
python_hello/98a6b230 does not have any dependencies adding test to queue
circle_area/cd21ff23 does not have any dependencies adding test to queue
Builders Eligible to Run 
┏━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━┩
│ python_hello/98a6b230 │
│ circle_area/cd21ff23  │
└───────────────────────┘
python_hello/98a6b230: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/98a6b230/stage
python_hello/98a6b230: Running Test via command: bash python_hello_build.sh
python_hello/98a6b230: Test completed in 0.030772 seconds with returncode: 0
python_hello/98a6b230: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/98a6b230/python_hello.out
python_hello/98a6b230: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/98a6b230/python_hello.err
circle_area/cd21ff23: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/cd21ff23/stage
circle_area/cd21ff23: Running Test via command: bash circle_area_build.sh
circle_area/cd21ff23: Test completed in 0.031076 seconds with returncode: 0
circle_area/cd21ff23: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/cd21ff23/circle_area.out
circle_area/cd21ff23: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/cd21ff23/circle_area.err
                                 Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder               ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ python_hello/98a6b230 │ generic.local.bash │ PASS   │ 0          │ 0.031   │
├───────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/cd21ff23  │ generic.local.bash │ PASS   │ 0          │ 0.031   │
└───────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_e3upsceu.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:21                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/python-hello.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/python-shell.yml                                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/python-hello.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/python-shell.yml                                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

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

Please see logfile: /tmp/tmp4h8j2kdp/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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:22                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/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 │
│ 54ae951  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ vars.ym │
│          │        │          │          │       │       │          │ l       │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘

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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:22                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/tutorials/invalid_buildspec_section.yml: INVALID

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

Please see logfile: /tmp/tmp4h8j2kdp/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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:23                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/tutorials/invalid_executor.yml: VALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/t… │
└──────────────────────────────────────────────────────────────────────────────┘

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

Please see logfile: /tmp/tmp4h8j2kdp/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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:22                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/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 │
│ 54ae951  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ vars.ym │
│          │        │          │          │       │       │          │ l       │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘

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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:23                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/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/3 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 588ccef  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ vars.ym │
│          │        │          │          │       │       │          │ l       │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/3588ccef: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/3588ccef

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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:24                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/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/12ec │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 3b58     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ python- │
│          │        │          │          │       │       │          │ shell.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/a691 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 32c2     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ python- │
│          │        │          │          │       │       │          │ shell.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/66e7 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 5e29     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ python- │
│          │        │          │          │       │       │          │ shell.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
circle_area/12ec3b58: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/12ec3b58
circle_area/a69132c2: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/a69132c2
circle_area/66e75e29: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/66e75e29
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
circle_area/12ec3b58 does not have any dependencies adding test to queue
circle_area/66e75e29 does not have any dependencies adding test to queue
circle_area/a69132c2 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ circle_area/12ec3b58 │
│ circle_area/66e75e29 │
│ circle_area/a69132c2 │
└──────────────────────┘
circle_area/12ec3b58: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/12ec3b58/stage
circle_area/12ec3b58: Running Test via command: bash circle_area_build.sh
circle_area/12ec3b58: Test completed in 0.031918 seconds with returncode: 0
circle_area/12ec3b58: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/12ec3b58/circle_area.out
circle_area/12ec3b58: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/12ec3b58/circle_area.err
circle_area/66e75e29: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/66e75e29/stage
circle_area/66e75e29: Running Test via command: bash circle_area_build.sh
circle_area/66e75e29: Test completed in 0.031511 seconds with returncode: 0
circle_area/66e75e29: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/66e75e29/circle_area.out
circle_area/66e75e29: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/66e75e29/circle_area.err
circle_area/a69132c2: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/a69132c2/stage
circle_area/a69132c2: Running Test via command: bash circle_area_build.sh
circle_area/a69132c2: Test completed in 0.031463 seconds with returncode: 0
circle_area/a69132c2: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/a69132c2/circle_area.out
circle_area/a69132c2: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/a69132c2/circle_area.err
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ circle_area/66e75e29 │ generic.local.bash │ PASS   │ 0          │ 0.032   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/12ec3b58 │ generic.local.bash │ PASS   │ 0          │ 0.032   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/a69132c2 │ generic.local.bash │ PASS   │ 0          │ 0.031   │
└──────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 3 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_qi3x54kh.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:25                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/test_status/pass_returncode.yml                                      ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=fail                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/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/v2.0/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/68d2d │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 47d      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/6530e │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ edf      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /0c3150c │        │          │          │       │       │ failed   │ readthe │
│ 2        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/2f0 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 3bcf1    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/ddc35 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ e72      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/19e4c │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ a4d      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /b7e1cf9 │        │          │          │       │       │ failed   │ readthe │
│ 2        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/97a │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 53087    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/68d2d47d: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/68d2d47d
exit1_pass/6530eedf: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_pass/6530eedf
returncode_list_mismatch/0c3150c2: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/0c3150c2
returncode_int_match/2f03bcf1: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_int_match/2f03bcf1
exit1_fail/ddc35e72: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/ddc35e72
exit1_pass/19e4ca4d: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_pass/19e4ca4d
returncode_list_mismatch/b7e1cf92: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/b7e1cf92
returncode_int_match/97a53087: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_int_match/97a53087
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/68d2d47d does not have any dependencies adding test to queue
returncode_int_match/2f03bcf1 does not have any dependencies adding test to queue
exit1_fail/ddc35e72 does not have any dependencies adding test to queue
returncode_list_mismatch/b7e1cf92 does not have any dependencies adding test to queue
returncode_list_mismatch/0c3150c2 does not have any dependencies adding test to queue
returncode_int_match/97a53087 does not have any dependencies adding test to queue
exit1_pass/6530eedf does not have any dependencies adding test to queue
exit1_pass/19e4ca4d does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/68d2d47d               │
│ returncode_int_match/2f03bcf1     │
│ exit1_fail/ddc35e72               │
│ returncode_list_mismatch/b7e1cf92 │
│ returncode_list_mismatch/0c3150c2 │
│ returncode_int_match/97a53087     │
│ exit1_pass/6530eedf               │
│ exit1_pass/19e4ca4d               │
└───────────────────────────────────┘
exit1_fail/68d2d47d: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/68d2d47d/stage
exit1_fail/68d2d47d: Running Test via command: bash exit1_fail_build.sh
exit1_fail/68d2d47d: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/68d2d47d ─────────────────────

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

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

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

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

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

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

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

exit1_pass/19e4ca4d: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/19e4ca4d: Run - 1/1
exit1_pass/19e4ca4d: Running Test via command: bash exit1_pass_build.sh
exit1_pass/19e4ca4d: failed to submit job with returncode: 1
exit1_pass/19e4ca4d: Test completed in 0.014495 seconds with returncode: 1
exit1_pass/19e4ca4d: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_pass/19e4ca4d/exit1_pass.out
exit1_pass/19e4ca4d: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_pass/19e4ca4d/exit1_pass.err
exit1_pass/19e4ca4d: Checking returncode - 1 is matched in list [1]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.016   │
│ h/b7e1cf92              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/68d2d47d     │ generic.local.bash │ FAIL   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/6530eedf     │ generic.local.bash │ PASS   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/ddc35e72     │ generic.local.bash │ FAIL   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/19e4ca4d     │ generic.local.bash │ PASS   │ 1          │ 0.014   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/97 │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ a53087                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/2f │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ 03bcf1                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.015   │
│ h/0c3150c2              │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 8 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_z8x5sdzx.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/v2.0/bi │
│ n/buildtest:38 in <module>                                                   │
│                                                                              │
│   35                                                                         │
│   36 if __name__ == "__main__":                                              │
│   37                                                                         │
│ ❱ 38   sys.exit(main())                                                      │
│   39                                                                         │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │ buildtest_file = '/home/docs/checkouts/readthedocs.org/user_builds/buil… │ │
│ │           main = <function main at 0x7fe32b2daf70>                       │ │
│ │             os = <module 'os' from                                       │ │
│ │                  '/home/docs/.asdf/installs/python/3.8.18/lib/python3.8… │ │
│ │         prefix = '/home/docs/checkouts/readthedocs.org/user_builds/buil… │ │
│ │            sys = <module 'sys' (built-in)>                               │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/bu │
│ ildtest/main.py:163 in main                                                  │
│                                                                              │
│   160 │   if args.subcommands in ["build", "bd"]:                            │
│   161 │   │   stdout_file = tempfile.NamedTemporaryFile(delete=True, suffix= │
│   162 │   │   with Tee(stdout_file.name):                                    │
│ ❱ 163 │   │   │   cmd = BuildTest(                                           │
│   164 │   │   │   │   configuration=configuration,                           │
│   165 │   │   │   │   buildspecs=args.buildspec,                             │
│   166 │   │   │   │   exclude_buildspecs=args.exclude,                       │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │             args = Namespace(account=None,                               │ │
│ │                    buildspec=['tutorials/test_status/pass_returncode.ym… │ │
│ │                    color=None, configfile=None, debug=False,             │ │
│ │                    dry_run=False, editor=None, exclude=None,             │ │
│ │                    exclude_tags=None, executor=None, executor_type=None, │ │
│ │                    filter=None, helpcolor=False, helpfilter=False,       │ │
│ │                    limit=None, listopts=False, loglevel='DEBUG',         │ │
│ │                    logpath=False, max_jobs=None, maxpendtime=None,       │ │
│ │                    module_purge=False, modules=None, name=None,          │ │
│ │                    no_color=False, nodes=None, pollinterval=None,        │ │
│ │                    print_log=False, procs=None, profile=None,            │ │
│ │                    rebuild=51, remove_stagedir=False, report=None,       │ │
│ │                    rerun=False, retry=1, save_profile=None,              │ │
│ │                    subcommands='build', tags=None, testdir=None,         │ │
│ │                    timeout=None, unload_modules=None, validate=False,    │ │
│ │                    verbose=False, view_log=False)                        │ │
│ │ buildtest_editor = '/usr/bin/vim'                                        │ │
│ │      config_file = None                                                  │ │
│ │    configuration = <buildtest.config.SiteConfiguration object at         │ │
│ │                    0x7fe32943b4c0>                                       │ │
│ │           logger = <Logger buildtest (DEBUG)>                            │ │
│ │         no_color = False                                                 │ │
│ │           parser = <buildtest.cli.BuildTestParser object at              │ │
│ │                    0x7fe32b37ea90>                                       │ │
│ │      report_file = None                                                  │ │
│ │      stdout_file = <tempfile._TemporaryFileWrapper object at             │ │
│ │                    0x7fe32943b100>                                       │ │
│ │           system = <buildtest.system.BuildTestSystem object at           │ │
│ │                    0x7fe329403730>                                       │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/bu │
│ ildtest/cli/build.py:703 in __init__                                         │
│                                                                              │
│    700 │   │   │   │   raise BuildTestError(f"{rebuild} is not of type int") │
│    701 │   │   │                                                             │
│    702 │   │   │   if rebuild > 50:                                          │
│ ❱  703 │   │   │   │   raise BuildTestError(                                 │
│    704 │   │   │   │   │   f"--rebuild {rebuild} exceeds maximum rebuild lim │
│    705 │   │   │   │   )                                                     │
│    706                                                                       │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │            account = None                                                │ │
│ │           arg_name = None                                                │ │
│ │         buildspecs = ['tutorials/test_status/pass_returncode.yml']       │ │
│ │      configuration = <buildtest.config.SiteConfiguration object at       │ │
│ │                      0x7fe32943b4c0>                                     │ │
│ │            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            │ │
│ │                      0x7fe329466190>                                     │ │
│ │               tags = None                                                │ │
│ │            testdir = None                                                │ │
│ │            timeout = None                                                │ │
│ │     unload_modules = None                                                │ │
│ │           validate = False                                               │ │
│ │            verbose = False                                               │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────╯
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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:26                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/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/2b97e │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 3e8      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/b46c7 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ f6d      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /81bca1d │        │          │          │       │       │ failed   │ readthe │
│ 2        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/6b1 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 39464    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/2b97e3e8: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/2b97e3e8
exit1_pass/b46c7f6d: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_pass/b46c7f6d
returncode_list_mismatch/81bca1d2: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/81bca1d2
returncode_int_match/6b139464: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/returncode_int_match/6b139464
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/2b97e3e8 does not have any dependencies adding test to queue
exit1_pass/b46c7f6d does not have any dependencies adding test to queue
returncode_int_match/6b139464 does not have any dependencies adding test to queue
returncode_list_mismatch/81bca1d2 does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/2b97e3e8               │
│ exit1_pass/b46c7f6d               │
│ returncode_int_match/6b139464     │
│ returncode_list_mismatch/81bca1d2 │
└───────────────────────────────────┘
exit1_fail/2b97e3e8: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/2b97e3e8/stage
exit1_fail/2b97e3e8: Running Test via command: bash exit1_fail_build.sh
exit1_fail/2b97e3e8: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/2b97e3e8 ─────────────────────

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

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

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

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



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


Adding 4 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_jwzv781q.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:27                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/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/83bbf │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 6fa      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/a01ff │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 8d8      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /aff53ff │        │          │          │       │       │ failed   │ readthe │
│ 1        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/19a │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ b2067    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ test_st │
│          │        │          │          │       │       │          │ atus/pa │
│          │        │          │          │       │       │          │ ss_retu │
│          │        │          │          │       │       │          │ rncode. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
Limit number of tests to 2 for Building and Running. 
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/83bbf6fa: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/83bbf6fa
exit1_pass/a01ff8d8: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_pass/a01ff8d8
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/83bbf6fa does not have any dependencies adding test to queue
exit1_pass/a01ff8d8 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder             ┃
┡━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/83bbf6fa │
│ exit1_pass/a01ff8d8 │
└─────────────────────┘
exit1_fail/83bbf6fa: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/pass_returncode/exit1_fail/83bbf6fa/stage
exit1_fail/83bbf6fa: Running Test via command: bash exit1_fail_build.sh
exit1_fail/83bbf6fa: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/83bbf6fa ─────────────────────

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

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



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


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

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

buildtest build -b tutorials/test_status/pass_returncode.yml --limit=0
$ buildtest build -b tutorials/test_status/pass_returncode.yml --limit=0
usage: buildtest [options] [COMMANDS] build [-h] [-b BUILDSPEC] [-x EXCLUDE]
                                            [-n NAME] [-e EXECUTOR]
                                            [-xt EXCLUDE_TAGS] [-t TAGS]
                                            [--rerun] [-f FILTER]
                                            [--helpfilter] [-et {local,batch}]
                                            [--module-purge] [-m MODULES]
                                            [-u UNLOAD_MODULES]
                                            [--account ACCOUNT]
                                            [--maxpendtime MAXPENDTIME]
                                            [--pollinterval POLLINTERVAL]
                                            [--procs PROCS [PROCS ...]]
                                            [--nodes NODES [NODES ...]]
                                            [--dry-run] [--limit LIMIT]
                                            [--max-jobs MAX_JOBS]
                                            [--remove-stagedir]
                                            [--rebuild REBUILD]
                                            [--retry RETRY] [--validate]
                                            [--testdir TESTDIR]
                                            [--timeout TIMEOUT]
                                            [--save-profile SAVE_PROFILE]
                                            [--profile PROFILE]
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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:28                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/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 │
│ 9448ec7  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ vars.ym │
│          │        │          │          │       │       │          │ l       │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/79448ec7: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/79448ec7
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/79448ec7 does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/79448ec7 │
└─────────────────────────┘
variables_bash/79448ec7: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/79448ec7/stage
variables_bash/79448ec7: Running Test via command: bash variables_bash_build.sh
variables_bash/79448ec7: Test completed in 0.009629 seconds with returncode: 0
variables_bash/79448ec7: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/79448ec7/variables_bash.out
variables_bash/79448ec7: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/79448ec7/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/79448ec7 │ generic.local.bash │ PASS   │ 0          │ 0.010   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_a0vxddvp.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/tmp4h8j2kdp/var/rerun.json all other options will be ignored.
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:29                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/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 │
│ 8acf7a7  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ vars.ym │
│          │        │          │          │       │       │          │ l       │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/f8acf7a7: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/f8acf7a7
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/f8acf7a7 does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/f8acf7a7 │
└─────────────────────────┘
variables_bash/f8acf7a7: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/f8acf7a7/stage
variables_bash/f8acf7a7: Running Test via command: bash variables_bash_build.sh
variables_bash/f8acf7a7: Test completed in 0.009583 seconds with returncode: 0
variables_bash/f8acf7a7: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/f8acf7a7/variables_bash.out
variables_bash/f8acf7a7: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/f8acf7a7/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/f8acf7a7 │ generic.local.bash │ PASS   │ 0          │ 0.010   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_0unz7lql.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/tmp4h8j2kdp/var/rerun.json all other options will be ignored.
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:29                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/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 │
│ 7774f52  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ vars.ym │
│          │        │          │          │       │       │          │ l       │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/07774f52: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/07774f52
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/07774f52 does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/07774f52 │
└─────────────────────────┘
variables_bash/07774f52: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/07774f52/stage
variables_bash/07774f52: Running Test via command: bash variables_bash_build.sh
variables_bash/07774f52: Test completed in 0.009509 seconds with returncode: 0
variables_bash/07774f52: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/07774f52/variables_bash.out
variables_bash/07774f52: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/vars/variables_bash/07774f52/variables_bash.err
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/07774f52 │ generic.local.bash │ PASS   │ 0          │ 0.010   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_p6e87gto.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:30                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/tutorials/sleep.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ sleep/c5 │ script │ generic. │ None     │ None  │ None  │ sleep 2  │ /home/d │
│ d42cd5   │        │ local.ba │          │       │       │ seconds  │ ocs/che │
│          │        │ sh       │          │       │       │          │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ sleep.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
sleep/c5d42cd5: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/sleep/sleep/c5d42cd5
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
sleep/c5d42cd5 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━┓
┃ Builder        ┃
┡━━━━━━━━━━━━━━━━┩
│ sleep/c5d42cd5 │
└────────────────┘
sleep/c5d42cd5: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/sleep/sleep/c5d42cd5/stage
sleep/c5d42cd5: Running Test via command: bash sleep_build.sh
sleep/c5d42cd5: failed to submit job with returncode: -9
─────────────────────── Error Message for sleep/c5d42cd5 ───────────────────────

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



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


Adding 1 test results to report file: /tmp/tmp4h8j2kdp/var/report.json
Writing Logfile to /tmp/tmp4h8j2kdp/var/logs/buildtest_hf5y2y7i.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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:33                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/tutorials/sleep.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ sleep/1f │ script │ generic. │ None     │ None  │ None  │ sleep 2  │ /home/d │
│ 0da975   │        │ local.ba │          │       │       │ seconds  │ ocs/che │
│          │        │ sh       │          │       │       │          │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ sleep.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
sleep/1f0da975: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/sleep/sleep/1f0da975
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
sleep/1f0da975 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━┓
┃ Builder        ┃
┡━━━━━━━━━━━━━━━━┩
│ sleep/1f0da975 │
└────────────────┘
sleep/1f0da975: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/sleep/sleep/1f0da975/stage
sleep/1f0da975: Running Test via command: bash sleep_build.sh
sleep/1f0da975: Test completed in 2.019836 seconds with returncode: 0
sleep/1f0da975: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/sleep/sleep/1f0da975/sleep.out
sleep/1f0da975: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/sleep/sleep/1f0da975/sleep.err
                             Test Summary                              
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder        ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ sleep/1f0da975 │ generic.local.bash │ PASS   │ 0          │ 2.020   │
└────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


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

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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:36                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/python-shell.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/python-hello.yml                                                     ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/python-shell.yml                                                     ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/tu ║
║ torials/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/v2.0/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v2.0/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/4738 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 54d7     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ python- │
│          │        │          │          │       │       │          │ shell.y │
│          │        │          │          │       │       │          │ ml      │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello    │ /home/d │
│ ello/fd9 │        │ local.ba │          │       │       │ World    │ ocs/che │
│ 0a1c7    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ python- │
│          │        │          │          │       │       │          │ hello.y │
│          │        │          │          │       │       │          │ ml      │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
circle_area/473854d7: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/473854d7
python_hello/fd90a1c7: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/fd90a1c7
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
python_hello/fd90a1c7 does not have any dependencies adding test to queue
circle_area/473854d7 does not have any dependencies adding test to queue
Builders Eligible to Run 
┏━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━┩
│ python_hello/fd90a1c7 │
│ circle_area/473854d7  │
└───────────────────────┘
python_hello/fd90a1c7: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/fd90a1c7/stage
python_hello/fd90a1c7: Running Test via command: bash python_hello_build.sh
python_hello/fd90a1c7: Test completed in 0.030852 seconds with returncode: 0
python_hello/fd90a1c7: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/fd90a1c7/python_hello.out
python_hello/fd90a1c7: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-hello/python_hello/fd90a1c7/python_hello.err
circle_area/473854d7: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/473854d7/stage
circle_area/473854d7: Running Test via command: bash circle_area_build.sh
circle_area/473854d7: Test completed in 0.030448 seconds with returncode: 0
circle_area/473854d7: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/473854d7/circle_area.out
circle_area/473854d7: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/python-shell/circle_area/473854d7/circle_area.err
                                 Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder               ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ circle_area/473854d7  │ generic.local.bash │ PASS   │ 0          │ 0.030   │
├───────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ python_hello/fd90a1c7 │ generic.local.bash │ PASS   │ 0          │ 0.031   │
└───────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


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

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-24085353-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/04/16 16:48:37                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.8.18                                                   │
│ Configuration File: /tmp/tmp4h8j2kdp/config.yml                              │
│ Test Directory:     /tmp/tmp4h8j2kdp/var/tests                               │
│ Report File:        /tmp/tmp4h8j2kdp/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/v2.0/tu ║
║ torials/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/v2.0/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/407a │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 8fd1     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ hello_w │
│          │        │          │          │       │       │          │ orld.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/588e │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 930a     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ hello_w │
│          │        │          │          │       │       │          │ orld.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/c8d9 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 264f     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ hello_w │
│          │        │          │          │       │       │          │ orld.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/cc92 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 0710     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ hello_w │
│          │        │          │          │       │       │          │ orld.ym │
│          │        │          │          │       │       │          │ l       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/fa41 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 1fb1     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/v │
│          │        │          │          │       │       │          │ 2.0/tut │
│          │        │          │          │       │       │          │ orials/ │
│          │        │          │          │       │       │          │ hello_w │
│          │        │          │          │       │       │          │ orld.ym │
│          │        │          │          │       │       │          │ l       │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
hello_world/407a8fd1: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/407a8fd1
hello_world/588e930a: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/588e930a
hello_world/c8d9264f: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/c8d9264f
hello_world/cc920710: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/cc920710
hello_world/fa411fb1: Creating Test Directory: /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/fa411fb1
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
hello_world/407a8fd1 does not have any dependencies adding test to queue
hello_world/cc920710 does not have any dependencies adding test to queue
hello_world/c8d9264f does not have any dependencies adding test to queue
hello_world/588e930a does not have any dependencies adding test to queue
hello_world/fa411fb1 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/407a8fd1 │
│ hello_world/cc920710 │
└──────────────────────┘
hello_world/407a8fd1: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/407a8fd1/stage
hello_world/407a8fd1: Running Test via command: bash hello_world_build.sh
hello_world/407a8fd1: Test completed in 0.005817 seconds with returncode: 0
hello_world/407a8fd1: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/407a8fd1/hello_world.out
hello_world/407a8fd1: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/407a8fd1/hello_world.err
hello_world/cc920710: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/cc920710/stage
hello_world/cc920710: Running Test via command: bash hello_world_build.sh
hello_world/cc920710: Test completed in 0.005644 seconds with returncode: 0
hello_world/cc920710: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/cc920710/hello_world.out
hello_world/cc920710: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/cc920710/hello_world.err
───────────────────────────────── Iteration 2 ──────────────────────────────────
hello_world/c8d9264f does not have any dependencies adding test to queue
hello_world/588e930a does not have any dependencies adding test to queue
hello_world/fa411fb1 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/c8d9264f │
│ hello_world/fa411fb1 │
└──────────────────────┘
hello_world/c8d9264f: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/c8d9264f/stage
hello_world/c8d9264f: Running Test via command: bash hello_world_build.sh
hello_world/c8d9264f: Test completed in 0.005506 seconds with returncode: 0
hello_world/c8d9264f: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/c8d9264f/hello_world.out
hello_world/c8d9264f: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/c8d9264f/hello_world.err
hello_world/fa411fb1: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/fa411fb1/stage
hello_world/fa411fb1: Running Test via command: bash hello_world_build.sh
hello_world/fa411fb1: Test completed in 0.005547 seconds with returncode: 0
hello_world/fa411fb1: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/fa411fb1/hello_world.out
hello_world/fa411fb1: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/fa411fb1/hello_world.err
───────────────────────────────── Iteration 3 ──────────────────────────────────
hello_world/588e930a does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/588e930a │
└──────────────────────┘
hello_world/588e930a: Current Working Directory : /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/588e930a/stage
hello_world/588e930a: Running Test via command: bash hello_world_build.sh
hello_world/588e930a: Test completed in 0.005529 seconds with returncode: 0
hello_world/588e930a: Writing output file -  /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/588e930a/hello_world.out
hello_world/588e930a: Writing error file - /tmp/tmp4h8j2kdp/var/tests/generic.local.bash/hello_world/hello_world/588e930a/hello_world.err
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ hello_world/fa411fb1 │ generic.local.bash │ PASS   │ 0          │ 0.006   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/cc920710 │ generic.local.bash │ PASS   │ 0          │ 0.006   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/c8d9264f │ generic.local.bash │ PASS   │ 0          │ 0.006   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/407a8fd1 │ generic.local.bash │ PASS   │ 0          │ 0.006   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/588e930a │ generic.local.bash │ PASS   │ 0          │ 0.006   │
└──────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


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