Building Test (buildtest build)

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

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

Note

buildtest bd is an alias for buildtest build command.

Build Usage

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

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

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

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

filter:
  Filter tests after selection

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

module:
  Module Selection option

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

batch:
  Batch Submission options

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

extra:
  All extra options

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

Building a Test (buildtest build --buildspec)

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

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


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ s_bash/1 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ ffe2836  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/vars. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/1ffe2836: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/1ffe2836
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/1ffe2836 does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/1ffe2836 │
└─────────────────────────┘
variables_bash/1ffe2836: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/1ffe2836/stage
variables_bash/1ffe2836: Running Test via command: bash variables_bash_build.sh
────────────────── Output Message for variables_bash/1ffe2836 ──────────────────
1+2=3
 this is a literal string
 \'singlequote\'
 "doublequote"
 current user: docs
 number of files: 4
 Hello my name is Bob 
  I am 30 years old

variables_bash/1ffe2836: Test completed in 0.013016 seconds with returncode: 0
variables_bash/1ffe2836: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/1ffe2836/variables_bash.out
variables_bash/1ffe2836: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/1ffe2836/variables_bash.err
variables_bash/1ffe2836: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/1ffe2836/stage/variables_bash_postrun.sh
variables_bash/1ffe2836: Post run script exit code: 1
─────────────── variables_bash/1ffe2836: Post Run Script Output ────────────────

──────────────── variables_bash/1ffe2836: Post Run Script Error ────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/1ffe2836/stage/variables_bash_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/1ffe2836 │ generic.local.bash │ PASS   │ 0          │ 0.013   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_su6nivaq.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:58:34                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/ulimits.yml                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/systemd-default-target.yml                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/disk_usage.yml                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/kernel_state.yml                                 ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 4                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  4
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  4
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 4
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/ulimits.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/systemd-default-target.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/disk_usage.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/kernel_state.yml: VALID
Total builder objects created: 9
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ ilelock_ │        │ local.ba │          │       │       │ file     │ ocs/che │
│ unlimite │        │ sh       │          │       │       │ lock is  │ ckouts/ │
│ d/6329cc │        │          │          │       │       │ set to   │ readthe │
│ 18       │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_c │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ putime_u │        │ local.ba │          │       │       │ cputime  │ ocs/che │
│ nlimited │        │ sh       │          │       │       │ is set   │ ckouts/ │
│ /9045e7c │        │          │          │       │       │ to       │ readthe │
│ b        │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_s │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ tacksize │        │ local.ba │          │       │       │ stack    │ ocs/che │
│ _unlimit │        │ sh       │          │       │       │ size is  │ ckouts/ │
│ ed/52391 │        │          │          │       │       │ set to   │ readthe │
│ cb8      │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_v │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ msize_un │        │ local.ba │          │       │       │ virtual  │ ocs/che │
│ limited/ │        │ sh       │          │       │       │ memory   │ ckouts/ │
│ d7c06b06 │        │          │          │       │       │ size and │ readthe │
│          │        │          │          │       │       │ check if │ docs.or │
│          │        │          │          │       │       │ its set  │ g/user_ │
│          │        │          │          │       │       │ to       │ builds/ │
│          │        │          │          │       │       │ unlimite │ buildte │
│          │        │          │          │       │       │ d        │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ iledescr │        │ local.ba │          │       │       │ open     │ ocs/che │
│ iptor_40 │        │ sh       │          │       │       │ file     │ ckouts/ │
│ 96/cee39 │        │          │          │       │       │ descript │ readthe │
│ d7a      │        │          │          │       │       │ ors      │ docs.or │
│          │        │          │          │       │       │ limit is │ g/user_ │
│          │        │          │          │       │       │ set to   │ builds/ │
│          │        │          │          │       │       │ 4096     │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_m │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ ax_user_ │        │ local.ba │          │       │       │ max      │ ocs/che │
│ process_ │        │ sh       │          │       │       │ number   │ ckouts/ │
│ 2048/1b5 │        │          │          │       │       │ of user  │ readthe │
│ f750b    │        │          │          │       │       │ process  │ docs.or │
│          │        │          │          │       │       │ limit is │ g/user_ │
│          │        │          │          │       │       │ set to   │ builds/ │
│          │        │          │          │       │       │ 2048     │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ systemd_ │ script │ generic. │ None     │ None  │ None  │ check if │ /home/d │
│ default_ │        │ local.ba │          │       │       │ default  │ ocs/che │
│ target/a │        │ sh       │          │       │       │ target   │ ckouts/ │
│ 6cc9926  │        │          │          │       │       │ is       │ readthe │
│          │        │          │          │       │       │ multi-us │ docs.or │
│          │        │          │          │       │       │ er.targe │ g/user_ │
│          │        │          │          │       │       │ t        │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/s │
│          │        │          │          │       │       │          │ ystemd- │
│          │        │          │          │       │       │          │ default │
│          │        │          │          │       │       │          │ -target │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ root_dis │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ k_usage/ │        │ local.ba │          │       │       │ root     │ ocs/che │
│ dfea98c8 │        │ sh       │          │       │       │ disk     │ ckouts/ │
│          │        │          │          │       │       │ usage    │ readthe │
│          │        │          │          │       │       │ and      │ docs.or │
│          │        │          │          │       │       │ report   │ g/user_ │
│          │        │          │          │       │       │ if it    │ builds/ │
│          │        │          │          │       │       │ exceeds  │ buildte │
│          │        │          │          │       │       │ threshol │ st/chec │
│          │        │          │          │       │       │ d        │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/d │
│          │        │          │          │       │       │          │ isk_usa │
│          │        │          │          │       │       │          │ ge.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ kernel_s │ script │ generic. │ None     │ None  │ None  │ Retrieve │ /home/d │
│ wapusage │        │ local.ba │          │       │       │ Kernel   │ ocs/che │
│ /371958a │        │ sh       │          │       │       │ Swap     │ ckouts/ │
│ 4        │        │          │          │       │       │ Usage    │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/k │
│          │        │          │          │       │       │          │ ernel_s │
│          │        │          │          │       │       │          │ tate.ym │
│          │        │          │          │       │       │          │ l       │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
ulimit_filelock_unlimited/6329cc18: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/6329cc18
ulimit_cputime_unlimited/9045e7cb: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/9045e7cb
ulimit_stacksize_unlimited/52391cb8: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/52391cb8
ulimit_vmsize_unlimited/d7c06b06: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/d7c06b06
ulimit_filedescriptor_4096/cee39d7a: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/cee39d7a
ulimit_max_user_process_2048/1b5f750b: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/1b5f750b
systemd_default_target/a6cc9926: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/a6cc9926
root_disk_usage/dfea98c8: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/dfea98c8
kernel_swapusage/371958a4: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/371958a4
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
kernel_swapusage/371958a4 does not have any dependencies adding test to queue
ulimit_vmsize_unlimited/d7c06b06 does not have any dependencies adding test to queue
ulimit_filelock_unlimited/6329cc18 does not have any dependencies adding test to queue
ulimit_max_user_process_2048/1b5f750b does not have any dependencies adding test to queue
root_disk_usage/dfea98c8 does not have any dependencies adding test to queue
ulimit_stacksize_unlimited/52391cb8 does not have any dependencies adding test to queue
systemd_default_target/a6cc9926 does not have any dependencies adding test to queue
ulimit_cputime_unlimited/9045e7cb does not have any dependencies adding test to queue
ulimit_filedescriptor_4096/cee39d7a does not have any dependencies adding test to queue
        Builders Eligible to Run         
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ kernel_swapusage/371958a4             │
│ ulimit_vmsize_unlimited/d7c06b06      │
│ ulimit_filelock_unlimited/6329cc18    │
│ ulimit_max_user_process_2048/1b5f750b │
│ root_disk_usage/dfea98c8              │
│ systemd_default_target/a6cc9926       │
│ ulimit_stacksize_unlimited/52391cb8   │
│ ulimit_filedescriptor_4096/cee39d7a   │
│ ulimit_cputime_unlimited/9045e7cb     │
└───────────────────────────────────────┘
kernel_swapusage/371958a4: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/371958a4/stage
kernel_swapusage/371958a4: Running Test via command: bash kernel_swapusage_build.sh
───────────────── Output Message for kernel_swapusage/371958a4 ─────────────────

kernel_swapusage/371958a4: failed to submit job with returncode: 255
───────────────── Error Message for kernel_swapusage/371958a4 ──────────────────
sysctl: cannot stat /proc/sys/kernel/swapusage: No such file or directory

kernel_swapusage/371958a4: Detected failure in running test, will attempt to retry test: 1 times
kernel_swapusage/371958a4: Run - 1/1
kernel_swapusage/371958a4: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/371958a4: failed to submit job with returncode: 255
kernel_swapusage/371958a4: Test completed in 0.017897 seconds with returncode: 255
kernel_swapusage/371958a4: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/371958a4/kernel_swapusage.out
kernel_swapusage/371958a4: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/371958a4/kernel_swapusage.err
kernel_swapusage/371958a4: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/371958a4/stage/kernel_swapusage_postrun.sh
kernel_swapusage/371958a4: Post run script exit code: 1
────────────── kernel_swapusage/371958a4: Post Run Script Output ───────────────

─────────────── kernel_swapusage/371958a4: Post Run Script Error ───────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/371958a4/stage/kernel_swapusage_postrun.sh not found.
ulimit_vmsize_unlimited/d7c06b06: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/d7c06b06/stage
ulimit_vmsize_unlimited/d7c06b06: Running Test via command: bash ulimit_vmsize_unlimited_build.sh
───────────── Output Message for ulimit_vmsize_unlimited/d7c06b06 ──────────────
unlimited

ulimit_vmsize_unlimited/d7c06b06: Test completed in 0.007141 seconds with returncode: 0
ulimit_vmsize_unlimited/d7c06b06: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/d7c06b06/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/d7c06b06: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/d7c06b06/ulimit_vmsize_unlimited.err
ulimit_vmsize_unlimited/d7c06b06: performing regular expression - '^unlimited$' on file: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/d7c06b06/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/d7c06b06: Regular Expression Match - Success!
ulimit_vmsize_unlimited/d7c06b06: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/d7c06b06/stage/ulimit_vmsize_unlimited_postrun.sh
ulimit_vmsize_unlimited/d7c06b06: Post run script exit code: 1
─────────── ulimit_vmsize_unlimited/d7c06b06: Post Run Script Output ───────────

─────────── ulimit_vmsize_unlimited/d7c06b06: Post Run Script Error ────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/d7c06b06/stage/ulimit_vmsize_unlimited_postrun.sh not found.
ulimit_filelock_unlimited/6329cc18: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/6329cc18/stage
ulimit_filelock_unlimited/6329cc18: Running Test via command: bash ulimit_filelock_unlimited_build.sh
──────────── Output Message for ulimit_filelock_unlimited/6329cc18 ─────────────
unlimited

ulimit_filelock_unlimited/6329cc18: Test completed in 0.007147 seconds with returncode: 0
ulimit_filelock_unlimited/6329cc18: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/6329cc18/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/6329cc18: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/6329cc18/ulimit_filelock_unlimited.err
ulimit_filelock_unlimited/6329cc18: performing regular expression - '^unlimited$' on file: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/6329cc18/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/6329cc18: Regular Expression Match - Success!
ulimit_filelock_unlimited/6329cc18: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/6329cc18/stage/ulimit_filelock_unlimited_postrun.sh
ulimit_filelock_unlimited/6329cc18: Post run script exit code: 1
────────── ulimit_filelock_unlimited/6329cc18: Post Run Script Output ──────────

────────── ulimit_filelock_unlimited/6329cc18: Post Run Script Error ───────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/6329cc18/stage/ulimit_filelock_unlimited_postrun.sh not found.
ulimit_max_user_process_2048/1b5f750b: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/1b5f750b/stage
ulimit_max_user_process_2048/1b5f750b: Running Test via command: bash ulimit_max_user_process_2048_build.sh
─────────── Output Message for ulimit_max_user_process_2048/1b5f750b ───────────
unlimited

ulimit_max_user_process_2048/1b5f750b: Test completed in 0.007129 seconds with returncode: 0
ulimit_max_user_process_2048/1b5f750b: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/1b5f750b/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/1b5f750b: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/1b5f750b/ulimit_max_user_process_2048.err
ulimit_max_user_process_2048/1b5f750b: performing regular expression - '^2048$' on file: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/1b5f750b/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/1b5f750b: Regular Expression Match - Failed!
ulimit_max_user_process_2048/1b5f750b: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/1b5f750b/stage/ulimit_max_user_process_2048_postrun.sh
ulimit_max_user_process_2048/1b5f750b: Post run script exit code: 1
──────── ulimit_max_user_process_2048/1b5f750b: Post Run Script Output ─────────

───────── ulimit_max_user_process_2048/1b5f750b: Post Run Script Error ─────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/1b5f750b/stage/ulimit_max_user_process_2048_postrun.sh not found.
root_disk_usage/dfea98c8: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/dfea98c8/stage
root_disk_usage/dfea98c8: Running Test via command: bash root_disk_usage_build.sh
───────────────── Output Message for root_disk_usage/dfea98c8 ──────────────────
[OK] Root disk is below threshold of 90%

root_disk_usage/dfea98c8: Test completed in 0.011107 seconds with returncode: 0
root_disk_usage/dfea98c8: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/dfea98c8/root_disk_usage.out
root_disk_usage/dfea98c8: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/dfea98c8/root_disk_usage.err
root_disk_usage/dfea98c8: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/dfea98c8/stage/root_disk_usage_postrun.sh
root_disk_usage/dfea98c8: Post run script exit code: 1
─────────────── root_disk_usage/dfea98c8: Post Run Script Output ───────────────

─────────────── root_disk_usage/dfea98c8: Post Run Script Error ────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/dfea98c8/stage/root_disk_usage_postrun.sh not found.
systemd_default_target/a6cc9926: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/a6cc9926/stage
systemd_default_target/a6cc9926: Running Test via command: bash systemd_default_target_build.sh
────────────── Output Message for systemd_default_target/a6cc9926 ──────────────
multi-user is not the default target

systemd_default_target/a6cc9926: failed to submit job with returncode: 1
────────────── Error Message for systemd_default_target/a6cc9926 ───────────────

systemd_default_target/a6cc9926: Detected failure in running test, will attempt to retry test: 1 times
systemd_default_target/a6cc9926: Run - 1/1
systemd_default_target/a6cc9926: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/a6cc9926: failed to submit job with returncode: 1
systemd_default_target/a6cc9926: Test completed in 0.021074 seconds with returncode: 1
systemd_default_target/a6cc9926: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/a6cc9926/systemd_default_target.out
systemd_default_target/a6cc9926: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/a6cc9926/systemd_default_target.err
systemd_default_target/a6cc9926: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/a6cc9926/stage/systemd_default_target_postrun.sh
systemd_default_target/a6cc9926: Post run script exit code: 1
─────────── systemd_default_target/a6cc9926: Post Run Script Output ────────────

──────────── systemd_default_target/a6cc9926: Post Run Script Error ────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/a6cc9926/stage/systemd_default_target_postrun.sh not found.
ulimit_stacksize_unlimited/52391cb8: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/52391cb8/stage
ulimit_stacksize_unlimited/52391cb8: Running Test via command: bash ulimit_stacksize_unlimited_build.sh
──────────── Output Message for ulimit_stacksize_unlimited/52391cb8 ────────────
8192

ulimit_stacksize_unlimited/52391cb8: Test completed in 0.007842 seconds with returncode: 0
ulimit_stacksize_unlimited/52391cb8: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/52391cb8/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/52391cb8: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/52391cb8/ulimit_stacksize_unlimited.err
ulimit_stacksize_unlimited/52391cb8: performing regular expression - '^unlimited$' on file: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/52391cb8/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/52391cb8: Regular Expression Match - Failed!
ulimit_stacksize_unlimited/52391cb8: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/52391cb8/stage/ulimit_stacksize_unlimited_postrun.sh
ulimit_stacksize_unlimited/52391cb8: Post run script exit code: 1
───────── ulimit_stacksize_unlimited/52391cb8: Post Run Script Output ──────────

────────── ulimit_stacksize_unlimited/52391cb8: Post Run Script Error ──────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/52391cb8/stage/ulimit_stacksize_unlimited_postrun.sh not found.
ulimit_filedescriptor_4096/cee39d7a: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/cee39d7a/stage
ulimit_filedescriptor_4096/cee39d7a: Running Test via command: bash ulimit_filedescriptor_4096_build.sh
──────────── Output Message for ulimit_filedescriptor_4096/cee39d7a ────────────
1048576

ulimit_filedescriptor_4096/cee39d7a: Test completed in 0.007752 seconds with returncode: 0
ulimit_filedescriptor_4096/cee39d7a: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/cee39d7a/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/cee39d7a: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/cee39d7a/ulimit_filedescriptor_4096.err
ulimit_filedescriptor_4096/cee39d7a: performing regular expression - '^4096$' on file: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/cee39d7a/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/cee39d7a: Regular Expression Match - Failed!
ulimit_filedescriptor_4096/cee39d7a: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/cee39d7a/stage/ulimit_filedescriptor_4096_postrun.sh
ulimit_filedescriptor_4096/cee39d7a: Post run script exit code: 1
───────── ulimit_filedescriptor_4096/cee39d7a: Post Run Script Output ──────────

────────── ulimit_filedescriptor_4096/cee39d7a: Post Run Script Error ──────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/cee39d7a/stage/ulimit_filedescriptor_4096_postrun.sh not found.
ulimit_cputime_unlimited/9045e7cb: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/9045e7cb/stage
ulimit_cputime_unlimited/9045e7cb: Running Test via command: bash ulimit_cputime_unlimited_build.sh
───────────── Output Message for ulimit_cputime_unlimited/9045e7cb ─────────────
unlimited

ulimit_cputime_unlimited/9045e7cb: Test completed in 0.007947 seconds with returncode: 0
ulimit_cputime_unlimited/9045e7cb: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/9045e7cb/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/9045e7cb: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/9045e7cb/ulimit_cputime_unlimited.err
ulimit_cputime_unlimited/9045e7cb: performing regular expression - '^unlimited$' on file: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/9045e7cb/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/9045e7cb: Regular Expression Match - Success!
ulimit_cputime_unlimited/9045e7cb: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/9045e7cb/stage/ulimit_cputime_unlimited_postrun.sh
ulimit_cputime_unlimited/9045e7cb: Post run script exit code: 1
────────── ulimit_cputime_unlimited/9045e7cb: Post Run Script Output ───────────

─────────── ulimit_cputime_unlimited/9045e7cb: Post Run Script Error ───────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/9045e7cb/stage/ulimit_cputime_unlimited_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ systemd_default_target/ │ generic.local.bash │ FAIL   │ 1          │ 0.021   │
│ a6cc9926                │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_stacksize_unlimi │ generic.local.bash │ FAIL   │ 0          │ 0.008   │
│ ted/52391cb8            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filedescriptor_4 │ generic.local.bash │ FAIL   │ 0          │ 0.008   │
│ 096/cee39d7a            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filelock_unlimit │ generic.local.bash │ PASS   │ 0          │ 0.007   │
│ ed/6329cc18             │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ root_disk_usage/dfea98c │ generic.local.bash │ PASS   │ 0          │ 0.011   │
│ 8                       │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_cputime_unlimite │ generic.local.bash │ PASS   │ 0          │ 0.008   │
│ d/9045e7cb              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_vmsize_unlimited │ generic.local.bash │ PASS   │ 0          │ 0.007   │
│ /d7c06b06               │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_max_user_process │ generic.local.bash │ FAIL   │ 0          │ 0.007   │
│ _2048/1b5f750b          │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ kernel_swapusage/371958 │ generic.local.bash │ FAIL   │ 255        │ 0.018   │
│ a4                      │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 9 test results to report file: /tmp/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_mg7bmqzz.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:58:35                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/ulimits.yml                                      ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/vars.yml                                                           ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/systemd-default-target.yml                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/disk_usage.yml                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/kernel_state.yml                                 ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 5                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  5
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  5
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 5
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/ulimits.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/systemd-default-target.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/disk_usage.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/general_tests/configuration/kernel_state.yml: VALID
Total builder objects created: 10
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ ilelock_ │        │ local.ba │          │       │       │ file     │ ocs/che │
│ unlimite │        │ sh       │          │       │       │ lock is  │ ckouts/ │
│ d/8420e4 │        │          │          │       │       │ set to   │ readthe │
│ 72       │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_c │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ putime_u │        │ local.ba │          │       │       │ cputime  │ ocs/che │
│ nlimited │        │ sh       │          │       │       │ is set   │ ckouts/ │
│ /5ba1793 │        │          │          │       │       │ to       │ readthe │
│ 8        │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_s │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ tacksize │        │ local.ba │          │       │       │ stack    │ ocs/che │
│ _unlimit │        │ sh       │          │       │       │ size is  │ ckouts/ │
│ ed/2abd6 │        │          │          │       │       │ set to   │ readthe │
│ d22      │        │          │          │       │       │ unlimite │ docs.or │
│          │        │          │          │       │       │ d in     │ g/user_ │
│          │        │          │          │       │       │ ulimits  │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_v │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ msize_un │        │ local.ba │          │       │       │ virtual  │ ocs/che │
│ limited/ │        │ sh       │          │       │       │ memory   │ ckouts/ │
│ 8a89ca0d │        │          │          │       │       │ size and │ readthe │
│          │        │          │          │       │       │ check if │ docs.or │
│          │        │          │          │       │       │ its set  │ g/user_ │
│          │        │          │          │       │       │ to       │ builds/ │
│          │        │          │          │       │       │ unlimite │ buildte │
│          │        │          │          │       │       │ d        │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_f │ script │ generic. │ None     │ None  │ None  │ Check if │ /home/d │
│ iledescr │        │ local.ba │          │       │       │ open     │ ocs/che │
│ iptor_40 │        │ sh       │          │       │       │ file     │ ckouts/ │
│ 96/849de │        │          │          │       │       │ descript │ readthe │
│ abb      │        │          │          │       │       │ ors      │ docs.or │
│          │        │          │          │       │       │ limit is │ g/user_ │
│          │        │          │          │       │       │ set to   │ builds/ │
│          │        │          │          │       │       │ 4096     │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_m │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ ax_user_ │        │ local.ba │          │       │       │ max      │ ocs/che │
│ process_ │        │ sh       │          │       │       │ number   │ ckouts/ │
│ 2048/2a6 │        │          │          │       │       │ of user  │ readthe │
│ e5c3e    │        │          │          │       │       │ process  │ docs.or │
│          │        │          │          │       │       │ limit is │ g/user_ │
│          │        │          │          │       │       │ set to   │ builds/ │
│          │        │          │          │       │       │ 2048     │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/u │
│          │        │          │          │       │       │          │ limits. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ s_bash/6 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ c7ce4c9  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/vars. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ systemd_ │ script │ generic. │ None     │ None  │ None  │ check if │ /home/d │
│ default_ │        │ local.ba │          │       │       │ default  │ ocs/che │
│ target/f │        │ sh       │          │       │       │ target   │ ckouts/ │
│ 2c25a98  │        │          │          │       │       │ is       │ readthe │
│          │        │          │          │       │       │ multi-us │ docs.or │
│          │        │          │          │       │       │ er.targe │ g/user_ │
│          │        │          │          │       │       │ t        │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/s │
│          │        │          │          │       │       │          │ ystemd- │
│          │        │          │          │       │       │          │ default │
│          │        │          │          │       │       │          │ -target │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ root_dis │ script │ generic. │ None     │ None  │ None  │ Check    │ /home/d │
│ k_usage/ │        │ local.ba │          │       │       │ root     │ ocs/che │
│ 3dab37c5 │        │ sh       │          │       │       │ disk     │ ckouts/ │
│          │        │          │          │       │       │ usage    │ readthe │
│          │        │          │          │       │       │ and      │ docs.or │
│          │        │          │          │       │       │ report   │ g/user_ │
│          │        │          │          │       │       │ if it    │ builds/ │
│          │        │          │          │       │       │ exceeds  │ buildte │
│          │        │          │          │       │       │ threshol │ st/chec │
│          │        │          │          │       │       │ d        │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/d │
│          │        │          │          │       │       │          │ isk_usa │
│          │        │          │          │       │       │          │ ge.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ kernel_s │ script │ generic. │ None     │ None  │ None  │ Retrieve │ /home/d │
│ wapusage │        │ local.ba │          │       │       │ Kernel   │ ocs/che │
│ /8958aab │        │ sh       │          │       │       │ Swap     │ ckouts/ │
│ 1        │        │          │          │       │       │ Usage    │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/g │
│          │        │          │          │       │       │          │ eneral_ │
│          │        │          │          │       │       │          │ tests/c │
│          │        │          │          │       │       │          │ onfigur │
│          │        │          │          │       │       │          │ ation/k │
│          │        │          │          │       │       │          │ ernel_s │
│          │        │          │          │       │       │          │ tate.ym │
│          │        │          │          │       │       │          │ l       │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
ulimit_filelock_unlimited/8420e472: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/8420e472
ulimit_cputime_unlimited/5ba17938: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/5ba17938
ulimit_stacksize_unlimited/2abd6d22: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/2abd6d22
ulimit_vmsize_unlimited/8a89ca0d: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/8a89ca0d
ulimit_filedescriptor_4096/849deabb: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/849deabb
ulimit_max_user_process_2048/2a6e5c3e: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2a6e5c3e
variables_bash/6c7ce4c9: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/6c7ce4c9
systemd_default_target/f2c25a98: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/f2c25a98
root_disk_usage/3dab37c5: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/3dab37c5
kernel_swapusage/8958aab1: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/8958aab1
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
ulimit_stacksize_unlimited/2abd6d22 does not have any dependencies adding test to queue
ulimit_vmsize_unlimited/8a89ca0d does not have any dependencies adding test to queue
ulimit_cputime_unlimited/5ba17938 does not have any dependencies adding test to queue
root_disk_usage/3dab37c5 does not have any dependencies adding test to queue
variables_bash/6c7ce4c9 does not have any dependencies adding test to queue
ulimit_filelock_unlimited/8420e472 does not have any dependencies adding test to queue
ulimit_max_user_process_2048/2a6e5c3e does not have any dependencies adding test to queue
systemd_default_target/f2c25a98 does not have any dependencies adding test to queue
kernel_swapusage/8958aab1 does not have any dependencies adding test to queue
ulimit_filedescriptor_4096/849deabb does not have any dependencies adding test to queue
        Builders Eligible to Run         
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ ulimit_stacksize_unlimited/2abd6d22   │
│ ulimit_vmsize_unlimited/8a89ca0d      │
│ ulimit_cputime_unlimited/5ba17938     │
│ root_disk_usage/3dab37c5              │
│ variables_bash/6c7ce4c9               │
│ ulimit_filelock_unlimited/8420e472    │
│ ulimit_max_user_process_2048/2a6e5c3e │
│ systemd_default_target/f2c25a98       │
│ kernel_swapusage/8958aab1             │
│ ulimit_filedescriptor_4096/849deabb   │
└───────────────────────────────────────┘
ulimit_stacksize_unlimited/2abd6d22: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/2abd6d22/stage
ulimit_stacksize_unlimited/2abd6d22: Running Test via command: bash ulimit_stacksize_unlimited_build.sh
──────────── Output Message for ulimit_stacksize_unlimited/2abd6d22 ────────────
8192

ulimit_stacksize_unlimited/2abd6d22: Test completed in 0.007384 seconds with returncode: 0
ulimit_stacksize_unlimited/2abd6d22: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/2abd6d22/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/2abd6d22: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/2abd6d22/ulimit_stacksize_unlimited.err
ulimit_stacksize_unlimited/2abd6d22: performing regular expression - '^unlimited$' on file: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/2abd6d22/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/2abd6d22: Regular Expression Match - Failed!
ulimit_stacksize_unlimited/2abd6d22: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/2abd6d22/stage/ulimit_stacksize_unlimited_postrun.sh
ulimit_stacksize_unlimited/2abd6d22: Post run script exit code: 1
───────── ulimit_stacksize_unlimited/2abd6d22: Post Run Script Output ──────────

────────── ulimit_stacksize_unlimited/2abd6d22: Post Run Script Error ──────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/2abd6d22/stage/ulimit_stacksize_unlimited_postrun.sh not found.
ulimit_vmsize_unlimited/8a89ca0d: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/8a89ca0d/stage
ulimit_vmsize_unlimited/8a89ca0d: Running Test via command: bash ulimit_vmsize_unlimited_build.sh
───────────── Output Message for ulimit_vmsize_unlimited/8a89ca0d ──────────────
unlimited

ulimit_vmsize_unlimited/8a89ca0d: Test completed in 0.006898 seconds with returncode: 0
ulimit_vmsize_unlimited/8a89ca0d: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/8a89ca0d/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/8a89ca0d: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/8a89ca0d/ulimit_vmsize_unlimited.err
ulimit_vmsize_unlimited/8a89ca0d: performing regular expression - '^unlimited$' on file: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/8a89ca0d/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/8a89ca0d: Regular Expression Match - Success!
ulimit_vmsize_unlimited/8a89ca0d: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/8a89ca0d/stage/ulimit_vmsize_unlimited_postrun.sh
ulimit_vmsize_unlimited/8a89ca0d: Post run script exit code: 1
─────────── ulimit_vmsize_unlimited/8a89ca0d: Post Run Script Output ───────────

─────────── ulimit_vmsize_unlimited/8a89ca0d: Post Run Script Error ────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/8a89ca0d/stage/ulimit_vmsize_unlimited_postrun.sh not found.
ulimit_cputime_unlimited/5ba17938: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/5ba17938/stage
ulimit_cputime_unlimited/5ba17938: Running Test via command: bash ulimit_cputime_unlimited_build.sh
───────────── Output Message for ulimit_cputime_unlimited/5ba17938 ─────────────
unlimited

ulimit_cputime_unlimited/5ba17938: Test completed in 0.007179 seconds with returncode: 0
ulimit_cputime_unlimited/5ba17938: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/5ba17938/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/5ba17938: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/5ba17938/ulimit_cputime_unlimited.err
ulimit_cputime_unlimited/5ba17938: performing regular expression - '^unlimited$' on file: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/5ba17938/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/5ba17938: Regular Expression Match - Success!
ulimit_cputime_unlimited/5ba17938: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/5ba17938/stage/ulimit_cputime_unlimited_postrun.sh
ulimit_cputime_unlimited/5ba17938: Post run script exit code: 1
────────── ulimit_cputime_unlimited/5ba17938: Post Run Script Output ───────────

─────────── ulimit_cputime_unlimited/5ba17938: Post Run Script Error ───────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/5ba17938/stage/ulimit_cputime_unlimited_postrun.sh not found.
root_disk_usage/3dab37c5: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/3dab37c5/stage
root_disk_usage/3dab37c5: Running Test via command: bash root_disk_usage_build.sh
───────────────── Output Message for root_disk_usage/3dab37c5 ──────────────────
[OK] Root disk is below threshold of 90%

root_disk_usage/3dab37c5: Test completed in 0.010583 seconds with returncode: 0
root_disk_usage/3dab37c5: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/3dab37c5/root_disk_usage.out
root_disk_usage/3dab37c5: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/3dab37c5/root_disk_usage.err
root_disk_usage/3dab37c5: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/3dab37c5/stage/root_disk_usage_postrun.sh
root_disk_usage/3dab37c5: Post run script exit code: 1
─────────────── root_disk_usage/3dab37c5: Post Run Script Output ───────────────

─────────────── root_disk_usage/3dab37c5: Post Run Script Error ────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/3dab37c5/stage/root_disk_usage_postrun.sh not found.
variables_bash/6c7ce4c9: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/6c7ce4c9/stage
variables_bash/6c7ce4c9: Running Test via command: bash variables_bash_build.sh
────────────────── Output Message for variables_bash/6c7ce4c9 ──────────────────
1+2=3
 this is a literal string
 \'singlequote\'
 "doublequote"
 current user: docs
 number of files: 4
 Hello my name is Bob 
  I am 30 years old

variables_bash/6c7ce4c9: Test completed in 0.011005 seconds with returncode: 0
variables_bash/6c7ce4c9: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/6c7ce4c9/variables_bash.out
variables_bash/6c7ce4c9: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/6c7ce4c9/variables_bash.err
variables_bash/6c7ce4c9: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/6c7ce4c9/stage/variables_bash_postrun.sh
variables_bash/6c7ce4c9: Post run script exit code: 1
─────────────── variables_bash/6c7ce4c9: Post Run Script Output ────────────────

──────────────── variables_bash/6c7ce4c9: Post Run Script Error ────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/6c7ce4c9/stage/variables_bash_postrun.sh not found.
ulimit_filelock_unlimited/8420e472: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/8420e472/stage
ulimit_filelock_unlimited/8420e472: Running Test via command: bash ulimit_filelock_unlimited_build.sh
──────────── Output Message for ulimit_filelock_unlimited/8420e472 ─────────────
unlimited

ulimit_filelock_unlimited/8420e472: Test completed in 0.007367 seconds with returncode: 0
ulimit_filelock_unlimited/8420e472: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/8420e472/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/8420e472: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/8420e472/ulimit_filelock_unlimited.err
ulimit_filelock_unlimited/8420e472: performing regular expression - '^unlimited$' on file: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/8420e472/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/8420e472: Regular Expression Match - Success!
ulimit_filelock_unlimited/8420e472: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/8420e472/stage/ulimit_filelock_unlimited_postrun.sh
ulimit_filelock_unlimited/8420e472: Post run script exit code: 1
────────── ulimit_filelock_unlimited/8420e472: Post Run Script Output ──────────

────────── ulimit_filelock_unlimited/8420e472: Post Run Script Error ───────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/8420e472/stage/ulimit_filelock_unlimited_postrun.sh not found.
ulimit_max_user_process_2048/2a6e5c3e: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2a6e5c3e/stage
ulimit_max_user_process_2048/2a6e5c3e: Running Test via command: bash ulimit_max_user_process_2048_build.sh
─────────── Output Message for ulimit_max_user_process_2048/2a6e5c3e ───────────
unlimited

ulimit_max_user_process_2048/2a6e5c3e: Test completed in 0.007219 seconds with returncode: 0
ulimit_max_user_process_2048/2a6e5c3e: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2a6e5c3e/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/2a6e5c3e: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2a6e5c3e/ulimit_max_user_process_2048.err
ulimit_max_user_process_2048/2a6e5c3e: performing regular expression - '^2048$' on file: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2a6e5c3e/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/2a6e5c3e: Regular Expression Match - Failed!
ulimit_max_user_process_2048/2a6e5c3e: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2a6e5c3e/stage/ulimit_max_user_process_2048_postrun.sh
ulimit_max_user_process_2048/2a6e5c3e: Post run script exit code: 1
──────── ulimit_max_user_process_2048/2a6e5c3e: Post Run Script Output ─────────

───────── ulimit_max_user_process_2048/2a6e5c3e: Post Run Script Error ─────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2a6e5c3e/stage/ulimit_max_user_process_2048_postrun.sh not found.
systemd_default_target/f2c25a98: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/f2c25a98/stage
systemd_default_target/f2c25a98: Running Test via command: bash systemd_default_target_build.sh
────────────── Output Message for systemd_default_target/f2c25a98 ──────────────
multi-user is not the default target

systemd_default_target/f2c25a98: failed to submit job with returncode: 1
────────────── Error Message for systemd_default_target/f2c25a98 ───────────────

systemd_default_target/f2c25a98: Detected failure in running test, will attempt to retry test: 1 times
systemd_default_target/f2c25a98: Run - 1/1
systemd_default_target/f2c25a98: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/f2c25a98: failed to submit job with returncode: 1
systemd_default_target/f2c25a98: Test completed in 0.020998 seconds with returncode: 1
systemd_default_target/f2c25a98: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/f2c25a98/systemd_default_target.out
systemd_default_target/f2c25a98: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/f2c25a98/systemd_default_target.err
systemd_default_target/f2c25a98: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/f2c25a98/stage/systemd_default_target_postrun.sh
systemd_default_target/f2c25a98: Post run script exit code: 1
─────────── systemd_default_target/f2c25a98: Post Run Script Output ────────────

──────────── systemd_default_target/f2c25a98: Post Run Script Error ────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/f2c25a98/stage/systemd_default_target_postrun.sh not found.
kernel_swapusage/8958aab1: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/8958aab1/stage
kernel_swapusage/8958aab1: Running Test via command: bash kernel_swapusage_build.sh
───────────────── Output Message for kernel_swapusage/8958aab1 ─────────────────

kernel_swapusage/8958aab1: failed to submit job with returncode: 255
───────────────── Error Message for kernel_swapusage/8958aab1 ──────────────────
sysctl: cannot stat /proc/sys/kernel/swapusage: No such file or directory

kernel_swapusage/8958aab1: Detected failure in running test, will attempt to retry test: 1 times
kernel_swapusage/8958aab1: Run - 1/1
kernel_swapusage/8958aab1: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/8958aab1: failed to submit job with returncode: 255
kernel_swapusage/8958aab1: Test completed in 0.021247 seconds with returncode: 255
kernel_swapusage/8958aab1: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/8958aab1/kernel_swapusage.out
kernel_swapusage/8958aab1: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/8958aab1/kernel_swapusage.err
kernel_swapusage/8958aab1: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/8958aab1/stage/kernel_swapusage_postrun.sh
kernel_swapusage/8958aab1: Post run script exit code: 1
────────────── kernel_swapusage/8958aab1: Post Run Script Output ───────────────

─────────────── kernel_swapusage/8958aab1: Post Run Script Error ───────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/8958aab1/stage/kernel_swapusage_postrun.sh not found.
ulimit_filedescriptor_4096/849deabb: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/849deabb/stage
ulimit_filedescriptor_4096/849deabb: Running Test via command: bash ulimit_filedescriptor_4096_build.sh
──────────── Output Message for ulimit_filedescriptor_4096/849deabb ────────────
1048576

ulimit_filedescriptor_4096/849deabb: Test completed in 0.007782 seconds with returncode: 0
ulimit_filedescriptor_4096/849deabb: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/849deabb/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/849deabb: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/849deabb/ulimit_filedescriptor_4096.err
ulimit_filedescriptor_4096/849deabb: performing regular expression - '^4096$' on file: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/849deabb/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/849deabb: Regular Expression Match - Failed!
ulimit_filedescriptor_4096/849deabb: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/849deabb/stage/ulimit_filedescriptor_4096_postrun.sh
ulimit_filedescriptor_4096/849deabb: Post run script exit code: 1
───────── ulimit_filedescriptor_4096/849deabb: Post Run Script Output ──────────

────────── ulimit_filedescriptor_4096/849deabb: Post Run Script Error ──────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/849deabb/stage/ulimit_filedescriptor_4096_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ root_disk_usage/3dab37c │ generic.local.bash │ PASS   │ 0          │ 0.011   │
│ 5                       │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_cputime_unlimite │ generic.local.bash │ PASS   │ 0          │ 0.007   │
│ d/5ba17938              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ kernel_swapusage/8958aa │ generic.local.bash │ FAIL   │ 255        │ 0.021   │
│ b1                      │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ systemd_default_target/ │ generic.local.bash │ FAIL   │ 1          │ 0.021   │
│ f2c25a98                │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_vmsize_unlimited │ generic.local.bash │ PASS   │ 0          │ 0.007   │
│ /8a89ca0d               │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filelock_unlimit │ generic.local.bash │ PASS   │ 0          │ 0.007   │
│ ed/8420e472             │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_stacksize_unlimi │ generic.local.bash │ FAIL   │ 0          │ 0.007   │
│ ted/2abd6d22            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_filedescriptor_4 │ generic.local.bash │ FAIL   │ 0          │ 0.008   │
│ 096/849deabb            │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ variables_bash/6c7ce4c9 │ generic.local.bash │ PASS   │ 0          │ 0.011   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ ulimit_max_user_process │ generic.local.bash │ FAIL   │ 0          │ 0.007   │
│ _2048/2a6e5c3e          │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 10 test results to report file: /tmp/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_wkcbomx1.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:58: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.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:58:38                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/systemd-default-target.yml                       ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/kernel_state.yml                                 ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/disk_usage.yml                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/ulimits.yml                                      ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 4                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                              Excluded buildspecs                               
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ general_tests/configuration/ulimits.yml                                      ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

systemd_default_target/92ca59e2: failed to submit job with returncode: 1
────────────── Error Message for systemd_default_target/92ca59e2 ───────────────

systemd_default_target/92ca59e2: Detected failure in running test, will attempt to retry test: 1 times
systemd_default_target/92ca59e2: Run - 1/1
systemd_default_target/92ca59e2: Running Test via command: bash systemd_default_target_build.sh
systemd_default_target/92ca59e2: failed to submit job with returncode: 1
systemd_default_target/92ca59e2: Test completed in 0.020694 seconds with returncode: 1
systemd_default_target/92ca59e2: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/92ca59e2/systemd_default_target.out
systemd_default_target/92ca59e2: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/92ca59e2/systemd_default_target.err
systemd_default_target/92ca59e2: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/92ca59e2/stage/systemd_default_target_postrun.sh
systemd_default_target/92ca59e2: Post run script exit code: 1
─────────── systemd_default_target/92ca59e2: Post Run Script Output ────────────

──────────── systemd_default_target/92ca59e2: Post Run Script Error ────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/92ca59e2/stage/systemd_default_target_postrun.sh not found.
kernel_swapusage/174e1977: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/174e1977/stage
kernel_swapusage/174e1977: Running Test via command: bash kernel_swapusage_build.sh
───────────────── Output Message for kernel_swapusage/174e1977 ─────────────────

kernel_swapusage/174e1977: failed to submit job with returncode: 255
───────────────── Error Message for kernel_swapusage/174e1977 ──────────────────
sysctl: cannot stat /proc/sys/kernel/swapusage: No such file or directory

kernel_swapusage/174e1977: Detected failure in running test, will attempt to retry test: 1 times
kernel_swapusage/174e1977: Run - 1/1
kernel_swapusage/174e1977: Running Test via command: bash kernel_swapusage_build.sh
kernel_swapusage/174e1977: failed to submit job with returncode: 255
kernel_swapusage/174e1977: Test completed in 0.017055 seconds with returncode: 255
kernel_swapusage/174e1977: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/174e1977/kernel_swapusage.out
kernel_swapusage/174e1977: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/174e1977/kernel_swapusage.err
kernel_swapusage/174e1977: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/174e1977/stage/kernel_swapusage_postrun.sh
kernel_swapusage/174e1977: Post run script exit code: 1
────────────── kernel_swapusage/174e1977: Post Run Script Output ───────────────

─────────────── kernel_swapusage/174e1977: Post Run Script Error ───────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/kernel_state/kernel_swapusage/174e1977/stage/kernel_swapusage_postrun.sh not found.
root_disk_usage/a1e4bd12: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/a1e4bd12/stage
root_disk_usage/a1e4bd12: Running Test via command: bash root_disk_usage_build.sh
───────────────── Output Message for root_disk_usage/a1e4bd12 ──────────────────
[OK] Root disk is below threshold of 90%

root_disk_usage/a1e4bd12: Test completed in 0.010888 seconds with returncode: 0
root_disk_usage/a1e4bd12: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/a1e4bd12/root_disk_usage.out
root_disk_usage/a1e4bd12: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/a1e4bd12/root_disk_usage.err
root_disk_usage/a1e4bd12: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/a1e4bd12/stage/root_disk_usage_postrun.sh
root_disk_usage/a1e4bd12: Post run script exit code: 1
─────────────── root_disk_usage/a1e4bd12: Post Run Script Output ───────────────

─────────────── root_disk_usage/a1e4bd12: Post Run Script Error ────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/disk_usage/root_disk_usage/a1e4bd12/stage/root_disk_usage_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ systemd_default_target/ │ generic.local.bash │ FAIL   │ 1          │ 0.021   │
│ 92ca59e2                │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ kernel_swapusage/174e19 │ generic.local.bash │ FAIL   │ 255        │ 0.017   │
│ 77                      │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ root_disk_usage/a1e4bd1 │ generic.local.bash │ PASS   │ 0          │ 0.011   │
│ 2                       │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 3 test results to report file: /tmp/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_0p57l5w5.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:58:39                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/tags_example.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                           Buildspecs By Tag=network                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/tags_example.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/tags_example.yml: VALID
Total builder objects created: 2
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ string_t │ script │ generic. │ None     │ None  │ None  │ tags can │ /home/d │
│ ag/b0501 │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ 11b      │        │ sh       │          │       │       │ string   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/tags_ │
│          │        │          │          │       │       │          │ example │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ list_of_ │ script │ generic. │ None     │ None  │ None  │ tags can │ /home/d │
│ strings_ │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ tags/b79 │        │ sh       │          │       │       │ list of  │ ckouts/ │
│ ae06e    │        │          │          │       │       │ strings  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/tags_ │
│          │        │          │          │       │       │          │ example │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
string_tag/b050111b: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/string_tag/b050111b
list_of_strings_tags/b79ae06e: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/list_of_strings_tags/b79ae06e
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
list_of_strings_tags/b79ae06e does not have any dependencies adding test to queue
string_tag/b050111b does not have any dependencies adding test to queue
    Builders Eligible to Run     
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                       ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ list_of_strings_tags/b79ae06e │
│ string_tag/b050111b           │
└───────────────────────────────┘
list_of_strings_tags/b79ae06e: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/list_of_strings_tags/b79ae06e/stage
list_of_strings_tags/b79ae06e: Running Test via command: bash list_of_strings_tags_build.sh
─────────────── Output Message for list_of_strings_tags/b79ae06e ───────────────
PING www.google.com (172.217.0.164) 56(84) bytes of data.
 64 bytes from mia09s16-in-f4.1e100.net (172.217.0.164): icmp_seq=1 ttl=113 time=16.3 ms
 64 bytes from mia09s16-in-f4.1e100.net (172.217.0.164): icmp_seq=2 ttl=113 time=16.2 ms
 64 bytes from mia09s16-in-f4.1e100.net (172.217.0.164): icmp_seq=3 ttl=113 time=16.3 ms
 64 bytes from mia09s16-in-f4.1e100.net (172.217.0.164): icmp_seq=4 ttl=113 time=16.2 ms
 --- www.google.com ping statistics ---
 4 packets transmitted, 4 received, 0% packet loss, time 3004ms
 rtt min/avg/max/mdev = 16.231/16.262/16.295/0.027 ms

list_of_strings_tags/b79ae06e: Test completed in 3.032516 seconds with returncode: 0
list_of_strings_tags/b79ae06e: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/list_of_strings_tags/b79ae06e/list_of_strings_tags.out
list_of_strings_tags/b79ae06e: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/list_of_strings_tags/b79ae06e/list_of_strings_tags.err
list_of_strings_tags/b79ae06e: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/list_of_strings_tags/b79ae06e/stage/list_of_strings_tags_postrun.sh
list_of_strings_tags/b79ae06e: Post run script exit code: 1
──────────── list_of_strings_tags/b79ae06e: Post Run Script Output ─────────────

───────────── list_of_strings_tags/b79ae06e: Post Run Script Error ─────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/list_of_strings_tags/b79ae06e/stage/list_of_strings_tags_postrun.sh not found.
string_tag/b050111b: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/string_tag/b050111b/stage
string_tag/b050111b: Running Test via command: bash string_tag_build.sh
──────────────────── Output Message for string_tag/b050111b ────────────────────
build-24413851-project-280831-buildtest

string_tag/b050111b: Test completed in 0.008205 seconds with returncode: 0
string_tag/b050111b: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/string_tag/b050111b/string_tag.out
string_tag/b050111b: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/string_tag/b050111b/string_tag.err
string_tag/b050111b: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/string_tag/b050111b/stage/string_tag_postrun.sh
string_tag/b050111b: Post run script exit code: 1
───────────────── string_tag/b050111b: Post Run Script Output ──────────────────

────────────────── string_tag/b050111b: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/string_tag/b050111b/stage/string_tag_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ string_tag/b050111b     │ generic.local.bash │ PASS   │ 0          │ 0.008   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ list_of_strings_tags/b7 │ generic.local.bash │ PASS   │ 0          │ 3.033   │
│ 9ae06e                  │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_z38ti_a5.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:58:42                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 3                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  3
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  3
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 3
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-hello.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/7ef90 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 85a      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/fe3e1 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 8ef      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /de6fa49 │        │          │          │       │       │ failed   │ readthe │
│ 0        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/30e │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ f3270    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/9609 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 58c4     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-shell │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello    │ /home/d │
│ ello/020 │        │ local.ba │          │       │       │ World    │ ocs/che │
│ 19966    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-hello │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/7ef9085a: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/7ef9085a
exit1_pass/fe3e18ef: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/fe3e18ef
returncode_list_mismatch/de6fa490: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/de6fa490
returncode_int_match/30ef3270: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/30ef3270
circle_area/960958c4: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/960958c4
python_hello/02019966: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/02019966
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/7ef9085a does not have any dependencies adding test to queue
returncode_list_mismatch/de6fa490 does not have any dependencies adding test to queue
python_hello/02019966 does not have any dependencies adding test to queue
returncode_int_match/30ef3270 does not have any dependencies adding test to queue
circle_area/960958c4 does not have any dependencies adding test to queue
exit1_pass/fe3e18ef does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_fail/7ef9085a               │
│ returncode_list_mismatch/de6fa490 │
│ python_hello/02019966             │
│ returncode_int_match/30ef3270     │
│ circle_area/960958c4              │
│ exit1_pass/fe3e18ef               │
└───────────────────────────────────┘
exit1_fail/7ef9085a: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/7ef9085a/stage
exit1_fail/7ef9085a: Running Test via command: bash exit1_fail_build.sh
──────────────────── Output Message for exit1_fail/7ef9085a ────────────────────

exit1_fail/7ef9085a: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/7ef9085a ─────────────────────

exit1_fail/7ef9085a: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/7ef9085a: Run - 1/1
exit1_fail/7ef9085a: Running Test via command: bash exit1_fail_build.sh
exit1_fail/7ef9085a: failed to submit job with returncode: 1
exit1_fail/7ef9085a: Test completed in 0.015698 seconds with returncode: 1
exit1_fail/7ef9085a: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/7ef9085a/exit1_fail.out
exit1_fail/7ef9085a: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/7ef9085a/exit1_fail.err
exit1_fail/7ef9085a: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/7ef9085a/stage/exit1_fail_postrun.sh
exit1_fail/7ef9085a: Post run script exit code: 1
───────────────── exit1_fail/7ef9085a: Post Run Script Output ──────────────────

────────────────── exit1_fail/7ef9085a: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/7ef9085a/stage/exit1_fail_postrun.sh not found.
returncode_list_mismatch/de6fa490: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/de6fa490/stage
returncode_list_mismatch/de6fa490: Running Test via command: bash returncode_list_mismatch_build.sh
───────────── Output Message for returncode_list_mismatch/de6fa490 ─────────────

returncode_list_mismatch/de6fa490: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/de6fa490 ──────────────

returncode_list_mismatch/de6fa490: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/de6fa490: Run - 1/1
returncode_list_mismatch/de6fa490: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/de6fa490: failed to submit job with returncode: 2
returncode_list_mismatch/de6fa490: Test completed in 0.015619 seconds with returncode: 2
returncode_list_mismatch/de6fa490: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/de6fa490/returncode_list_mismatch.out
returncode_list_mismatch/de6fa490: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/de6fa490/returncode_list_mismatch.err
returncode_list_mismatch/de6fa490: Checking returncode - 2 is matched in list [1, 3]
returncode_list_mismatch/de6fa490: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/de6fa490/stage/returncode_list_mismatch_postrun.sh
returncode_list_mismatch/de6fa490: Post run script exit code: 1
────────── returncode_list_mismatch/de6fa490: Post Run Script Output ───────────

─────────── returncode_list_mismatch/de6fa490: Post Run Script Error ───────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/de6fa490/stage/returncode_list_mismatch_postrun.sh not found.
python_hello/02019966: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/02019966/stage
python_hello/02019966: Running Test via command: bash python_hello_build.sh
─────────────────── Output Message for python_hello/02019966 ───────────────────
Hello World

python_hello/02019966: Test completed in 0.036875 seconds with returncode: 0
python_hello/02019966: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/02019966/python_hello.out
python_hello/02019966: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/02019966/python_hello.err
python_hello/02019966: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/02019966/stage/python_hello_postrun.sh
python_hello/02019966: Post run script exit code: 1
──────────────── python_hello/02019966: Post Run Script Output ─────────────────

───────────────── python_hello/02019966: Post Run Script Error ─────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/02019966/stage/python_hello_postrun.sh not found.
returncode_int_match/30ef3270: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/30ef3270/stage
returncode_int_match/30ef3270: Running Test via command: bash returncode_int_match_build.sh
─────────────── Output Message for returncode_int_match/30ef3270 ───────────────

returncode_int_match/30ef3270: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/30ef3270 ────────────────

returncode_int_match/30ef3270: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/30ef3270: Run - 1/1
returncode_int_match/30ef3270: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/30ef3270: failed to submit job with returncode: 128
returncode_int_match/30ef3270: Test completed in 0.015615 seconds with returncode: 128
returncode_int_match/30ef3270: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/30ef3270/returncode_int_match.out
returncode_int_match/30ef3270: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/30ef3270/returncode_int_match.err
returncode_int_match/30ef3270: Checking returncode - 128 is matched in list [128]
returncode_int_match/30ef3270: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/30ef3270/stage/returncode_int_match_postrun.sh
returncode_int_match/30ef3270: Post run script exit code: 1
──────────── returncode_int_match/30ef3270: Post Run Script Output ─────────────

───────────── returncode_int_match/30ef3270: Post Run Script Error ─────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/30ef3270/stage/returncode_int_match_postrun.sh not found.
circle_area/960958c4: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/960958c4/stage
circle_area/960958c4: Running Test via command: bash circle_area_build.sh
─────────────────── Output Message for circle_area/960958c4 ────────────────────
Circle Radius  2
 Area of circle  12.566370614359172

circle_area/960958c4: Test completed in 0.03775 seconds with returncode: 0
circle_area/960958c4: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/960958c4/circle_area.out
circle_area/960958c4: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/960958c4/circle_area.err
circle_area/960958c4: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/960958c4/stage/circle_area_postrun.sh
circle_area/960958c4: Post run script exit code: 1
───────────────── circle_area/960958c4: Post Run Script Output ─────────────────

───────────────── circle_area/960958c4: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/960958c4/stage/circle_area_postrun.sh not found.
exit1_pass/fe3e18ef: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/fe3e18ef/stage
exit1_pass/fe3e18ef: Running Test via command: bash exit1_pass_build.sh
──────────────────── Output Message for exit1_pass/fe3e18ef ────────────────────

exit1_pass/fe3e18ef: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/fe3e18ef ─────────────────────

exit1_pass/fe3e18ef: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/fe3e18ef: Run - 1/1
exit1_pass/fe3e18ef: Running Test via command: bash exit1_pass_build.sh
exit1_pass/fe3e18ef: failed to submit job with returncode: 1
exit1_pass/fe3e18ef: Test completed in 0.015377 seconds with returncode: 1
exit1_pass/fe3e18ef: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/fe3e18ef/exit1_pass.out
exit1_pass/fe3e18ef: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/fe3e18ef/exit1_pass.err
exit1_pass/fe3e18ef: Checking returncode - 1 is matched in list [1]
exit1_pass/fe3e18ef: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/fe3e18ef/stage/exit1_pass_postrun.sh
exit1_pass/fe3e18ef: Post run script exit code: 1
───────────────── exit1_pass/fe3e18ef: Post Run Script Output ──────────────────

────────────────── exit1_pass/fe3e18ef: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/fe3e18ef/stage/exit1_pass_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fail/7ef9085a     │ generic.local.bash │ FAIL   │ 1          │ 0.016   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.016   │
│ h/de6fa490              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/30 │ generic.local.bash │ PASS   │ 128        │ 0.016   │
│ ef3270                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/fe3e18ef     │ generic.local.bash │ PASS   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/960958c4    │ generic.local.bash │ PASS   │ 0          │ 0.038   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ python_hello/02019966   │ generic.local.bash │ PASS   │ 0          │ 0.037   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 6 test results to report file: /tmp/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_x5bt4ue4.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:58:43                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/tags_example.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=fail                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                           Buildspecs By Tag=network                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/tags_example.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  2
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/tags_example.yml: VALID
Total builder objects created: 6
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/ebbd0 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 8c1      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/04fed │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 812      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /700c35a │        │          │          │       │       │ failed   │ readthe │
│ 7        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/b7b │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 5b4ea    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ string_t │ script │ generic. │ None     │ None  │ None  │ tags can │ /home/d │
│ ag/9e082 │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ e29      │        │ sh       │          │       │       │ string   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/tags_ │
│          │        │          │          │       │       │          │ example │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ list_of_ │ script │ generic. │ None     │ None  │ None  │ tags can │ /home/d │
│ strings_ │        │ local.ba │          │       │       │ be a     │ ocs/che │
│ tags/185 │        │ sh       │          │       │       │ list of  │ ckouts/ │
│ 16574    │        │          │          │       │       │ strings  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/tags_ │
│          │        │          │          │       │       │          │ example │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/ebbd08c1: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ebbd08c1
exit1_pass/04fed812: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/04fed812
returncode_list_mismatch/700c35a7: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/700c35a7
returncode_int_match/b7b5b4ea: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b7b5b4ea
string_tag/9e082e29: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/string_tag/9e082e29
list_of_strings_tags/18516574: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/list_of_strings_tags/18516574
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_pass/04fed812 does not have any dependencies adding test to queue
string_tag/9e082e29 does not have any dependencies adding test to queue
exit1_fail/ebbd08c1 does not have any dependencies adding test to queue
returncode_list_mismatch/700c35a7 does not have any dependencies adding test to queue
returncode_int_match/b7b5b4ea does not have any dependencies adding test to queue
list_of_strings_tags/18516574 does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ exit1_pass/04fed812               │
│ string_tag/9e082e29               │
│ exit1_fail/ebbd08c1               │
│ returncode_list_mismatch/700c35a7 │
│ returncode_int_match/b7b5b4ea     │
│ list_of_strings_tags/18516574     │
└───────────────────────────────────┘
exit1_pass/04fed812: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/04fed812/stage
exit1_pass/04fed812: Running Test via command: bash exit1_pass_build.sh
──────────────────── Output Message for exit1_pass/04fed812 ────────────────────

exit1_pass/04fed812: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/04fed812 ─────────────────────

exit1_pass/04fed812: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/04fed812: Run - 1/1
exit1_pass/04fed812: Running Test via command: bash exit1_pass_build.sh
exit1_pass/04fed812: failed to submit job with returncode: 1
exit1_pass/04fed812: Test completed in 0.015489 seconds with returncode: 1
exit1_pass/04fed812: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/04fed812/exit1_pass.out
exit1_pass/04fed812: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/04fed812/exit1_pass.err
exit1_pass/04fed812: Checking returncode - 1 is matched in list [1]
exit1_pass/04fed812: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/04fed812/stage/exit1_pass_postrun.sh
exit1_pass/04fed812: Post run script exit code: 1
───────────────── exit1_pass/04fed812: Post Run Script Output ──────────────────

────────────────── exit1_pass/04fed812: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/04fed812/stage/exit1_pass_postrun.sh not found.
string_tag/9e082e29: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/string_tag/9e082e29/stage
string_tag/9e082e29: Running Test via command: bash string_tag_build.sh
──────────────────── Output Message for string_tag/9e082e29 ────────────────────
build-24413851-project-280831-buildtest

string_tag/9e082e29: Test completed in 0.008072 seconds with returncode: 0
string_tag/9e082e29: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/string_tag/9e082e29/string_tag.out
string_tag/9e082e29: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/string_tag/9e082e29/string_tag.err
string_tag/9e082e29: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/string_tag/9e082e29/stage/string_tag_postrun.sh
string_tag/9e082e29: Post run script exit code: 1
───────────────── string_tag/9e082e29: Post Run Script Output ──────────────────

────────────────── string_tag/9e082e29: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/string_tag/9e082e29/stage/string_tag_postrun.sh not found.
exit1_fail/ebbd08c1: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ebbd08c1/stage
exit1_fail/ebbd08c1: Running Test via command: bash exit1_fail_build.sh
──────────────────── Output Message for exit1_fail/ebbd08c1 ────────────────────

exit1_fail/ebbd08c1: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/ebbd08c1 ─────────────────────

exit1_fail/ebbd08c1: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/ebbd08c1: Run - 1/1
exit1_fail/ebbd08c1: Running Test via command: bash exit1_fail_build.sh
exit1_fail/ebbd08c1: failed to submit job with returncode: 1
exit1_fail/ebbd08c1: Test completed in 0.015186 seconds with returncode: 1
exit1_fail/ebbd08c1: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ebbd08c1/exit1_fail.out
exit1_fail/ebbd08c1: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ebbd08c1/exit1_fail.err
exit1_fail/ebbd08c1: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ebbd08c1/stage/exit1_fail_postrun.sh
exit1_fail/ebbd08c1: Post run script exit code: 1
───────────────── exit1_fail/ebbd08c1: Post Run Script Output ──────────────────

────────────────── exit1_fail/ebbd08c1: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ebbd08c1/stage/exit1_fail_postrun.sh not found.
returncode_list_mismatch/700c35a7: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/700c35a7/stage
returncode_list_mismatch/700c35a7: Running Test via command: bash returncode_list_mismatch_build.sh
───────────── Output Message for returncode_list_mismatch/700c35a7 ─────────────

returncode_list_mismatch/700c35a7: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/700c35a7 ──────────────

returncode_list_mismatch/700c35a7: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/700c35a7: Run - 1/1
returncode_list_mismatch/700c35a7: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/700c35a7: failed to submit job with returncode: 2
returncode_list_mismatch/700c35a7: Test completed in 0.015056 seconds with returncode: 2
returncode_list_mismatch/700c35a7: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/700c35a7/returncode_list_mismatch.out
returncode_list_mismatch/700c35a7: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/700c35a7/returncode_list_mismatch.err
returncode_list_mismatch/700c35a7: Checking returncode - 2 is matched in list [1, 3]
returncode_list_mismatch/700c35a7: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/700c35a7/stage/returncode_list_mismatch_postrun.sh
returncode_list_mismatch/700c35a7: Post run script exit code: 1
────────── returncode_list_mismatch/700c35a7: Post Run Script Output ───────────

─────────── returncode_list_mismatch/700c35a7: Post Run Script Error ───────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/700c35a7/stage/returncode_list_mismatch_postrun.sh not found.
returncode_int_match/b7b5b4ea: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b7b5b4ea/stage
returncode_int_match/b7b5b4ea: Running Test via command: bash returncode_int_match_build.sh
─────────────── Output Message for returncode_int_match/b7b5b4ea ───────────────

returncode_int_match/b7b5b4ea: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/b7b5b4ea ────────────────

returncode_int_match/b7b5b4ea: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/b7b5b4ea: Run - 1/1
returncode_int_match/b7b5b4ea: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/b7b5b4ea: failed to submit job with returncode: 128
returncode_int_match/b7b5b4ea: Test completed in 0.015181 seconds with returncode: 128
returncode_int_match/b7b5b4ea: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b7b5b4ea/returncode_int_match.out
returncode_int_match/b7b5b4ea: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b7b5b4ea/returncode_int_match.err
returncode_int_match/b7b5b4ea: Checking returncode - 128 is matched in list [128]
returncode_int_match/b7b5b4ea: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b7b5b4ea/stage/returncode_int_match_postrun.sh
returncode_int_match/b7b5b4ea: Post run script exit code: 1
──────────── returncode_int_match/b7b5b4ea: Post Run Script Output ─────────────

───────────── returncode_int_match/b7b5b4ea: Post Run Script Error ─────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b7b5b4ea/stage/returncode_int_match_postrun.sh not found.
list_of_strings_tags/18516574: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/list_of_strings_tags/18516574/stage
list_of_strings_tags/18516574: Running Test via command: bash list_of_strings_tags_build.sh
─────────────── Output Message for list_of_strings_tags/18516574 ───────────────
PING www.google.com (172.217.0.164) 56(84) bytes of data.
 64 bytes from mia09s16-in-f4.1e100.net (172.217.0.164): icmp_seq=1 ttl=113 time=16.2 ms
 64 bytes from mia09s16-in-f4.1e100.net (172.217.0.164): icmp_seq=2 ttl=113 time=16.3 ms
 64 bytes from mia09s16-in-f4.1e100.net (172.217.0.164): icmp_seq=3 ttl=113 time=16.3 ms
 64 bytes from mia09s16-in-f4.1e100.net (172.217.0.164): icmp_seq=4 ttl=113 time=16.3 ms
 --- www.google.com ping statistics ---
 4 packets transmitted, 4 received, 0% packet loss, time 3004ms
 rtt min/avg/max/mdev = 16.215/16.268/16.336/0.043 ms

list_of_strings_tags/18516574: Test completed in 3.032145 seconds with returncode: 0
list_of_strings_tags/18516574: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/list_of_strings_tags/18516574/list_of_strings_tags.out
list_of_strings_tags/18516574: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/list_of_strings_tags/18516574/list_of_strings_tags.err
list_of_strings_tags/18516574: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/list_of_strings_tags/18516574/stage/list_of_strings_tags_postrun.sh
list_of_strings_tags/18516574: Post run script exit code: 1
──────────── list_of_strings_tags/18516574: Post Run Script Output ─────────────

───────────── list_of_strings_tags/18516574: Post Run Script Error ─────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/list_of_strings_tags/18516574/stage/list_of_strings_tags_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ string_tag/9e082e29     │ generic.local.bash │ PASS   │ 0          │ 0.008   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/04fed812     │ generic.local.bash │ PASS   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/b7 │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ b5b4ea                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ list_of_strings_tags/18 │ generic.local.bash │ PASS   │ 0          │ 3.032   │
│ 516574                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/ebbd08c1     │ generic.local.bash │ FAIL   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.015   │
│ h/700c35a7              │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 6 test results to report file: /tmp/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_ogtu29b8.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:58:47                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  2
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: VALID
Total builder objects created: 5
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello    │ /home/d │
│ ello/faa │        │ local.ba │          │       │       │ World    │ ocs/che │
│ 288f5    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-hello │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/ebccb │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 5ff      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/66d49 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ f90      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /d29307d │        │          │          │       │       │ failed   │ readthe │
│ 6        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/b36 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 14690    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
python_hello/faa288f5: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/faa288f5
exit1_fail/ebccb5ff: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ebccb5ff
exit1_pass/66d49f90: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/66d49f90
returncode_list_mismatch/d29307d6: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/d29307d6
returncode_int_match/b3614690: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b3614690
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_int_match/b3614690 does not have any dependencies adding test to queue
python_hello/faa288f5 does not have any dependencies adding test to queue
exit1_fail/ebccb5ff does not have any dependencies adding test to queue
exit1_pass/66d49f90 does not have any dependencies adding test to queue
returncode_list_mismatch/d29307d6 does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ returncode_int_match/b3614690     │
│ python_hello/faa288f5             │
│ exit1_fail/ebccb5ff               │
│ exit1_pass/66d49f90               │
│ returncode_list_mismatch/d29307d6 │
└───────────────────────────────────┘
returncode_int_match/b3614690: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b3614690/stage
returncode_int_match/b3614690: Running Test via command: bash returncode_int_match_build.sh
─────────────── Output Message for returncode_int_match/b3614690 ───────────────

returncode_int_match/b3614690: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/b3614690 ────────────────

returncode_int_match/b3614690: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/b3614690: Run - 1/1
returncode_int_match/b3614690: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/b3614690: failed to submit job with returncode: 128
returncode_int_match/b3614690: Test completed in 0.0169 seconds with returncode: 128
returncode_int_match/b3614690: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b3614690/returncode_int_match.out
returncode_int_match/b3614690: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b3614690/returncode_int_match.err
returncode_int_match/b3614690: Checking returncode - 128 is matched in list [128]
returncode_int_match/b3614690: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b3614690/stage/returncode_int_match_postrun.sh
returncode_int_match/b3614690: Post run script exit code: 1
──────────── returncode_int_match/b3614690: Post Run Script Output ─────────────

───────────── returncode_int_match/b3614690: Post Run Script Error ─────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b3614690/stage/returncode_int_match_postrun.sh not found.
python_hello/faa288f5: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/faa288f5/stage
python_hello/faa288f5: Running Test via command: bash python_hello_build.sh
─────────────────── Output Message for python_hello/faa288f5 ───────────────────
Hello World

python_hello/faa288f5: Test completed in 0.037623 seconds with returncode: 0
python_hello/faa288f5: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/faa288f5/python_hello.out
python_hello/faa288f5: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/faa288f5/python_hello.err
python_hello/faa288f5: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/faa288f5/stage/python_hello_postrun.sh
python_hello/faa288f5: Post run script exit code: 1
──────────────── python_hello/faa288f5: Post Run Script Output ─────────────────

───────────────── python_hello/faa288f5: Post Run Script Error ─────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/faa288f5/stage/python_hello_postrun.sh not found.
exit1_fail/ebccb5ff: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ebccb5ff/stage
exit1_fail/ebccb5ff: Running Test via command: bash exit1_fail_build.sh
──────────────────── Output Message for exit1_fail/ebccb5ff ────────────────────

exit1_fail/ebccb5ff: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/ebccb5ff ─────────────────────

exit1_fail/ebccb5ff: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/ebccb5ff: Run - 1/1
exit1_fail/ebccb5ff: Running Test via command: bash exit1_fail_build.sh
exit1_fail/ebccb5ff: failed to submit job with returncode: 1
exit1_fail/ebccb5ff: Test completed in 0.015582 seconds with returncode: 1
exit1_fail/ebccb5ff: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ebccb5ff/exit1_fail.out
exit1_fail/ebccb5ff: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ebccb5ff/exit1_fail.err
exit1_fail/ebccb5ff: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ebccb5ff/stage/exit1_fail_postrun.sh
exit1_fail/ebccb5ff: Post run script exit code: 1
───────────────── exit1_fail/ebccb5ff: Post Run Script Output ──────────────────

────────────────── exit1_fail/ebccb5ff: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ebccb5ff/stage/exit1_fail_postrun.sh not found.
exit1_pass/66d49f90: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/66d49f90/stage
exit1_pass/66d49f90: Running Test via command: bash exit1_pass_build.sh
──────────────────── Output Message for exit1_pass/66d49f90 ────────────────────

exit1_pass/66d49f90: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/66d49f90 ─────────────────────

exit1_pass/66d49f90: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/66d49f90: Run - 1/1
exit1_pass/66d49f90: Running Test via command: bash exit1_pass_build.sh
exit1_pass/66d49f90: failed to submit job with returncode: 1
exit1_pass/66d49f90: Test completed in 0.015373 seconds with returncode: 1
exit1_pass/66d49f90: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/66d49f90/exit1_pass.out
exit1_pass/66d49f90: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/66d49f90/exit1_pass.err
exit1_pass/66d49f90: Checking returncode - 1 is matched in list [1]
exit1_pass/66d49f90: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/66d49f90/stage/exit1_pass_postrun.sh
exit1_pass/66d49f90: Post run script exit code: 1
───────────────── exit1_pass/66d49f90: Post Run Script Output ──────────────────

────────────────── exit1_pass/66d49f90: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/66d49f90/stage/exit1_pass_postrun.sh not found.
returncode_list_mismatch/d29307d6: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/d29307d6/stage
returncode_list_mismatch/d29307d6: Running Test via command: bash returncode_list_mismatch_build.sh
───────────── Output Message for returncode_list_mismatch/d29307d6 ─────────────

returncode_list_mismatch/d29307d6: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/d29307d6 ──────────────

returncode_list_mismatch/d29307d6: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/d29307d6: Run - 1/1
returncode_list_mismatch/d29307d6: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/d29307d6: failed to submit job with returncode: 2
returncode_list_mismatch/d29307d6: Test completed in 0.015927 seconds with returncode: 2
returncode_list_mismatch/d29307d6: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/d29307d6/returncode_list_mismatch.out
returncode_list_mismatch/d29307d6: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/d29307d6/returncode_list_mismatch.err
returncode_list_mismatch/d29307d6: Checking returncode - 2 is matched in list [1, 3]
returncode_list_mismatch/d29307d6: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/d29307d6/stage/returncode_list_mismatch_postrun.sh
returncode_list_mismatch/d29307d6: Post run script exit code: 1
────────── returncode_list_mismatch/d29307d6: Post Run Script Output ───────────

─────────── returncode_list_mismatch/d29307d6: Post Run Script Error ───────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/d29307d6/stage/returncode_list_mismatch_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ python_hello/faa288f5   │ generic.local.bash │ PASS   │ 0          │ 0.038   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/66d49f90     │ generic.local.bash │ PASS   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/b3 │ generic.local.bash │ PASS   │ 128        │ 0.017   │
│ 614690                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.016   │
│ h/d29307d6              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/ebccb5ff     │ generic.local.bash │ FAIL   │ 1          │ 0.016   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 5 test results to report file: /tmp/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_zwi1x8v2.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:58:48                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

returncode_list_mismatch/3be3fc8f: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/3be3fc8f ──────────────

returncode_list_mismatch/3be3fc8f: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/3be3fc8f: Run - 1/1
returncode_list_mismatch/3be3fc8f: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/3be3fc8f: failed to submit job with returncode: 2
returncode_list_mismatch/3be3fc8f: Test completed in 0.01562 seconds with returncode: 2
returncode_list_mismatch/3be3fc8f: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/3be3fc8f/returncode_list_mismatch.out
returncode_list_mismatch/3be3fc8f: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/3be3fc8f/returncode_list_mismatch.err
returncode_list_mismatch/3be3fc8f: Checking returncode - 2 is matched in list [1, 3]
returncode_list_mismatch/3be3fc8f: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/3be3fc8f/stage/returncode_list_mismatch_postrun.sh
returncode_list_mismatch/3be3fc8f: Post run script exit code: 1
────────── returncode_list_mismatch/3be3fc8f: Post Run Script Output ───────────

─────────── returncode_list_mismatch/3be3fc8f: Post Run Script Error ───────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/3be3fc8f/stage/returncode_list_mismatch_postrun.sh not found.
exit1_fail/5da0b3e4: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/5da0b3e4/stage
exit1_fail/5da0b3e4: Running Test via command: bash exit1_fail_build.sh
──────────────────── Output Message for exit1_fail/5da0b3e4 ────────────────────

exit1_fail/5da0b3e4: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/5da0b3e4 ─────────────────────

exit1_fail/5da0b3e4: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/5da0b3e4: Run - 1/1
exit1_fail/5da0b3e4: Running Test via command: bash exit1_fail_build.sh
exit1_fail/5da0b3e4: failed to submit job with returncode: 1
exit1_fail/5da0b3e4: Test completed in 0.015031 seconds with returncode: 1
exit1_fail/5da0b3e4: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/5da0b3e4/exit1_fail.out
exit1_fail/5da0b3e4: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/5da0b3e4/exit1_fail.err
exit1_fail/5da0b3e4: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/5da0b3e4/stage/exit1_fail_postrun.sh
exit1_fail/5da0b3e4: Post run script exit code: 1
───────────────── exit1_fail/5da0b3e4: Post Run Script Output ──────────────────

────────────────── exit1_fail/5da0b3e4: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/5da0b3e4/stage/exit1_fail_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fail/5da0b3e4     │ generic.local.bash │ FAIL   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.016   │
│ h/3be3fc8f              │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_ejl1d380.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:58:49                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

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

Please see logfile: /tmp/tmp75qnqx26/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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:58:49                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/hello_world.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                         Buildspecs by Name=hello_world                         
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/hello_world.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

hello_world/c87af945: Test completed in 0.007751 seconds with returncode: 0
hello_world/c87af945: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/c87af945/hello_world.out
hello_world/c87af945: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/c87af945/hello_world.err
hello_world/c87af945: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/c87af945/stage/hello_world_postrun.sh
hello_world/c87af945: Post run script exit code: 1
───────────────── hello_world/c87af945: Post Run Script Output ─────────────────

───────────────── hello_world/c87af945: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/c87af945/stage/hello_world_postrun.sh not found.
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ hello_world/c87af945 │ generic.local.bash │ PASS   │ 0          │ 0.008   │
└──────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_za3_i0a2.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:58:50                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/add_numbers.yml                                                    ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/summary_example.yml                                                ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                         Buildspecs by Name=add_numbers                         
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/add_numbers.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                       Buildspecs by Name=summary_example                       
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/summary_example.yml                                                ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  2
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/add_numbers.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/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/e6af │        │ local.ba │          │       │       │          │ ocs/che │
│ 6d5c     │        │ sh       │          │       │       │          │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/add_n │
│          │        │          │          │       │       │          │ umbers. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ summary_ │ script │ generic. │ None     │ None  │ None  │ The      │ /home/d │
│ example/ │        │ local.ba │          │       │       │ summary  │ ocs/che │
│ b8802fd5 │        │ sh       │          │       │       │ field    │ ckouts/ │
│          │        │          │          │       │       │ can be a │ readthe │
│          │        │          │          │       │       │ multi-li │ docs.or │
│          │        │          │          │       │       │ ne       │ g/user_ │
│          │        │          │          │       │       │ string   │ builds/ │
│          │        │          │          │       │       │ and      │ buildte │
│          │        │          │          │       │       │ exceed   │ st/chec │
│          │        │          │          │       │       │ 80 char  │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/summa │
│          │        │          │          │       │       │          │ ry_exam │
│          │        │          │          │       │       │          │ ple.yml │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
add_numbers/e6af6d5c: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/add_numbers/add_numbers/e6af6d5c
summary_example/b8802fd5: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/summary_example/summary_example/b8802fd5
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
add_numbers/e6af6d5c does not have any dependencies adding test to queue
summary_example/b8802fd5 does not have any dependencies adding test to queue
  Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                  ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ add_numbers/e6af6d5c     │
│ summary_example/b8802fd5 │
└──────────────────────────┘
add_numbers/e6af6d5c: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/add_numbers/add_numbers/e6af6d5c/stage
add_numbers/e6af6d5c: Running Test via command: bash add_numbers_build.sh
─────────────────── Output Message for add_numbers/e6af6d5c ────────────────────
1+2= 3

add_numbers/e6af6d5c: Test completed in 0.007344 seconds with returncode: 0
add_numbers/e6af6d5c: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/add_numbers/add_numbers/e6af6d5c/add_numbers.out
add_numbers/e6af6d5c: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/add_numbers/add_numbers/e6af6d5c/add_numbers.err
add_numbers/e6af6d5c: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/add_numbers/add_numbers/e6af6d5c/stage/add_numbers_postrun.sh
add_numbers/e6af6d5c: Post run script exit code: 1
───────────────── add_numbers/e6af6d5c: Post Run Script Output ─────────────────

───────────────── add_numbers/e6af6d5c: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/add_numbers/add_numbers/e6af6d5c/stage/add_numbers_postrun.sh not found.
summary_example/b8802fd5: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/summary_example/summary_example/b8802fd5/stage
summary_example/b8802fd5: Running Test via command: bash summary_example_build.sh
───────────────── Output Message for summary_example/b8802fd5 ──────────────────
build-24413851-project-280831-buildtest

summary_example/b8802fd5: Test completed in 0.007675 seconds with returncode: 0
summary_example/b8802fd5: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/summary_example/summary_example/b8802fd5/summary_example.out
summary_example/b8802fd5: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/summary_example/summary_example/b8802fd5/summary_example.err
summary_example/b8802fd5: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/summary_example/summary_example/b8802fd5/stage/summary_example_postrun.sh
summary_example/b8802fd5: Post run script exit code: 1
─────────────── summary_example/b8802fd5: Post Run Script Output ───────────────

─────────────── summary_example/b8802fd5: Post Run Script Error ────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/summary_example/summary_example/b8802fd5/stage/summary_example_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ add_numbers/e6af6d5c    │ generic.local.bash │ PASS   │ 0          │ 0.007   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ summary_example/b8802fd │ generic.local.bash │ PASS   │ 0          │ 0.008   │
│ 5                       │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_x7lpwh0r.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:58:50                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/csh_shell_examples.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/environment.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                    Buildspecs by Executor=generic.local.csh                    
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/csh_shell_examples.yml                                             ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/environment.yml                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  2
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/csh_shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/environment.yml: VALID
Total builder objects created: 4
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ csh_shel │ script │ generic. │ None     │ None  │ None  │ csh      │ /home/d │
│ l/670831 │        │ local.cs │          │       │       │ shell    │ ocs/che │
│ e1       │        │ h        │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/csh_s │
│          │        │          │          │       │       │          │ hell_ex │
│          │        │          │          │       │       │          │ amples. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ bash_env │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ _variabl │        │ local.ba │          │       │       │ environm │ ocs/che │
│ es/1373c │        │ sh       │          │       │       │ ent      │ ckouts/ │
│ dac      │        │          │          │       │       │ variable │ readthe │
│          │        │          │          │       │       │ s in     │ docs.or │
│          │        │          │          │       │       │ default  │ g/user_ │
│          │        │          │          │       │       │ shell    │ builds/ │
│          │        │          │          │       │       │ (bash)   │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/envir │
│          │        │          │          │       │       │          │ onment. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ csh_env_ │ script │ generic. │ None     │ None  │ None  │ csh      │ /home/d │
│ declarat │        │ local.cs │          │       │       │ shell    │ ocs/che │
│ ion/447d │        │ h        │          │       │       │ example  │ ckouts/ │
│ d4bf     │        │          │          │       │       │ to       │ readthe │
│          │        │          │          │       │       │ declare  │ docs.or │
│          │        │          │          │       │       │ environm │ g/user_ │
│          │        │          │          │       │       │ ent      │ builds/ │
│          │        │          │          │       │       │ variable │ buildte │
│          │        │          │          │       │       │ s        │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/envir │
│          │        │          │          │       │       │          │ onment. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ tcsh_env │ script │ generic. │ None     │ None  │ None  │ tcsh     │ /home/d │
│ _declara │        │ local.cs │          │       │       │ shell    │ ocs/che │
│ tion/88b │        │ h        │          │       │       │ example  │ ckouts/ │
│ 7061c    │        │          │          │       │       │ to       │ readthe │
│          │        │          │          │       │       │ declare  │ docs.or │
│          │        │          │          │       │       │ environm │ g/user_ │
│          │        │          │          │       │       │ ent      │ builds/ │
│          │        │          │          │       │       │ variable │ buildte │
│          │        │          │          │       │       │ s        │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/envir │
│          │        │          │          │       │       │          │ onment. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
csh_shell/670831e1: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.csh/csh_shell_examples/csh_shell/670831e1
bash_env_variables/1373cdac: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/environment/bash_env_variables/1373cdac
csh_env_declaration/447dd4bf: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.csh/environment/csh_env_declaration/447dd4bf
tcsh_env_declaration/88b7061c: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.csh/environment/tcsh_env_declaration/88b7061c
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
csh_shell/670831e1 does not have any dependencies adding test to queue
csh_env_declaration/447dd4bf does not have any dependencies adding test to queue
bash_env_variables/1373cdac does not have any dependencies adding test to queue
tcsh_env_declaration/88b7061c does not have any dependencies adding test to queue
    Builders Eligible to Run     
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                       ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ csh_shell/670831e1            │
│ bash_env_variables/1373cdac   │
│ csh_env_declaration/447dd4bf  │
│ tcsh_env_declaration/88b7061c │
└───────────────────────────────┘
csh_shell/670831e1: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.csh/csh_shell_examples/csh_shell/670831e1/stage
csh_shell/670831e1: Running Test via command: bash csh_shell_build.sh
──────────────────── Output Message for csh_shell/670831e1 ─────────────────────
/etc/csh.cshrc file found

csh_shell/670831e1: Test completed in 2.185849 seconds with returncode: 0
csh_shell/670831e1: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.csh/csh_shell_examples/csh_shell/670831e1/csh_shell.out
csh_shell/670831e1: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.csh/csh_shell_examples/csh_shell/670831e1/csh_shell.err
csh_shell/670831e1: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.csh/csh_shell_examples/csh_shell/670831e1/stage/csh_shell_postrun.sh
csh_shell/670831e1: Post run script exit code: 1
────────────────── csh_shell/670831e1: Post Run Script Output ──────────────────

────────────────── csh_shell/670831e1: Post Run Script Error ───────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.csh/csh_shell_examples/csh_shell/670831e1/stage/csh_shell_postrun.sh not found.
bash_env_variables/1373cdac: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/environment/bash_env_variables/1373cdac/stage
bash_env_variables/1373cdac: Running Test via command: bash bash_env_variables_build.sh
──────────────── Output Message for bash_env_variables/1373cdac ────────────────
build-24413851-project-280831-buildtest
 docs
 avocado dinosaur

bash_env_variables/1373cdac: Test completed in 0.009941 seconds with returncode: 0
bash_env_variables/1373cdac: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/environment/bash_env_variables/1373cdac/bash_env_variables.out
bash_env_variables/1373cdac: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/environment/bash_env_variables/1373cdac/bash_env_variables.err
bash_env_variables/1373cdac: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/environment/bash_env_variables/1373cdac/stage/bash_env_variables_postrun.sh
bash_env_variables/1373cdac: Post run script exit code: 1
───────────── bash_env_variables/1373cdac: Post Run Script Output ──────────────

────────────── bash_env_variables/1373cdac: Post Run Script Error ──────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/environment/bash_env_variables/1373cdac/stage/bash_env_variables_postrun.sh not found.
csh_env_declaration/447dd4bf: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.csh/environment/csh_env_declaration/447dd4bf/stage
csh_env_declaration/447dd4bf: Running Test via command: bash csh_env_declaration_build.sh
─────────────── Output Message for csh_env_declaration/447dd4bf ────────────────

csh_env_declaration/447dd4bf: Test completed in 2.188736 seconds with returncode: 0
csh_env_declaration/447dd4bf: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.csh/environment/csh_env_declaration/447dd4bf/csh_env_declaration.out
csh_env_declaration/447dd4bf: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.csh/environment/csh_env_declaration/447dd4bf/csh_env_declaration.err
csh_env_declaration/447dd4bf: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.csh/environment/csh_env_declaration/447dd4bf/stage/csh_env_declaration_postrun.sh
csh_env_declaration/447dd4bf: Post run script exit code: 1
───────────── csh_env_declaration/447dd4bf: Post Run Script Output ─────────────

───────────── csh_env_declaration/447dd4bf: Post Run Script Error ──────────────
/tmp/tmp75qnqx26/var/tests/generic.local.csh/environment/csh_env_declaration/447dd4bf/stage/csh_env_declaration_postrun.sh not found.
tcsh_env_declaration/88b7061c: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.csh/environment/tcsh_env_declaration/88b7061c/stage
tcsh_env_declaration/88b7061c: Running Test via command: bash tcsh_env_declaration_build.sh
─────────────── Output Message for tcsh_env_declaration/88b7061c ───────────────
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/envs/latest/bin /home/docs/.asdf/shims /home/docs/.asdf/bin /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/bin

tcsh_env_declaration/88b7061c: Test completed in 0.016787 seconds with returncode: 0
tcsh_env_declaration/88b7061c: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.csh/environment/tcsh_env_declaration/88b7061c/tcsh_env_declaration.out
tcsh_env_declaration/88b7061c: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.csh/environment/tcsh_env_declaration/88b7061c/tcsh_env_declaration.err
tcsh_env_declaration/88b7061c: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.csh/environment/tcsh_env_declaration/88b7061c/stage/tcsh_env_declaration_postrun.sh
tcsh_env_declaration/88b7061c: Post run script exit code: 1
──────────── tcsh_env_declaration/88b7061c: Post Run Script Output ─────────────

───────────── tcsh_env_declaration/88b7061c: Post Run Script Error ─────────────
/tmp/tmp75qnqx26/var/tests/generic.local.csh/environment/tcsh_env_declaration/88b7061c/stage/tcsh_env_declaration_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ csh_shell/670831e1      │ generic.local.csh  │ PASS   │ 0          │ 2.186   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ bash_env_variables/1373 │ generic.local.bash │ PASS   │ 0          │ 0.010   │
│ cdac                    │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ csh_env_declaration/447 │ generic.local.csh  │ PASS   │ 0          │ 2.189   │
│ dd4bf                   │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ tcsh_env_declaration/88 │ generic.local.csh  │ PASS   │ 0          │ 0.017   │
│ b7061c                  │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 4 test results to report file: /tmp/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_8882om2q.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:58: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.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

exit1_pass/b5d2ea29: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/b5d2ea29 ─────────────────────

exit1_pass/b5d2ea29: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/b5d2ea29: Run - 1/1
exit1_pass/b5d2ea29: Running Test via command: bash exit1_pass_build.sh
exit1_pass/b5d2ea29: failed to submit job with returncode: 1
exit1_pass/b5d2ea29: Test completed in 0.015155 seconds with returncode: 1
exit1_pass/b5d2ea29: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/b5d2ea29/exit1_pass.out
exit1_pass/b5d2ea29: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/b5d2ea29/exit1_pass.err
exit1_pass/b5d2ea29: Checking returncode - 1 is matched in list [1]
exit1_pass/b5d2ea29: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/b5d2ea29/stage/exit1_pass_postrun.sh
exit1_pass/b5d2ea29: Post run script exit code: 1
───────────────── exit1_pass/b5d2ea29: Post Run Script Output ──────────────────

────────────────── exit1_pass/b5d2ea29: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/b5d2ea29/stage/exit1_pass_postrun.sh not found.
returncode_int_match/c7db89c9: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/c7db89c9/stage
returncode_int_match/c7db89c9: Running Test via command: bash returncode_int_match_build.sh
─────────────── Output Message for returncode_int_match/c7db89c9 ───────────────

returncode_int_match/c7db89c9: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/c7db89c9 ────────────────

returncode_int_match/c7db89c9: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/c7db89c9: Run - 1/1
returncode_int_match/c7db89c9: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/c7db89c9: failed to submit job with returncode: 128
returncode_int_match/c7db89c9: Test completed in 0.014842 seconds with returncode: 128
returncode_int_match/c7db89c9: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/c7db89c9/returncode_int_match.out
returncode_int_match/c7db89c9: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/c7db89c9/returncode_int_match.err
returncode_int_match/c7db89c9: Checking returncode - 128 is matched in list [128]
returncode_int_match/c7db89c9: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/c7db89c9/stage/returncode_int_match_postrun.sh
returncode_int_match/c7db89c9: Post run script exit code: 1
──────────── returncode_int_match/c7db89c9: Post Run Script Output ─────────────

───────────── returncode_int_match/c7db89c9: Post Run Script Error ─────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/c7db89c9/stage/returncode_int_match_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ returncode_int_match/c7 │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ db89c9                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/b5d2ea29     │ generic.local.bash │ PASS   │ 1          │ 0.015   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


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


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

hello_world/82f9542f: Test completed in 0.007434 seconds with returncode: 0
hello_world/82f9542f: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/82f9542f/hello_world.out
hello_world/82f9542f: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/82f9542f/hello_world.err
hello_world/82f9542f: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/82f9542f/stage/hello_world_postrun.sh
hello_world/82f9542f: Post run script exit code: 1
───────────────── hello_world/82f9542f: Post Run Script Output ─────────────────

───────────────── hello_world/82f9542f: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/82f9542f/stage/hello_world_postrun.sh not found.
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ hello_world/82f9542f │ generic.local.bash │ PASS   │ 0          │ 0.007   │
└──────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


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


Total Discovered Buildspecs:  79
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  79
────────────────────────────── Parsing Buildspecs ──────────────────────────────
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/skip_buildspec.yml: skipping all test since 'skip' is defined
[compiler_exclude_example][/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/compilation/compiler_exclude.yml]: Unable to find any compilers based on regular expression: ['gcc'] so no tests were created.
skip: skipping test due to 'skip' property.
Valid Buildspecs: 72
Invalid Buildspecs: 7
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_ge.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_eq.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/mode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_count.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/skip_buildspec.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/multi_executors/executor_regex_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/multi_executors/status_by_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_eq_exceptions.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/invalid_executor.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/strict_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/compilation/compiler_exclude.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/job_dependency/ex2.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/gcc_version.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/linecount.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_file_regex_with_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_file_regex_with_invalid_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_ne.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/hello_world_singularity.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/exists.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_gt.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/container_executor/ubuntu.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/add_numbers.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/sleep.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_le.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/runtime_status_test.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/container_executor/python_container.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_linecount_failure.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/maintainers_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_count_filetype.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/status_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_lt.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/skip_tests.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/run_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_linecount.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/job_dependency/ex4.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/burstbuffer_datawarp_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_exists_with_number.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/multi_executors/executors_var_env_declaration.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/specify_regex_type.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/run_commands.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/containers/bind_mounts.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_count_file_traverse_limit.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/explicit_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/environment.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_and_dir_check.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_regex_with_invalid_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/job_dependency/ex1.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/summary_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/is_symlink.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_count_pattern.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/regex_on_filename.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/multi_executors/executor_scheduler.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_file_regex_invalid_file.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/compilation/stream.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/post_run.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/compilation/hello_world_compilation.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/contains.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_regex_with_linenum.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/metrics_with_regex_type.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/csh_shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/job_dependency/ex3.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/tags_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/perf_checks/assert_range.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/shebang.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/invalid_tags.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/invalid_metrics.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/missing_required_in_metrics.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/metrics/invalid_metric_name.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/invalid_buildspec_section.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_exists_exception.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/file_linecount_invalid.yml: INVALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest… │
└──────────────────────────────────────────────────────────────────────────────┘
Total builder objects created: 117
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descrip ┃ buildspe ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ tion    ┃ cs       ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━┩
│ stream_t │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ est/5604 │        │ local.ba │          │       │       │ stream  │ cs/check │
│ 0010     │        │ sh       │          │       │       │ test    │ outs/rea │
│          │        │          │          │       │       │ with    │ dthedocs │
│          │        │          │          │       │       │ metrics │ .org/use │
│          │        │          │          │       │       │ example │ r_builds │
│          │        │          │          │       │       │ using   │ /buildte │
│          │        │          │          │       │       │ assert  │ st/check │
│          │        │          │          │       │       │ greater │ outs/lat │
│          │        │          │          │       │       │ equal   │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _ge.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_e │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ q_exampl │        │ local.ba │          │       │       │ for     │ cs/check │
│ e/3f6982 │        │ sh       │          │       │       │ assert  │ outs/rea │
│ 49       │        │          │          │       │       │ equalit │ dthedocs │
│          │        │          │          │       │       │ y       │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _eq.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_l │ script │ generic. │ None     │ None  │ None  │ Using   │ /home/do │
│ ogical_a │        │ local.ba │          │       │       │ logical │ cs/check │
│ nd/9794d │        │ sh       │          │       │       │ AND to  │ outs/rea │
│ 0d5      │        │          │          │       │       │ check   │ dthedocs │
│          │        │          │          │       │       │ status  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/mode.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_l │ script │ generic. │ None     │ None  │ None  │ Using   │ /home/do │
│ ogical_o │        │ local.ba │          │       │       │ logical │ cs/check │
│ r/b2a85a │        │ sh       │          │       │       │ OR to   │ outs/rea │
│ 4b       │        │          │          │       │       │ check   │ dthedocs │
│          │        │          │          │       │       │ status  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/mode.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ file    │ /home/do │
│ nt_on_di │        │ local.ba │          │       │       │ count   │ cs/check │
│ rectory/ │        │ sh       │          │       │       │ check   │ outs/rea │
│ 171e061f │        │          │          │       │       │ in      │ dthedocs │
│          │        │          │          │       │       │ directo │ .org/use │
│          │        │          │          │       │       │ ry      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_c │
│          │        │          │          │       │       │         │ ount.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ file    │ /home/do │
│ nt_by_ex │        │ local.ba │          │       │       │ count   │ cs/check │
│ tension/ │        │ sh       │          │       │       │ by      │ outs/rea │
│ 1942e5aa │        │          │          │       │       │ extensi │ dthedocs │
│          │        │          │          │       │       │ on      │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_c │
│          │        │          │          │       │       │         │ ount.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ multiple │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ _executo │        │ local.ba │          │       │       │ test    │ cs/check │
│ rs/a71da │        │ sh       │          │       │       │ with    │ outs/rea │
│ 3af      │        │          │          │       │       │ executo │ dthedocs │
│          │        │          │          │       │       │ r       │ .org/use │
│          │        │          │          │       │       │ generic │ r_builds │
│          │        │          │          │       │       │ .local. │ /buildte │
│          │        │          │          │       │       │ bash    │ st/check │
│          │        │          │          │       │       │ and     │ outs/lat │
│          │        │          │          │       │       │ generic │ est/tuto │
│          │        │          │          │       │       │ .local. │ rials/mu │
│          │        │          │          │       │       │ sh      │ lti_exec │
│          │        │          │          │       │       │ executo │ utors/ex │
│          │        │          │          │       │       │ r       │ ecutor_r │
│          │        │          │          │       │       │         │ egex_scr │
│          │        │          │          │       │       │         │ ipt.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ multiple │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ _executo │        │ local.sh │          │       │       │ test    │ cs/check │
│ rs/9b28d │        │          │          │       │       │ with    │ outs/rea │
│ 9b6      │        │          │          │       │       │ executo │ dthedocs │
│          │        │          │          │       │       │ r       │ .org/use │
│          │        │          │          │       │       │ generic │ r_builds │
│          │        │          │          │       │       │ .local. │ /buildte │
│          │        │          │          │       │       │ bash    │ st/check │
│          │        │          │          │       │       │ and     │ outs/lat │
│          │        │          │          │       │       │ generic │ est/tuto │
│          │        │          │          │       │       │ .local. │ rials/mu │
│          │        │          │          │       │       │ sh      │ lti_exec │
│          │        │          │          │       │       │ executo │ utors/ex │
│          │        │          │          │       │       │ r       │ ecutor_r │
│          │        │          │          │       │       │         │ egex_scr │
│          │        │          │          │       │       │         │ ipt.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ define  │ /home/do │
│ eturncod │        │ local.ba │          │       │       │ status  │ cs/check │
│ e_by_exe │        │ sh       │          │       │       │ per     │ outs/rea │
│ cutors/7 │        │          │          │       │       │ executo │ dthedocs │
│ b6b20b9  │        │          │          │       │       │ r type. │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/mu │
│          │        │          │          │       │       │         │ lti_exec │
│          │        │          │          │       │       │         │ utors/st │
│          │        │          │          │       │       │         │ atus_by_ │
│          │        │          │          │       │       │         │ executor │
│          │        │          │          │       │       │         │ s.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ define  │ /home/do │
│ eturncod │        │ local.sh │          │       │       │ status  │ cs/check │
│ e_by_exe │        │          │          │       │       │ per     │ outs/rea │
│ cutors/1 │        │          │          │       │       │ executo │ dthedocs │
│ 3458491  │        │          │          │       │       │ r type. │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/mu │
│          │        │          │          │       │       │         │ lti_exec │
│          │        │          │          │       │       │         │ utors/st │
│          │        │          │          │       │       │         │ atus_by_ │
│          │        │          │          │       │       │         │ executor │
│          │        │          │          │       │       │         │ s.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_e │ script │ generic. │ None     │ None  │ None  │ An      │ /home/do │
│ q_invali │        │ local.ba │          │       │       │ invalid │ cs/check │
│ d_metric │        │ sh       │          │       │       │ metric  │ outs/rea │
│ /9029ee7 │        │          │          │       │       │ name    │ dthedocs │
│ 9        │        │          │          │       │       │ will    │ .org/use │
│          │        │          │          │       │       │ cause   │ r_builds │
│          │        │          │          │       │       │ failure │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _eq_exce │
│          │        │          │          │       │       │         │ ptions.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_e │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ q_mismat │        │ local.ba │          │       │       │ test    │ cs/check │
│ ch/843d6 │        │ sh       │          │       │       │ will    │ outs/rea │
│ 10d      │        │          │          │       │       │ fail    │ dthedocs │
│          │        │          │          │       │       │ because │ .org/use │
│          │        │          │          │       │       │ there   │ r_builds │
│          │        │          │          │       │       │ is a    │ /buildte │
│          │        │          │          │       │       │ mismatc │ st/check │
│          │        │          │          │       │       │ h in    │ outs/lat │
│          │        │          │          │       │       │ metric  │ est/tuto │
│          │        │          │          │       │       │ x       │ rials/pe │
│          │        │          │          │       │       │ assert  │ rf_check │
│          │        │          │          │       │       │ equalit │ s/assert │
│          │        │          │          │       │       │ y       │ _eq_exce │
│          │        │          │          │       │       │         │ ptions.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ linux_st │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ rict_tes │        │ local.ba │          │       │       │ example │ cs/check │
│ t/7260f8 │        │ sh       │          │       │       │ test    │ outs/rea │
│ ba       │        │          │          │       │       │ will    │ dthedocs │
│          │        │          │          │       │       │ show    │ .org/use │
│          │        │          │          │       │       │ how     │ r_builds │
│          │        │          │          │       │       │ returnc │ /buildte │
│          │        │          │          │       │       │ ode     │ st/check │
│          │        │          │          │       │       │ will    │ outs/lat │
│          │        │          │          │       │       │ change  │ est/tuto │
│          │        │          │          │       │       │ when    │ rials/st │
│          │        │          │          │       │       │ using   │ rict_exa │
│          │        │          │          │       │       │ --stric │ mple.yml │
│          │        │          │          │       │       │ t flag  │          │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test1/c7 │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ 38fe88   │        │ local.ba │          │       │       │ test    │ cs/check │
│          │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ pass    │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ exit 1  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex2 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test2/4e │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ e58e19   │        │ local.ba │          │       │       │ test    │ cs/check │
│          │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ run if  │ dthedocs │
│          │        │          │          │       │       │ test1   │ .org/use │
│          │        │          │          │       │       │ has     │ r_builds │
│          │        │          │          │       │       │ returnc │ /buildte │
│          │        │          │          │       │       │ ode 1   │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex2 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test3/4f │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ 8639c3   │        │ local.ba │          │       │       │ test    │ cs/check │
│          │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ run if  │ dthedocs │
│          │        │          │          │       │       │ test1   │ .org/use │
│          │        │          │          │       │       │ has     │ r_builds │
│          │        │          │          │       │       │ returnc │ /buildte │
│          │        │          │          │       │       │ ode 1   │ st/check │
│          │        │          │          │       │       │ and     │ outs/lat │
│          │        │          │          │       │       │ test2   │ est/tuto │
│          │        │          │          │       │       │ has     │ rials/jo │
│          │        │          │          │       │       │ returnc │ b_depend │
│          │        │          │          │       │       │ ode 2   │ ency/ex2 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ gcc_vers │ script │ generic. │ None     │ None  │ None  │ Print   │ /home/do │
│ ion/b694 │        │ local.ba │          │       │       │ gcc     │ cs/check │
│ 4ad1     │        │ sh       │          │       │       │ version │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/gc │
│          │        │          │          │       │       │         │ c_versio │
│          │        │          │          │       │       │         │ n.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ linecoun │ script │ generic. │ None     │ None  │ None  │ Write   │ /home/do │
│ t_stdout │        │ local.ba │          │       │       │ 10      │ cs/check │
│ /36e830f │        │ sh       │          │       │       │ lines   │ outs/rea │
│ 2        │        │          │          │       │       │ to      │ dthedocs │
│          │        │          │          │       │       │ stdout  │ .org/use │
│          │        │          │          │       │       │ and run │ r_builds │
│          │        │          │          │       │       │ linecou │ /buildte │
│          │        │          │          │       │       │ nt      │ st/check │
│          │        │          │          │       │       │ check   │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/lineco │
│          │        │          │          │       │       │         │ unt.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ linecoun │ script │ generic. │ None     │ None  │ None  │ Write   │ /home/do │
│ t_stderr │        │ local.ba │          │       │       │ 10      │ cs/check │
│ _mismatc │        │ sh       │          │       │       │ lines   │ outs/rea │
│ h/cc8589 │        │          │          │       │       │ to      │ dthedocs │
│ 99       │        │          │          │       │       │ stderr  │ .org/use │
│          │        │          │          │       │       │ and run │ r_builds │
│          │        │          │          │       │       │ linecou │ /buildte │
│          │        │          │          │       │       │ nt      │ st/check │
│          │        │          │          │       │       │ check   │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/lineco │
│          │        │          │          │       │       │         │ unt.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_f │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ ile_rege │        │ local.ba │          │       │       │ result  │ cs/check │
│ x_with_l │        │ sh       │          │       │       │ metric  │ outs/rea │
│ inenum_e │        │          │          │       │       │ from    │ dthedocs │
│ xample/f │        │          │          │       │       │ file    │ .org/use │
│ 21d79a3  │        │          │          │       │       │ path    │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_fi │
│          │        │          │          │       │       │         │ le_regex │
│          │        │          │          │       │       │         │ _with_li │
│          │        │          │          │       │       │         │ nenum.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_f │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ ile_rege │        │ local.ba │          │       │       │ result  │ cs/check │
│ x_with_l │        │ sh       │          │       │       │ metric  │ outs/rea │
│ inenum_f │        │          │          │       │       │ from    │ dthedocs │
│ ailure_e │        │          │          │       │       │ file    │ .org/use │
│ xample/4 │        │          │          │       │       │ path    │ r_builds │
│ 674d568  │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_fi │
│          │        │          │          │       │       │         │ le_regex │
│          │        │          │          │       │       │         │ _with_in │
│          │        │          │          │       │       │         │ valid_li │
│          │        │          │          │       │       │         │ nenum.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_n │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ e_exampl │        │ local.ba │          │       │       │ for     │ cs/check │
│ e/cebad7 │        │ sh       │          │       │       │ assert  │ outs/rea │
│ 6c       │        │          │          │       │       │ not     │ dthedocs │
│          │        │          │          │       │       │ equal   │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _ne.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ rld_sing │        │ local.ba │          │       │       │ hello-w │ cs/check │
│ ularity/ │        │ sh       │          │       │       │ orld    │ outs/rea │
│ eb9dc929 │        │          │          │       │       │ contain │ dthedocs │
│          │        │          │          │       │       │ er      │ .org/use │
│          │        │          │          │       │       │ using   │ r_builds │
│          │        │          │          │       │       │ singula │ /buildte │
│          │        │          │          │       │       │ rity    │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ ntainers │
│          │        │          │          │       │       │         │ /hello_w │
│          │        │          │          │       │       │         │ orld_sin │
│          │        │          │          │       │       │         │ gularity │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_e │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ xists/af │        │ local.ba │          │       │       │ check   │ cs/check │
│ c191fc   │        │ sh       │          │       │       │ based   │ outs/rea │
│          │        │          │          │       │       │ for     │ dthedocs │
│          │        │          │          │       │       │ file    │ .org/use │
│          │        │          │          │       │       │ and     │ r_builds │
│          │        │          │          │       │       │ directo │ /buildte │
│          │        │          │          │       │       │ ry      │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/exists │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_e │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ xists_fa │        │ local.ba │          │       │       │ check   │ cs/check │
│ ilure/95 │        │ sh       │          │       │       │ failure │ outs/rea │
│ 256f5d   │        │          │          │       │       │ for     │ dthedocs │
│          │        │          │          │       │       │ existen │ .org/use │
│          │        │          │          │       │       │ ce      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/exists │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_g │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ t_exampl │        │ local.ba │          │       │       │ stream  │ cs/check │
│ e/daefcd │        │ sh       │          │       │       │ test    │ outs/rea │
│ 97       │        │          │          │       │       │ with    │ dthedocs │
│          │        │          │          │       │       │ metrics │ .org/use │
│          │        │          │          │       │       │ example │ r_builds │
│          │        │          │          │       │       │ using   │ /buildte │
│          │        │          │          │       │       │ assert  │ st/check │
│          │        │          │          │       │       │ greater │ outs/lat │
│          │        │          │          │       │       │ than.   │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _gt.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ add_numb │ script │ generic. │ None     │ None  │ None  │ Add X+Y │ /home/do │
│ ers/144b │        │ local.ba │          │       │       │         │ cs/check │
│ 5252     │        │ sh       │          │       │       │         │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/ad │
│          │        │          │          │       │       │         │ d_number │
│          │        │          │          │       │       │         │ s.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare │ /home/do │
│ s_bash/5 │        │ local.ba │          │       │       │ shell   │ cs/check │
│ d3052dc  │        │ sh       │          │       │       │ variabl │ outs/rea │
│          │        │          │          │       │       │ es in   │ dthedocs │
│          │        │          │          │       │       │ bash    │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/va │
│          │        │          │          │       │       │         │ rs.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ rld_dock │        │ local.ba │          │       │       │ hello-w │ cs/check │
│ er/d066c │        │ sh       │          │       │       │ orld    │ outs/rea │
│ f60      │        │          │          │       │       │ contain │ dthedocs │
│          │        │          │          │       │       │ er with │ .org/use │
│          │        │          │          │       │       │ docker  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ ntainers │
│          │        │          │          │       │       │         │ /hello_w │
│          │        │          │          │       │       │         │ orld.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ sleep/b2 │ script │ generic. │ None     │ None  │ None  │ sleep 2 │ /home/do │
│ 16b828   │        │ local.ba │          │       │       │ seconds │ cs/check │
│          │        │ sh       │          │       │       │         │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sl │
│          │        │          │          │       │       │         │ eep.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_l │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ e_exampl │        │ local.ba │          │       │       │ stream  │ cs/check │
│ e/301431 │        │ sh       │          │       │       │ test    │ outs/rea │
│ 5c       │        │          │          │       │       │ with    │ dthedocs │
│          │        │          │          │       │       │ metrics │ .org/use │
│          │        │          │          │       │       │ example │ r_builds │
│          │        │          │          │       │       │ using   │ /buildte │
│          │        │          │          │       │       │ assert  │ st/check │
│          │        │          │          │       │       │ less    │ outs/lat │
│          │        │          │          │       │       │ than    │ est/tuto │
│          │        │          │          │       │       │ equal   │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _le.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ Run a   │ /home/do │
│ t_min_ma │        │ local.sh │          │       │       │ sleep   │ cs/check │
│ x/3efe3f │        │          │          │       │       │ job for │ outs/rea │
│ 32       │        │          │          │       │       │ 2       │ dthedocs │
│          │        │          │          │       │       │ seconds │ .org/use │
│          │        │          │          │       │       │ and     │ r_builds │
│          │        │          │          │       │       │ test    │ /buildte │
│          │        │          │          │       │       │ pass if │ st/check │
│          │        │          │          │       │       │ its     │ outs/lat │
│          │        │          │          │       │       │ within  │ est/tuto │
│          │        │          │          │       │       │ 1.0-3.0 │ rials/te │
│          │        │          │          │       │       │ sec     │ st_statu │
│          │        │          │          │       │       │         │ s/runtim │
│          │        │          │          │       │       │         │ e_status │
│          │        │          │          │       │       │         │ _test.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ Run a   │ /home/do │
│ t_min/bc │        │ local.sh │          │       │       │ sleep   │ cs/check │
│ 64d267   │        │          │          │       │       │ job for │ outs/rea │
│          │        │          │          │       │       │ 2       │ dthedocs │
│          │        │          │          │       │       │ seconds │ .org/use │
│          │        │          │          │       │       │ and     │ r_builds │
│          │        │          │          │       │       │ test    │ /buildte │
│          │        │          │          │       │       │ pass if │ st/check │
│          │        │          │          │       │       │ its     │ outs/lat │
│          │        │          │          │       │       │ exceeds │ est/tuto │
│          │        │          │          │       │       │ min     │ rials/te │
│          │        │          │          │       │       │ time of │ st_statu │
│          │        │          │          │       │       │ 1.0 sec │ s/runtim │
│          │        │          │          │       │       │         │ e_status │
│          │        │          │          │       │       │         │ _test.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ Run a   │ /home/do │
│ t_max/2a │        │ local.sh │          │       │       │ sleep   │ cs/check │
│ eca95d   │        │          │          │       │       │ job for │ outs/rea │
│          │        │          │          │       │       │ 2       │ dthedocs │
│          │        │          │          │       │       │ seconds │ .org/use │
│          │        │          │          │       │       │ and     │ r_builds │
│          │        │          │          │       │       │ test    │ /buildte │
│          │        │          │          │       │       │ pass if │ st/check │
│          │        │          │          │       │       │ it's    │ outs/lat │
│          │        │          │          │       │       │ within  │ est/tuto │
│          │        │          │          │       │       │ max     │ rials/te │
│          │        │          │          │       │       │ time:   │ st_statu │
│          │        │          │          │       │       │ 5.0 sec │ s/runtim │
│          │        │          │          │       │       │         │ e_status │
│          │        │          │          │       │       │         │ _test.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t_min_fa │        │ local.sh │          │       │       │ test    │ cs/check │
│ il/fcd9a │        │          │          │       │       │ fails   │ outs/rea │
│ 86e      │        │          │          │       │       │ because │ dthedocs │
│          │        │          │          │       │       │ it runs │ .org/use │
│          │        │          │          │       │       │ less    │ r_builds │
│          │        │          │          │       │       │ than    │ /buildte │
│          │        │          │          │       │       │ mintime │ st/check │
│          │        │          │          │       │       │ of 10   │ outs/lat │
│          │        │          │          │       │       │ second  │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/runtim │
│          │        │          │          │       │       │         │ e_status │
│          │        │          │          │       │       │         │ _test.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ timelimi │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t_max_fa │        │ local.sh │          │       │       │ test    │ cs/check │
│ il/b3613 │        │          │          │       │       │ fails   │ outs/rea │
│ 85e      │        │          │          │       │       │ because │ dthedocs │
│          │        │          │          │       │       │ it      │ .org/use │
│          │        │          │          │       │       │ exceeds │ r_builds │
│          │        │          │          │       │       │ maxtime │ /buildte │
│          │        │          │          │       │       │ of 1.0  │ st/check │
│          │        │          │          │       │       │ second  │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/runtim │
│          │        │          │          │       │       │         │ e_status │
│          │        │          │          │       │       │         │ _test.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_lin │ script │ generic. │ None     │ None  │ None  │ Perform │ /home/do │
│ ecount_e │        │ local.ba │          │       │       │ ing     │ cs/check │
│ xception │        │ sh       │          │       │       │ file    │ outs/rea │
│ s/115456 │        │          │          │       │       │ count   │ dthedocs │
│ 27       │        │          │          │       │       │ on      │ .org/use │
│          │        │          │          │       │       │ directo │ r_builds │
│          │        │          │          │       │       │ ry or   │ /buildte │
│          │        │          │          │       │       │ invalid │ st/check │
│          │        │          │          │       │       │ files   │ outs/lat │
│          │        │          │          │       │       │ can     │ est/tuto │
│          │        │          │          │       │       │ result  │ rials/te │
│          │        │          │          │       │       │ in      │ st_statu │
│          │        │          │          │       │       │ failure │ s/file_l │
│          │        │          │          │       │       │         │ inecount │
│          │        │          │          │       │       │         │ _failure │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ foo_bar/ │ script │ generic. │ None     │ None  │ None  │ prints  │ /home/do │
│ cb3b2960 │        │ local.sh │          │       │       │ variabl │ cs/check │
│          │        │          │          │       │       │ e $FOO  │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/ma │
│          │        │          │          │       │       │         │ intainer │
│          │        │          │          │       │       │         │ s_exampl │
│          │        │          │          │       │       │         │ e.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ Count   │ /home/do │
│ nt_by_fi │        │ local.ba │          │       │       │ the     │ cs/check │
│ letype/c │        │ sh       │          │       │       │ number  │ outs/rea │
│ 47d6ae8  │        │          │          │       │       │ of      │ dthedocs │
│          │        │          │          │       │       │ directo │ .org/use │
│          │        │          │          │       │       │ ries    │ r_builds │
│          │        │          │          │       │       │ and     │ /buildte │
│          │        │          │          │       │       │ symboli │ st/check │
│          │        │          │          │       │       │ c links │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_c │
│          │        │          │          │       │       │         │ ount_fil │
│          │        │          │          │       │       │         │ etype.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ out_pass │        │ sh       │          │       │       │ based   │ outs/rea │
│ /6903fba │        │          │          │       │       │ on      │ dthedocs │
│ 8        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/status │
│          │        │          │          │       │       │         │ _regex.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ out_fail │        │ sh       │          │       │       │ based   │ outs/rea │
│ /f0ad654 │        │          │          │       │       │ on      │ dthedocs │
│ e        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/status │
│          │        │          │          │       │       │         │ _regex.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ err_pass │        │ sh       │          │       │       │ based   │ outs/rea │
│ /81ca440 │        │          │          │       │       │ on      │ dthedocs │
│ 8        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/status │
│          │        │          │          │       │       │         │ _regex.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ status_r │ script │ generic. │ None     │ None  │ None  │ Pass    │ /home/do │
│ egex_std │        │ local.ba │          │       │       │ test    │ cs/check │
│ err_fail │        │ sh       │          │       │       │ based   │ outs/rea │
│ /590806f │        │          │          │       │       │ on      │ dthedocs │
│ 2        │        │          │          │       │       │ regular │ .org/use │
│          │        │          │          │       │       │ express │ r_builds │
│          │        │          │          │       │       │ ion     │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/status │
│          │        │          │          │       │       │         │ _regex.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_l │ script │ generic. │ None     │ None  │ None  │ Run     │ /home/do │
│ t_exampl │        │ local.ba │          │       │       │ stream  │ cs/check │
│ e/2c3ba6 │        │ sh       │          │       │       │ test    │ outs/rea │
│ 9a       │        │          │          │       │       │ with    │ dthedocs │
│          │        │          │          │       │       │ metrics │ .org/use │
│          │        │          │          │       │       │ example │ r_builds │
│          │        │          │          │       │       │ using   │ /buildte │
│          │        │          │          │       │       │ assert  │ st/check │
│          │        │          │          │       │       │ less    │ outs/lat │
│          │        │          │          │       │       │ than    │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _lt.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ unskippe │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ d/34e0e4 │        │ local.ba │          │       │       │ test is │ cs/check │
│ 94       │        │ sh       │          │       │       │ not     │ outs/rea │
│          │        │          │          │       │       │ skipped │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sk │
│          │        │          │          │       │       │         │ ip_tests │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ run_scri │ script │ generic. │ None     │ None  │ None  │ run a   │ /home/do │
│ pt_in_co │        │ local.ba │          │       │       │ python  │ cs/check │
│ ntainer/ │        │ sh       │          │       │       │ script  │ outs/rea │
│ a2fd2639 │        │          │          │       │       │ in      │ dthedocs │
│          │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ er      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ ntainers │
│          │        │          │          │       │       │         │ /run_scr │
│          │        │          │          │       │       │         │ ipt.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_lin │ script │ generic. │ None     │ None  │ None  │ Perform │ /home/do │
│ ecount/c │        │ local.ba │          │       │       │ linecou │ cs/check │
│ 26b27dc  │        │ sh       │          │       │       │ nt      │ outs/rea │
│          │        │          │          │       │       │ compari │ dthedocs │
│          │        │          │          │       │       │ son on  │ .org/use │
│          │        │          │          │       │       │ files   │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_l │
│          │        │          │          │       │       │         │ inecount │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ runtime_ │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ test/512 │        │ local.ba │          │       │       │ test    │ cs/check │
│ 99638    │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ sleep 5 │ dthedocs │
│          │        │          │          │       │       │ second  │ .org/use │
│          │        │          │          │       │       │ but     │ r_builds │
│          │        │          │          │       │       │ will    │ /buildte │
│          │        │          │          │       │       │ fail    │ st/check │
│          │        │          │          │       │       │ due to  │ outs/lat │
│          │        │          │          │       │       │ runtime │ est/tuto │
│          │        │          │          │       │       │ 2sec    │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex4 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ runtime_ │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ test_pas │        │ local.ba │          │       │       │ test    │ cs/check │
│ s/424390 │        │ sh       │          │       │       │ will    │ outs/rea │
│ d2       │        │          │          │       │       │ run     │ dthedocs │
│          │        │          │          │       │       │ when    │ .org/use │
│          │        │          │          │       │       │ runtime │ r_builds │
│          │        │          │          │       │       │ _test_p │ /buildte │
│          │        │          │          │       │       │ ass is  │ st/check │
│          │        │          │          │       │       │ PASS    │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex4 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ runtime_ │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ test_fai │        │ local.ba │          │       │       │ test    │ cs/check │
│ l/b5a700 │        │ sh       │          │       │       │ will    │ outs/rea │
│ 58       │        │          │          │       │       │ run     │ dthedocs │
│          │        │          │          │       │       │ when    │ .org/use │
│          │        │          │          │       │       │ runtime │ r_builds │
│          │        │          │          │       │       │ _test_p │ /buildte │
│          │        │          │          │       │       │ ass is  │ st/check │
│          │        │          │          │       │       │ FAIL    │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex4 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ create_b │ script │ generic. │ None     │ None  │ None  │ Create  │ /home/do │
│ urst_buf │        │ local.ba │          │       │       │ a burst │ cs/check │
│ fer_exec │        │ sh       │          │       │       │ buffer  │ outs/rea │
│ utors/6c │        │          │          │       │       │ for     │ dthedocs │
│ 6db518   │        │          │          │       │       │ multipl │ .org/use │
│          │        │          │          │       │       │ e       │ r_builds │
│          │        │          │          │       │       │ executo │ /buildte │
│          │        │          │          │       │       │ rs      │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/bu │
│          │        │          │          │       │       │         │ rstbuffe │
│          │        │          │          │       │       │         │ r_datawa │
│          │        │          │          │       │       │         │ rp_execu │
│          │        │          │          │       │       │         │ tors.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ create_b │ script │ generic. │ None     │ None  │ None  │ Create  │ /home/do │
│ urst_buf │        │ local.sh │          │       │       │ a burst │ cs/check │
│ fer_exec │        │          │          │       │       │ buffer  │ outs/rea │
│ utors/75 │        │          │          │       │       │ for     │ dthedocs │
│ e0181d   │        │          │          │       │       │ multipl │ .org/use │
│          │        │          │          │       │       │ e       │ r_builds │
│          │        │          │          │       │       │ executo │ /buildte │
│          │        │          │          │       │       │ rs      │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/bu │
│          │        │          │          │       │       │         │ rstbuffe │
│          │        │          │          │       │       │         │ r_datawa │
│          │        │          │          │       │       │         │ rp_execu │
│          │        │          │          │       │       │         │ tors.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_exi │ script │ generic. │ None     │ None  │ None  │ this    │ /home/do │
│ sts_pass │        │ local.ba │          │       │       │ test    │ cs/check │
│ /268f7c7 │        │ sh       │          │       │       │ will    │ outs/rea │
│ 2        │        │          │          │       │       │ pass    │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_e │
│          │        │          │          │       │       │         │ xists_wi │
│          │        │          │          │       │       │         │ th_numbe │
│          │        │          │          │       │       │         │ r.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ 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/2 │        │          │          │       │       │ vars by │ dthedocs │
│ dd44a02  │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/mu │
│          │        │          │          │       │       │         │ lti_exec │
│          │        │          │          │       │       │         │ utors/ex │
│          │        │          │          │       │       │         │ ecutors_ │
│          │        │          │          │       │       │         │ var_env_ │
│          │        │          │          │       │       │         │ declarat │
│          │        │          │          │       │       │         │ ion.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ executor │ script │ generic. │ None     │ None  │ None  │ Declari │ /home/do │
│ s_vars_e │        │ local.sh │          │       │       │ ng env  │ cs/check │
│ nv_decla │        │          │          │       │       │ and     │ outs/rea │
│ ration/1 │        │          │          │       │       │ vars by │ dthedocs │
│ 6cce721  │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/mu │
│          │        │          │          │       │       │         │ lti_exec │
│          │        │          │          │       │       │         │ utors/ex │
│          │        │          │          │       │       │         │ ecutors_ │
│          │        │          │          │       │       │         │ var_env_ │
│          │        │          │          │       │       │         │ declarat │
│          │        │          │          │       │       │         │ ion.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello   │ /home/do │
│ rld/ddcc │        │ local.ba │          │       │       │ world   │ cs/check │
│ 13ac     │        │ sh       │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/he │
│          │        │          │          │       │       │         │ llo_worl │
│          │        │          │          │       │       │         │ d.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.searc │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ h.stdout │        │ local.ba │          │       │       │ re.sear │ cs/check │
│ /37db9ee │        │ sh       │          │       │       │ ch on   │ outs/rea │
│ f        │        │          │          │       │       │ stdout  │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/specif │
│          │        │          │          │       │       │         │ y_regex_ │
│          │        │          │          │       │       │         │ type.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.match │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ .stdout/ │        │ local.ba │          │       │       │ re.matc │ cs/check │
│ 2242f05e │        │ sh       │          │       │       │ h on    │ outs/rea │
│          │        │          │          │       │       │ stdout  │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/specif │
│          │        │          │          │       │       │         │ y_regex_ │
│          │        │          │          │       │       │         │ type.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.fullm │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ atch.std │        │ local.ba │          │       │       │ re.full │ cs/check │
│ out/4b9e │        │ sh       │          │       │       │ match   │ outs/rea │
│ 3443     │        │          │          │       │       │ on      │ dthedocs │
│          │        │          │          │       │       │ stdout  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/specif │
│          │        │          │          │       │       │         │ y_regex_ │
│          │        │          │          │       │       │         │ type.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ re.match │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ _on_file │        │ local.ba │          │       │       │ re.matc │ cs/check │
│ _regex/9 │        │ sh       │          │       │       │ h on    │ outs/rea │
│ ecbda4f  │        │          │          │       │       │ file    │ dthedocs │
│          │        │          │          │       │       │ regex   │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/specif │
│          │        │          │          │       │       │         │ y_regex_ │
│          │        │          │          │       │       │         │ type.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ containe │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ r_comman │        │ local.ba │          │       │       │ arbitra │ cs/check │
│ ds_ubunt │        │ sh       │          │       │       │ ry      │ outs/rea │
│ u/e1a294 │        │          │          │       │       │ linux   │ dthedocs │
│ 03       │        │          │          │       │       │ command │ .org/use │
│          │        │          │          │       │       │ s in    │ r_builds │
│          │        │          │          │       │       │ ubuntu  │ /buildte │
│          │        │          │          │       │       │ contain │ st/check │
│          │        │          │          │       │       │ er      │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ ntainers │
│          │        │          │          │       │       │         │ /run_com │
│          │        │          │          │       │       │         │ mands.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ containe │ script │ generic. │ None     │ None  │ None  │ run     │ /home/do │
│ r_option │        │ local.ba │          │       │       │ arbitra │ cs/check │
│ s/4fb1b9 │        │ sh       │          │       │       │ ry      │ outs/rea │
│ 22       │        │          │          │       │       │ linux   │ dthedocs │
│          │        │          │          │       │       │ command │ .org/use │
│          │        │          │          │       │       │ s in    │ r_builds │
│          │        │          │          │       │       │ ubuntu  │ /buildte │
│          │        │          │          │       │       │ contain │ st/check │
│          │        │          │          │       │       │ er      │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ ntainers │
│          │        │          │          │       │       │         │ /run_com │
│          │        │          │          │       │       │         │ mands.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bind_mou │ script │ generic. │ None     │ None  │ None  │ run a   │ /home/do │
│ nt_in_co │        │ local.ba │          │       │       │ python  │ cs/check │
│ ntainer/ │        │ sh       │          │       │       │ script  │ outs/rea │
│ 53077e74 │        │          │          │       │       │ in      │ dthedocs │
│          │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ er      │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ ntainers │
│          │        │          │          │       │       │         │ /bind_mo │
│          │        │          │          │       │       │         │ unts.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1  │ /home/do │
│ il/0e85e │        │ local.ba │          │       │       │ by      │ cs/check │
│ c1b      │        │ sh       │          │       │       │ default │ outs/rea │
│          │        │          │          │       │       │ is FAIL │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/pass_r │
│          │        │          │          │       │       │         │ eturncod │
│          │        │          │          │       │       │         │ e.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report  │ /home/do │
│ ss/ffaec │        │ local.ba │          │       │       │ exit 1  │ cs/check │
│ fa3      │        │ sh       │          │       │       │ as PASS │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/pass_r │
│          │        │          │          │       │       │         │ eturncod │
│          │        │          │          │       │       │         │ e.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2  │ /home/do │
│ de_list_ │        │ local.ba │          │       │       │ failed  │ cs/check │
│ mismatch │        │ sh       │          │       │       │ since   │ outs/rea │
│ /203cf5b │        │          │          │       │       │ it      │ dthedocs │
│ c        │        │          │          │       │       │ failed  │ .org/use │
│          │        │          │          │       │       │ to      │ r_builds │
│          │        │          │          │       │       │ match   │ /buildte │
│          │        │          │          │       │       │ returnc │ st/check │
│          │        │          │          │       │       │ ode 1   │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/pass_r │
│          │        │          │          │       │       │         │ eturncod │
│          │        │          │          │       │       │         │ e.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit    │ /home/do │
│ de_int_m │        │ local.ba │          │       │       │ 128     │ cs/check │
│ atch/c1b │        │ sh       │          │       │       │ matches │ outs/rea │
│ 26117    │        │          │          │       │       │ returnc │ dthedocs │
│          │        │          │          │       │       │ ode 128 │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/pass_r │
│          │        │          │          │       │       │         │ eturncod │
│          │        │          │          │       │       │         │ e.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_tra │ script │ generic. │ None     │ None  │ None  │ Use of  │ /home/do │
│ verse_li │        │ local.ba │          │       │       │ file_tr │ cs/check │
│ mit/7a14 │        │ sh       │          │       │       │ averse_ │ outs/rea │
│ e735     │        │          │          │       │       │ limit   │ dthedocs │
│          │        │          │          │       │       │ to      │ .org/use │
│          │        │          │          │       │       │ limit   │ r_builds │
│          │        │          │          │       │       │ number  │ /buildte │
│          │        │          │          │       │       │ of      │ st/check │
│          │        │          │          │       │       │ files   │ outs/lat │
│          │        │          │          │       │       │ searche │ est/tuto │
│          │        │          │          │       │       │ d in a  │ rials/te │
│          │        │          │          │       │       │ directo │ st_statu │
│          │        │          │          │       │       │ ry      │ s/file_c │
│          │        │          │          │       │       │         │ ount_fil │
│          │        │          │          │       │       │         │ e_traver │
│          │        │          │          │       │       │         │ se_limit │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_r │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ egex_exa │        │ local.ba │          │       │       │ result  │ cs/check │
│ mple/ce7 │        │ sh       │          │       │       │ metric  │ outs/rea │
│ b1533    │        │          │          │       │       │ from    │ dthedocs │
│          │        │          │          │       │       │ output  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_re │
│          │        │          │          │       │       │         │ gex.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_f │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ ile_rege │        │ local.ba │          │       │       │ result  │ cs/check │
│ x/0a65d1 │        │ sh       │          │       │       │ metric  │ outs/rea │
│ 0c       │        │          │          │       │       │ from    │ dthedocs │
│          │        │          │          │       │       │ file    │ .org/use │
│          │        │          │          │       │       │ path    │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_re │
│          │        │          │          │       │       │         │ gex.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ always_p │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ ass/9741 │        │ local.sh │          │       │       │ test    │ cs/check │
│ 3d0a     │        │          │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ always  │ dthedocs │
│          │        │          │          │       │       │ 'PASS'  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/explic │
│          │        │          │          │       │       │         │ it_state │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ always_f │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ ail/6f07 │        │ local.sh │          │       │       │ test    │ cs/check │
│ 1132     │        │          │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ always  │ dthedocs │
│          │        │          │          │       │       │ 'FAIL'  │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/explic │
│          │        │          │          │       │       │         │ it_state │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test_fai │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ l_return │        │ local.sh │          │       │       │ test    │ cs/check │
│ code_mat │        │          │          │       │       │ will    │ outs/rea │
│ ch/1ce2c │        │          │          │       │       │ 'FAIL'  │ dthedocs │
│ 741      │        │          │          │       │       │ even if │ .org/use │
│          │        │          │          │       │       │ we have │ r_builds │
│          │        │          │          │       │       │ returnc │ /buildte │
│          │        │          │          │       │       │ ode     │ st/check │
│          │        │          │          │       │       │ match   │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/explic │
│          │        │          │          │       │       │         │ it_state │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ test_pas │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ s_return │        │ local.sh │          │       │       │ test    │ cs/check │
│ code_mis │        │          │          │       │       │ will    │ outs/rea │
│ match/2d │        │          │          │       │       │ 'PASS'  │ dthedocs │
│ 159c86   │        │          │          │       │       │ even if │ .org/use │
│          │        │          │          │       │       │ we have │ r_builds │
│          │        │          │          │       │       │ returnc │ /buildte │
│          │        │          │          │       │       │ ode     │ st/check │
│          │        │          │          │       │       │ mismatc │ outs/lat │
│          │        │          │          │       │       │ h       │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/explic │
│          │        │          │          │       │       │         │ it_state │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_env │ script │ generic. │ None     │ None  │ None  │ Declare │ /home/do │
│ _variabl │        │ local.ba │          │       │       │ environ │ cs/check │
│ es/66804 │        │ sh       │          │       │       │ ment    │ outs/rea │
│ 623      │        │          │          │       │       │ variabl │ dthedocs │
│          │        │          │          │       │       │ es in   │ .org/use │
│          │        │          │          │       │       │ default │ r_builds │
│          │        │          │          │       │       │ shell   │ /buildte │
│          │        │          │          │       │       │ (bash)  │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/en │
│          │        │          │          │       │       │         │ vironmen │
│          │        │          │          │       │       │         │ t.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ csh_env_ │ script │ generic. │ None     │ None  │ None  │ csh     │ /home/do │
│ declarat │        │ local.cs │          │       │       │ shell   │ cs/check │
│ ion/d517 │        │ h        │          │       │       │ example │ outs/rea │
│ d386     │        │          │          │       │       │ to      │ dthedocs │
│          │        │          │          │       │       │ declare │ .org/use │
│          │        │          │          │       │       │ environ │ r_builds │
│          │        │          │          │       │       │ ment    │ /buildte │
│          │        │          │          │       │       │ variabl │ st/check │
│          │        │          │          │       │       │ es      │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/en │
│          │        │          │          │       │       │         │ vironmen │
│          │        │          │          │       │       │         │ t.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ tcsh_env │ script │ generic. │ None     │ None  │ None  │ tcsh    │ /home/do │
│ _declara │        │ local.cs │          │       │       │ shell   │ cs/check │
│ tion/c6b │        │ h        │          │       │       │ example │ outs/rea │
│ 1c58a    │        │          │          │       │       │ to      │ dthedocs │
│          │        │          │          │       │       │ declare │ .org/use │
│          │        │          │          │       │       │ environ │ r_builds │
│          │        │          │          │       │       │ ment    │ /buildte │
│          │        │          │          │       │       │ variabl │ st/check │
│          │        │          │          │       │       │ es      │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/en │
│          │        │          │          │       │       │         │ vironmen │
│          │        │          │          │       │       │         │ t.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_and │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ _dir_che │        │ local.ba │          │       │       │ check   │ cs/check │
│ cks/5524 │        │ sh       │          │       │       │ for     │ outs/rea │
│ 9f79     │        │          │          │       │       │ files   │ dthedocs │
│          │        │          │          │       │       │ and     │ .org/use │
│          │        │          │          │       │       │ directo │ r_builds │
│          │        │          │          │       │       │ ries    │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_a │
│          │        │          │          │       │       │         │ nd_dir_c │
│          │        │          │          │       │       │         │ heck.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ combined │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ _file_an │        │ local.ba │          │       │       │ check   │ cs/check │
│ d_dir_ch │        │ sh       │          │       │       │ for     │ outs/rea │
│ ecks/2d5 │        │          │          │       │       │ files   │ dthedocs │
│ bcb5d    │        │          │          │       │       │ and     │ .org/use │
│          │        │          │          │       │       │ directo │ r_builds │
│          │        │          │          │       │       │ ries    │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_a │
│          │        │          │          │       │       │         │ nd_dir_c │
│          │        │          │          │       │       │         │ heck.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ 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/bab │        │          │          │       │       │ in      │ .org/use │
│ 89944    │        │          │          │       │       │ failure │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_re │
│          │        │          │          │       │       │         │ gex_with │
│          │        │          │          │       │       │         │ _invalid │
│          │        │          │          │       │       │         │ _linenum │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ jobA/7ae │ script │ generic. │ None     │ None  │ None  │ no job  │ /home/do │
│ a809c    │        │ local.ba │          │       │       │ depende │ cs/check │
│          │        │ sh       │          │       │       │ ncy     │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex1 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ jobB/1b2 │ script │ generic. │ None     │ None  │ None  │ job     │ /home/do │
│ 2f5c9    │        │ local.ba │          │       │       │ depende │ cs/check │
│          │        │ sh       │          │       │       │ ncy on  │ outs/rea │
│          │        │          │          │       │       │ jobA    │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex1 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ jobC/12b │ script │ generic. │ None     │ None  │ None  │ job     │ /home/do │
│ 4136b    │        │ local.ba │          │       │       │ depende │ cs/check │
│          │        │ sh       │          │       │       │ ncy on  │ outs/rea │
│          │        │          │          │       │       │ jobA    │ dthedocs │
│          │        │          │          │       │       │ and     │ .org/use │
│          │        │          │          │       │       │ jobB    │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex1 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ summary_ │ script │ generic. │ None     │ None  │ None  │ The     │ /home/do │
│ example/ │        │ local.ba │          │       │       │ summary │ cs/check │
│ cbf3a4c8 │        │ sh       │          │       │       │ field   │ outs/rea │
│          │        │          │          │       │       │ can be  │ dthedocs │
│          │        │          │          │       │       │ a       │ .org/use │
│          │        │          │          │       │       │ multi-l │ r_builds │
│          │        │          │          │       │       │ ine     │ /buildte │
│          │        │          │          │       │       │ string  │ st/check │
│          │        │          │          │       │       │ and     │ outs/lat │
│          │        │          │          │       │       │ exceed  │ est/tuto │
│          │        │          │          │       │       │ 80 char │ rials/su │
│          │        │          │          │       │       │         │ mmary_ex │
│          │        │          │          │       │       │         │ ample.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ _bin_sh_ │ script │ generic. │ None     │ None  │ None  │ /bin/sh │ /home/do │
│ shell/43 │        │ local.sh │          │       │       │ shell   │ cs/check │
│ 5e5423   │        │          │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sh │
│          │        │          │          │       │       │         │ ell_exam │
│          │        │          │          │       │       │         │ ples.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ _bin_bas │ script │ generic. │ None     │ None  │ None  │ /bin/ba │ /home/do │
│ h_shell/ │        │ local.ba │          │       │       │ sh      │ cs/check │
│ c2a94297 │        │ sh       │          │       │       │ shell   │ outs/rea │
│          │        │          │          │       │       │ example │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sh │
│          │        │          │          │       │       │         │ ell_exam │
│          │        │          │          │       │       │         │ ples.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_she │ script │ generic. │ None     │ None  │ None  │ bash    │ /home/do │
│ ll/78f5b │        │ local.ba │          │       │       │ shell   │ cs/check │
│ e37      │        │ sh       │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sh │
│          │        │          │          │       │       │         │ ell_exam │
│          │        │          │          │       │       │         │ ples.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ sh_shell │ script │ generic. │ None     │ None  │ None  │ sh      │ /home/do │
│ /74fbc3b │        │ local.sh │          │       │       │ shell   │ cs/check │
│ a        │        │          │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sh │
│          │        │          │          │       │       │         │ ell_exam │
│          │        │          │          │       │       │         │ ples.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ shell_op │ script │ generic. │ None     │ None  │ None  │ shell   │ /home/do │
│ tions/c9 │        │ local.sh │          │       │       │ options │ cs/check │
│ 259f02   │        │          │          │       │       │         │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sh │
│          │        │          │          │       │       │         │ ell_exam │
│          │        │          │          │       │       │         │ ples.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ symlink_ │ script │ generic. │ None     │ None  │ None  │ status  │ /home/do │
│ test/f15 │        │ local.ba │          │       │       │ check   │ cs/check │
│ ccd9c    │        │ sh       │          │       │       │ based   │ outs/rea │
│          │        │          │          │       │       │ on      │ dthedocs │
│          │        │          │          │       │       │ symboli │ .org/use │
│          │        │          │          │       │       │ c link  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/is_sym │
│          │        │          │          │       │       │         │ link.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_cou │ script │ generic. │ None     │ None  │ None  │ file    │ /home/do │
│ nt_by_ex │        │ local.ba │          │       │       │ count   │ cs/check │
│ pression │        │ sh       │          │       │       │ by      │ outs/rea │
│ /1c9867a │        │          │          │       │       │ express │ dthedocs │
│ 2        │        │          │          │       │       │ ion     │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_c │
│          │        │          │          │       │       │         │ ount_pat │
│          │        │          │          │       │       │         │ tern.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_ext │ script │ generic. │ None     │ None  │ None  │ file    │ /home/do │
│ ension_a │        │ local.ba │          │       │       │ count   │ cs/check │
│ nd_filep │        │ sh       │          │       │       │ by file │ outs/rea │
│ attern/d │        │          │          │       │       │ extensi │ dthedocs │
│ 91ade47  │        │          │          │       │       │ on and  │ .org/use │
│          │        │          │          │       │       │ file    │ r_builds │
│          │        │          │          │       │       │ pattern │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/file_c │
│          │        │          │          │       │       │         │ ount_pat │
│          │        │          │          │       │       │         │ tern.yml │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ regex_on │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ _multipl │        │ local.ba │          │       │       │ regex   │ cs/check │
│ e_files/ │        │ sh       │          │       │       │ on      │ outs/rea │
│ 9c5bc377 │        │          │          │       │       │ multipl │ dthedocs │
│          │        │          │          │       │       │ e files │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/regex_ │
│          │        │          │          │       │       │         │ on_filen │
│          │        │          │          │       │       │         │ ame.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ regex_on │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ _directo │        │ local.ba │          │       │       │ regex   │ cs/check │
│ ry_not_s │        │ sh       │          │       │       │ on      │ outs/rea │
│ upported │        │          │          │       │       │ directo │ dthedocs │
│ /b518c7f │        │          │          │       │       │ ry is   │ .org/use │
│ e        │        │          │          │       │       │ not     │ r_builds │
│          │        │          │          │       │       │ support │ /buildte │
│          │        │          │          │       │       │ ed      │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/regex_ │
│          │        │          │          │       │       │         │ on_filen │
│          │        │          │          │       │       │         │ ame.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ file_exp │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ ansion_s │        │ local.ba │          │       │       │ regex   │ cs/check │
│ upported │        │ sh       │          │       │       │ with    │ outs/rea │
│ /0f23a18 │        │          │          │       │       │ variabl │ dthedocs │
│ 2        │        │          │          │       │       │ e and   │ .org/use │
│          │        │          │          │       │       │ shell   │ r_builds │
│          │        │          │          │       │       │ expansi │ /buildte │
│          │        │          │          │       │       │ on      │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/te │
│          │        │          │          │       │       │         │ st_statu │
│          │        │          │          │       │       │         │ s/regex_ │
│          │        │          │          │       │       │         │ on_filen │
│          │        │          │          │       │       │         │ ame.yml  │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ executor │ script │ generic. │ None     │ None  │ None  │ Declari │ /home/do │
│ s_sbatch │        │ local.ba │          │       │       │ ng env  │ cs/check │
│ _declara │        │ sh       │          │       │       │ and     │ outs/rea │
│ tion/669 │        │          │          │       │       │ vars by │ dthedocs │
│ f3759    │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/mu │
│          │        │          │          │       │       │         │ lti_exec │
│          │        │          │          │       │       │         │ utors/ex │
│          │        │          │          │       │       │         │ ecutor_s │
│          │        │          │          │       │       │         │ cheduler │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ executor │ script │ generic. │ None     │ None  │ None  │ Declari │ /home/do │
│ s_sbatch │        │ local.sh │          │       │       │ ng env  │ cs/check │
│ _declara │        │          │          │       │       │ and     │ outs/rea │
│ tion/81b │        │          │          │       │       │ vars by │ dthedocs │
│ 266e0    │        │          │          │       │       │ executo │ .org/use │
│          │        │          │          │       │       │ rs      │ r_builds │
│          │        │          │          │       │       │ section │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/mu │
│          │        │          │          │       │       │         │ lti_exec │
│          │        │          │          │       │       │         │ utors/ex │
│          │        │          │          │       │       │         │ ecutor_s │
│          │        │          │          │       │       │         │ cheduler │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_f │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ ile_rege │        │ local.ba │          │       │       │ result  │ cs/check │
│ x_invali │        │ sh       │          │       │       │ metric  │ outs/rea │
│ d_file/a │        │          │          │       │       │ from    │ dthedocs │
│ 8c65b3f  │        │          │          │       │       │ file    │ .org/use │
│          │        │          │          │       │       │ path    │ r_builds │
│          │        │          │          │       │       │ when we │ /buildte │
│          │        │          │          │       │       │ have    │ st/check │
│          │        │          │          │       │       │ invalid │ outs/lat │
│          │        │          │          │       │       │ file    │ est/tuto │
│          │        │          │          │       │       │ path    │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_fi │
│          │        │          │          │       │       │         │ le_regex │
│          │        │          │          │       │       │         │ _invalid │
│          │        │          │          │       │       │         │ _file.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ stream_o │ script │ generic. │ builtin_ │ None  │ None  │ STREAM  │ /home/do │
│ penmp_c/ │        │ local.ba │ gcc      │       │       │ Microbe │ cs/check │
│ 2bf95509 │        │ sh       │          │       │       │ nchmark │ outs/rea │
│          │        │          │          │       │       │  C Test │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ OpenMP  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ mpilatio │
│          │        │          │          │       │       │         │ n/stream │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ post_run │ script │ generic. │ None     │ None  │ None  │ post    │ /home/do │
│ _example │        │ local.ba │          │       │       │ run     │ cs/check │
│ /92282a9 │        │ sh       │          │       │       │ example │ outs/rea │
│ 2        │        │          │          │       │       │ that    │ dthedocs │
│          │        │          │          │       │       │ will    │ .org/use │
│          │        │          │          │       │       │ remove  │ r_builds │
│          │        │          │          │       │       │ symboli │ /buildte │
│          │        │          │          │       │       │ c link  │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/po │
│          │        │          │          │       │       │         │ st_run.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ hello_wo │ script │ generic. │ builtin_ │ None  │ None  │ Hello   │ /home/do │
│ rld_c_cp │        │ local.ba │ gcc      │       │       │ world   │ cs/check │
│ p/c21001 │        │ sh       │          │       │       │ compila │ outs/rea │
│ b2       │        │          │          │       │       │ tion in │ dthedocs │
│          │        │          │          │       │       │ C and   │ .org/use │
│          │        │          │          │       │       │ C++     │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/co │
│          │        │          │          │       │       │         │ mpilatio │
│          │        │          │          │       │       │         │ n/hello_ │
│          │        │          │          │       │       │         │ world_co │
│          │        │          │          │       │       │         │ mpilatio │
│          │        │          │          │       │       │         │ n.yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ contains │ script │ generic. │ None     │ None  │ None  │ Status  │ /home/do │
│ _and_not │        │ local.ba │          │       │       │ check   │ cs/check │
│ _contain │        │ sh       │          │       │       │ based   │ outs/rea │
│ s/a2ab83 │        │          │          │       │       │ on      │ dthedocs │
│ a0       │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ s and   │ r_builds │
│          │        │          │          │       │       │ not     │ /buildte │
│          │        │          │          │       │       │ contain │ st/check │
│          │        │          │          │       │       │ s where │ outs/lat │
│          │        │          │          │       │       │ test    │ est/tuto │
│          │        │          │          │       │       │ pass    │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/contai │
│          │        │          │          │       │       │         │ ns.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_c │ script │ generic. │ None     │ None  │ None  │ Status  │ /home/do │
│ ontains_ │        │ local.ba │          │       │       │ check   │ cs/check │
│ fail/fc7 │        │ sh       │          │       │       │ based   │ outs/rea │
│ 04972    │        │          │          │       │       │ on      │ dthedocs │
│          │        │          │          │       │       │ contain │ .org/use │
│          │        │          │          │       │       │ s where │ r_builds │
│          │        │          │          │       │       │ test    │ /buildte │
│          │        │          │          │       │       │ fails   │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/contai │
│          │        │          │          │       │       │         │ ns.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ 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/117816 │        │          │          │       │       │ output  │ .org/use │
│ 64       │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_re │
│          │        │          │          │       │       │         │ gex_with │
│          │        │          │          │       │       │         │ _linenum │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello   │ /home/do │
│ ello/398 │        │ local.ba │          │       │       │ World   │ cs/check │
│ b3519    │        │ sh       │          │       │       │ python  │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/py │
│          │        │          │          │       │       │         │ thon-hel │
│          │        │          │          │       │       │         │ lo.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ metric_r │ script │ generic. │ None     │ None  │ None  │ capture │ /home/do │
│ egex_exa │        │ local.ba │          │       │       │ metric  │ cs/check │
│ mple_wit │        │ sh       │          │       │       │ with    │ outs/rea │
│ h_re/126 │        │          │          │       │       │ differe │ dthedocs │
│ 6884d    │        │          │          │       │       │ nt      │ .org/use │
│          │        │          │          │       │       │ regex   │ r_builds │
│          │        │          │          │       │       │ types   │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/me │
│          │        │          │          │       │       │         │ trics/me │
│          │        │          │          │       │       │         │ trics_wi │
│          │        │          │          │       │       │         │ th_regex │
│          │        │          │          │       │       │         │ _type.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calcula │ /home/do │
│ rea/cbd3 │        │ local.ba │          │       │       │ te      │ cs/check │
│ 698c     │        │ sh       │          │       │       │ circle  │ outs/rea │
│          │        │          │          │       │       │ of area │ dthedocs │
│          │        │          │          │       │       │ given a │ .org/use │
│          │        │          │          │       │       │ radius  │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/py │
│          │        │          │          │       │       │         │ thon-she │
│          │        │          │          │       │       │         │ ll.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ csh_shel │ script │ generic. │ None     │ None  │ None  │ csh     │ /home/do │
│ l/e7052b │        │ local.cs │          │       │       │ shell   │ cs/check │
│ e8       │        │ h        │          │       │       │ example │ outs/rea │
│          │        │          │          │       │       │         │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/cs │
│          │        │          │          │       │       │         │ h_shell_ │
│          │        │          │          │       │       │         │ examples │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ pass_tes │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t/8db4f0 │        │ local.ba │          │       │       │ test    │ cs/check │
│ 91       │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ always  │ dthedocs │
│          │        │          │          │       │       │ pass    │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex3 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ fail_tes │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ t/16c3d9 │        │ local.ba │          │       │       │ test    │ cs/check │
│ 8f       │        │ sh       │          │       │       │ will    │ outs/rea │
│          │        │          │          │       │       │ run if  │ dthedocs │
│          │        │          │          │       │       │ test    │ .org/use │
│          │        │          │          │       │       │ 'pass_t │ r_builds │
│          │        │          │          │       │       │ est' is │ /buildte │
│          │        │          │          │       │       │ in      │ st/check │
│          │        │          │          │       │       │ state   │ outs/lat │
│          │        │          │          │       │       │ 'PASS'  │ est/tuto │
│          │        │          │          │       │       │         │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex3 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ pass_and │ script │ generic. │ None     │ None  │ None  │ This    │ /home/do │
│ _fail_te │        │ local.ba │          │       │       │ test    │ cs/check │
│ st/817c6 │        │ sh       │          │       │       │ will    │ outs/rea │
│ 8ff      │        │          │          │       │       │ run if  │ dthedocs │
│          │        │          │          │       │       │ pass_te │ .org/use │
│          │        │          │          │       │       │ st is   │ r_builds │
│          │        │          │          │       │       │ 'PASS'  │ /buildte │
│          │        │          │          │       │       │ and     │ st/check │
│          │        │          │          │       │       │ fail_te │ outs/lat │
│          │        │          │          │       │       │ st is   │ est/tuto │
│          │        │          │          │       │       │ 'FAIL'  │ rials/jo │
│          │        │          │          │       │       │         │ b_depend │
│          │        │          │          │       │       │         │ ency/ex3 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ final_te │ script │ generic. │ None     │ None  │ None  │ Test    │ /home/do │
│ st/aa74f │        │ local.ba │          │       │       │ will    │ cs/check │
│ 466      │        │ sh       │          │       │       │ run     │ outs/rea │
│          │        │          │          │       │       │ after   │ dthedocs │
│          │        │          │          │       │       │ 'pass_t │ .org/use │
│          │        │          │          │       │       │ est',   │ r_builds │
│          │        │          │          │       │       │ 'fail_t │ /buildte │
│          │        │          │          │       │       │ est',   │ st/check │
│          │        │          │          │       │       │ and     │ outs/lat │
│          │        │          │          │       │       │ 'pass_a │ est/tuto │
│          │        │          │          │       │       │ nd_fail │ rials/jo │
│          │        │          │          │       │       │ _test'  │ b_depend │
│          │        │          │          │       │       │         │ ency/ex3 │
│          │        │          │          │       │       │         │ .yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ string_t │ script │ generic. │ None     │ None  │ None  │ tags    │ /home/do │
│ ag/f3522 │        │ local.ba │          │       │       │ can be  │ cs/check │
│ 6ed      │        │ sh       │          │       │       │ a       │ outs/rea │
│          │        │          │          │       │       │ string  │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/ta │
│          │        │          │          │       │       │         │ gs_examp │
│          │        │          │          │       │       │         │ le.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ list_of_ │ script │ generic. │ None     │ None  │ None  │ tags    │ /home/do │
│ strings_ │        │ local.ba │          │       │       │ can be  │ cs/check │
│ tags/175 │        │ sh       │          │       │       │ a list  │ outs/rea │
│ 21a9d    │        │          │          │       │       │ of      │ dthedocs │
│          │        │          │          │       │       │ strings │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/ta │
│          │        │          │          │       │       │         │ gs_examp │
│          │        │          │          │       │       │         │ le.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ assert_r │ script │ generic. │ None     │ None  │ None  │ Example │ /home/do │
│ ange_ex/ │        │ local.ba │          │       │       │ on      │ cs/check │
│ bb88cd5a │        │ sh       │          │       │       │ assert_ │ outs/rea │
│          │        │          │          │       │       │ range   │ dthedocs │
│          │        │          │          │       │       │         │ .org/use │
│          │        │          │          │       │       │         │ r_builds │
│          │        │          │          │       │       │         │ /buildte │
│          │        │          │          │       │       │         │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/pe │
│          │        │          │          │       │       │         │ rf_check │
│          │        │          │          │       │       │         │ s/assert │
│          │        │          │          │       │       │         │ _range.y │
│          │        │          │          │       │       │         │ ml       │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_log │ script │ generic. │ None     │ None  │ None  │ customi │ /home/do │
│ in_sheba │        │ local.ba │          │       │       │ ze      │ cs/check │
│ ng/c00aa │        │ sh       │          │       │       │ shebang │ outs/rea │
│ e05      │        │          │          │       │       │ line    │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ bash    │ r_builds │
│          │        │          │          │       │       │ login   │ /buildte │
│          │        │          │          │       │       │ shell   │ st/check │
│          │        │          │          │       │       │         │ outs/lat │
│          │        │          │          │       │       │         │ est/tuto │
│          │        │          │          │       │       │         │ rials/sh │
│          │        │          │          │       │       │         │ ebang.ym │
│          │        │          │          │       │       │         │ l        │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼─────────┼──────────┤
│ bash_non │ script │ generic. │ None     │ None  │ None  │ customi │ /home/do │
│ login_sh │        │ local.ba │          │       │       │ ze      │ cs/check │
│ ebang/d5 │        │ sh       │          │       │       │ shebang │ outs/rea │
│ ba6ba5   │        │          │          │       │       │ line    │ dthedocs │
│          │        │          │          │       │       │ with    │ .org/use │
│          │        │          │          │       │       │ default │ r_builds │
│          │        │          │          │       │       │ bash    │ /buildte │
│          │        │          │          │       │       │ (nonlog │ st/check │
│          │        │          │          │       │       │ in)     │ outs/lat │
│          │        │          │          │       │       │ shell   │ est/tuto │
│          │        │          │          │       │       │         │ rials/sh │
│          │        │          │          │       │       │         │ ebang.ym │
│          │        │          │          │       │       │         │ l        │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴─────────┴──────────┘
──────────────────────────────── Building Test ─────────────────────────────────
stream_test/56040010: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/assert_ge/stream_test/56040010
assert_eq_example/3f698249: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/assert_eq/assert_eq_example/3f698249
status_logical_and/9794d0d5: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/mode/status_logical_and/9794d0d5
status_logical_or/b2a85a4b: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/mode/status_logical_or/b2a85a4b
file_count_on_directory/171e061f: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/file_count/file_count_on_directory/171e061f
file_count_by_extension/1942e5aa: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/file_count/file_count_by_extension/1942e5aa
multiple_executors/a71da3af: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/executor_regex_script/multiple_executors/a71da3af
multiple_executors/9b28d9b6: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/executor_regex_script/multiple_executors/9b28d9b6
status_returncode_by_executors/7b6b20b9: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/status_by_executors/status_returncode_by_executors/7b6b20b9
status_returncode_by_executors/13458491: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/status_by_executors/status_returncode_by_executors/13458491
assert_eq_invalid_metric/9029ee79: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_invalid_metric/9029ee79
assert_eq_mismatch/843d610d: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_mismatch/843d610d
linux_strict_test/7260f8ba: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/7260f8ba
test1/c738fe88: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ex2/test1/c738fe88
test2/4ee58e19: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ex2/test2/4ee58e19
test3/4f8639c3: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ex2/test3/4f8639c3
gcc_version/b6944ad1: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/gcc_version/gcc_version/b6944ad1
linecount_stdout/36e830f2: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/linecount/linecount_stdout/36e830f2
linecount_stderr_mismatch/cc858999: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/linecount/linecount_stderr_mismatch/cc858999
metric_file_regex_with_linenum_example/f21d79a3: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/metrics_file_regex_with_linenum/metric_file_regex_with_linenum_example/f21d79a3
metric_file_regex_with_linenum_failure_example/4674d568: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/metrics_file_regex_with_invalid_linenum/metric_file_regex_with_linenum_failure_example/4674d568
assert_ne_example/cebad76c: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/assert_ne/assert_ne_example/cebad76c
hello_world_singularity/eb9dc929: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world_singularity/hello_world_singularity/eb9dc929
'Unable to find singularity binary in PATH, this test will be not be executed.'
status_exists/afc191fc: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/exists/status_exists/afc191fc
status_exists_failure/95256f5d: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/exists/status_exists_failure/95256f5d
assert_gt_example/daefcd97: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/assert_gt/assert_gt_example/daefcd97
add_numbers/144b5252: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/add_numbers/add_numbers/144b5252
variables_bash/5d3052dc: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/5d3052dc
hello_world_docker/d066cf60: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world_docker/d066cf60
'Unable to find docker binary in PATH, this test will be not be executed.'
sleep/b216b828: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/sleep/sleep/b216b828
assert_le_example/3014315c: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/assert_le/assert_le_example/3014315c
timelimit_min_max/3efe3f32: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/runtime_status_test/timelimit_min_max/3efe3f32
timelimit_min/bc64d267: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/runtime_status_test/timelimit_min/bc64d267
timelimit_max/2aeca95d: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/runtime_status_test/timelimit_max/2aeca95d
timelimit_min_fail/fcd9a86e: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/runtime_status_test/timelimit_min_fail/fcd9a86e
timelimit_max_fail/b361385e: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/runtime_status_test/timelimit_max_fail/b361385e
file_linecount_exceptions/11545627: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/file_linecount_failure/file_linecount_exceptions/11545627
foo_bar/cb3b2960: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/maintainers_example/foo_bar/cb3b2960
file_count_by_filetype/c47d6ae8: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/file_count_filetype/file_count_by_filetype/c47d6ae8
status_regex_stdout_pass/6903fba8: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/status_regex/status_regex_stdout_pass/6903fba8
status_regex_stdout_fail/f0ad654e: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/status_regex/status_regex_stdout_fail/f0ad654e
status_regex_stderr_pass/81ca4408: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/status_regex/status_regex_stderr_pass/81ca4408
status_regex_stderr_fail/590806f2: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/status_regex/status_regex_stderr_fail/590806f2
assert_lt_example/2c3ba69a: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/assert_lt/assert_lt_example/2c3ba69a
unskipped/34e0e494: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/skip_tests/unskipped/34e0e494
run_script_in_container/a2fd2639: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/run_script/run_script_in_container/a2fd2639
'Unable to find docker binary in PATH, this test will be not be executed.'
file_linecount/c26b27dc: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/file_linecount/file_linecount/c26b27dc
runtime_test/51299638: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ex4/runtime_test/51299638
runtime_test_pass/424390d2: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ex4/runtime_test_pass/424390d2
runtime_test_fail/b5a70058: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ex4/runtime_test_fail/b5a70058
create_burst_buffer_executors/6c6db518: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/burstbuffer_datawarp_executors/create_burst_buffer_executors/6c6db518
create_burst_buffer_executors/75e0181d: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/burstbuffer_datawarp_executors/create_burst_buffer_executors/75e0181d
file_exists_pass/268f7c72: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/file_exists_with_number/file_exists_pass/268f7c72
executors_vars_env_declaration/2dd44a02: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/executors_var_env_declaration/executors_vars_env_declaration/2dd44a02
executors_vars_env_declaration/16cce721: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/executors_var_env_declaration/executors_vars_env_declaration/16cce721
hello_world/ddcc13ac: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/ddcc13ac
re.search.stdout/37db9eef: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/specify_regex_type/re.search.stdout/37db9eef
re.match.stdout/2242f05e: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/specify_regex_type/re.match.stdout/2242f05e
re.fullmatch.stdout/4b9e3443: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/specify_regex_type/re.fullmatch.stdout/4b9e3443
re.match_on_file_regex/9ecbda4f: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/specify_regex_type/re.match_on_file_regex/9ecbda4f
container_commands_ubuntu/e1a29403: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/run_commands/container_commands_ubuntu/e1a29403
'Unable to find docker binary in PATH, this test will be not be executed.'
container_options/4fb1b922: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/run_commands/container_options/4fb1b922
'Unable to find docker binary in PATH, this test will be not be executed.'
bind_mount_in_container/53077e74: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/bind_mounts/bind_mount_in_container/53077e74
'Unable to find docker binary in PATH, this test will be not be executed.'
exit1_fail/0e85ec1b: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/0e85ec1b
exit1_pass/ffaecfa3: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/ffaecfa3
returncode_list_mismatch/203cf5bc: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/203cf5bc
returncode_int_match/c1b26117: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/c1b26117
file_traverse_limit/7a14e735: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/file_count_file_traverse_limit/file_traverse_limit/7a14e735
metric_regex_example/ce7b1533: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/metrics_regex/metric_regex_example/ce7b1533
metric_file_regex/0a65d10c: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/metrics_regex/metric_file_regex/0a65d10c
always_pass/97413d0a: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/explicit_state/always_pass/97413d0a
always_fail/6f071132: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/explicit_state/always_fail/6f071132
test_fail_returncode_match/1ce2c741: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/explicit_state/test_fail_returncode_match/1ce2c741
test_pass_returncode_mismatch/2d159c86: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/explicit_state/test_pass_returncode_mismatch/2d159c86
bash_env_variables/66804623: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/environment/bash_env_variables/66804623
csh_env_declaration/d517d386: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.csh/environment/csh_env_declaration/d517d386
tcsh_env_declaration/c6b1c58a: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.csh/environment/tcsh_env_declaration/c6b1c58a
file_and_dir_checks/55249f79: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/file_and_dir_check/file_and_dir_checks/55249f79
combined_file_and_dir_checks/2d5bcb5d: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/file_and_dir_check/combined_file_and_dir_checks/2d5bcb5d
metric_regex_linenum_failure_example/bab89944: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/metrics_regex_with_invalid_linenum/metric_regex_linenum_failure_example/bab89944
jobA/7aea809c: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ex1/jobA/7aea809c
jobB/1b22f5c9: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ex1/jobB/1b22f5c9
jobC/12b4136b: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ex1/jobC/12b4136b
summary_example/cbf3a4c8: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/summary_example/summary_example/cbf3a4c8
_bin_sh_shell/435e5423: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/shell_examples/_bin_sh_shell/435e5423
_bin_bash_shell/c2a94297: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/shell_examples/_bin_bash_shell/c2a94297
bash_shell/78f5be37: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/shell_examples/bash_shell/78f5be37
sh_shell/74fbc3ba: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/shell_examples/sh_shell/74fbc3ba
shell_options/c9259f02: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/shell_examples/shell_options/c9259f02
symlink_test/f15ccd9c: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/is_symlink/symlink_test/f15ccd9c
file_count_by_expression/1c9867a2: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/file_count_pattern/file_count_by_expression/1c9867a2
file_extension_and_filepattern/d91ade47: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/file_count_pattern/file_extension_and_filepattern/d91ade47
regex_on_multiple_files/9c5bc377: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/regex_on_filename/regex_on_multiple_files/9c5bc377
regex_on_directory_not_supported/b518c7fe: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/regex_on_filename/regex_on_directory_not_supported/b518c7fe
file_expansion_supported/0f23a182: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/regex_on_filename/file_expansion_supported/0f23a182
executors_sbatch_declaration/669f3759: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/executor_scheduler/executors_sbatch_declaration/669f3759
executors_sbatch_declaration/81b266e0: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.sh/executor_scheduler/executors_sbatch_declaration/81b266e0
metric_file_regex_invalid_file/a8c65b3f: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/metrics_file_regex_invalid_file/metric_file_regex_invalid_file/a8c65b3f
stream_openmp_c/2bf95509: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/stream/stream_openmp_c/2bf95509
post_run_example/92282a92: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/post_run/post_run_example/92282a92
post_run_example/92282a92: Writing Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/post_run/post_run_example/92282a92/stage/post_run_example_postrun.sh
hello_world_c_cpp/c21001b2: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world_compilation/hello_world_c_cpp/c21001b2
contains_and_not_contains/a2ab83a0: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/contains/contains_and_not_contains/a2ab83a0
assert_contains_fail/fc704972: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/contains/assert_contains_fail/fc704972
metric_regex_with_linenum_example/11781664: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/metrics_regex_with_linenum/metric_regex_with_linenum_example/11781664
python_hello/398b3519: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/398b3519
metric_regex_example_with_re/1266884d: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/metrics_with_regex_type/metric_regex_example_with_re/1266884d
circle_area/cbd3698c: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/cbd3698c
csh_shell/e7052be8: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.csh/csh_shell_examples/csh_shell/e7052be8
pass_test/8db4f091: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ex3/pass_test/8db4f091
fail_test/16c3d98f: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ex3/fail_test/16c3d98f
pass_and_fail_test/817c68ff: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ex3/pass_and_fail_test/817c68ff
final_test/aa74f466: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/ex3/final_test/aa74f466
string_tag/f35226ed: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/string_tag/f35226ed
list_of_strings_tags/17521a9d: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/tags_example/list_of_strings_tags/17521a9d
assert_range_ex/bb88cd5a: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/assert_range/assert_range_ex/bb88cd5a
bash_login_shebang/c00aae05: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/shebang/bash_login_shebang/c00aae05
bash_nonlogin_shebang/d5ba6ba5: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/shebang/bash_nonlogin_shebang/d5ba6ba5

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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:59:00                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  2
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-shell.yml: VALID
Total builder objects created: 2
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello    │ /home/d │
│ ello/4d4 │        │ local.ba │          │       │       │ World    │ ocs/che │
│ 72d44    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-hello │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/205c │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 2329     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-shell │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
python_hello/4d472d44: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/4d472d44
circle_area/205c2329: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/205c2329
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
python_hello/4d472d44 does not have any dependencies adding test to queue
circle_area/205c2329 does not have any dependencies adding test to queue
Builders Eligible to Run 
┏━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━┩
│ python_hello/4d472d44 │
│ circle_area/205c2329  │
└───────────────────────┘
python_hello/4d472d44: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/4d472d44/stage
python_hello/4d472d44: Running Test via command: bash python_hello_build.sh
─────────────────── Output Message for python_hello/4d472d44 ───────────────────
Hello World

python_hello/4d472d44: Test completed in 0.037287 seconds with returncode: 0
python_hello/4d472d44: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/4d472d44/python_hello.out
python_hello/4d472d44: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/4d472d44/python_hello.err
python_hello/4d472d44: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/4d472d44/stage/python_hello_postrun.sh
python_hello/4d472d44: Post run script exit code: 1
──────────────── python_hello/4d472d44: Post Run Script Output ─────────────────

───────────────── python_hello/4d472d44: Post Run Script Error ─────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/4d472d44/stage/python_hello_postrun.sh not found.
circle_area/205c2329: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/205c2329/stage
circle_area/205c2329: Running Test via command: bash circle_area_build.sh
─────────────────── Output Message for circle_area/205c2329 ────────────────────
Circle Radius  2
 Area of circle  12.566370614359172

circle_area/205c2329: Test completed in 0.03727 seconds with returncode: 0
circle_area/205c2329: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/205c2329/circle_area.out
circle_area/205c2329: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/205c2329/circle_area.err
circle_area/205c2329: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/205c2329/stage/circle_area_postrun.sh
circle_area/205c2329: Post run script exit code: 1
───────────────── circle_area/205c2329: Post Run Script Output ─────────────────

───────────────── circle_area/205c2329: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/205c2329/stage/circle_area_postrun.sh not found.
                                 Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder               ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ circle_area/205c2329  │ generic.local.bash │ PASS   │ 0          │ 0.037   │
├───────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ python_hello/4d472d44 │ generic.local.bash │ PASS   │ 0          │ 0.037   │
└───────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 2 test results to report file: /tmp/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_8v3jq63x.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:59:00                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-hello.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 2                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

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

Please see logfile: /tmp/tmp75qnqx26/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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:59:01                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/vars.yml                                                           ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

Invalid Buildspecs

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

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


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

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

Please see logfile: /tmp/tmp75qnqx26/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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:59:02                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/invalid_executor.yml                                               ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

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

Please see logfile: /tmp/tmp75qnqx26/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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:59:01                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/vars.yml                                                           ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

Dry Run (buildtest build --dry-run)

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

buildtest build -b tutorials/vars.yml --dry-run
$ buildtest build -b tutorials/vars.yml --dry-run
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:59: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.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/vars.yml                                                           ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:59: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.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/python-shell.yml                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-shell.yml: VALID
Total builder objects created: 3
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/8278 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 232a     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-shell │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/2abb │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ c298     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-shell │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/04b6 │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 3e72     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-shell │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
circle_area/8278232a: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/8278232a
circle_area/2abbc298: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/2abbc298
circle_area/04b63e72: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/04b63e72
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
circle_area/2abbc298 does not have any dependencies adding test to queue
circle_area/04b63e72 does not have any dependencies adding test to queue
circle_area/8278232a does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ circle_area/2abbc298 │
│ circle_area/04b63e72 │
│ circle_area/8278232a │
└──────────────────────┘
circle_area/2abbc298: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/2abbc298/stage
circle_area/2abbc298: Running Test via command: bash circle_area_build.sh
─────────────────── Output Message for circle_area/2abbc298 ────────────────────
Circle Radius  2
 Area of circle  12.566370614359172

circle_area/2abbc298: Test completed in 0.037462 seconds with returncode: 0
circle_area/2abbc298: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/2abbc298/circle_area.out
circle_area/2abbc298: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/2abbc298/circle_area.err
circle_area/2abbc298: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/2abbc298/stage/circle_area_postrun.sh
circle_area/2abbc298: Post run script exit code: 1
───────────────── circle_area/2abbc298: Post Run Script Output ─────────────────

───────────────── circle_area/2abbc298: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/2abbc298/stage/circle_area_postrun.sh not found.
circle_area/04b63e72: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/04b63e72/stage
circle_area/04b63e72: Running Test via command: bash circle_area_build.sh
─────────────────── Output Message for circle_area/04b63e72 ────────────────────
Circle Radius  2
 Area of circle  12.566370614359172

circle_area/04b63e72: Test completed in 0.038154 seconds with returncode: 0
circle_area/04b63e72: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/04b63e72/circle_area.out
circle_area/04b63e72: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/04b63e72/circle_area.err
circle_area/04b63e72: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/04b63e72/stage/circle_area_postrun.sh
circle_area/04b63e72: Post run script exit code: 1
───────────────── circle_area/04b63e72: Post Run Script Output ─────────────────

───────────────── circle_area/04b63e72: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/04b63e72/stage/circle_area_postrun.sh not found.
circle_area/8278232a: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/8278232a/stage
circle_area/8278232a: Running Test via command: bash circle_area_build.sh
─────────────────── Output Message for circle_area/8278232a ────────────────────
Circle Radius  2
 Area of circle  12.566370614359172

circle_area/8278232a: Test completed in 0.037388 seconds with returncode: 0
circle_area/8278232a: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/8278232a/circle_area.out
circle_area/8278232a: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/8278232a/circle_area.err
circle_area/8278232a: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/8278232a/stage/circle_area_postrun.sh
circle_area/8278232a: Post run script exit code: 1
───────────────── circle_area/8278232a: Post Run Script Output ─────────────────

───────────────── circle_area/8278232a: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/8278232a/stage/circle_area_postrun.sh not found.
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ circle_area/2abbc298 │ generic.local.bash │ PASS   │ 0          │ 0.037   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/04b63e72 │ generic.local.bash │ PASS   │ 0          │ 0.038   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ circle_area/8278232a │ generic.local.bash │ PASS   │ 0          │ 0.037   │
└──────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 3 test results to report file: /tmp/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_4arg56to.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:59: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.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=fail                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/test_status/pass_returncode.yml: VALID
Total builder objects created: 8
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/e63fb │        │ local.ba │          │       │       │ by       │ ocs/che │
│ c31      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/28c85 │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ b9e      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /3395573 │        │          │          │       │       │ failed   │ readthe │
│ d        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/791 │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 4dbf8    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_fa │ script │ generic. │ None     │ None  │ None  │ exit 1   │ /home/d │
│ il/ef555 │        │ local.ba │          │       │       │ by       │ ocs/che │
│ 0eb      │        │ sh       │          │       │       │ default  │ ckouts/ │
│          │        │          │          │       │       │ is FAIL  │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_pa │ script │ generic. │ None     │ None  │ None  │ report   │ /home/d │
│ ss/35a0c │        │ local.ba │          │       │       │ exit 1   │ ocs/che │
│ 0a3      │        │ sh       │          │       │       │ as PASS  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 2   │ /home/d │
│ de_list_ │        │ local.ba │          │       │       │ failed   │ ocs/che │
│ mismatch │        │ sh       │          │       │       │ since it │ ckouts/ │
│ /bf6d239 │        │          │          │       │       │ failed   │ readthe │
│ 3        │        │          │          │       │       │ to match │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de 1     │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnco │ script │ generic. │ None     │ None  │ None  │ exit 128 │ /home/d │
│ de_int_m │        │ local.ba │          │       │       │ matches  │ ocs/che │
│ atch/31c │        │ sh       │          │       │       │ returnco │ ckouts/ │
│ 5cd06    │        │          │          │       │       │ de 128   │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/test_ │
│          │        │          │          │       │       │          │ status/ │
│          │        │          │          │       │       │          │ pass_re │
│          │        │          │          │       │       │          │ turncod │
│          │        │          │          │       │       │          │ e.yml   │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/e63fbc31: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/e63fbc31
exit1_pass/28c85b9e: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/28c85b9e
returncode_list_mismatch/3395573d: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/3395573d
returncode_int_match/7914dbf8: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/7914dbf8
exit1_fail/ef5550eb: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ef5550eb
exit1_pass/35a0c0a3: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/35a0c0a3
returncode_list_mismatch/bf6d2393: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bf6d2393
returncode_int_match/31c5cd06: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/31c5cd06
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_list_mismatch/bf6d2393 does not have any dependencies adding test to queue
returncode_int_match/7914dbf8 does not have any dependencies adding test to queue
exit1_fail/e63fbc31 does not have any dependencies adding test to queue
exit1_pass/35a0c0a3 does not have any dependencies adding test to queue
exit1_pass/28c85b9e does not have any dependencies adding test to queue
returncode_int_match/31c5cd06 does not have any dependencies adding test to queue
exit1_fail/ef5550eb does not have any dependencies adding test to queue
returncode_list_mismatch/3395573d does not have any dependencies adding test to queue
      Builders Eligible to Run       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ returncode_list_mismatch/bf6d2393 │
│ returncode_int_match/7914dbf8     │
│ exit1_fail/e63fbc31               │
│ exit1_pass/35a0c0a3               │
│ exit1_pass/28c85b9e               │
│ returncode_int_match/31c5cd06     │
│ exit1_fail/ef5550eb               │
│ returncode_list_mismatch/3395573d │
└───────────────────────────────────┘
returncode_list_mismatch/bf6d2393: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bf6d2393/stage
returncode_list_mismatch/bf6d2393: Running Test via command: bash returncode_list_mismatch_build.sh
───────────── Output Message for returncode_list_mismatch/bf6d2393 ─────────────

returncode_list_mismatch/bf6d2393: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/bf6d2393 ──────────────

returncode_list_mismatch/bf6d2393: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/bf6d2393: Run - 1/1
returncode_list_mismatch/bf6d2393: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/bf6d2393: failed to submit job with returncode: 2
returncode_list_mismatch/bf6d2393: Test completed in 0.015353 seconds with returncode: 2
returncode_list_mismatch/bf6d2393: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bf6d2393/returncode_list_mismatch.out
returncode_list_mismatch/bf6d2393: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bf6d2393/returncode_list_mismatch.err
returncode_list_mismatch/bf6d2393: Checking returncode - 2 is matched in list [1, 3]
returncode_list_mismatch/bf6d2393: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bf6d2393/stage/returncode_list_mismatch_postrun.sh
returncode_list_mismatch/bf6d2393: Post run script exit code: 1
────────── returncode_list_mismatch/bf6d2393: Post Run Script Output ───────────

─────────── returncode_list_mismatch/bf6d2393: Post Run Script Error ───────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bf6d2393/stage/returncode_list_mismatch_postrun.sh not found.
returncode_int_match/7914dbf8: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/7914dbf8/stage
returncode_int_match/7914dbf8: Running Test via command: bash returncode_int_match_build.sh
─────────────── Output Message for returncode_int_match/7914dbf8 ───────────────

returncode_int_match/7914dbf8: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/7914dbf8 ────────────────

returncode_int_match/7914dbf8: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/7914dbf8: Run - 1/1
returncode_int_match/7914dbf8: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/7914dbf8: failed to submit job with returncode: 128
returncode_int_match/7914dbf8: Test completed in 0.015178 seconds with returncode: 128
returncode_int_match/7914dbf8: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/7914dbf8/returncode_int_match.out
returncode_int_match/7914dbf8: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/7914dbf8/returncode_int_match.err
returncode_int_match/7914dbf8: Checking returncode - 128 is matched in list [128]
returncode_int_match/7914dbf8: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/7914dbf8/stage/returncode_int_match_postrun.sh
returncode_int_match/7914dbf8: Post run script exit code: 1
──────────── returncode_int_match/7914dbf8: Post Run Script Output ─────────────

───────────── returncode_int_match/7914dbf8: Post Run Script Error ─────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/7914dbf8/stage/returncode_int_match_postrun.sh not found.
exit1_fail/e63fbc31: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/e63fbc31/stage
exit1_fail/e63fbc31: Running Test via command: bash exit1_fail_build.sh
──────────────────── Output Message for exit1_fail/e63fbc31 ────────────────────

exit1_fail/e63fbc31: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/e63fbc31 ─────────────────────

exit1_fail/e63fbc31: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/e63fbc31: Run - 1/1
exit1_fail/e63fbc31: Running Test via command: bash exit1_fail_build.sh
exit1_fail/e63fbc31: failed to submit job with returncode: 1
exit1_fail/e63fbc31: Test completed in 0.014839 seconds with returncode: 1
exit1_fail/e63fbc31: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/e63fbc31/exit1_fail.out
exit1_fail/e63fbc31: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/e63fbc31/exit1_fail.err
exit1_fail/e63fbc31: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/e63fbc31/stage/exit1_fail_postrun.sh
exit1_fail/e63fbc31: Post run script exit code: 1
───────────────── exit1_fail/e63fbc31: Post Run Script Output ──────────────────

────────────────── exit1_fail/e63fbc31: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/e63fbc31/stage/exit1_fail_postrun.sh not found.
exit1_pass/35a0c0a3: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/35a0c0a3/stage
exit1_pass/35a0c0a3: Running Test via command: bash exit1_pass_build.sh
──────────────────── Output Message for exit1_pass/35a0c0a3 ────────────────────

exit1_pass/35a0c0a3: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/35a0c0a3 ─────────────────────

exit1_pass/35a0c0a3: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/35a0c0a3: Run - 1/1
exit1_pass/35a0c0a3: Running Test via command: bash exit1_pass_build.sh
exit1_pass/35a0c0a3: failed to submit job with returncode: 1
exit1_pass/35a0c0a3: Test completed in 0.014555 seconds with returncode: 1
exit1_pass/35a0c0a3: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/35a0c0a3/exit1_pass.out
exit1_pass/35a0c0a3: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/35a0c0a3/exit1_pass.err
exit1_pass/35a0c0a3: Checking returncode - 1 is matched in list [1]
exit1_pass/35a0c0a3: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/35a0c0a3/stage/exit1_pass_postrun.sh
exit1_pass/35a0c0a3: Post run script exit code: 1
───────────────── exit1_pass/35a0c0a3: Post Run Script Output ──────────────────

────────────────── exit1_pass/35a0c0a3: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/35a0c0a3/stage/exit1_pass_postrun.sh not found.
exit1_pass/28c85b9e: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/28c85b9e/stage
exit1_pass/28c85b9e: Running Test via command: bash exit1_pass_build.sh
──────────────────── Output Message for exit1_pass/28c85b9e ────────────────────

exit1_pass/28c85b9e: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/28c85b9e ─────────────────────

exit1_pass/28c85b9e: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/28c85b9e: Run - 1/1
exit1_pass/28c85b9e: Running Test via command: bash exit1_pass_build.sh
exit1_pass/28c85b9e: failed to submit job with returncode: 1
exit1_pass/28c85b9e: Test completed in 0.015071 seconds with returncode: 1
exit1_pass/28c85b9e: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/28c85b9e/exit1_pass.out
exit1_pass/28c85b9e: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/28c85b9e/exit1_pass.err
exit1_pass/28c85b9e: Checking returncode - 1 is matched in list [1]
exit1_pass/28c85b9e: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/28c85b9e/stage/exit1_pass_postrun.sh
exit1_pass/28c85b9e: Post run script exit code: 1
───────────────── exit1_pass/28c85b9e: Post Run Script Output ──────────────────

────────────────── exit1_pass/28c85b9e: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/28c85b9e/stage/exit1_pass_postrun.sh not found.
returncode_int_match/31c5cd06: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/31c5cd06/stage
returncode_int_match/31c5cd06: Running Test via command: bash returncode_int_match_build.sh
─────────────── Output Message for returncode_int_match/31c5cd06 ───────────────

returncode_int_match/31c5cd06: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/31c5cd06 ────────────────

returncode_int_match/31c5cd06: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/31c5cd06: Run - 1/1
returncode_int_match/31c5cd06: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/31c5cd06: failed to submit job with returncode: 128
returncode_int_match/31c5cd06: Test completed in 0.015824 seconds with returncode: 128
returncode_int_match/31c5cd06: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/31c5cd06/returncode_int_match.out
returncode_int_match/31c5cd06: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/31c5cd06/returncode_int_match.err
returncode_int_match/31c5cd06: Checking returncode - 128 is matched in list [128]
returncode_int_match/31c5cd06: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/31c5cd06/stage/returncode_int_match_postrun.sh
returncode_int_match/31c5cd06: Post run script exit code: 1
──────────── returncode_int_match/31c5cd06: Post Run Script Output ─────────────

───────────── returncode_int_match/31c5cd06: Post Run Script Error ─────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/31c5cd06/stage/returncode_int_match_postrun.sh not found.
exit1_fail/ef5550eb: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ef5550eb/stage
exit1_fail/ef5550eb: Running Test via command: bash exit1_fail_build.sh
──────────────────── Output Message for exit1_fail/ef5550eb ────────────────────

exit1_fail/ef5550eb: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/ef5550eb ─────────────────────

exit1_fail/ef5550eb: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/ef5550eb: Run - 1/1
exit1_fail/ef5550eb: Running Test via command: bash exit1_fail_build.sh
exit1_fail/ef5550eb: failed to submit job with returncode: 1
exit1_fail/ef5550eb: Test completed in 0.015101 seconds with returncode: 1
exit1_fail/ef5550eb: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ef5550eb/exit1_fail.out
exit1_fail/ef5550eb: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ef5550eb/exit1_fail.err
exit1_fail/ef5550eb: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ef5550eb/stage/exit1_fail_postrun.sh
exit1_fail/ef5550eb: Post run script exit code: 1
───────────────── exit1_fail/ef5550eb: Post Run Script Output ──────────────────

────────────────── exit1_fail/ef5550eb: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/ef5550eb/stage/exit1_fail_postrun.sh not found.
returncode_list_mismatch/3395573d: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/3395573d/stage
returncode_list_mismatch/3395573d: Running Test via command: bash returncode_list_mismatch_build.sh
───────────── Output Message for returncode_list_mismatch/3395573d ─────────────

returncode_list_mismatch/3395573d: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/3395573d ──────────────

returncode_list_mismatch/3395573d: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/3395573d: Run - 1/1
returncode_list_mismatch/3395573d: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/3395573d: failed to submit job with returncode: 2
returncode_list_mismatch/3395573d: Test completed in 0.01567 seconds with returncode: 2
returncode_list_mismatch/3395573d: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/3395573d/returncode_list_mismatch.out
returncode_list_mismatch/3395573d: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/3395573d/returncode_list_mismatch.err
returncode_list_mismatch/3395573d: Checking returncode - 2 is matched in list [1, 3]
returncode_list_mismatch/3395573d: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/3395573d/stage/returncode_list_mismatch_postrun.sh
returncode_list_mismatch/3395573d: Post run script exit code: 1
────────── returncode_list_mismatch/3395573d: Post Run Script Output ───────────

─────────── returncode_list_mismatch/3395573d: Post Run Script Error ───────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/3395573d/stage/returncode_list_mismatch_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ returncode_int_match/31 │ generic.local.bash │ PASS   │ 128        │ 0.016   │
│ c5cd06                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/ef5550eb     │ generic.local.bash │ FAIL   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.015   │
│ h/bf6d2393              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/e63fbc31     │ generic.local.bash │ FAIL   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/79 │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ 14dbf8                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/28c85b9e     │ generic.local.bash │ PASS   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/35a0c0a3     │ generic.local.bash │ PASS   │ 1          │ 0.015   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.016   │
│ h/3395573d              │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


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

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

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

buildtest build -b tutorials/test_status/pass_returncode.yml --rebuild 51
$ buildtest build -b tutorials/test_status/pass_returncode.yml --rebuild 51
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ │
│ bin/buildtest:38 in <module>                                                 │
│                                                                              │
│   35                                                                         │
│   36 if __name__ == "__main__":                                              │
│   37                                                                         │
│ ❱ 38   sys.exit(main())                                                      │
│   39                                                                         │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │ buildtest_file = '/home/docs/checkouts/readthedocs.org/user_builds/buil… │ │
│ │           main = <function main at 0x7fe4e311c280>                       │ │
│ │             os = <module 'os' from                                       │ │
│ │                  '/home/docs/.asdf/installs/python/3.9.18/lib/python3.9… │ │
│ │         prefix = '/home/docs/checkouts/readthedocs.org/user_builds/buil… │ │
│ │            sys = <module 'sys' (built-in)>                               │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ │
│ buildtest/main.py:96 in main                                                 │
│                                                                              │
│    93 │                                                                      │
│    94 │   # buildtest build command                                          │
│    95 │   if args.subcommands in ["build", "bd"]:                            │
│ ❱  96 │   │   handle_build_command(args, configuration, report_file)         │
│    97 │                                                                      │
│    98 │   # buildtest build history                                          │
│    99 │   if args.subcommands in ["history", "hy"]:                          │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │             args = Namespace(subcommands='build', configfile=None,       │ │
│ │                    debug=False, loglevel='DEBUG', editor=None,           │ │
│ │                    view_log=False, logpath=False, print_log=False,       │ │
│ │                    color=None, no_color=False, helpcolor=False,          │ │
│ │                    report=None, listopts=False, verbose=False,           │ │
│ │                    buildspec=['tutorials/test_status/pass_returncode.ym… │ │
│ │                    exclude=None, name=None, executor=None,               │ │
│ │                    exclude_tags=None, tags=None, rerun=False,            │ │
│ │                    filter=None, helpfilter=False, executor_type=None,    │ │
│ │                    module_purge=False, modules=None,                     │ │
│ │                    unload_modules=None, account=None, maxpendtime=None,  │ │
│ │                    pollinterval=None, procs=None, nodes=None,            │ │
│ │                    dry_run=False, limit=None, max_jobs=None,             │ │
│ │                    profile=None, remove_stagedir=False, rebuild=51,      │ │
│ │                    retry=1, save_profile=None, strict=False,             │ │
│ │                    testdir=None, timeout=None, validate=False,           │ │
│ │                    write_config_file=None)                               │ │
│ │ buildtest_editor = '/usr/bin/vim'                                        │ │
│ │    configuration = <buildtest.config.SiteConfiguration object at         │ │
│ │                    0x7fe4e12dd730>                                       │ │
│ │           parser = <buildtest.cli.BuildTestParser object at              │ │
│ │                    0x7fe4e32117c0>                                       │ │
│ │      report_file = None                                                  │ │
│ │           system = <buildtest.system.BuildTestSystem object at           │ │
│ │                    0x7fe4e12dd4c0>                                       │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ │
│ buildtest/main.py:296 in handle_build_command                                │
│                                                                              │
│   293 │   if args.subcommands in ["build", "bd"]:                            │
│   294 │   │   stdout_file = tempfile.NamedTemporaryFile(delete=True, suffix= │
│   295 │   │   with Tee(stdout_file.name):                                    │
│ ❱ 296 │   │   │   cmd = BuildTest(                                           │
│   297 │   │   │   │   configuration=configuration,                           │
│   298 │   │   │   │   buildspecs=args.buildspec,                             │
│   299 │   │   │   │   exclude_buildspecs=args.exclude,                       │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │          args = Namespace(subcommands='build', configfile=None,          │ │
│ │                 debug=False, loglevel='DEBUG', editor=None,              │ │
│ │                 view_log=False, logpath=False, print_log=False,          │ │
│ │                 color=None, no_color=False, helpcolor=False,             │ │
│ │                 report=None, listopts=False, verbose=False,              │ │
│ │                 buildspec=['tutorials/test_status/pass_returncode.yml'], │ │
│ │                 exclude=None, name=None, executor=None,                  │ │
│ │                 exclude_tags=None, tags=None, rerun=False, filter=None,  │ │
│ │                 helpfilter=False, executor_type=None,                    │ │
│ │                 module_purge=False, modules=None, unload_modules=None,   │ │
│ │                 account=None, maxpendtime=None, pollinterval=None,       │ │
│ │                 procs=None, nodes=None, dry_run=False, limit=None,       │ │
│ │                 max_jobs=None, profile=None, remove_stagedir=False,      │ │
│ │                 rebuild=51, retry=1, save_profile=None, strict=False,    │ │
│ │                 testdir=None, timeout=None, validate=False,              │ │
│ │                 write_config_file=None)                                  │ │
│ │ configuration = <buildtest.config.SiteConfiguration object at            │ │
│ │                 0x7fe4e12dd730>                                          │ │
│ │   report_file = None                                                     │ │
│ │   stdout_file = <tempfile._TemporaryFileWrapper object at                │ │
│ │                 0x7fe4e134e7f0>                                          │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ │
│ buildtest/cli/build.py:707 in __init__                                       │
│                                                                              │
│    704 │   │   │   │   raise BuildTestError(f"{rebuild} is not of type int") │
│    705 │   │   │                                                             │
│    706 │   │   │   if rebuild > 50:                                          │
│ ❱  707 │   │   │   │   raise BuildTestError(                                 │
│    708 │   │   │   │   │   f"--rebuild {rebuild} exceeds maximum rebuild lim │
│    709 │   │   │   │   )                                                     │
│    710                                                                       │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │            account = None                                                │ │
│ │           arg_name = None                                                │ │
│ │         buildspecs = ['tutorials/test_status/pass_returncode.yml']       │ │
│ │      configuration = <buildtest.config.SiteConfiguration object at       │ │
│ │                      0x7fe4e12dd730>                                     │ │
│ │            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            │ │
│ │                      0x7fe4e1311430>                                     │ │
│ │             strict = False                                               │ │
│ │               tags = None                                                │ │
│ │            testdir = None                                                │ │
│ │            timeout = None                                                │ │
│ │     unload_modules = None                                                │ │
│ │           validate = False                                               │ │
│ │            verbose = False                                               │ │
│ │  write_config_file = None                                                │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────╯
BuildTestError: '--rebuild 51 exceeds maximum rebuild limit of 50'

Limit Number of Tests (buildtest build --limit)

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

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

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

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


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

exit1_fail/da6ec6b7: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/da6ec6b7 ─────────────────────

exit1_fail/da6ec6b7: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/da6ec6b7: Run - 1/1
exit1_fail/da6ec6b7: Running Test via command: bash exit1_fail_build.sh
exit1_fail/da6ec6b7: failed to submit job with returncode: 1
exit1_fail/da6ec6b7: Test completed in 0.015673 seconds with returncode: 1
exit1_fail/da6ec6b7: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/da6ec6b7/exit1_fail.out
exit1_fail/da6ec6b7: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/da6ec6b7/exit1_fail.err
exit1_fail/da6ec6b7: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/da6ec6b7/stage/exit1_fail_postrun.sh
exit1_fail/da6ec6b7: Post run script exit code: 1
───────────────── exit1_fail/da6ec6b7: Post Run Script Output ──────────────────

────────────────── exit1_fail/da6ec6b7: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/da6ec6b7/stage/exit1_fail_postrun.sh not found.
exit1_pass/d4120c85: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/d4120c85/stage
exit1_pass/d4120c85: Running Test via command: bash exit1_pass_build.sh
──────────────────── Output Message for exit1_pass/d4120c85 ────────────────────

exit1_pass/d4120c85: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/d4120c85 ─────────────────────

exit1_pass/d4120c85: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/d4120c85: Run - 1/1
exit1_pass/d4120c85: Running Test via command: bash exit1_pass_build.sh
exit1_pass/d4120c85: failed to submit job with returncode: 1
exit1_pass/d4120c85: Test completed in 0.014602 seconds with returncode: 1
exit1_pass/d4120c85: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/d4120c85/exit1_pass.out
exit1_pass/d4120c85: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/d4120c85/exit1_pass.err
exit1_pass/d4120c85: Checking returncode - 1 is matched in list [1]
exit1_pass/d4120c85: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/d4120c85/stage/exit1_pass_postrun.sh
exit1_pass/d4120c85: Post run script exit code: 1
───────────────── exit1_pass/d4120c85: Post Run Script Output ──────────────────

────────────────── exit1_pass/d4120c85: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/d4120c85/stage/exit1_pass_postrun.sh not found.
returncode_list_mismatch/14f03b54: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/14f03b54/stage
returncode_list_mismatch/14f03b54: Running Test via command: bash returncode_list_mismatch_build.sh
───────────── Output Message for returncode_list_mismatch/14f03b54 ─────────────

returncode_list_mismatch/14f03b54: failed to submit job with returncode: 2
───────────── Error Message for returncode_list_mismatch/14f03b54 ──────────────

returncode_list_mismatch/14f03b54: Detected failure in running test, will attempt to retry test: 1 times
returncode_list_mismatch/14f03b54: Run - 1/1
returncode_list_mismatch/14f03b54: Running Test via command: bash returncode_list_mismatch_build.sh
returncode_list_mismatch/14f03b54: failed to submit job with returncode: 2
returncode_list_mismatch/14f03b54: Test completed in 0.014885 seconds with returncode: 2
returncode_list_mismatch/14f03b54: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/14f03b54/returncode_list_mismatch.out
returncode_list_mismatch/14f03b54: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/14f03b54/returncode_list_mismatch.err
returncode_list_mismatch/14f03b54: Checking returncode - 2 is matched in list [1, 3]
returncode_list_mismatch/14f03b54: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/14f03b54/stage/returncode_list_mismatch_postrun.sh
returncode_list_mismatch/14f03b54: Post run script exit code: 1
────────── returncode_list_mismatch/14f03b54: Post Run Script Output ───────────

─────────── returncode_list_mismatch/14f03b54: Post Run Script Error ───────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/14f03b54/stage/returncode_list_mismatch_postrun.sh not found.
returncode_int_match/ff91b32f: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/ff91b32f/stage
returncode_int_match/ff91b32f: Running Test via command: bash returncode_int_match_build.sh
─────────────── Output Message for returncode_int_match/ff91b32f ───────────────

returncode_int_match/ff91b32f: failed to submit job with returncode: 128
─────────────── Error Message for returncode_int_match/ff91b32f ────────────────

returncode_int_match/ff91b32f: Detected failure in running test, will attempt to retry test: 1 times
returncode_int_match/ff91b32f: Run - 1/1
returncode_int_match/ff91b32f: Running Test via command: bash returncode_int_match_build.sh
returncode_int_match/ff91b32f: failed to submit job with returncode: 128
returncode_int_match/ff91b32f: Test completed in 0.014734 seconds with returncode: 128
returncode_int_match/ff91b32f: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/ff91b32f/returncode_int_match.out
returncode_int_match/ff91b32f: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/ff91b32f/returncode_int_match.err
returncode_int_match/ff91b32f: Checking returncode - 128 is matched in list [128]
returncode_int_match/ff91b32f: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/ff91b32f/stage/returncode_int_match_postrun.sh
returncode_int_match/ff91b32f: Post run script exit code: 1
──────────── returncode_int_match/ff91b32f: Post Run Script Output ─────────────

───────────── returncode_int_match/ff91b32f: Post Run Script Error ─────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/returncode_int_match/ff91b32f/stage/returncode_int_match_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ returncode_list_mismatc │ generic.local.bash │ FAIL   │ 2          │ 0.015   │
│ h/14f03b54              │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/da6ec6b7     │ generic.local.bash │ FAIL   │ 1          │ 0.016   │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ returncode_int_match/ff │ generic.local.bash │ PASS   │ 128        │ 0.015   │
│ 91b32f                  │                    │        │            │         │
├─────────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_pass/d4120c85     │ generic.local.bash │ PASS   │ 1          │ 0.015   │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 4 test results to report file: /tmp/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_n5pv2jjf.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:59:07                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/test_status/pass_returncode.yml                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

exit1_fail/0ce62cad: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_fail/0ce62cad ─────────────────────

exit1_fail/0ce62cad: Detected failure in running test, will attempt to retry test: 1 times
exit1_fail/0ce62cad: Run - 1/1
exit1_fail/0ce62cad: Running Test via command: bash exit1_fail_build.sh
exit1_fail/0ce62cad: failed to submit job with returncode: 1
exit1_fail/0ce62cad: Test completed in 0.015427 seconds with returncode: 1
exit1_fail/0ce62cad: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/0ce62cad/exit1_fail.out
exit1_fail/0ce62cad: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/0ce62cad/exit1_fail.err
exit1_fail/0ce62cad: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/0ce62cad/stage/exit1_fail_postrun.sh
exit1_fail/0ce62cad: Post run script exit code: 1
───────────────── exit1_fail/0ce62cad: Post Run Script Output ──────────────────

────────────────── exit1_fail/0ce62cad: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_fail/0ce62cad/stage/exit1_fail_postrun.sh not found.
exit1_pass/9087c4a3: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/9087c4a3/stage
exit1_pass/9087c4a3: Running Test via command: bash exit1_pass_build.sh
──────────────────── Output Message for exit1_pass/9087c4a3 ────────────────────

exit1_pass/9087c4a3: failed to submit job with returncode: 1
──────────────────── Error Message for exit1_pass/9087c4a3 ─────────────────────

exit1_pass/9087c4a3: Detected failure in running test, will attempt to retry test: 1 times
exit1_pass/9087c4a3: Run - 1/1
exit1_pass/9087c4a3: Running Test via command: bash exit1_pass_build.sh
exit1_pass/9087c4a3: failed to submit job with returncode: 1
exit1_pass/9087c4a3: Test completed in 0.014884 seconds with returncode: 1
exit1_pass/9087c4a3: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/9087c4a3/exit1_pass.out
exit1_pass/9087c4a3: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/9087c4a3/exit1_pass.err
exit1_pass/9087c4a3: Checking returncode - 1 is matched in list [1]
exit1_pass/9087c4a3: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/9087c4a3/stage/exit1_pass_postrun.sh
exit1_pass/9087c4a3: Post run script exit code: 1
───────────────── exit1_pass/9087c4a3: Post Run Script Output ──────────────────

────────────────── exit1_pass/9087c4a3: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/pass_returncode/exit1_pass/9087c4a3/stage/exit1_pass_postrun.sh not found.
                                Test Summary                                
┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder             ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_pass/9087c4a3 │ generic.local.bash │ PASS   │ 1          │ 0.015   │
├─────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ exit1_fail/0ce62cad │ 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/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_zch99_39.log

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

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

Rerun Last Command (buildtest build --rerun)

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

Let’s start by building a simple test.

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


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ s_bash/d │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 59327b8  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/vars. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/d59327b8: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/d59327b8
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/d59327b8 does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/d59327b8 │
└─────────────────────────┘
variables_bash/d59327b8: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/d59327b8/stage
variables_bash/d59327b8: Running Test via command: bash variables_bash_build.sh
────────────────── Output Message for variables_bash/d59327b8 ──────────────────
1+2=3
 this is a literal string
 \'singlequote\'
 "doublequote"
 current user: docs
 number of files: 4
 Hello my name is Bob 
  I am 30 years old

variables_bash/d59327b8: Test completed in 0.011408 seconds with returncode: 0
variables_bash/d59327b8: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/d59327b8/variables_bash.out
variables_bash/d59327b8: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/d59327b8/variables_bash.err
variables_bash/d59327b8: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/d59327b8/stage/variables_bash_postrun.sh
variables_bash/d59327b8: Post run script exit code: 1
─────────────── variables_bash/d59327b8: Post Run Script Output ────────────────

──────────────── variables_bash/d59327b8: Post Run Script Error ────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/d59327b8/stage/variables_bash_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/d59327b8 │ 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/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_lr4gwenx.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/tmp75qnqx26/var/rerun.json all other options will be ignored.
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:59:08                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/vars.yml                                                           ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ s_bash/5 │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 94c5039  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/vars. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/594c5039: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/594c5039
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/594c5039 does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/594c5039 │
└─────────────────────────┘
variables_bash/594c5039: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/594c5039/stage
variables_bash/594c5039: Running Test via command: bash variables_bash_build.sh
────────────────── Output Message for variables_bash/594c5039 ──────────────────
1+2=3
 this is a literal string
 \'singlequote\'
 "doublequote"
 current user: docs
 number of files: 4
 Hello my name is Bob 
  I am 30 years old

variables_bash/594c5039: Test completed in 0.01136 seconds with returncode: 0
variables_bash/594c5039: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/594c5039/variables_bash.out
variables_bash/594c5039: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/594c5039/variables_bash.err
variables_bash/594c5039: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/594c5039/stage/variables_bash_postrun.sh
variables_bash/594c5039: Post run script exit code: 1
─────────────── variables_bash/594c5039: Post Run Script Output ────────────────

──────────────── variables_bash/594c5039: Post Run Script Error ────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/594c5039/stage/variables_bash_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/594c5039 │ 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/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_sd7pfxsh.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/tmp75qnqx26/var/rerun.json all other options will be ignored.
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:59:09                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/vars.yml                                                           ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variable │ script │ generic. │ None     │ None  │ None  │ Declare  │ /home/d │
│ s_bash/b │        │ local.ba │          │       │       │ shell    │ ocs/che │
│ 2a814ec  │        │ sh       │          │       │       │ variable │ ckouts/ │
│          │        │          │          │       │       │ s in     │ readthe │
│          │        │          │          │       │       │ bash     │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/vars. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/b2a814ec: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/b2a814ec
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/b2a814ec does not have any dependencies adding test to queue
 Builders Eligible to Run  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ variables_bash/b2a814ec │
└─────────────────────────┘
variables_bash/b2a814ec: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/b2a814ec/stage
variables_bash/b2a814ec: Running Test via command: bash variables_bash_build.sh
────────────────── Output Message for variables_bash/b2a814ec ──────────────────
1+2=3
 this is a literal string
 \'singlequote\'
 "doublequote"
 current user: docs
 number of files: 4
 Hello my name is Bob 
  I am 30 years old

variables_bash/b2a814ec: Test completed in 0.011398 seconds with returncode: 0
variables_bash/b2a814ec: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/b2a814ec/variables_bash.out
variables_bash/b2a814ec: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/b2a814ec/variables_bash.err
variables_bash/b2a814ec: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/b2a814ec/stage/variables_bash_postrun.sh
variables_bash/b2a814ec: Post run script exit code: 1
─────────────── variables_bash/b2a814ec: Post Run Script Output ────────────────

──────────────── variables_bash/b2a814ec: Post Run Script Error ────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/vars/variables_bash/b2a814ec/stage/variables_bash_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bash/b2a814ec │ 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/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_2bgmf156.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:59: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.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/sleep.yml                                                          ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

sleep/af4d720a: failed to submit job with returncode: -9
─────────────────────── Error Message for sleep/af4d720a ───────────────────────

sleep/af4d720a: Detected failure in running test, will attempt to retry test: 1 times
sleep/af4d720a: Run - 1/1
sleep/af4d720a: Running Test via command: bash sleep_build.sh
sleep/af4d720a: failed to submit job with returncode: -9
sleep/af4d720a: Test completed in 2.011714 seconds with returncode: -9
sleep/af4d720a: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/sleep/sleep/af4d720a/sleep.out
sleep/af4d720a: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/sleep/sleep/af4d720a/sleep.err
sleep/af4d720a: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/sleep/sleep/af4d720a/stage/sleep_postrun.sh
sleep/af4d720a: Post run script exit code: 1
──────────────────── sleep/af4d720a: Post Run Script Output ────────────────────

──────────────────── sleep/af4d720a: Post Run Script Error ─────────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/sleep/sleep/af4d720a/stage/sleep_postrun.sh not found.
                             Test Summary                              
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder        ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ sleep/af4d720a │ generic.local.bash │ FAIL   │ -9         │ 2.012   │
└────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


Adding 1 test results to report file: /tmp/tmp75qnqx26/var/report.json
Writing Logfile to /tmp/tmp75qnqx26/var/logs/buildtest_yckh1psq.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-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:59:12                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/sleep.yml                                                          ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

sleep/16655992: Test completed in 2.021488 seconds with returncode: 0
sleep/16655992: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/sleep/sleep/16655992/sleep.out
sleep/16655992: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/sleep/sleep/16655992/sleep.err
sleep/16655992: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/sleep/sleep/16655992/stage/sleep_postrun.sh
sleep/16655992: Post run script exit code: 1
──────────────────── sleep/16655992: Post Run Script Output ────────────────────

──────────────────── sleep/16655992: Post Run Script Error ─────────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/sleep/sleep/16655992/stage/sleep_postrun.sh not found.
                             Test Summary                              
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder        ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ sleep/16655992 │ generic.local.bash │ PASS   │ 0          │ 2.021   │
└────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


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

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

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


Total Discovered Buildspecs:  2
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/python-hello.yml: VALID
Total builder objects created: 2
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ circle_a │ script │ generic. │ None     │ None  │ None  │ Calculat │ /home/d │
│ rea/3e6f │        │ local.ba │          │       │       │ e circle │ ocs/che │
│ 4266     │        │ sh       │          │       │       │ of area  │ ckouts/ │
│          │        │          │          │       │       │ given a  │ readthe │
│          │        │          │          │       │       │ radius   │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-shell │
│          │        │          │          │       │       │          │ .yml    │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ python_h │ script │ generic. │ None     │ None  │ None  │ Hello    │ /home/d │
│ ello/828 │        │ local.ba │          │       │       │ World    │ ocs/che │
│ 94560    │        │ sh       │          │       │       │ python   │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/pytho │
│          │        │          │          │       │       │          │ n-hello │
│          │        │          │          │       │       │          │ .yml    │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
circle_area/3e6f4266: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/3e6f4266
python_hello/82894560: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/82894560
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
circle_area/3e6f4266 does not have any dependencies adding test to queue
python_hello/82894560 does not have any dependencies adding test to queue
Builders Eligible to Run 
┏━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder               ┃
┡━━━━━━━━━━━━━━━━━━━━━━━┩
│ circle_area/3e6f4266  │
│ python_hello/82894560 │
└───────────────────────┘
circle_area/3e6f4266: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/3e6f4266/stage
circle_area/3e6f4266: Running Test via command: bash circle_area_build.sh
─────────────────── Output Message for circle_area/3e6f4266 ────────────────────
Circle Radius  2
 Area of circle  12.566370614359172

circle_area/3e6f4266: Test completed in 0.036857 seconds with returncode: 0
circle_area/3e6f4266: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/3e6f4266/circle_area.out
circle_area/3e6f4266: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/3e6f4266/circle_area.err
circle_area/3e6f4266: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/3e6f4266/stage/circle_area_postrun.sh
circle_area/3e6f4266: Post run script exit code: 1
───────────────── circle_area/3e6f4266: Post Run Script Output ─────────────────

───────────────── circle_area/3e6f4266: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/python-shell/circle_area/3e6f4266/stage/circle_area_postrun.sh not found.
python_hello/82894560: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/82894560/stage
python_hello/82894560: Running Test via command: bash python_hello_build.sh
─────────────────── Output Message for python_hello/82894560 ───────────────────
Hello World

python_hello/82894560: Test completed in 0.035599 seconds with returncode: 0
python_hello/82894560: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/82894560/python_hello.out
python_hello/82894560: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/82894560/python_hello.err
python_hello/82894560: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/82894560/stage/python_hello_postrun.sh
python_hello/82894560: Post run script exit code: 1
──────────────── python_hello/82894560: Post Run Script Output ─────────────────

───────────────── python_hello/82894560: Post Run Script Error ─────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/python-hello/python_hello/82894560/stage/python_hello_postrun.sh not found.
                                 Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder               ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ circle_area/3e6f4266  │ generic.local.bash │ PASS   │ 0          │ 0.037   │
├───────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ python_hello/82894560 │ generic.local.bash │ PASS   │ 0          │ 0.036   │
└───────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


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

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

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

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

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

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

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

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

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

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


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/hello_world.yml: VALID
Total builder objects created: 5
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/1cb8 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 8ea3     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/hello │
│          │        │          │          │       │       │          │ _world. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/eade │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 6f5f     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/hello │
│          │        │          │          │       │       │          │ _world. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/6f73 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 93a4     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/hello │
│          │        │          │          │       │       │          │ _world. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/74e7 │        │ local.ba │          │       │       │ world    │ ocs/che │
│ c7c7     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/hello │
│          │        │          │          │       │       │          │ _world. │
│          │        │          │          │       │       │          │ yml     │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_wo │ script │ generic. │ None     │ None  │ None  │ hello    │ /home/d │
│ rld/c2ab │        │ local.ba │          │       │       │ world    │ ocs/che │
│ 5d93     │        │ sh       │          │       │       │ example  │ ckouts/ │
│          │        │          │          │       │       │          │ readthe │
│          │        │          │          │       │       │          │ docs.or │
│          │        │          │          │       │       │          │ g/user_ │
│          │        │          │          │       │       │          │ builds/ │
│          │        │          │          │       │       │          │ buildte │
│          │        │          │          │       │       │          │ st/chec │
│          │        │          │          │       │       │          │ kouts/l │
│          │        │          │          │       │       │          │ atest/t │
│          │        │          │          │       │       │          │ utorial │
│          │        │          │          │       │       │          │ s/hello │
│          │        │          │          │       │       │          │ _world. │
│          │        │          │          │       │       │          │ yml     │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
hello_world/1cb88ea3: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/1cb88ea3
hello_world/eade6f5f: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/eade6f5f
hello_world/6f7393a4: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/6f7393a4
hello_world/74e7c7c7: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/74e7c7c7
hello_world/c2ab5d93: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/c2ab5d93
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
hello_world/6f7393a4 does not have any dependencies adding test to queue
hello_world/1cb88ea3 does not have any dependencies adding test to queue
hello_world/eade6f5f does not have any dependencies adding test to queue
hello_world/74e7c7c7 does not have any dependencies adding test to queue
hello_world/c2ab5d93 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/6f7393a4 │
│ hello_world/1cb88ea3 │
└──────────────────────┘
hello_world/6f7393a4: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/6f7393a4/stage
hello_world/6f7393a4: Running Test via command: bash hello_world_build.sh
─────────────────── Output Message for hello_world/6f7393a4 ────────────────────
hello world!

hello_world/6f7393a4: Test completed in 0.007237 seconds with returncode: 0
hello_world/6f7393a4: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/6f7393a4/hello_world.out
hello_world/6f7393a4: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/6f7393a4/hello_world.err
hello_world/6f7393a4: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/6f7393a4/stage/hello_world_postrun.sh
hello_world/6f7393a4: Post run script exit code: 1
───────────────── hello_world/6f7393a4: Post Run Script Output ─────────────────

───────────────── hello_world/6f7393a4: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/6f7393a4/stage/hello_world_postrun.sh not found.
hello_world/1cb88ea3: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/1cb88ea3/stage
hello_world/1cb88ea3: Running Test via command: bash hello_world_build.sh
─────────────────── Output Message for hello_world/1cb88ea3 ────────────────────
hello world!

hello_world/1cb88ea3: Test completed in 0.006839 seconds with returncode: 0
hello_world/1cb88ea3: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/1cb88ea3/hello_world.out
hello_world/1cb88ea3: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/1cb88ea3/hello_world.err
hello_world/1cb88ea3: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/1cb88ea3/stage/hello_world_postrun.sh
hello_world/1cb88ea3: Post run script exit code: 1
───────────────── hello_world/1cb88ea3: Post Run Script Output ─────────────────

───────────────── hello_world/1cb88ea3: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/1cb88ea3/stage/hello_world_postrun.sh not found.
───────────────────────────────── Iteration 2 ──────────────────────────────────
hello_world/eade6f5f does not have any dependencies adding test to queue
hello_world/74e7c7c7 does not have any dependencies adding test to queue
hello_world/c2ab5d93 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/eade6f5f │
│ hello_world/74e7c7c7 │
└──────────────────────┘
hello_world/eade6f5f: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/eade6f5f/stage
hello_world/eade6f5f: Running Test via command: bash hello_world_build.sh
─────────────────── Output Message for hello_world/eade6f5f ────────────────────
hello world!

hello_world/eade6f5f: Test completed in 0.006889 seconds with returncode: 0
hello_world/eade6f5f: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/eade6f5f/hello_world.out
hello_world/eade6f5f: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/eade6f5f/hello_world.err
hello_world/eade6f5f: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/eade6f5f/stage/hello_world_postrun.sh
hello_world/eade6f5f: Post run script exit code: 1
───────────────── hello_world/eade6f5f: Post Run Script Output ─────────────────

───────────────── hello_world/eade6f5f: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/eade6f5f/stage/hello_world_postrun.sh not found.
hello_world/74e7c7c7: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/74e7c7c7/stage
hello_world/74e7c7c7: Running Test via command: bash hello_world_build.sh
─────────────────── Output Message for hello_world/74e7c7c7 ────────────────────
hello world!

hello_world/74e7c7c7: Test completed in 0.00686 seconds with returncode: 0
hello_world/74e7c7c7: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/74e7c7c7/hello_world.out
hello_world/74e7c7c7: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/74e7c7c7/hello_world.err
hello_world/74e7c7c7: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/74e7c7c7/stage/hello_world_postrun.sh
hello_world/74e7c7c7: Post run script exit code: 1
───────────────── hello_world/74e7c7c7: Post Run Script Output ─────────────────

───────────────── hello_world/74e7c7c7: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/74e7c7c7/stage/hello_world_postrun.sh not found.
───────────────────────────────── Iteration 3 ──────────────────────────────────
hello_world/c2ab5d93 does not have any dependencies adding test to queue
Builders Eligible to Run
┏━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder              ┃
┡━━━━━━━━━━━━━━━━━━━━━━┩
│ hello_world/c2ab5d93 │
└──────────────────────┘
hello_world/c2ab5d93: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/c2ab5d93/stage
hello_world/c2ab5d93: Running Test via command: bash hello_world_build.sh
─────────────────── Output Message for hello_world/c2ab5d93 ────────────────────
hello world!

hello_world/c2ab5d93: Test completed in 0.007317 seconds with returncode: 0
hello_world/c2ab5d93: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/c2ab5d93/hello_world.out
hello_world/c2ab5d93: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/c2ab5d93/hello_world.err
hello_world/c2ab5d93: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/c2ab5d93/stage/hello_world_postrun.sh
hello_world/c2ab5d93: Post run script exit code: 1
───────────────── hello_world/c2ab5d93: Post Run Script Output ─────────────────

───────────────── hello_world/c2ab5d93: Post Run Script Error ──────────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/hello_world/hello_world/c2ab5d93/stage/hello_world_postrun.sh not found.
                                Test Summary                                 
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder              ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ hello_world/1cb88ea3 │ generic.local.bash │ PASS   │ 0          │ 0.007   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/74e7c7c7 │ generic.local.bash │ PASS   │ 0          │ 0.007   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/6f7393a4 │ generic.local.bash │ PASS   │ 0          │ 0.007   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/c2ab5d93 │ generic.local.bash │ PASS   │ 0          │ 0.007   │
├──────────────────────┼────────────────────┼────────┼────────────┼─────────┤
│ hello_world/eade6f5f │ generic.local.bash │ PASS   │ 0          │ 0.007   │
└──────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


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

Strict Mode

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

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

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

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


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/strict_example.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ linux_st │ script │ generic. │ None     │ None  │ None  │ This     │ /home/d │
│ rict_tes │        │ local.ba │          │       │       │ example  │ ocs/che │
│ t/b788b3 │        │ sh       │          │       │       │ test     │ ckouts/ │
│ 04       │        │          │          │       │       │ will     │ readthe │
│          │        │          │          │       │       │ show how │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de will  │ builds/ │
│          │        │          │          │       │       │ change   │ buildte │
│          │        │          │          │       │       │ when     │ st/chec │
│          │        │          │          │       │       │ using    │ kouts/l │
│          │        │          │          │       │       │ --strict │ atest/t │
│          │        │          │          │       │       │ flag     │ utorial │
│          │        │          │          │       │       │          │ s/stric │
│          │        │          │          │       │       │          │ t_examp │
│          │        │          │          │       │       │          │ le.yml  │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
linux_strict_test/b788b304: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/b788b304
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
linux_strict_test/b788b304 does not have any dependencies adding test to queue
   Builders Eligible to Run   
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                    ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ linux_strict_test/b788b304 │
└────────────────────────────┘
linux_strict_test/b788b304: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/b788b304/stage
linux_strict_test/b788b304: Running Test via command: bash linux_strict_test_build.sh
──────────────── Output Message for linux_strict_test/b788b304 ─────────────────
This is a test
 This is another test

linux_strict_test/b788b304: Test completed in 0.008882 seconds with returncode: 0
linux_strict_test/b788b304: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/b788b304/linux_strict_test.out
linux_strict_test/b788b304: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/b788b304/linux_strict_test.err
linux_strict_test/b788b304: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/b788b304/stage/linux_strict_test_postrun.sh
linux_strict_test/b788b304: Post run script exit code: 1
────────────── linux_strict_test/b788b304: Post Run Script Output ──────────────

────────────── linux_strict_test/b788b304: Post Run Script Error ───────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/b788b304/stage/linux_strict_test_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ linux_strict_test/b788b │ generic.local.bash │ PASS   │ 0          │ 0.009   │
│ 304                     │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


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

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

buildtest build -b tutorials/strict_example.yml --strict
$ buildtest build -b tutorials/strict_example.yml --strict
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-24413851-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2024/05/17 17:59:19                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  2.0                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.9.18                                                   │
│ Configuration File: /tmp/tmp75qnqx26/config.yml                              │
│ Test Directory:     /tmp/tmp75qnqx26/var/tests                               │
│ Report File:        /tmp/tmp75qnqx26/var/report.json                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/ ║
║ tutorials/strict_example.yml                                                 ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ Total: 1                                                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  1
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/latest/tutorials/strict_example.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃          ┃        ┃          ┃          ┃       ┃       ┃ descript ┃ buildsp ┃
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ ion      ┃ ecs     ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ linux_st │ script │ generic. │ None     │ None  │ None  │ This     │ /home/d │
│ rict_tes │        │ local.ba │          │       │       │ example  │ ocs/che │
│ t/219d8f │        │ sh       │          │       │       │ test     │ ckouts/ │
│ ab       │        │          │          │       │       │ will     │ readthe │
│          │        │          │          │       │       │ show how │ docs.or │
│          │        │          │          │       │       │ returnco │ g/user_ │
│          │        │          │          │       │       │ de will  │ builds/ │
│          │        │          │          │       │       │ change   │ buildte │
│          │        │          │          │       │       │ when     │ st/chec │
│          │        │          │          │       │       │ using    │ kouts/l │
│          │        │          │          │       │       │ --strict │ atest/t │
│          │        │          │          │       │       │ flag     │ utorial │
│          │        │          │          │       │       │          │ s/stric │
│          │        │          │          │       │       │          │ t_examp │
│          │        │          │          │       │       │          │ le.yml  │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
linux_strict_test/219d8fab: Creating Test Directory: /tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/219d8fab
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
linux_strict_test/219d8fab does not have any dependencies adding test to queue
   Builders Eligible to Run   
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Builder                    ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ linux_strict_test/219d8fab │
└────────────────────────────┘
linux_strict_test/219d8fab: Current Working Directory : /tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/219d8fab/stage
linux_strict_test/219d8fab: Running Test via command: bash linux_strict_test_build.sh
──────────────── Output Message for linux_strict_test/219d8fab ─────────────────
This is a test

linux_strict_test/219d8fab: failed to submit job with returncode: 2
───────────────── Error Message for linux_strict_test/219d8fab ─────────────────
ls: cannot access '/BAD_PATH': No such file or directory

linux_strict_test/219d8fab: Detected failure in running test, will attempt to retry test: 1 times
linux_strict_test/219d8fab: Run - 1/1
linux_strict_test/219d8fab: Running Test via command: bash linux_strict_test_build.sh
linux_strict_test/219d8fab: failed to submit job with returncode: 2
linux_strict_test/219d8fab: Test completed in 0.018705 seconds with returncode: 2
linux_strict_test/219d8fab: Writing output file -  /tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/219d8fab/linux_strict_test.out
linux_strict_test/219d8fab: Writing error file - /tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/219d8fab/linux_strict_test.err
linux_strict_test/219d8fab: Running Post Run Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/219d8fab/stage/linux_strict_test_postrun.sh
linux_strict_test/219d8fab: Post run script exit code: 1
────────────── linux_strict_test/219d8fab: Post Run Script Output ──────────────

────────────── linux_strict_test/219d8fab: Post Run Script Error ───────────────
/tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/219d8fab/stage/linux_strict_test_postrun.sh not found.
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃ builder                 ┃ executor           ┃ status ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ linux_strict_test/219d8 │ generic.local.bash │ FAIL   │ 2          │ 0.019   │
│ fab                     │                    │        │            │         │
└─────────────────────────┴────────────────────┴────────┴────────────┴─────────┘



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


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

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

$ buildtest inspect query -t linux_strict_test
──────────── linux_strict_test/219d8fab-c207-4b6e-bb3e-85eb79cf8c81 ────────────
Executor: generic.local.bash
Description: This example test will show how returncode will change when using --strict flag
State: FAIL
Returncode: 2
Runtime: 0.018705 sec
Starttime: 2024/05/17 17:59:19
Endtime: 2024/05/17 17:59:19
Command: bash linux_strict_test_build.sh
Test Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/219d8fab/linux_strict_test.sh
Build Script: /tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/219d8fab/linux_strict_test_build.sh
Output File: /tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/219d8fab/linux_strict_test.out
Error File: /tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/linux_strict_test/219d8fab/linux_strict_test.err
Log File: /tmp/tmp75qnqx26/var/logs/buildtest_40ua0jce.log
─ Test File:  /tmp/tmp75qnqx26/var/tests/generic.local.bash/strict_example/li… ─
#!/usr/bin/bash                                                                 
set -eo pipefail                                                                
# Content of run section                                                        
echo "This is a test"                                                           
ls -l /BAD_PATH                                                                 
echo "This is another test"